From renato@data.galle.com.br  Wed Apr 20 12:31:16 2005
Return-Path: <renato@data.galle.com.br>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2A04716A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Apr 2005 12:31:16 +0000 (GMT)
Received: from data.galle.com.br (data.galle.com.br [200.246.25.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 10CA743D2D
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Apr 2005 12:31:15 +0000 (GMT)
	(envelope-from renato@data.galle.com.br)
Received: from data.galle.com.br (data.galle.com.br [200.246.25.10])
	by data.galle.com.br (8.13.1/8.13.1) with ESMTP id j3KCVD1X051065
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Apr 2005 09:31:13 -0300 (BRST)
	(envelope-from renato@data.galle.com.br)
Received: (from root@localhost)
	by data.galle.com.br (8.13.1/8.13.1/Submit) id j3KCV8h6051064;
	Wed, 20 Apr 2005 09:31:08 -0300 (BRST)
	(envelope-from renato)
Message-Id: <200504201231.j3KCV8h6051064@data.galle.com.br>
Date: Wed, 20 Apr 2005 09:31:08 -0300 (BRST)
From: Renato Botelho <freebsd@galle.com.br>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] net/c3270: update to 3.3.4, take maintainership
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         80144
>Category:       ports
>Synopsis:       [PATCH] net/c3270: update to 3.3.4, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    novel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 20 12:40:09 GMT 2005
>Closed-Date:    Sat Apr 23 18:11:01 GMT 2005
>Last-Modified:  Sat Apr 23 18:11:01 GMT 2005
>Originator:     Renato Botelho
>Release:        FreeBSD 5.3-RELEASE-p9 i386
>Organization:
Galle Folheados - http://www.galle.com.br
>Environment:
System: FreeBSD data.galle.com.br 5.3-RELEASE-p9 FreeBSD 5.3-RELEASE-p9 #9: Fri Apr 15 07:52:00 BRST 2005
>Description:
- Update to 3.3.4
- Take maintainership

Added file(s):
- pkg-plist

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- c3270-3.3.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/c3270/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	20 Apr 2005 09:13:58 -0000	1.6
+++ Makefile	20 Apr 2005 12:27:24 -0000
@@ -6,13 +6,13 @@
 #
 
 PORTNAME=	c3270
-PORTVERSION=	3.3.2p2
+PORTVERSION=	3.3.4
 CATEGORIES=	net
 MASTER_SITES=	http://x3270.bgp.nu/download/
 DISTNAME=	${PORTNAME}-${PORTVERSION:S/.//g}
 EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	freebsd@galle.com.br
 COMMENT=	Full-screen curses-based remote login to IBM mainframes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([0-9]\.[0-9])(\..*)/\1/}
@@ -25,6 +25,19 @@
 
 USE_REINPLACE=	yes
 
+DOCFILES=	Bugs.html \
+		Build.html \
+		FAQ.html \
+		Intro.html \
+		Lineage.html \
+		New.html \
+		README.html \
+		Wishlist.html \
+		c3270-man.html \
+		x3270-script.html \
+		x3270.xbm \
+		x3270if.html
+
 MAN1=		c3270.1 \
 		x3270if.1 \
 		x3270-script.1 \
@@ -32,14 +45,6 @@
 MAN5=		ibm_hosts.5
 MANCOMPRESSED=	no
 
-PLIST_FILES=	bin/c3270 \
-		bin/x3270if \
-		bin/pr3287 \
-		etc/x3270/ibm_hosts
-PLIST_DIRS=	etc/x3270
-
-PORTDOCS=	*
-
 # c3270's ./configure script supports these.
 # Within it all options except DBCS are enabled by default.
 
@@ -83,12 +88,9 @@
 .if defined(WITH_DBCS) && !defined(WITHOUT_DBCS)
 CONFIGURE_ARGS+=	--enable-dbcs
 BUILD_DEPENDS+=	${LOCALBASE}/include/unicode/ucnv.h:${PORTSDIR}/devel/icu2:install
-UCM_TABLES=	ibm-1027_P100-1995	\
-		ibm-300_P110-1997	\
-		ibm-837_P100-2000
-.for table_name in ${UCM_TABLES}
-PLIST_FILES+=	etc/x3270/icudt28l_${table_name}.cnv
-.endfor
+PLIST_SUB+=	DBCS=""
+.else
+PLIST_SUB+=	DBCS="@comment "
 .endif
 
 .if defined(WITHOUT_FT) && !defined(WITH_FT)
@@ -123,18 +125,13 @@
 .endif
 
 post-install:
-	-( cd ${WRKSRC} && ${GMAKE} ${MAKE_FLAGS} Makefile install.man )
+	@( cd ${WRKSRC} && ${GMAKE} ${MAKE_FLAGS} Makefile install.man )
 .if !defined(NOPORTDOCS)
-	-${MKDIR} ${DOCSDIR}
-	-${MKDIR} ${DOCSDIR}/html
-.for i in ${PORTDOCS}
-		-${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
+	@${MKDIR} ${DOCSDIR}/html
+.for i in ${DOCFILES}
+		${INSTALL_DATA} ${WRKSRC}/html/${i} ${DOCSDIR}/html/${i}
 .endfor
 	@${ECHO_MSG} "===> Extra Documentation installed in ${DOCSDIR}/html ."
 .endif
 
-post-deinstall:
-	-${RMDIR} ${DOCSDIR}/html
-	-${RMDIR} ${DOCSDIR}
-
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/net/c3270/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	16 Dec 2004 09:25:27 -0000	1.1
+++ distinfo	20 Apr 2005 12:27:24 -0000
@@ -1,2 +1,2 @@
-MD5 (c3270-332p2.tgz) = 4f348cff45a23e9021e713cfd94fd798
-SIZE (c3270-332p2.tgz) = 559993
+MD5 (c3270-334.tgz) = 5b65f5e0e052eafc5f84c713fff89175
+SIZE (c3270-334.tgz) = 689348
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ pkg-plist	20 Apr 2005 12:27:24 -0000
@@ -0,0 +1,23 @@
+@comment $FreeBSD$
+bin/c3270
+bin/x3270if
+bin/pr3287
+etc/x3270/ibm_hosts
+%%DBCS%%etc/x3270/icudt28l_ibm-1027_P100-1995.cnv
+%%DBCS%%etc/x3270/icudt28l_ibm-300_P110-1997.cnv
+%%DBCS%%etc/x3270/icudt28l_ibm-837_P100-2000.cnv
+@unexec rmdir %D/etc/x3270 2>/dev/null || true
+%%PORTDOCS%%%%DOCSDIR%%/html/Bugs.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Build.html
+%%PORTDOCS%%%%DOCSDIR%%/html/FAQ.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Intro.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Lineage.html
+%%PORTDOCS%%%%DOCSDIR%%/html/New.html
+%%PORTDOCS%%%%DOCSDIR%%/html/README.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Wishlist.html
+%%PORTDOCS%%%%DOCSDIR%%/html/c3270-man.html
+%%PORTDOCS%%%%DOCSDIR%%/html/x3270-script.html
+%%PORTDOCS%%%%DOCSDIR%%/html/x3270.xbm
+%%PORTDOCS%%%%DOCSDIR%%/html/x3270if.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- c3270-3.3.4.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->novel 
Responsible-Changed-By: novel 
Responsible-Changed-When: Wed Apr 20 13:11:08 GMT 2005 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80144 
State-Changed-From-To: open->feedback 
State-Changed-By: novel 
State-Changed-When: Thu Apr 21 15:41:25 GMT 2005 
State-Changed-Why:  
Why don't you want to use PORTDOCS and PLIST_FILES/DIRS as it is now?  

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

From: Renato Botelho <freebsd@galle.com.br>
To: novel@FreeBSD.org
Cc: bug-followup@FreeBSD.org, freebsd@galle.com.br
Subject: Re: ports/80144: [PATCH] net/c3270: update to 3.3.4, take maintainership
Date: Fri, 22 Apr 2005 17:37:34 -0300

 If you think it's better, here is a patch that just update and change
 maintainer's email.
 
 But take a look on post-install and post-deinstall target, I think the
 first patch I sent is more clean.
 
 Thanks
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/net/c3270/Makefile,v
 retrieving revision 1.6
 diff -u -r1.6 Makefile
 --- Makefile	20 Apr 2005 09:13:58 -0000	1.6
 +++ Makefile	22 Apr 2005 20:28:39 -0000
 @@ -6,13 +6,13 @@
  #
  
  PORTNAME=	c3270
 -PORTVERSION=	3.3.2p2
 +PORTVERSION=	3.3.4
  CATEGORIES=	net
  MASTER_SITES=	http://x3270.bgp.nu/download/
  DISTNAME=	${PORTNAME}-${PORTVERSION:S/.//g}
  EXTRACT_SUFX=	.tgz
  
 -MAINTAINER=	ports@FreeBSD.org
 +MAINTAINER=	freebsd@galle.com.br
  COMMENT=	Full-screen curses-based remote login to IBM mainframes
  
  WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([0-9]\.[0-9])(\..*)/\1/}
 Index: distinfo
 ===================================================================
 RCS file: /home/ncvs/ports/net/c3270/distinfo,v
 retrieving revision 1.1
 diff -u -r1.1 distinfo
 --- distinfo	16 Dec 2004 09:25:27 -0000	1.1
 +++ distinfo	22 Apr 2005 20:28:39 -0000
 @@ -1,2 +1,2 @@
 -MD5 (c3270-332p2.tgz) = 4f348cff45a23e9021e713cfd94fd798
 -SIZE (c3270-332p2.tgz) = 559993
 +MD5 (c3270-334.tgz) = 5b65f5e0e052eafc5f84c713fff89175
 +SIZE (c3270-334.tgz) = 689348
 ===> Done
 
 -- 
 Renato Botelho <freebsd at galle dot com dot br>
 AIM: RBGargaBR | ICQ: 54596223
 GnuPG Key: http://www.galle.com.br/~renato/pubkey.asc
 
 Speak softly and carry a +6 two-handed sword.

From: Roman Bogorodskiy <bogorodskiy@gmail.com>
To: Renato Botelho <freebsd@galle.com.br>
Cc: novel@FreeBSD.org, bug-followup@FreeBSD.org
Subject: Re: ports/80144: [PATCH] net/c3270: update to 3.3.4, take maintainership
Date: Sat, 23 Apr 2005 21:39:18 +0400

 --maH1Gajj2nflutpK
 Content-Type: multipart/mixed; boundary="3Pql8miugIZX0722"
 Content-Disposition: inline
 
 
 --3Pql8miugIZX0722
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
  Renato wrote:
 
 > If you think it's better, here is a patch that just update and change
 > maintainer's email.
 >=20
 > But take a look on post-install and post-deinstall target, I think the
 > first patch I sent is more clean.
 
 Hello, Renato.
 
 I'm talking about something like the attached patch.=20
 
 -Roman Bogorodskiy
 
 --3Pql8miugIZX0722
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="c3227.diff"
 Content-Transfer-Encoding: quoted-printable
 
 Index: Makefile
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /home/ncvs/ports/net/c3270/Makefile,v
 retrieving revision 1.6
 diff -u -r1.6 Makefile
 --- Makefile	20 Apr 2005 09:13:58 -0000	1.6
 +++ Makefile	23 Apr 2005 17:31:17 -0000
 @@ -6,13 +6,13 @@
  #
 =20
  PORTNAME=3D	c3270
 -PORTVERSION=3D	3.3.2p2
 +PORTVERSION=3D	3.3.4
  CATEGORIES=3D	net
  MASTER_SITES=3D	http://x3270.bgp.nu/download/
  DISTNAME=3D	${PORTNAME}-${PORTVERSION:S/.//g}
  EXTRACT_SUFX=3D	.tgz
 =20
 -MAINTAINER=3D	ports@FreeBSD.org
 +MAINTAINER=3D	freebsd@galle.com.br
  COMMENT=3D	Full-screen curses-based remote login to IBM mainframes
 =20
  WRKSRC=3D		${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([0-9]\.[0-9])(\..*)/\1/}
 @@ -32,12 +32,6 @@
  MAN5=3D		ibm_hosts.5
  MANCOMPRESSED=3D	no
 =20
 -PLIST_FILES=3D	bin/c3270 \
 -		bin/x3270if \
 -		bin/pr3287 \
 -		etc/x3270/ibm_hosts
 -PLIST_DIRS=3D	etc/x3270
 -
  PORTDOCS=3D	*
 =20
  # c3270's ./configure script supports these.
 @@ -83,12 +77,9 @@
  .if defined(WITH_DBCS) && !defined(WITHOUT_DBCS)
  CONFIGURE_ARGS+=3D	--enable-dbcs
  BUILD_DEPENDS+=3D	${LOCALBASE}/include/unicode/ucnv.h:${PORTSDIR}/devel/ic=
 u2:install
 -UCM_TABLES=3D	ibm-1027_P100-1995	\
 -		ibm-300_P110-1997	\
 -		ibm-837_P100-2000
 -.for table_name in ${UCM_TABLES}
 -PLIST_FILES+=3D	etc/x3270/icudt28l_${table_name}.cnv
 -.endfor
 +LIST_SUB+=3D	DBCS=3D""
 +.else
 +PLIST_SUB+=3D	DBCS=3D"@comment "
  .endif
 =20
  .if defined(WITHOUT_FT) && !defined(WITH_FT)
 @@ -123,18 +114,14 @@
  .endif
 =20
  post-install:
 -	-( cd ${WRKSRC} && ${GMAKE} ${MAKE_FLAGS} Makefile install.man )
 +	@( cd ${WRKSRC} && ${GMAKE} ${MAKE_FLAGS} Makefile install.man )
  .if !defined(NOPORTDOCS)
 -	-${MKDIR} ${DOCSDIR}
 -	-${MKDIR} ${DOCSDIR}/html
 +	@${MKDIR} ${DOCSDIR}
 +	@${MKDIR} ${DOCSDIR}/html
  .for i in ${PORTDOCS}
 -		-${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
 +		@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
  .endfor
  	@${ECHO_MSG} "=3D=3D=3D> Extra Documentation installed in ${DOCSDIR}/html=
  ."
  .endif
 =20
 -post-deinstall:
 -	-${RMDIR} ${DOCSDIR}/html
 -	-${RMDIR} ${DOCSDIR}
 -
  .include <bsd.port.post.mk>
 Index: distinfo
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /home/ncvs/ports/net/c3270/distinfo,v
 retrieving revision 1.1
 diff -u -r1.1 distinfo
 --- distinfo	16 Dec 2004 09:25:27 -0000	1.1
 +++ distinfo	23 Apr 2005 17:31:17 -0000
 @@ -1,2 +1,2 @@
 -MD5 (c3270-332p2.tgz) =3D 4f348cff45a23e9021e713cfd94fd798
 -SIZE (c3270-332p2.tgz) =3D 559993
 +MD5 (c3270-334.tgz) =3D 5b65f5e0e052eafc5f84c713fff89175
 +SIZE (c3270-334.tgz) =3D 689348
 Index: pkg-plist
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: pkg-plist
 diff -N pkg-plist
 --- /dev/null	1 Jan 1970 00:00:00 -0000
 +++ pkg-plist	23 Apr 2005 17:31:17 -0000
 @@ -0,0 +1,9 @@
 +@comment $FreeBSD$
 +bin/c3270
 +bin/x3270if
 +bin/pr3287
 +etc/x3270/ibm_hosts
 +%%DBCS%%etc/x3270/icudt28l_ibm-1027_P100-1995.cnv
 +%%DBCS%%etc/x3270/icudt28l_ibm-300_P110-1997.cnv
 +%%DBCS%%etc/x3270/icudt28l_ibm-837_P100-2000.cnv
 +@unexec rmdir %D/etc/x3270 2>/dev/null || true
 
 --3Pql8miugIZX0722--
 
 --maH1Gajj2nflutpK
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iQCVAwUBQmqIRYB0WzgdqspGAQKs+wP+KxEp2XBdkkOZ8QUecyIGOT0yp1w9kIYh
 Y315sgw16CI+H6AYim9JC7B3h5PrO/55iDn9qGs8odPoN4zbx0yS9Fcw4lNDr2xM
 14qCaTdIBZxCERB00Q/OH7RYMAZ6X2uMgk14gU4YwwHZ9nEykfOwNIsENQZo2Dcy
 m1KXKsFvbN4=
 =tR+j
 -----END PGP SIGNATURE-----
 
 --maH1Gajj2nflutpK--

From: Renato Botelho <freebsd@galle.com.br>
To: Roman Bogorodskiy <bogorodskiy@gmail.com>
Cc: Renato Botelho <freebsd@galle.com.br>, novel@FreeBSD.org,
	bug-followup@FreeBSD.org
Subject: Re: ports/80144: [PATCH] net/c3270: update to 3.3.4, take maintainership
Date: Sat, 23 Apr 2005 14:49:22 -0300

 On Sat, Apr 23, 2005 at 09:39:18PM +0400, Roman Bogorodskiy wrote:
 > I'm talking about something like the attached patch. 
 
 Very nice, pleae commit it.
 
 Thanks
 -- 
 Renato Botelho <freebsd at galle dot com dot br>
 AIM: RBGargaBR | ICQ: 54596223
 GnuPG Key: http://www.galle.com.br/~renato/pubkey.asc
 
 	No violence, gentlemen -- no violence, I beg of you! Consider
 the furniture!
 		-- Sherlock Holmes
State-Changed-From-To: feedback->closed 
State-Changed-By: novel 
State-Changed-When: Sat Apr 23 18:10:53 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80144 
>Unformatted:
