From owner-svn-ports-head@FreeBSD.ORG Wed Aug 13 20:05:16 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6107986E; Wed, 13 Aug 2014 20:05:16 +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 41D7227B0; Wed, 13 Aug 2014 20:05:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7DK5Gix014575; Wed, 13 Aug 2014 20:05:16 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7DK5F9S014572; Wed, 13 Aug 2014 20:05:15 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <201408132005.s7DK5F9S014572@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Wed, 13 Aug 2014 20:05:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364803 - in head/mail/mailman: . 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-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2014 20:05:16 -0000 Author: mandree Date: Wed Aug 13 20:05:15 2014 New Revision: 364803 URL: http://svnweb.freebsd.org/changeset/ports/364803 QAT: https://qat.redports.org/buildarchive/r364803/ Log: Add OPENSMTPD's user ID [1]. Add warnings about GIDs [2]. The FreeBSD pkg-message and post-install documentation now clearly warn that the binary package is only meant for use with Sendmail, and hints that poudriere can be used to build a Mailman package with different options. PR: 192230 [1] Submitted by: feld [1], Tom Limoncelli [2] Modified: head/mail/mailman/Makefile head/mail/mailman/files/FreeBSD-post-install-notes head/mail/mailman/files/pkg-message.in Modified: head/mail/mailman/Makefile ============================================================================== --- head/mail/mailman/Makefile Wed Aug 13 19:37:43 2014 (r364802) +++ head/mail/mailman/Makefile Wed Aug 13 20:05:15 2014 (r364803) @@ -3,7 +3,7 @@ PORTNAME= mailman DISTVERSION= 2.1.18-1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_GNU} \ SF/${PORTNAME}/Mailman%202.1%20%28stable%29/${PORTVERSION} \ @@ -63,11 +63,12 @@ PORTDOCS= ACKNOWLEDGMENTS BUGS FAQ INSTA FreeBSD-post-install-notes OPTIONS_SINGLE= MTA -OPTIONS_SINGLE_MTA= SENDMAIL EXIM4 POSTFIX COURIER +OPTIONS_SINGLE_MTA= COURIER EXIM4 OPENSMTPD POSTFIX SENDMAIL OPTIONS_DEFINE= HTDIG NAMAZU2 NLS DOCS OPTIONS_DEFAULT= SENDMAIL COURIER_DESC= for use with courier EXIM4_DESC= for use with exim4 +OPENSMTPD_DESC= for use with opensmtpd - EXPERIMENTAL - POSTFIX_DESC= for use with postfix SENDMAIL_DESC= for use with sendmail HTDIG_DESC= - EXPERIMENTAL - htdig integration patches @@ -93,8 +94,8 @@ MAIL_GID?= mail .endif .if ${PORT_OPTIONS:MPOSTFIX} -RUN_DEPENDS+= ${LOCALBASE}/sbin/postconf:${PORTSDIR}/mail/postfix BUILD_DEPENDS+= ${LOCALBASE}/sbin/postconf:${PORTSDIR}/mail/postfix +RUN_DEPENDS+= ${LOCALBASE}/sbin/postconf:${PORTSDIR}/mail/postfix MAIL_GID?= mailman EXTRA_PATCHES+= ${FILESDIR}/postfix-verp.diff .endif @@ -103,6 +104,10 @@ EXTRA_PATCHES+= ${FILESDIR}/postfix-verp MAIL_GID?= courier .endif +.if ${PORT_OPTIONS:MOPENSMTPD} +MAIL_GID?= _smtpd +.endif + .if ${PORT_OPTIONS:MHTDIG} PATCH_SITES+= http://www.openinfo.co.uk/mm/patches/444879/:patch1 \ http://www.openinfo.co.uk/mm/patches/444884/:patch2 Modified: head/mail/mailman/files/FreeBSD-post-install-notes ============================================================================== --- head/mail/mailman/files/FreeBSD-post-install-notes Wed Aug 13 19:37:43 2014 (r364802) +++ head/mail/mailman/files/FreeBSD-post-install-notes Wed Aug 13 20:05:15 2014 (r364803) @@ -21,6 +21,12 @@ VERY IMPORTANT NOTE The Mailman port has a number of build time options. Getting the values of some of these right is CRUCIAL if you want your Mailman installation to work! +This is especially relevant to users of the binary package; the official +package will build with default options, and will not support alternative +mail server software (mail transfer agents, MTA) such as Exim, Postfix, +or Qmail. For that to happen, the package needs to be rebuilt with changed +options. The ports-mgmt/poudriere port (or package) can help with doing that. + 1) General post-installation instructions Modified: head/mail/mailman/files/pkg-message.in ============================================================================== --- head/mail/mailman/files/pkg-message.in Wed Aug 13 19:37:43 2014 (r364802) +++ head/mail/mailman/files/pkg-message.in Wed Aug 13 20:05:15 2014 (r364803) @@ -7,10 +7,20 @@ extensive post-installation instructions %%DOCSDIR%%/FreeBSD-post-install-notes -Note (1): If you use an alternate MTA (meaning "not Sendmail"), you MUST +Note (1): - ESPECIALLY RELEVANT FOR USERS OF THE BINARY PACKAGE - +The FreeBSD binary package is built for use with Sendmail, and it will +not work properly with alternative MTAs such as Exim or Postfix. + In order for Mailman to work with an alternative mailer, +the port must be installed from source, with proper options configured. + +The separate poudriere port can be used to locally build a binary +package of Mailman with non-default options. + +- FOR USERS OF A PORT BUILT FROM SOURCE - +If you use an alternate MTA (meaning "not Sendmail"), you MUST be sure that the correct value of MAIL_GID was used when this port or package was built. You can choose your MTA with the correct MAIL_GID by -running "make config" in the Mailman port directory. +running "make config" in the Mailman port's directory. Note (2): The entire Mailman installation resides under %%MAILMANDIR%%. The command-line scripts necessary to administer Mailman have been