Bug 186210 - [MAINTAINER-UPDATE][PATCH] mail/smtp-cli: update to 3.6
Summary: [MAINTAINER-UPDATE][PATCH] mail/smtp-cli: update to 3.6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Matthew Seaman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-28 22:40 UTC by Frank Wall
Modified: 2014-01-30 23:12 UTC (History)
1 user (show)

See Also:


Attachments
smtp-cli-3.6.patch (1.16 KB, patch)
2014-01-28 22:40 UTC, Frank Wall
no flags Details | Diff
patch.txt (1.51 KB, text/plain; charset=us-ascii)
2014-01-30 12:05 UTC, Frank Wall
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Wall 2014-01-28 22:40:00 UTC
- Update to 3.6

ChangeLog:
- Improved compatibility with perl < 5.10 and perl >= 5.18
- Added support for more chars in user-part of email address.
- Improved compliance with SMTP RFC 5321
- New parameter --text-encoding
- support both File::Type and File::LibMagic

Generated with FreeBSD Port Tools 0.99_11 (mode: update, diff: ports)
Comment 1 Matthew Seaman freebsd_committer freebsd_triage 2014-01-29 07:27:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->matthew

take
Comment 2 Matthew Seaman freebsd_committer freebsd_triage 2014-01-29 07:29:02 UTC
Can you update your patch to include staging support please?

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey

Comment 3 Frank Wall 2014-01-30 12:05:36 UTC
On Wed, Jan 29, 2014 at 07:29:02AM +0000, Matthew Seaman wrote:
> Can you update your patch to include staging support please?

Attached you'll find an updated patch with staging support.


Regards
- Frank
Comment 4 Frank Wall 2014-01-30 12:32:17 UTC
On Thu, Jan 30, 2014 at 01:05:36PM +0100, Frank Wall wrote:
> Attached you'll find an updated patch with staging support.

You'll find the redports build log here:
https://redports.org/~fraenki/20140130122237-56247-173087/smtp-cli-3.6.log


Regards
- Frank
Comment 5 dfilter service freebsd_committer freebsd_triage 2014-01-30 23:06:03 UTC
Author: matthew
Date: Thu Jan 30 23:05:50 2014
New Revision: 341897
URL: http://svnweb.freebsd.org/changeset/ports/341897
QAT: https://qat.redports.org/buildarchive/r341897/

Log:
  Update to 3.6
  
     * Stagify
     * Add LICENSE
     * Use shebangfix
     * Drop the optional RUN_DEPENDS on p5-IO-Socket-INET6 as the
       currently available p5-IO-Socket-SSL-1.962 in ports is new enough
       to obsolete that requirement.
  
  PR:		ports/186210
  Submitted by:	fw@moov.de (maintainer)

Modified:
  head/mail/smtp-cli/Makefile
  head/mail/smtp-cli/distinfo

Modified: head/mail/smtp-cli/Makefile
==============================================================================
--- head/mail/smtp-cli/Makefile	Thu Jan 30 22:43:17 2014	(r341896)
+++ head/mail/smtp-cli/Makefile	Thu Jan 30 23:05:50 2014	(r341897)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	smtp
-PORTVERSION=	3.3
+PORTVERSION=	3.6
 CATEGORIES=	mail perl5
 MASTER_SITES=	http://www.logix.cz/michal/devel/smtp-cli/
 PKGNAMESUFFIX=	-cli
@@ -11,6 +11,10 @@ EXTRACT_SUFX=	-${PORTVERSION}
 MAINTAINER=	fw@moov.de
 COMMENT=	Powerful SMTP command line client
 
+LICENSE=	GPLv3
+
+USES=		shebangfix
+
 RUN_DEPENDS=	p5-Digest-HMAC>0:${PORTSDIR}/security/p5-Digest-HMAC \
 		p5-File-LibMagic>0:${PORTSDIR}/devel/p5-File-LibMagic \
 		p5-IO-Socket-SSL>0:${PORTSDIR}/security/p5-IO-Socket-SSL \
@@ -21,23 +25,13 @@ NO_BUILD=	yes
 WRKSRC=		${WRKDIR}
 
 PLIST_FILES=	bin/smtp-cli
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MIPV6}
-RUN_DEPENDS+=	p5-IO-Socket-INET6>0:${PORTSDIR}/net/p5-IO-Socket-INET6
-# won't be needed if p5-IO-Socket-SSL > 1.74_1
-.endif
+SHEBANG_FILES=	smtp-cli
 
 do-extract:
 	@${MKDIR} ${WRKSRC}/
 	@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}/${DISTNAME}
 
-post-patch:
-	@${REINPLACE_CMD} -e '1 s|#!/usr/bin/perl|#!${PERL}|' ${WRKSRC}/${DISTNAME}
-
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/
+	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/
 
 .include <bsd.port.mk>

Modified: head/mail/smtp-cli/distinfo
==============================================================================
--- head/mail/smtp-cli/distinfo	Thu Jan 30 22:43:17 2014	(r341896)
+++ head/mail/smtp-cli/distinfo	Thu Jan 30 23:05:50 2014	(r341897)
@@ -1,2 +1,2 @@
-SHA256 (smtp-cli-3.3) = 4e56e61ef6dca6524fc1018e674823fcac447784f235500219bbedcc4bbff043
-SIZE (smtp-cli-3.3) = 31673
+SHA256 (smtp-cli-3.6) = 39b902bcb98d0b3d58be04656f6eecbf8bf090d8de7cc4a7bc30dcae71dd0417
+SIZE (smtp-cli-3.6) = 33152
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Matthew Seaman freebsd_committer freebsd_triage 2014-01-30 23:11:51 UTC
State Changed
From-To: open->closed

Committed (with some modifications), thanks!