ports/65351: MAINTAINER-UPDATE: mail/courier 0.44.3 to 0.45.4

Yarema yds at CoolRat.org
Fri Apr 9 08:50:20 UTC 2004


>Number:         65351
>Category:       ports
>Synopsis:       MAINTAINER-UPDATE: mail/courier 0.44.3 to 0.45.4
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 09 01:50:19 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Yarema
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
CoolRat.org
>Environment:
System: FreeBSD 5.2-CURRENT i386
>Description:

Fairly straightforward upgrade.  My workaround for installing

${PREFIX}/sbin/sharedindexsplit
${PREFIX}/sbin/sharedindexinstall

is no longer required.  Fixed by the author.

0.44.3 had another bothersome install bug in that

${PREFIX}/bin/maildrop
${PREFIX}/bin/sendmail

were not installed SUID root and should have been.  Presumably fixed by the
author since I did nothing to fix this but I did verify that the SUID bit is
on after install.

>How-To-Repeat:
cd /usr/ports/mail/courier && make install
>Fix:
diff -u -ruN courier-0.45.3/Makefile courier/Makefile
--- courier-0.45.3/Makefile	Mon Apr  5 03:43:31 2004
+++ courier/Makefile	Fri Apr  9 02:53:56 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	courier
-PORTVERSION=	0.45.3
+PORTVERSION=	0.45.4
 CATEGORIES=	mail ipv6
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	courier
@@ -307,17 +307,15 @@
 	@${ECHO_MSG} "===> -------------------------------------------"
 
 post-patch:
-	@${PERL} -pi -e 's:\@datadir\@:\@sysconfdir\@:g;' \
+	@${REINPLACE_CMD} -e 's:@datadir@:@sysconfdir@:g' \
 		${WRKSRC}/*/mk*cert.* \
 		${WRKSRC}/*/*/mk*cert.*
-	@${PERL} -pi -e 's:^(TLS_CERTFILE=)\@datadir\@:$$1\@sysconfdir\@:g;' \
+	@${REINPLACE_CMD} -e 's:^TLS_CERTFILE=@datadir@:TLS_CERTFILE=@sysconfdir@:g' \
 		${WRKSRC}/*/*.dist.in \
 		${WRKSRC}/*/*/*.dist.in
-	@${PERL} -pi -e 's:^(RANDFILE = )\@datadir\@\S+:$$1\@sysconfdir\@/random.tmp:g;' \
+	@${REINPLACE_CMD} -e 's:^RANDFILE = @datadir@[^[:space:]]*:RANDFILE = @sysconfdir@/random.tmp:g' \
 		${WRKSRC}/*/*.cnf.in \
 		${WRKSRC}/*/*/*.cnf.in
-	@${PERL} -pi -e 's:^	sharedindexsplit sharedindexinstall::g;' \
-		${WRKSRC}/courier/Makefile.in
 	@${REINPLACE_CMD} -e 's:"\\$${SHELL} \\$$(install_sh) -c -s":"\\$${BSD_INSTALL_PROGRAM}":' \
 		${WRKSRC}/configure \
 		${WRKSRC}/*/configure \
@@ -356,8 +354,6 @@
 	@${INSTALL_DATA} /dev/null ${SYSCONFDIR}/locallowercase
 	@${INSTALL_DATA} ${WRKDIR}/crontab ${PREFIX}/etc/courier/
 	@${INSTALL_SCRIPT} ${WRKDIR}/courier.sh ${PREFIX}/etc/rc.d/
-	@${INSTALL_SCRIPT} ${WRKSRC}/maildir/sharedindexsplit ${PREFIX}/sbin/
-	@${INSTALL_SCRIPT} ${WRKSRC}/maildir/sharedindexinstall ${PREFIX}/sbin/
 .for file in ${OWNER0}
 	@-${CHOWN} ${BINOWN}:${BINGRP} ${PREFIX}/${file}
 .endfor
diff -u -ruN courier-0.45.3/distinfo courier/distinfo
--- courier-0.45.3/distinfo	Sun Apr  4 03:48:42 2004
+++ courier/distinfo	Fri Apr  9 02:20:02 2004
@@ -1,2 +1,2 @@
-MD5 (courier-0.45.3.tar.bz2) = c1f657b5b0fd8d41d2eb2372fdfe1b41
-SIZE (courier-0.45.3.tar.bz2) = 4317585
+MD5 (courier-0.45.4.tar.bz2) = ab2a668fe590f42c40649b62af704995
+SIZE (courier-0.45.4.tar.bz2) = 4318289
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list