aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjlaffaye <jlaffaye@FreeBSD.org>2011-07-20 19:10:12 +0800
committerjlaffaye <jlaffaye@FreeBSD.org>2011-07-20 19:10:12 +0800
commiteb8b2e61e5874b87b1c5000f14cf54b6794a4df9 (patch)
tree79c24d65bae998ece2556487826174f6782fae6e
parent14123cab0f739b8f0a3230442000e3f236c049cb (diff)
downloadfreebsd-ports-gnome-eb8b2e61e5874b87b1c5000f14cf54b6794a4df9.tar.gz
freebsd-ports-gnome-eb8b2e61e5874b87b1c5000f14cf54b6794a4df9.tar.zst
freebsd-ports-gnome-eb8b2e61e5874b87b1c5000f14cf54b6794a4df9.zip
Update to 0.65.3
PR: ports/158669 Submitted by: Milan Obuch <bsd@dino.sk> (maintainer)
-rw-r--r--mail/courier/Makefile11
-rw-r--r--mail/courier/distinfo4
-rw-r--r--mail/courier/files/patch-courier__configure9
-rw-r--r--mail/courier/files/patch-imap__mkimapdcert.in10
-rw-r--r--mail/courier/files/patch-imap__mkpop3dcert.in10
5 files changed, 20 insertions, 24 deletions
diff --git a/mail/courier/Makefile b/mail/courier/Makefile
index f18f5e46351c..3e4d798216a4 100644
--- a/mail/courier/Makefile
+++ b/mail/courier/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= courier
-PORTVERSION= 0.63.0
-PORTREVISION= 1
+PORTVERSION= 0.65.3
CATEGORIES= mail ipv6
MASTER_SITES= SF
@@ -61,7 +60,7 @@ CALENDIR= /var/spool/calendar
MIMETYPES= ${LOCALBASE}/etc/mime.types
WITH_TRANSPORT= local esmtp dsn
-USE_AUTOTOOLS= libtool
+USE_AUTOTOOLS= libtool aclocal
USE_BZIP2= yes
USE_FAM= yes
USE_GETTEXT= yes
@@ -98,6 +97,7 @@ CONFIGURE_ARGS= --disable-root-check \
--with-cachedir=${CACHEDIR} \
--with-cacheowner=${CACHEOWN} \
--with-calendardir=${CALENDIR} \
+ --with-certsdir=${SYSCONFDIR} \
--with-transport='${WITH_TRANSPORT}' \
--with-default-maildrop=${MAILDROPDEFAULT} \
--with-paranoid-smtpext \
@@ -372,6 +372,11 @@ pre-configure:
@if [ -f "${WRKDIR}/courier.cache" -a -s "${WRKDIR}/courier.cache" ]; then \
${RM} -f "${WRKDIR}/courier.cache"; \
fi
+ @cp ${LOCALBASE}/share/gettext/po/Makefile.in.in ${WRKSRC}/pcp/po
+ @cp ${LOCALBASE}/share/libtool/config/ltmain.sh ${WRKSRC}
+.for oldlt in . bdbobj cgi courier courier/libs courier/filters courier/filters/perlfilter courier/module.dsn courier/module.esmtp courier/module.local courier/module.uucp gdbmobj gpglib http11 imap ldapaddressbook libhmac liblock maildir maildrop makedat md5 numlib pcp random128 rfc822 rfc1035 rfc2045 sha1 tcpd unicode webmail
+ @cd ${WRKSRC}/${oldlt} && ${SETENV} ${SCRIPTS_ENV} ${SH} /usr/local/bin/aclocal
+.endfor
post-build:
@${PERL} -pi -e 's|^(auth)\s+(required).*|$$1\t\t$$2\tpam_unix.so\ttry_first_pass|g;' \
diff --git a/mail/courier/distinfo b/mail/courier/distinfo
index b99cef5c36db..0d76693c1c49 100644
--- a/mail/courier/distinfo
+++ b/mail/courier/distinfo
@@ -1,2 +1,2 @@
-SHA256 (courier-0.63.0.tar.bz2) = 3a52363605f75f4156105aefa6bd375626f742033fbf09b5592179f274322044
-SIZE (courier-0.63.0.tar.bz2) = 7133009
+SHA256 (courier-0.65.3.tar.bz2) = a743ba01137230165b00d726cf0faef3998d43edc0bfb00d8358eeefd96c7d60
+SIZE (courier-0.65.3.tar.bz2) = 7152828
diff --git a/mail/courier/files/patch-courier__configure b/mail/courier/files/patch-courier__configure
index 13214a7575eb..db86e5bf09ce 100644
--- a/mail/courier/files/patch-courier__configure
+++ b/mail/courier/files/patch-courier__configure
@@ -48,15 +48,6 @@
version=`cat ../version`
COPYRIGHT="Courier $version Copyright 1999-2008 Double Precision, Inc."
-@@ -17008,7 +17019,7 @@
-
- # Check whether --with-ldapaliasd was given.
- if test "${with_ldapaliasd+set}" = set; then
-- withval=$with_ldapaliasd; ldapaliasd="$withval"; ldapaliasd="yes"
-+ withval=$with_ldapaliasd; ldapaliasd="$withval"
- fi
-
-
@@ -18397,9 +18408,9 @@
if test "$testmode" = "0"
diff --git a/mail/courier/files/patch-imap__mkimapdcert.in b/mail/courier/files/patch-imap__mkimapdcert.in
index ec39e2fe1d66..e44fb39c2d5b 100644
--- a/mail/courier/files/patch-imap__mkimapdcert.in
+++ b/mail/courier/files/patch-imap__mkimapdcert.in
@@ -2,10 +2,10 @@
+++ imap/mkimapdcert.in 2010-02-15 21:36:46.000000000 +0100
@@ -40,7 +40,7 @@
then
- cp /dev/null @mydatadir@/imapd.pem
- chmod 600 @mydatadir@/imapd.pem
-- chown @mailuser@ @mydatadir@/imapd.pem
-+ /usr/sbin/chown @mailuser@ @mydatadir@/imapd.pem
+ cp /dev/null @certsdir@/imapd.pem
+ chmod 600 @certsdir@/imapd.pem
+- chown @mailuser@ @certsdir@/imapd.pem
++ /usr/sbin/chown @mailuser@ @certsdir@/imapd.pem
- dd if=@RANDOMV@ of=@mydatadir@/imapd.rand count=1 2>/dev/null
+ dd if=@RANDOMV@ of=@certsdir@/imapd.rand count=1 2>/dev/null
@OPENSSL@ req -new -x509 -days 365 -nodes \
diff --git a/mail/courier/files/patch-imap__mkpop3dcert.in b/mail/courier/files/patch-imap__mkpop3dcert.in
index fb2834b6d917..3bc4e84df091 100644
--- a/mail/courier/files/patch-imap__mkpop3dcert.in
+++ b/mail/courier/files/patch-imap__mkpop3dcert.in
@@ -2,10 +2,10 @@
+++ imap/mkpop3dcert.in 2010-02-15 21:37:01.000000000 +0100
@@ -40,7 +40,7 @@
then
- cp /dev/null @mydatadir@/pop3d.pem
- chmod 600 @mydatadir@/pop3d.pem
-- chown @mailuser@ @mydatadir@/pop3d.pem
-+ /usr/sbin/chown @mailuser@ @mydatadir@/pop3d.pem
+ cp /dev/null @certsdir@/pop3d.pem
+ chmod 600 @certsdir@/pop3d.pem
+- chown @mailuser@ @certsdir@/pop3d.pem
++ /usr/sbin/chown @mailuser@ @certsdir@/pop3d.pem
- dd if=@RANDOMV@ of=@mydatadir@/pop3d.rand count=1 2>/dev/null
+ dd if=@RANDOMV@ of=@certsdir@/pop3d.rand count=1 2>/dev/null
@OPENSSL@ req -new -x509 -days 365 -nodes \