ports/66865: Update Port: mail/mailmgr distfile moved to sf.net, pkg-message modification
Rong-En Fan
rafan at infor.org
Wed May 19 08:20:37 UTC 2004
>Number: 66865
>Category: ports
>Synopsis: Update Port: mail/mailmgr distfile moved to sf.net, pkg-message modification
>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: Wed May 19 01:20:18 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Rong-En Fan
>Release: FreeBSD 4.9-RELEASE-p4 i386
>Organization:
NTU CSIE
>Environment:
System: FreeBSD muse.csie.ntu.edu.tw 4.9-RELEASE-p4 FreeBSD 4.9-RELEASE-p4 #4: Mon Mar 22 00:36:52 CST 2004 root at muse.csie.ntu.edu.tw:/home/admin/usr/obj/home/admin/usr/src/sys/MUSE i386
>Description:
The distfile of mailmgr has been moved to sourceforge.net.
Also, the PREFIX won't be replaced in package.
>How-To-Repeat:
>Fix:
diff -ruN mailmgr.orig/Makefile mailmgr/Makefile
--- mailmgr.orig/Makefile Wed May 19 15:40:36 2004
+++ mailmgr/Makefile Wed May 19 15:45:33 2004
@@ -8,19 +8,23 @@
PORTNAME= mailmgr
PORTVERSION= 1.2.3
CATEGORIES= mail
-MASTER_SITES= http://web.onda.com.br/orso/
+MASTER_SITES= http://sarg.sourceforge.net/
MAINTAINER= sexbear at tmu.edu.tw
COMMENT= Sendmail Analisys Report Generator
GNU_CONFIGURE= yes
+MSG_FILE= ${PKGDIR}/pkg-message
+PKGMESSAGE= ${WRKSRC}/pkg-message
+
do-install:
${INSTALL_DATA} ${WRKSRC}/mailmgr.conf ${PREFIX}/etc/mailmgr.conf.default
.if !exists(${PREFIX}/etc/mailmgr.conf)
${INSTALL_DATA} ${WRKSRC}/mailmgr.conf ${PREFIX}/etc/mailmgr.conf
.endif
${INSTALL_PROGRAM} ${WRKSRC}/mailmgr ${PREFIX}/bin
- @${SED} -e 's,PREFIX,${PREFIX},g' ${PKGMESSAGE}
+ @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff -ruN mailmgr.orig/pkg-descr mailmgr/pkg-descr
--- mailmgr.orig/pkg-descr Wed May 19 15:40:36 2004
+++ mailmgr/pkg-descr Wed May 19 15:41:47 2004
@@ -9,4 +9,4 @@
Messages from with date, time and bytes per user
Messages to with date, time and bytes per user
-WWW: http://web.onda.com.br/orso
+WWW: http://sarg.sourceforge.net/mailmgr.php
diff -ruN mailmgr.orig/pkg-message mailmgr/pkg-message
--- mailmgr.orig/pkg-message Wed May 19 15:40:36 2004
+++ mailmgr/pkg-message Wed May 19 15:44:40 2004
@@ -1,4 +1,4 @@
---------------------------------------------------------------
-You need to configure the PREFIX/etc/mailmgr.conf before using it.
-See http://web.onda.com.br/orso/mailmgr.README.txt
+You need to configure the %%PREFIX%%/etc/mailmgr.conf before using it.
+See http://sarg.sourceforge.net/mailmgr.README.txt
---------------------------------------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list