ports/79372: [MAINTAINER] mail/qmailanalog: Remove perl dependence, sort pkg-plist, SIZE'ify, remove all patches

Renato Botelho freebsd at galle.com.br
Wed Mar 30 15:40:06 UTC 2005


>Number:         79372
>Category:       ports
>Synopsis:       [MAINTAINER] mail/qmailanalog: Remove perl dependence, sort pkg-plist, SIZE'ify, remove all patches
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 30 15:40:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 5.3-RELEASE-p5 i386
>Organization:
Galle Folheados - http://www.galle.com.br
>Environment:
System: FreeBSD data.galle.com.br 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #7: Thu Mar  3 09:03:28 BRST
>Description:
- Remove perl build dependence converting all ${PERL} to ${REINPLACE_CMD}
- Sort pkg-plist
- Convert files/patch-aa and files/patch-hier.c to ${REINPLACE_CMD} and remove both
- SIZE'ify

Removed file(s):
- files/patch-aa
- files/patch-hier.c

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

--- qmailanalog-0.70_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/qmailanalog/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	13 Dec 2004 17:03:27 -0000	1.16
+++ Makefile	30 Mar 2005 15:33:47 -0000
@@ -41,12 +41,13 @@
 QMPREFIX?=	${PREFIX}/${MYSUBDIR}
 
 NO_MTREE=	yes
-USE_PERL5_BUILD=yes
+USE_REINPLACE=	yes
 
 post-patch:
-	@${PERL} -pi.bak -e "s|.usr.local.qmailanalog|${QMPREFIX}|" ${WRKSRC}/conf-home
-	@${PERL} -pi.bak -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
-	@${PERL} -pi.bak -e '$$_ = "" if /cat/' ${WRKSRC}/hier.c
+	@${REINPLACE_CMD} "s|.usr.local.qmailanalog|${QMPREFIX}|" ${WRKSRC}/conf-home
+	@${REINPLACE_CMD} "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
+	@${REINPLACE_CMD} 's|02755|0755|g; /cat/d' ${WRKSRC}/hier.c
+	@${REINPLACE_CMD} 's|^man prog|prog|g' ${WRKSRC}/Makefile
 	@${ECHO_CMD} ${PREFIX} > ${WRKDIR}/.PPREFIX
 	@${ECHO_CMD} ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX
 
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/qmailanalog/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo	3 May 1999 02:46:44 -0000	1.1.1.1
+++ distinfo	30 Mar 2005 15:33:47 -0000
@@ -1 +1,2 @@
 MD5 (qmailanalog-0.70.tar.gz) = 84a3d44cbf2dbd88e8b97edd98c65732
+SIZE (qmailanalog-0.70.tar.gz) = 28416
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/qmailanalog/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	14 Apr 2004 19:39:01 -0000	1.2
+++ pkg-plist	30 Mar 2005 15:33:47 -0000
@@ -1,32 +1,32 @@
-%%MYSUBDIR%%bin/matchup
 %%MYSUBDIR%%bin/columnt
-%%MYSUBDIR%%bin/zoverall
-%%MYSUBDIR%%bin/zsendmail
-%%MYSUBDIR%%bin/xqp
-%%MYSUBDIR%%bin/xsender
-%%MYSUBDIR%%bin/xrecipient
 %%MYSUBDIR%%bin/ddist
 %%MYSUBDIR%%bin/deferrals
 %%MYSUBDIR%%bin/failures
-%%MYSUBDIR%%bin/successes
-%%MYSUBDIR%%bin/rhosts
+%%MYSUBDIR%%bin/matchup
 %%MYSUBDIR%%bin/recipients
+%%MYSUBDIR%%bin/rhosts
 %%MYSUBDIR%%bin/rxdelay
 %%MYSUBDIR%%bin/senders
+%%MYSUBDIR%%bin/successes
 %%MYSUBDIR%%bin/suids
+%%MYSUBDIR%%bin/xqp
+%%MYSUBDIR%%bin/xrecipient
+%%MYSUBDIR%%bin/xsender
 %%MYSUBDIR%%bin/zddist
 %%MYSUBDIR%%bin/zdeferrals
 %%MYSUBDIR%%bin/zfailures
-%%MYSUBDIR%%bin/zsuccesses
-%%MYSUBDIR%%bin/zrhosts
+%%MYSUBDIR%%bin/zoverall
 %%MYSUBDIR%%bin/zrecipients
+%%MYSUBDIR%%bin/zrhosts
 %%MYSUBDIR%%bin/zrxdelay
 %%MYSUBDIR%%bin/zsenders
+%%MYSUBDIR%%bin/zsendmail
+%%MYSUBDIR%%bin/zsuccesses
 %%MYSUBDIR%%bin/zsuids
-%%MYSUBDIR%%doc/MATCHUP
 %%MYSUBDIR%%doc/ACCOUNTING
- at dirrm %%MYSUBDIR%%doc
- at dirrm %%MYSUBDIR%%bin
+%%MYSUBDIR%%doc/MATCHUP
 @dirrm %%MYSUBDIR%%man/man1
 @dirrm %%MYSUBDIR%%man
+ at dirrm %%MYSUBDIR%%doc
+ at dirrm %%MYSUBDIR%%bin
 @dirrm %%MYSUBDIR%%
Index: files/patch-aa
===================================================================
RCS file: files/patch-aa
diff -N files/patch-aa
--- files/patch-aa	3 May 1999 02:46:44 -0000	1.1.1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- Makefile.orig	Sun Nov 29 18:06:06 1998
-+++ Makefile	Sun Nov 29 18:06:16 1998
-@@ -214,7 +214,7 @@
- 	./compile instcheck.c
- 
- it: \
--man prog install instcheck
-+prog install instcheck
- 
- load: \
- make-load warn-auto.sh systype
Index: files/patch-hier.c
===================================================================
RCS file: files/patch-hier.c
diff -N files/patch-hier.c
--- files/patch-hier.c	20 Apr 2004 08:33:15 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,22 +0,0 @@
---- hier.c.orig	Tue Apr 20 11:14:18 2004
-+++ hier.c	Tue Apr 20 11:14:33 2004
-@@ -2,13 +2,13 @@
- 
- void hier()
- {
--  h(auto_home,-1,-1,02755);
-+  h(auto_home,-1,-1,0755);
- 
--  d(auto_home,"bin",-1,-1,02755);
--  d(auto_home,"doc",-1,-1,02755);
--  d(auto_home,"man",-1,-1,02755);
--  d(auto_home,"man/man1",-1,-1,02755);
--  d(auto_home,"man/cat1",-1,-1,02755);
-+  d(auto_home,"bin",-1,-1,0755);
-+  d(auto_home,"doc",-1,-1,0755);
-+  d(auto_home,"man",-1,-1,0755);
-+  d(auto_home,"man/man1",-1,-1,0755);
-+  d(auto_home,"man/cat1",-1,-1,0755);
- 
-   c(auto_home,"doc","MATCHUP",-1,-1,0644);
-   c(auto_home,"doc","ACCOUNTING",-1,-1,0644);
--- qmailanalog-0.70_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list