diff options
author | Neil Blakey-Milner <nbm@FreeBSD.org> | 2003-03-24 15:34:32 +0000 |
---|---|---|
committer | Neil Blakey-Milner <nbm@FreeBSD.org> | 2003-03-24 15:34:32 +0000 |
commit | cf47d271a1f6a8c72ecad51204748c4ae56a3fff (patch) | |
tree | 077eb0d9cc86982c127e01731eadace71a82541e /mail | |
parent | New port: publib -- library needed for some Debian package-controlling tools (diff) |
Upgrade to version 1.7.1.
1) Fix mysql build
2) Fix unwanted changes to /etc/pam.d
3) Allow openldap 2.0 and 2.1 options
4) Use libfam for IDLE command
PR: 49956 (1), 46960 (2), 48622 (3), 46924 (4)
Submitted by: Erwin Lansing <erwin@lansing.dk> (1)
Submitted by: Philip Paeps <philip@paeps.cx> (2)
Submitted by: Christian Kratzer <ck@cksoft.de> (3)
Submitted by: Tod McQuillin <devin@distalzou.net> (4)
Notes
Notes:
svn path=/head/; revision=77398
Diffstat (limited to 'mail')
-rw-r--r-- | mail/courier-imap/Makefile | 29 | ||||
-rw-r--r-- | mail/courier-imap/distinfo | 2 | ||||
-rw-r--r-- | mail/courier-imap/files/patch-Makefile.in | 10 |
3 files changed, 35 insertions, 6 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index a5f7bd8e79cc..341978d91b93 100644 --- a/mail/courier-imap/Makefile +++ b/mail/courier-imap/Makefile @@ -6,8 +6,8 @@ # PORTNAME= courier-imap -PORTVERSION= 1.6.1 -PORTREVISION= 1 +PORTVERSION= 1.7.1 +PORTREVISION= 0 CATEGORIES= mail ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= courier @@ -30,8 +30,11 @@ USE_GMAKE= YES # WITH_VPOPMAIL: Build in vpopmail support # WITH_MYSQL: Build in mysql support # WITH_POSTGRESQL: Build in postgresql support -# WITH_LDAP: Build in ldap support with openldap 2.x +# WITH_LDAP: Build in ldap support with openldap 2.1 +# WITH_LDAP21: Build in ldap support with openldap 2.1 +# WITH_LDAP20: Build in ldap support with openldap 2.0 # WITH_LDAP1: Build in ldap support with openldap 1.x +# WITH_FAM: Build in fam support for IDLE command # CONFDIR?= ${PREFIX}/etc/${PORTNAME} @@ -65,14 +68,21 @@ CONFIGURE_ARGS+= --with-authvchkpw BUILD_DEPENDS+= ${VPOPMAILDIR}/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail .endif -.if !defined(WITH_LDAP) && !defined(WITH_LDAP1) +.if defined(WITH_LDAP) +WITH_LDAP21= yes +.endif + +.if !defined(WITH_LDAP1) && !defined(WITH_LDAP20) && !defined(WITH_LDAP21) CONFIGURE_ARGS+= --without-authldap PLIST_SUB+= LDAPFLAG="@comment " .else CONFIGURE_ARGS+= --with-authldap PLIST_SUB+= LDAPFLAG="" -.if defined(WITH_LDAP) +.if defined(WITH_LDAP21) +LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap21 \ + lber.2:${PORTSDIR}/net/openldap21 +.elseif defined(WITH_LDAP20) LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20 \ lber.2:${PORTSDIR}/net/openldap20 .else @@ -85,6 +95,9 @@ LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap12 \ CONFIGURE_ARGS+= --without-authmysql PLIST_SUB+= MYSQLFLAG="@comment " .else +CONFIGURE_ARGS+=--with-authmysql \ + --with-mysql-libs=${LOCALBASE}/lib/mysql \ + --with-mysql-includes=${LOCALBASE}/include/mysql LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client PLIST_SUB+= MYSQLFLAG="" .endif @@ -110,6 +123,12 @@ CONFIGURE_ARGS+= --without-authcram CONFIGURE_ARGS+= --with-authcram .endif +.if defined(WITH_FAM) +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam +.endif + MAN1= couriertcpd.1 maildirmake.1 MAN7= authlib.7 MAN8= makeuserdb.8 userdb.8 userdbpw.8 \ diff --git a/mail/courier-imap/distinfo b/mail/courier-imap/distinfo index e61f07adb927..b85db4c8a828 100644 --- a/mail/courier-imap/distinfo +++ b/mail/courier-imap/distinfo @@ -1 +1 @@ -MD5 (courier-imap-1.6.1.tar.bz2) = 313a1b1c7a6813c81f543b524f4f2a3d +MD5 (courier-imap-1.7.1.tar.bz2) = ce3a78cabd3d69e4982907de69ecac96 diff --git a/mail/courier-imap/files/patch-Makefile.in b/mail/courier-imap/files/patch-Makefile.in new file mode 100644 index 000000000000..0a9c33f1e5b0 --- /dev/null +++ b/mail/courier-imap/files/patch-Makefile.in @@ -0,0 +1,10 @@ +--- Makefile.in.orig Mon Mar 24 16:31:17 2003 ++++ Makefile.in Mon Mar 24 16:32:01 2003 +@@ -872,6 +872,7 @@ + + install-data-local: install-man + for f in `cat authlib/modulelist ; . authlib/authdaemonrc ; echo $$authmodulelist ` ; do \ ++ continue ; \ + test "$$f" = "authpam" || continue ; \ + test -d $(DESTDIR)/etc/pam.d || continue ; \ + test -w $(DESTDIR)/etc/pam.d || continue ; \ |