From owner-svn-ports-all@FreeBSD.ORG Sat Feb 7 19:04:19 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 31AFAC56; Sat, 7 Feb 2015 19:04:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 11CBABBC; Sat, 7 Feb 2015 19:04:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t17J4I2C053742; Sat, 7 Feb 2015 19:04:18 GMT (envelope-from ashish@FreeBSD.org) Received: (from ashish@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t17J4GLf053726; Sat, 7 Feb 2015 19:04:16 GMT (envelope-from ashish@FreeBSD.org) Message-Id: <201502071904.t17J4GLf053726@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ashish set sender to ashish@FreeBSD.org using -f From: Ashish SHUKLA Date: Sat, 7 Feb 2015 19:04:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378611 - in head: . mail/opensmtpd mail/opensmtpd-devel mail/opensmtpd-devel/files mail/opensmtpd/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 19:04:19 -0000 Author: ashish Date: Sat Feb 7 19:04:15 2015 New Revision: 378611 URL: https://svnweb.freebsd.org/changeset/ports/378611 QAT: https://qat.redports.org/buildarchive/r378611/ Log: OpenSMTPD port updates mail/opensmtpd: - Update to 5.4.4p1 - Add LIBASRDEVEL option to depend on dns/libasr-devel - Use OpenSSL from ports, should help with migration to LibreSSL - Explicitly provide path to OpenSSL[1] mail/opensmtpd-devel: - Update to 201502012312 - Add LIBASR option to depend on dns/libasr - Remove MYSQL, PGSQL, LDAP, and REDIS options as they're removed upstream - Add a note for above to UPDATING - Explicitly provide path to OpenSSL[1] - Add a diff to fix build failure on FreeBSD[2] Reported by: TJ (via private email) Submitted by: Herbert J. Skuhra (via list) Added: head/mail/opensmtpd-devel/files/patch-openbsd-compat_defines.h (contents, props changed) Modified: head/UPDATING head/mail/opensmtpd-devel/Makefile head/mail/opensmtpd-devel/distinfo head/mail/opensmtpd-devel/files/patch-mk_smtpd_Makefile.in head/mail/opensmtpd-devel/pkg-plist head/mail/opensmtpd/Makefile head/mail/opensmtpd/distinfo head/mail/opensmtpd/files/patch-mk_smtpd_Makefile.in head/mail/opensmtpd/pkg-plist Modified: head/UPDATING ============================================================================== --- head/UPDATING Sat Feb 7 17:22:03 2015 (r378610) +++ head/UPDATING Sat Feb 7 19:04:15 2015 (r378611) @@ -5,6 +5,21 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20150207: + AFFECTS: users of mail/opensmtpd-devel + AUTHOR: ashish@FreeBSD.org + + MYSQL, PGSQL, LDAP, and REDIS options are removed from port, as + they're moved upstream to a separate project, which is yet to + release snapshots. If you need those options, then please install + "mail/opensmtpd" port instead. To do that: + + If using portupgrade: + # portupgrade -o mail/opensmtpd mail/opensmtpd-devel + + If using portmaster: + # portmaster -o mail/opensmtpd mail/opensmtpd-devel + 20150206: AFFECTS: users of net/serviio AUTHOR: netchild@FreeBSD.org Modified: head/mail/opensmtpd-devel/Makefile ============================================================================== --- head/mail/opensmtpd-devel/Makefile Sat Feb 7 17:22:03 2015 (r378610) +++ head/mail/opensmtpd-devel/Makefile Sat Feb 7 19:04:15 2015 (r378611) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= opensmtpd -PORTVERSION= 201405202105 -PORTREVISION= 4 +PORTVERSION= 201502012312 PORTEPOCH= 1 CATEGORIES= mail MASTER_SITES= http://www.opensmtpd.org/archives/ \ @@ -19,17 +18,16 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2 -OPENSMTPD_SNAPSHOT_VER= p1 +OPTIONS_DEFINE= CA_BUNDLE LIBASR -OPTIONS_DEFINE= CA_BUNDLE PAM SQLITE MYSQL PGSQL LDAP REDIS -OPTIONS_DEFAULT=CA_BUNDLE PAM -OPTIONS_SUB= yes +OPTIONS_DEFAULT= CA_BUNDLE PAM CA_BUNDLE_DESC= Install CA bundle for OpenSSL +LIBASR_DESC= Use stable version of libasr GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libevent-dir=${LOCALBASE} --sysconfdir=${PREFIX}/etc/mail/ \ - --with-mailwrapper + --with-mailwrapper --with-ssl-dir=${OPENSSLBASE} USE_RC_SUBR= smtpd SUB_FILES= pkg-install pkg-deinstall @@ -39,29 +37,12 @@ CONFLICTS_INSTALL= postfix-[0-9]* sendma USERS= _smtpd _smtpq GROUPS= _smtpd +LIBASR_LIB_DEPENDS_OFF= libasr.so:${PORTSDIR}/dns/libasr-devel +LIBASR_LIB_DEPENDS= libasr.so:${PORTSDIR}/dns/libasr + CA_BUNDLE_CONFIGURE_ON= --with-ca-file=${LOCALBASE}/share/certs/ca-root-nss.crt CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss -MYSQL_USE= MYSQL=yes -MYSQL_CFLAGS= -I${LOCALBASE}/include/mysql -MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql -MYSQL_CONFIGURE_ON= --with-experimental-mysql - -SQLITE_USE= SQLITE=3 -SQLITE_CFLAGS= -I${LOCALBASE}/include -SQLITE_LDFLAGS= -L${LOCALBASE}/lib -SQLITE_CONFIGURE_ON= --with-experimental-sqlite - -PGSQL_USES= pgsql -PGSQL_CONFIGURE_ON= --with-experimental-postgres - -LDAP_CONFIGURE_ON= --with-experimental-ldap - -PAM_CONFIGURE_ON= --with-pam --with-pam-service=smtpd - -REDIS_LIB_DEPENDS= libhiredis.so:${PORTSDIR}/databases/hiredis -REDIS_CONFIGURE_ON= --with-experimental-redis - USE_OPENSSL= yes WITH_OPENSSL_PORT= yes Modified: head/mail/opensmtpd-devel/distinfo ============================================================================== --- head/mail/opensmtpd-devel/distinfo Sat Feb 7 17:22:03 2015 (r378610) +++ head/mail/opensmtpd-devel/distinfo Sat Feb 7 19:04:15 2015 (r378611) @@ -1,2 +1,2 @@ -SHA256 (opensmtpd-201405202105p1.tar.gz) = 87c9ab2abe6fa85cdd7217239965df5ac08f6a9460426e9d50986744a087c14b -SIZE (opensmtpd-201405202105p1.tar.gz) = 929962 +SHA256 (opensmtpd-201502012312p1.tar.gz) = e35b30861ac65c280b6c705bda9dad0f82eb846a1064e46bb18b4a3a1c78c2df +SIZE (opensmtpd-201502012312p1.tar.gz) = 764585 Modified: head/mail/opensmtpd-devel/files/patch-mk_smtpd_Makefile.in ============================================================================== --- head/mail/opensmtpd-devel/files/patch-mk_smtpd_Makefile.in Sat Feb 7 17:22:03 2015 (r378610) +++ head/mail/opensmtpd-devel/files/patch-mk_smtpd_Makefile.in Sat Feb 7 19:04:15 2015 (r378611) @@ -3,7 +3,7 @@ $FreeBSD$ --- mk/smtpd/Makefile.in.orig +++ mk/smtpd/Makefile.in -@@ -1837,11 +1837,7 @@ +@@ -1796,11 +1796,7 @@ $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)5 $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)8 Added: head/mail/opensmtpd-devel/files/patch-openbsd-compat_defines.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/opensmtpd-devel/files/patch-openbsd-compat_defines.h Sat Feb 7 19:04:15 2015 (r378611) @@ -0,0 +1,20 @@ + +$FreeBSD$ + +Fix for a build failure, taken from + +http://article.gmane.org/gmane.mail.opensmtpd.general/2291 + +--- openbsd-compat/defines.h.orig ++++ openbsd-compat/defines.h +@@ -79,6 +79,10 @@ + # define MAXHOSTNAMELEN 64 + #endif + ++#ifndef HOST_NAME_MAX ++# define HOST_NAME_MAX 255 ++#endif ++ + #ifndef LOGIN_NAME_MAX + # define LOGIN_NAME_MAX 9 + #endif Modified: head/mail/opensmtpd-devel/pkg-plist ============================================================================== --- head/mail/opensmtpd-devel/pkg-plist Sat Feb 7 17:22:03 2015 (r378610) +++ head/mail/opensmtpd-devel/pkg-plist Sat Feb 7 19:04:15 2015 (r378611) @@ -1,22 +1,6 @@ etc/mail/smtpd.conf.sample libexec/opensmtpd/mail.local libexec/opensmtpd/makemap -libexec/opensmtpd/queue-null -libexec/opensmtpd/queue-ram -libexec/opensmtpd/queue-stub -libexec/opensmtpd/table-stub -libexec/opensmtpd/table-passwd -%%MYSQL%%libexec/opensmtpd/table-mysql -%%SQLITE%%libexec/opensmtpd/table-sqlite -%%LDAP%%libexec/opensmtpd/table-ldap -%%PGSQL%%libexec/opensmtpd/table-postgres -%%REDIS%%libexec/opensmtpd/table-redis -libexec/opensmtpd/scheduler-ram -libexec/opensmtpd/scheduler-stub -libexec/opensmtpd/filter-dnsbl -libexec/opensmtpd/filter-monkey -libexec/opensmtpd/filter-stub -libexec/opensmtpd/filter-trace libexec/opensmtpd/encrypt sbin/smtpctl sbin/smtpd @@ -29,3 +13,5 @@ man/man5/table.5.gz man/man5/smtpd.conf.5.gz man/man5/forward.5.gz man/man5/aliases.5.gz +@dir libexec/opensmtpd +@dirrmtry etc/mail Modified: head/mail/opensmtpd/Makefile ============================================================================== --- head/mail/opensmtpd/Makefile Sat Feb 7 17:22:03 2015 (r378610) +++ head/mail/opensmtpd/Makefile Sat Feb 7 19:04:15 2015 (r378611) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= opensmtpd -PORTVERSION= 5.4.2 -PORTREVISION= 4 +PORTVERSION= 5.4.4 PORTEPOCH= 1 CATEGORIES= mail MASTER_SITES= http://www.opensmtpd.org/archives/ \ @@ -17,17 +16,19 @@ LICENSE= ISCL LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2 -OPTIONS_DEFINE= CA_BUNDLE PAM SQLITE MYSQL PGSQL LDAP REDIS +OPTIONS_DEFINE= CA_BUNDLE PAM SQLITE MYSQL PGSQL LDAP REDIS LIBASRDEVEL OPTIONS_DEFAULT= CA_BUNDLE PAM CA_BUNDLE_DESC= Install CA bundle for OpenSSL +LIBASRDEVEL_DESC= Use development version of libasr USES= libtool USE_OPENSSL= yes +WITH_OPENSSL_PORT= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libevent-dir=${LOCALBASE} --sysconfdir=${PREFIX}/etc/mail/ \ - --with-mailwrapper + --with-mailwrapper --with-ssl-dir=${OPENSSLBASE} USE_RC_SUBR= smtpd SUB_FILES= pkg-install pkg-deinstall pkg-message @@ -39,6 +40,9 @@ GROUPS= _smtpd OPTIONS_SUB= yes +LIBASRDEVEL_LIB_DEPENDS_OFF= libasr.so:${PORTSDIR}/dns/libasr +LIBASRDEVEL_LIB_DEPENDS= libasr.so:${PORTSDIR}/dns/libasr-devel + CA_BUNDLE_CONFIGURE_ON= --with-ca-file=${LOCALBASE}/share/certs/ca-root-nss.crt CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss Modified: head/mail/opensmtpd/distinfo ============================================================================== --- head/mail/opensmtpd/distinfo Sat Feb 7 17:22:03 2015 (r378610) +++ head/mail/opensmtpd/distinfo Sat Feb 7 19:04:15 2015 (r378611) @@ -1,2 +1,2 @@ -SHA256 (opensmtpd-5.4.2p1.tar.gz) = 4ffaf48d3d044ef8be1bd80c8972c87ba830a21bb330b85a59f6a70da5fbd9a2 -SIZE (opensmtpd-5.4.2p1.tar.gz) = 881853 +SHA256 (opensmtpd-5.4.4p1.tar.gz) = 1118330aa54e9a8a30914a1f2e129a83f2954a5956300eade522a1396f6d8ebd +SIZE (opensmtpd-5.4.4p1.tar.gz) = 798968 Modified: head/mail/opensmtpd/files/patch-mk_smtpd_Makefile.in ============================================================================== --- head/mail/opensmtpd/files/patch-mk_smtpd_Makefile.in Sat Feb 7 17:22:03 2015 (r378610) +++ head/mail/opensmtpd/files/patch-mk_smtpd_Makefile.in Sat Feb 7 19:04:15 2015 (r378611) @@ -3,7 +3,7 @@ $FreeBSD$ --- mk/smtpd/Makefile.in.orig +++ mk/smtpd/Makefile.in -@@ -1906,11 +1906,7 @@ +@@ -1782,11 +1782,7 @@ $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)5 $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)8 Modified: head/mail/opensmtpd/pkg-plist ============================================================================== --- head/mail/opensmtpd/pkg-plist Sat Feb 7 17:22:03 2015 (r378610) +++ head/mail/opensmtpd/pkg-plist Sat Feb 7 19:04:15 2015 (r378611) @@ -2,22 +2,6 @@ etc/mail/smtpd.conf.sample libexec/opensmtpd/encrypt libexec/opensmtpd/mail.local libexec/opensmtpd/makemap -libexec/opensmtpd/queue-null -libexec/opensmtpd/queue-ram -libexec/opensmtpd/queue-stub -libexec/opensmtpd/table-stub -libexec/opensmtpd/table-passwd -%%MYSQL%%libexec/opensmtpd/table-mysql -%%SQLITE%%libexec/opensmtpd/table-sqlite -%%LDAP%%libexec/opensmtpd/table-ldap -%%PGSQL%%libexec/opensmtpd/table-postgres -%%REDIS%%libexec/opensmtpd/table-redis -libexec/opensmtpd/scheduler-ram -libexec/opensmtpd/scheduler-stub -libexec/opensmtpd/filter-dnsbl -libexec/opensmtpd/filter-monkey -libexec/opensmtpd/filter-stub -libexec/opensmtpd/filter-trace sbin/smtpctl sbin/smtpd man/man8/newaliases.8.gz