From lars@e.0x20.net  Fri Apr  9 11:45:58 2010
Return-Path: <lars@e.0x20.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6C69E106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Apr 2010 11:45:58 +0000 (UTC)
	(envelope-from lars@e.0x20.net)
Received: from mail.0x20.net (mail.0x20.net [217.69.67.217])
	by mx1.freebsd.org (Postfix) with ESMTP id 354648FC25
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Apr 2010 11:45:57 +0000 (UTC)
Received: by mail.0x20.net (Postfix, from userid 1002)
	id 90E0F398B3; Fri,  9 Apr 2010 13:28:43 +0200 (CEST)
Message-Id: <20100409112843.90E0F398B3@mail.0x20.net>
Date: Fri,  9 Apr 2010 13:28:43 +0200 (CEST)
From: Lars Engels <lme@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: mail/t-prot: Update to 2.98
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         145579
>Category:       ports
>Synopsis:       mail/t-prot: Update to 2.98
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sergei
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 09 16:10:11 UTC 2010
>Closed-Date:    Sun Aug 08 21:53:12 UTC 2010
>Last-Modified:  Sun Aug  8 22:00:15 UTC 2010
>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@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@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
-@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:
Responsible-Changed-From-To: freebsd-ports-bugs->sergei 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Apr 9 16:12:57 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145579 
State-Changed-From-To: open->closed 
State-Changed-By: sergei 
State-Changed-When: Sun Aug 8 21:53:11 UTC 2010 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145579 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/145579: commit references a PR
Date: Sun,  8 Aug 2010 21:51:57 +0000 (UTC)

 sergei      2010-08-08 21:51:48 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail/t-prot          Makefile distinfo pkg-plist 
   Log:
   - Update to 2.99
     - it now uses p5-Getopt-Long instead of the deprecated p5-Getopt-Mixed
   - Respect NOPORTEXAMPLES
   
   PR:             ports/145579
   Submitted by:   Lars Engels <lme@FreeBSD.org>
   
   Revision  Changes    Path
   1.14      +4 -3      ports/mail/t-prot/Makefile
   1.10      +3 -3      ports/mail/t-prot/distinfo
   1.8       +13 -10    ports/mail/t-prot/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
