ports/145579: mail/t-prot: Update to 2.98
Lars Engels
lme at FreeBSD.org
Fri Apr 9 16:10:11 UTC 2010
>Number: 145579
>Category: ports
>Synopsis: mail/t-prot: Update to 2.98
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 09 16:10:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Lars Engels
>Release: FreeBSD 5.5-RELEASE-p19 i386
>Organization:
>Environment:
System: FreeBSD e.0x20.net 5.5-RELEASE-p19 FreeBSD 5.5-RELEASE-p19 #6: Fri Feb 15 15:16:05 CET 2008 root at e.0x20.net:/data/sysstuff/obj/data/sysstuff/5.5/src/sys/NADE_55_b0 i386
>Description:
This patch updates the mail/t-prot port to version 2.98. It also respects NOPORTEXAMPLES and uses p5-Getopt-Long instead
of the deprecated p5-Getopt-Mixed.
>How-To-Repeat:
>Fix:
--- t-prot.2.98.diff begins here ---
diff -Nur t-prot.orig/Makefile t-prot/Makefile
--- t-prot.orig/Makefile Fri Apr 9 13:03:52 2010
+++ t-prot/Makefile Fri Apr 9 13:13:55 2010
@@ -6,8 +6,7 @@
#
PORTNAME= t-prot
-PORTVERSION= 2.5
-PORTREVISION= 2
+PORTVERSION= 2.98
CATEGORIES= mail
MASTER_SITES= http://www.escape.de/~tolot/mutt/t-prot/downloads/ \
${MASTER_SITE_LOCAL}
@@ -16,7 +15,7 @@
MAINTAINER= sergei at FreeBSD.org
COMMENT= TOFU Protection - Display Filter for RFC822 messages
-RUN_DEPENDS= ${SITE_PERL}/Getopt/Mixed.pm:${PORTSDIR}/devel/p5-Getopt-Mixed
+RUN_DEPENDS= ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long
USE_PERL5= yes
NO_BUILD= yes
@@ -27,8 +26,10 @@
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/t-prot ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/t-prot.1 ${MAN1PREFIX}/man/man1
+.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/contrib/* ${EXAMPLESDIR}
+.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
diff -Nur t-prot.orig/distinfo t-prot/distinfo
--- t-prot.orig/distinfo Fri Apr 9 13:03:52 2010
+++ t-prot/distinfo Fri Apr 9 13:04:43 2010
@@ -1,3 +1,3 @@
-MD5 (t-prot-2.5.tar.gz) = 2ff61e5a823c9eea9f04f4e6a1e5e8ed
-SHA256 (t-prot-2.5.tar.gz) = 7047b8f6175796708624c7a1d88ef5d2126bcd782c8b7cac13b235c42518f234
-SIZE (t-prot-2.5.tar.gz) = 41136
+MD5 (t-prot-2.98.tar.gz) = c55e83a583d48bd4ffbc4437c21ef547
+SHA256 (t-prot-2.98.tar.gz) = 000cfd20586f15cce3f5c677d7f386cd0ca155d41470d6e7ada44797f5ff8d06
+SIZE (t-prot-2.98.tar.gz) = 46174
diff -Nur t-prot.orig/pkg-plist t-prot/pkg-plist
--- t-prot.orig/pkg-plist Fri Apr 9 13:03:52 2010
+++ t-prot/pkg-plist Fri Apr 9 13:15:50 2010
@@ -4,12 +4,15 @@
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%EXAMPLESDIR%%/README.examples
-%%EXAMPLESDIR%%/README.patches
-%%EXAMPLESDIR%%/filter_innd.pl
-%%EXAMPLESDIR%%/muttrc.t-prot
-%%EXAMPLESDIR%%/t-prot-r1.238-gpg126.diff
-%%EXAMPLESDIR%%/t-prot-r1.246-mutt1512.diff
-%%EXAMPLESDIR%%/t-prot.sl
-%%EXAMPLESDIR%%/t-prot.sl-slang2.diff
- at dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.examples
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.patches
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filter_innd.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mailcap.t-prot
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/muttrc.t-prot
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/muttrc.t-prot.m1512
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nailrc.t-prot
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/t-prot-r1.238-gpg126.diff
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/t-prot-r1.279-mutt1512.diff
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/t-prot.sl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/t-prot.sl-slang2.diff
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
--- t-prot.2.98.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list