ports/59367: Patch to Courier
Shizuka Kudo
shizukakudo_99 at yahoo.com
Mon Nov 17 10:00:38 UTC 2003
>Number: 59367
>Category: ports
>Synopsis: mail/courier was marked broken
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 17 02:00:36 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Shizuka Kudo
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD shizuka.com 5.1-CURRENT FreeBSD 5.1-CURRENT #20031116: Sun Nov 16 21:40:23 GMT
2003
root at shizuka.com:/usr/obj/usr/src/sys/SHIZUKA i386
i386, FreeBSD-current
>Description:
mail/courier was marked broken and not up-to-date.
>How-To-Repeat:
cd /usr/ports/mail/courier; make
>Fix:
Applying the attached patch updates courier to 0.44.0 and use mailnull:mailnull as the
user:group instead of courier. This should remove the issue of using unregistered uid/gid. It also
fix the problem on WITH_GHOSTSCRIPT_AFPL
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
--0-107610651-1069062938=:75494
Content-Type: text/plain; name="courier-patch.txt"
Content-Description: courier-patch.txt
Content-Disposition: inline; filename="courier-patch.txt"
diff -ur mail/courier/Makefile.orig mail/courier/Makefile
--- mail/courier/Makefile.orig Sun Nov 16 09:13:21 2003
+++ mail/courier/Makefile Sun Nov 16 23:19:22 2003
@@ -6,16 +6,13 @@
#
PORTNAME= courier
-PORTVERSION= 0.42.2
+PORTVERSION= 0.44.0
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= courier
MAINTAINER= ports at FreeBSD.org
COMMENT= Courier SMTP IMAP POP3 HTTP mail server suite
-
-BROKEN= Uses unregistered uid/gid, already in use by pf
-
RUN_DEPENDS= ${LOCALBASE}/share/sysconftool/sysconftool:${PORTSDIR}/devel/sysconftool \
${SITE_PERL}/Net/CIDR.pm:${PORTSDIR}/net/p5-Net-CIDR
@@ -38,10 +35,10 @@
MAILDROPDEFAULT?=./Maildir
# End of user-serviceable variables
CONFLICTS= postfix-1.* postfix-2.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.*
-MAILOWN= courier
-MAILGRP= courier
-MAILUID= 62
-MAILGID= 62
+MAILOWN= mailnull
+MAILGRP= mailnull
+MAILUID= 26
+MAILGID= 26
ETCDIR= ${PREFIX}/etc
SYSCONFDIR= ${ETCDIR}/courier
USERDB= ${ETCDIR}/userdb
@@ -55,8 +52,6 @@
USE_SUBMAKE= yes
USE_PERL5= yes
USE_GMAKE= yes
-USE_AUTOMAKE= yes
-USE_LIBTOOL= yes
USE_OPENSSL= yes
USE_AUTOMAKE_VER=15
CONFIGURE_ENV= REHASH=${SCRIPTDIR}/c_rehash
@@ -112,7 +107,7 @@
WITH_SENDFAX="${WITH_SENDFAX:L}" \
WITH_IPV6="${WITH_IPV6:L}" \
WITH_TRANSPORT="${WITH_TRANSPORT}" \
- WITH_GHOSTSCRIPT_AFPL="${WITH_GHOSTSCRIPT_AFPL:no}" \
+ WITH_GHOSTSCRIPT_AFPL="${WITH_GHOSTSCRIPT_AFPL:L}" \
TOUCH="${TOUCH}" \
MKDIR="${MKDIR}"
diff -ur mail/courier/Makefile.man.orig mail/courier/Makefile.man
--- mail/courier/Makefile.man.orig Sun Aug 10 06:40:31 2003
+++ mail/courier/Makefile.man Thu Aug 21 00:21:11 2003
@@ -6,6 +6,7 @@
dot-forward.1 \
lockmail.1 \
mailbot.1 \
+ maildirkw.1 \
maildirmake.1 \
maildrop.1 \
mailq.1 \
diff -ur mail/courier/distinfo.orig mail/courier/distinfo
--- mail/courier/distinfo.orig Sun Aug 10 06:40:31 2003
+++ mail/courier/distinfo Thu Aug 21 00:21:11 2003
@@ -1 +1 @@
-MD5 (courier-0.42.2.tar.bz2) = f607cbd949dd0fe7f138cf3b65d702f4
+MD5 (courier-0.44.0.tar.bz2) = acf6721a56f94791adf4fd7f56ba3e38
diff -ur mail/courier/pkg-install.orig mail/courier/pkg-install
--- mail/courier/pkg-install.orig Sun Jun 9 02:54:01 2002
+++ mail/courier/pkg-install Sun Nov 16 23:21:30 2003
@@ -5,8 +5,8 @@
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
-USER=courier; UID=62
-GROUP=courier; GID=62
+USER=mailnull; UID=26
+GROUP=mailnull; GID=26
ask() {
local question default answer
diff -ur mail/courier/pkg-plist.orig mail/courier/pkg-plist
--- mail/courier/pkg-plist.orig Tue Aug 19 23:36:02 2003
+++ mail/courier/pkg-plist Thu Aug 21 00:21:11 2003
@@ -37,6 +37,7 @@
bin/imapd
bin/lockmail
bin/mailbot
+bin/maildirkw
bin/maildirmake
bin/maildrop
bin/mailq
@@ -652,6 +653,7 @@
%%PORTDOCS%%%%DOCSDIR%%/html/lockmail.html
%%PORTDOCS%%%%DOCSDIR%%/html/mailbot.html
%%PORTDOCS%%%%DOCSDIR%%/html/maildir.html
+%%PORTDOCS%%%%DOCSDIR%%/html/maildirkw.html
%%PORTDOCS%%%%DOCSDIR%%/html/maildirmake.html
%%PORTDOCS%%%%DOCSDIR%%/html/maildirquota.html
%%PORTDOCS%%%%DOCSDIR%%/html/maildrop.README.html
--0-107610651-1069062938=:75494--
>Release-Note:
>Audit-Trail:
>Unformatted:
--0-107610651-1069062938=:75494
Content-Type: text/plain; charset=us-ascii
Content-Id:
Content-Disposition: inline
More information about the freebsd-ports-bugs
mailing list