svn commit: r310110 - in head: . mail/perdition mail/perdition/files
Jason E. Hale
jhale at FreeBSD.org
Tue Jan 8 22:33:13 UTC 2013
Author: jhale
Date: Tue Jan 8 22:33:10 2013
New Revision: 310110
URL: http://svnweb.freebsd.org/changeset/ports/310110
Log:
- Update to 1.18 [1]
- Convert KNOBS to new options framework [1]
- Drop ABI version numbers in LIB_DEPENDS [1]
- Add UPDATING entry to inform users of IPv6 changes to
devel/libvanessa_socket that affect perdition [2]
PR: ports/174550 [1], ports/174410 [2]
Submitted by: Thomas Vogt <thomas at bsdunix.ch> (maintainer) [1],
Joel Ray Holveck <joelh at piquan.org> [2]
Added:
head/mail/perdition/files/patch-makegdbm-options.h (contents, props changed)
head/mail/perdition/files/patch-perdition-db-gdbm-perditiondb_gdbm.h (contents, props changed)
Deleted:
head/mail/perdition/files/patch-makebdb-Makefile.in
head/mail/perdition/files/patch-makebdb-makebdb.c
head/mail/perdition/files/patch-perdition-db-bdb-Makefile.in
head/mail/perdition/files/patch-perdition-db-bdb-perditiondb_bdb.h
head/mail/perdition/files/patch-perdition::Makefile.in
Modified:
head/UPDATING
head/mail/perdition/Makefile
head/mail/perdition/distinfo (contents, props changed)
head/mail/perdition/files/patch-etc-perdition-Makefile.in (contents, props changed)
head/mail/perdition/files/patch-perdition-db-ldap-Makefile.in (contents, props changed)
head/mail/perdition/files/patch-perdition-db-posix_regex-Makefile.in (contents, props changed)
head/mail/perdition/pkg-plist (contents, props changed)
Modified: head/UPDATING
==============================================================================
--- head/UPDATING Tue Jan 8 22:25:44 2013 (r310109)
+++ head/UPDATING Tue Jan 8 22:33:10 2013 (r310110)
@@ -6,6 +6,21 @@ You should get into the habit of checkin
you update your ports collection, before attempting any port upgrades.
20130108:
+ AFFECTS: users of devel/libvanessa_socket, mail/perdition
+ AUTHOR: jhale at FreeBSD.org
+
+ The update of devel/libvanessa_socket to 0.0.12 (used by Perdition)
+ adds IPv6 support. If the hostname in bind_address has both IPv4 and
+ IPv6 addresses in DNS, then Perdition will ONLY listen on IPv6.
+
+ If you prefer to continue to use IPv4, you need to change the
+ bind_address in /usr/local/etc/perdition/perdition.conf to use an
+ explicit IPv4 address. This can be in addition to, or instead of,
+ the current hostname, depending on whether you want to use IPv6 or
+ not. If your Perdition server does not have an IPv6 address
+ listed in DNS, this change does not affect you.
+
+20130108:
AFFECTS: users of sysutils/cfengine*
AUTHOR: gjb at FreeBSD.org
Modified: head/mail/perdition/Makefile
==============================================================================
--- head/mail/perdition/Makefile Tue Jan 8 22:25:44 2013 (r310109)
+++ head/mail/perdition/Makefile Tue Jan 8 22:33:10 2013 (r310110)
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= perdition
-PORTVERSION= 1.17.1
-PORTREVISION= 7
+PORTVERSION= 1.18
CATEGORIES= mail net security
-MASTER_SITES= http://www.vergenet.net/linux/perdition/download/${PORTVERSION}/
+MASTER_SITES= http://horms.net/projects/perdition/download/${PORTVERSION}/
MAINTAINER= thomas at bsdunix.ch
COMMENT= POP3 & IMAP4 proxy that can map users to multiple backend servers
@@ -23,39 +22,34 @@ MANCOMPRESSED= no
USE_AUTOTOOLS= libtool
USE_GETTEXT= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= BDB_LIB=db3
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV+= DOCSDIR=${DOCSDIR}
-CONFIGURE_ARGS+=--disable-daemon-map --localstatedir=/var
+CONFIGURE_ARGS+=--localstatedir=/var
USE_LDCONFIG= yes
USE_RC_SUBR= perdition perdition.pop3 perdition.pop3s \
perdition.imap4 perdition.imap4s perdition.imaps
-##
-## Available knobs:
-## WITH_BDB: Enable Berkerley database backend
-## WITH_DAEMON_MAP: Enable Daemon Map support
-## WITH_GDBM: Enable gdbm database backend
-## WITH_MYSQL: Enable MySQL database backend
-## WITH_NIS: Enable NIS database backend
-## WITH_PGSQL: Enable PostgreSQL database backend
-## WITH_ODBC: Enable ODBC database backend
-## WITH_OPENLDAP: Enable OpenLDAP database backend
-##
-## WITHOUT_SSL: Disable OpenSSL support
-## WITHOUT_POSIX_REGEX: Disable native regex support
-##
+OPTIONS_DEFINE= BDB DAEMON_MAP GDBM MYSQL NIS ODBC OPENLDAP OPENSSL PGSQL POSIX_REGEX SSL
+OPTIONS_DEFAULT= GDBM POSIX_REGEX SSL
-.if !defined(WITHOUT_SSL)
+DAEMON_MAP_DESC= Daemon Map support
+GDBM_DESC= GDBM database backend
+NIS_DESC= NIS database backend
+OPENLDAP_DESC= OpenLDAP database backend
+POSIX_REGEX_DESC= Native regex support
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MOPENSSL}
CONFIGURE_ARGS+= --enable-ssl
USE_OPENSSL= yes
.else
CONFIGURE_ARGS+= --disable-ssl
.endif
-.if !defined(WITHOUT_POSIX_REGEX)
+.if ${PORT_OPTIONS:MPOSIX_REGEX}
CONFIGURE_ARGS+= --enable-posix_regex
PLIST_SUB+= POSIXREGEX=""
.else
@@ -63,7 +57,7 @@ CONFIGURE_ARGS+= --disable-posix_regex
PLIST_SUB+= POSIXREGEX="@comment "
.endif
-.if defined(WITH_DAEMON_MAP)
+.if ${PORT_OPTIONS:MDAEMON_MAP}
CONFIGURE_ARGS+= --enable-daemon-map
PLIST_SUB+= DAEMONMAP=""
LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm
@@ -72,17 +66,18 @@ CONFIGURE_ARGS+= --disable-daemon-map
PLIST_SUB+= DAEMONMAP="@comment "
.endif
-.if defined(WITH_BDB)
+.if ${PORT_OPTIONS:MBDB}
+CPPFLAGS+= -I${BDB_INCLUDE_DIR}
CONFIGURE_ARGS+= --enable-bdb
PLIST_SUB+= BDB=""
-LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3
+USE_BDB= yes
MAN1+= makebdb.1
.else
CONFIGURE_ARGS+= --disable-bdb
PLIST_SUB+= BDB="@comment "
.endif
-.if defined(WITH_NIS)
+.if ${PORT_OPTIONS:MNIS}
CONFIGURE_ARGS+= --enable-nis
PLIST_SUB+= NIS=""
.else
@@ -90,9 +85,9 @@ CONFIGURE_ARGS+= --disable-nis
PLIST_SUB+= NIS="@comment "
.endif
-.if defined(WITH_GDBM)
+.if ${PORT_OPTIONS:MGDBM}
CONFIGURE_ARGS+= --enable-gdbm
-LIB_DEPENDS+= gdbm.4:${PORTSDIR}/databases/gdbm
+LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm
PLIST_SUB+= GDBM=""
MAN1+= makegdbm.1
.else
@@ -100,8 +95,8 @@ CONFIGURE_ARGS+= --disable-gdbm
PLIST_SUB+= GDBM="@comment "
.endif
-.if defined(WITH_MYSQL)
-USE_MYSQL= YES
+.if ${PORT_OPTIONS:MMYSQL}
+USE_MYSQL= yes
CONFIGURE_ARGS+= --enable-mysql
PLIST_SUB+= MYSQL=""
MAN8+= perditiondb_mysql_makedb.8
@@ -110,7 +105,7 @@ CONFIGURE_ARGS+= --disable-mysql
PLIST_SUB+= MYSQL="@comment "
.endif
-.if defined(WITH_PGSQL)
+.if ${PORT_OPTIONS:MPGSQL}
CONFIGURE_ARGS+= --enable-pg
USE_PGSQL= yes
PLIST_SUB+= PGSQL=""
@@ -120,8 +115,8 @@ CONFIGURE_ARGS+= --disable-pg
PLIST_SUB+= PGSQL="@comment "
.endif
-.if defined(WITH_OPENLDAP)
-USE_OPENLDAP= YES
+.if ${PORT_OPTIONS:MOPENLDAP}
+USE_OPENLDAP= yes
CONFIGURE_ARGS+= --enable-ldap \
--with-ldap-schema-directory=${LOCALBASE}/etc/openldap/schema/ \
--disable-ldap-doc
@@ -132,9 +127,9 @@ CONFIGURE_ARGS+= --disable-ldap
PLIST_SUB+= OPENLDAP="@comment "
.endif
-.if defined(WITH_ODBC)
+.if ${PORT_OPTIONS:MODBC}
CONFIGURE_ARGS+= --enable-odbc
-LIB_DEPENDS+= odbc.2:${PORTSDIR}/databases/unixODBC
+LIB_DEPENDS+= odbc:${PORTSDIR}/databases/unixODBC
PLIST_SUB+= ODBC=""
MAN8+= perditiondb_odbc_makedb.8
.else
@@ -142,13 +137,14 @@ CONFIGURE_ARGS+= --disable-odbc
PLIST_SUB+= ODBC="@comment "
.endif
-pre-everything:: show-options
-
-show-options:
- @${SED} -ne 's/^##//p' ${.CURDIR}/Makefile
+post-patch:
+ cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|-ldb|-l${BDB_LIB_NAME}|g' \
+ configure \
+ makebdb/Makefile.in \
+ perdition/db/bdb/Makefile.in
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/etc/pam.d/perdition ${DOCSDIR}/perdition-pam.sample
@${ECHO_MSG} ""
Modified: head/mail/perdition/distinfo
==============================================================================
--- head/mail/perdition/distinfo Tue Jan 8 22:25:44 2013 (r310109)
+++ head/mail/perdition/distinfo Tue Jan 8 22:33:10 2013 (r310110)
@@ -1,2 +1,2 @@
-SHA256 (perdition-1.17.1.tar.gz) = e2abd57aa76b106591056ef835e26816c71c3b39dc55bc3aeba6dfeefac7af26
-SIZE (perdition-1.17.1.tar.gz) = 638162
+SHA256 (perdition-1.18.tar.gz) = cad541ca1881de8eec74106851d10c2027588b96cf1f70e3cf395f2c24c4ecaa
+SIZE (perdition-1.18.tar.gz) = 602933
Modified: head/mail/perdition/files/patch-etc-perdition-Makefile.in
==============================================================================
--- head/mail/perdition/files/patch-etc-perdition-Makefile.in Tue Jan 8 22:25:44 2013 (r310109)
+++ head/mail/perdition/files/patch-etc-perdition-Makefile.in Tue Jan 8 22:33:10 2013 (r310110)
@@ -1,23 +1,23 @@
---- etc/perdition/Makefile.in.orig 2007-11-02 15:40:32.000000000 +0100
-+++ etc/perdition/Makefile.in 2007-11-02 15:45:43.000000000 +0100
-@@ -259,16 +259,16 @@
- @list='$(perditionconf_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
-- echo " $(perditionconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(perditionconfdir)/$$f'"; \
-- $(perditionconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(perditionconfdir)/$$f"; \
-+ echo " $(perditionconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(perditionconfdir)/$$f-dist'"; \
-+ $(perditionconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(perditionconfdir)/$$f-dist"; \
+--- etc/perdition/Makefile.in.orig 2012-03-20 05:07:55.000000000 -0700
++++ etc/perdition/Makefile.in 2012-12-12 16:48:33.000000000 -0800
+@@ -303,14 +303,17 @@
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(perditionconfdir)'"; \
+- $(INSTALL_DATA) $$files "$(DESTDIR)$(perditionconfdir)" || exit $$?; \
++ for p in $$files; do \
++ $(am__strip_dir) \
++ echo " $(INSTALL_DATA) $$p '$(DESTDIR)$(perditionconfdir)/$$f-dist'"; \
++ $(INSTALL_DATA) $$p "$(DESTDIR)$(perditionconfdir)/$$f-dist" || exit $$?; \
++ done; \
done
uninstall-perditionconfDATA:
@$(NORMAL_UNINSTALL)
- @list='$(perditionconf_DATA)'; for p in $$list; do \
- f=$(am__strip_dir) \
-- echo " rm -f '$(DESTDIR)$(perditionconfdir)/$$f'"; \
-- rm -f "$(DESTDIR)$(perditionconfdir)/$$f"; \
-+ echo " rm -f '$(DESTDIR)$(perditionconfdir)/$$f-dist'"; \
-+ rm -f "$(DESTDIR)$(perditionconfdir)/$$f-dist"; \
- done
- tags: TAGS
- TAGS:
+ @list='$(perditionconf_DATA)'; test -n "$(perditionconfdir)" || list=; \
+- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
++ files=`for p in $$list; do echo $$p-dist; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(perditionconfdir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(perditionconfdir)" && rm -f $$files
Added: head/mail/perdition/files/patch-makegdbm-options.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/perdition/files/patch-makegdbm-options.h Tue Jan 8 22:33:10 2013 (r310110)
@@ -0,0 +1,10 @@
+--- ./makegdbm/options.h.orig 2013-01-08 16:04:27.000000000 -0500
++++ ./makegdbm/options.h 2013-01-08 16:04:51.000000000 -0500
+@@ -39,7 +39,6 @@
+ #endif
+
+ extern gdbm_error gdbm_errno;
+-extern char *gdbm_version;
+
+ #define COPYRIGHT \
+ "(c) 1999 Horms <horms at verge.net.au>\nReleased under the GNU GPL\n"
Added: head/mail/perdition/files/patch-perdition-db-gdbm-perditiondb_gdbm.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/perdition/files/patch-perdition-db-gdbm-perditiondb_gdbm.h Tue Jan 8 22:33:10 2013 (r310110)
@@ -0,0 +1,10 @@
+--- ./perdition/db/gdbm/perditiondb_gdbm.h.orig 2013-01-08 16:05:30.000000000 -0500
++++ ./perdition/db/gdbm/perditiondb_gdbm.h 2013-01-08 16:05:40.000000000 -0500
+@@ -31,7 +31,6 @@
+ #include <gdbm.h>
+
+ extern gdbm_error gdbm_errno;
+-extern char *gdbm_version;
+
+ #ifndef PERDITIONDB_GDBM_SYSCONFDIR
+ #define PERDITIONDB_GDBM_SYSCONFDIR "/usr/local/etc/perdition"
Modified: head/mail/perdition/files/patch-perdition-db-ldap-Makefile.in
==============================================================================
--- head/mail/perdition/files/patch-perdition-db-ldap-Makefile.in Tue Jan 8 22:25:44 2013 (r310109)
+++ head/mail/perdition/files/patch-perdition-db-ldap-Makefile.in Tue Jan 8 22:33:10 2013 (r310110)
@@ -1,13 +1,11 @@
---- perdition/db/ldap/Makefile.in.orig Tue Dec 6 15:59:30 2005
-+++ perdition/db/ldap/Makefile.in Tue Dec 6 16:04:27 2005
-@@ -545,8 +545,8 @@
- "$(DESTDIR)@ldap_schemadir@"; \
- fi; \
- if test -w "$(DESTDIR)@ldap_schemadir@"; then \
-- install -m644 $< \
-- "$(DESTDIR)@ldap_schemadir@/perdition.schema";\
-+ install -m644 $(schema_sources) \
-+ "$(DESTDIR)@ldap_schemadir@/perdition.schema-dist";\
- fi \
- fi
+--- perdition/db/ldap/Makefile.in.orig 2012-03-20 05:08:04.000000000 -0700
++++ perdition/db/ldap/Makefile.in 2012-12-12 16:50:02.000000000 -0800
+@@ -864,7 +864,7 @@
+ @LDAP_SCHEMA_TRUE@ test -n "@ldap_schemadir@"
+ @LDAP_SCHEMA_TRUE@ mkdir -p "$(DESTDIR)@ldap_schemadir@"
+ @LDAP_SCHEMA_TRUE@ chmod 755 "$(DESTDIR)@ldap_schemadir@"
+- at LDAP_SCHEMA_TRUE@ install -m 644 $< "$(DESTDIR)@ldap_schemadir@/"
++ at LDAP_SCHEMA_TRUE@ for p in $< ; do $(am__strip_dir) install -m 644 $$p "$(DESTDIR)@ldap_schemadir@/$$f-dist" ; done
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
Modified: head/mail/perdition/files/patch-perdition-db-posix_regex-Makefile.in
==============================================================================
--- head/mail/perdition/files/patch-perdition-db-posix_regex-Makefile.in Tue Jan 8 22:25:44 2013 (r310109)
+++ head/mail/perdition/files/patch-perdition-db-posix_regex-Makefile.in Tue Jan 8 22:33:10 2013 (r310110)
@@ -1,23 +1,23 @@
---- perdition/db/posix_regex/Makefile.in.orig 2007-11-02 15:53:56.000000000 +0100
-+++ perdition/db/posix_regex/Makefile.in 2007-11-02 15:55:31.000000000 +0100
-@@ -355,16 +355,16 @@
- @list='$(conf_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
-- echo " $(confDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(confdir)/$$f'"; \
-- $(confDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(confdir)/$$f"; \
-+ echo " $(confDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(confdir)/$$f-dist'"; \
-+ $(confDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(confdir)/$$f-dist"; \
+--- perdition/db/posix_regex/Makefile.in.orig 2012-03-20 05:08:06.000000000 -0700
++++ perdition/db/posix_regex/Makefile.in 2012-12-12 16:47:41.000000000 -0800
+@@ -414,14 +414,17 @@
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(confdir)'"; \
+- $(INSTALL_DATA) $$files "$(DESTDIR)$(confdir)" || exit $$?; \
++ for p in $$files; do \
++ $(am__strip_dir) \
++ echo " $(INSTALL_DATA) $$p '$(DESTDIR)$(confdir)/$$f-dist'"; \
++ $(INSTALL_DATA) $$p "$(DESTDIR)$(confdir)/$$f-dist" || exit $$?; \
++ done ; \
done
uninstall-confDATA:
@$(NORMAL_UNINSTALL)
- @list='$(conf_DATA)'; for p in $$list; do \
- f=$(am__strip_dir) \
-- echo " rm -f '$(DESTDIR)$(confdir)/$$f'"; \
-- rm -f "$(DESTDIR)$(confdir)/$$f"; \
-+ echo " rm -f '$(DESTDIR)$(confdir)/$$f-dist'"; \
-+ rm -f "$(DESTDIR)$(confdir)/$$f-dist"; \
- done
-
- ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ @list='$(conf_DATA)'; test -n "$(confdir)" || list=; \
+- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
++ files=`for p in $$list; do echo $$p-dist; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(confdir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(confdir)" && rm -f $$files
Modified: head/mail/perdition/pkg-plist
==============================================================================
--- head/mail/perdition/pkg-plist Tue Jan 8 22:25:44 2013 (r310109)
+++ head/mail/perdition/pkg-plist Tue Jan 8 22:33:10 2013 (r310110)
@@ -9,11 +9,6 @@ etc/perdition/perdition.conf-dist
etc/perdition/popmap-dist
etc/perdition/Makefile.popmap-dist
etc/perdition/Makefile
-include/jain.h
-lib/libjain.so.0
-lib/libjain.so
-lib/libjain.la
-lib/libjain.a
%%BDB%%lib/libperditiondb_bdb.so.0
%%BDB%%lib/libperditiondb_bdb.so
%%BDB%%lib/libperditiondb_bdb.la
More information about the svn-ports-head
mailing list