From owner-svn-ports-all@freebsd.org Sun Feb 11 22:36:07 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E23D3F1F345; Sun, 11 Feb 2018 22:36:07 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 985656F37F; Sun, 11 Feb 2018 22:36:07 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 934B91211; Sun, 11 Feb 2018 22:36:07 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1BMa7kG096906; Sun, 11 Feb 2018 22:36:07 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1BMa7QD096904; Sun, 11 Feb 2018 22:36:07 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <201802112236.w1BMa7QD096904@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Sun, 11 Feb 2018 22:36:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461534 - in head/mail/mailman: . files X-SVN-Group: ports-head X-SVN-Commit-Author: mandree X-SVN-Commit-Paths: in head/mail/mailman: . files X-SVN-Commit-Revision: 461534 X-SVN-Commit-Repository: ports 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.25 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: Sun, 11 Feb 2018 22:36:08 -0000 Author: mandree Date: Sun Feb 11 22:36:07 2018 New Revision: 461534 URL: https://svnweb.freebsd.org/changeset/ports/461534 Log: Support the upstream "reopen" mode (broken from the beginning in ports) When the upstream initscript grew a "reopen" mode with 2.1.17 in late 2013, our patch stuffed the usage information into the wrong place, so that we inadvertently disabled the new reopen mode, thus never supported it through the init script in FreeBSD. Bump PORTREVISION. PR: 225800 Submitted by: Yasuhito FUTATSUKI MFH: 2018Q1 Modified: head/mail/mailman/Makefile head/mail/mailman/files/patch-misc__mailman.in Modified: head/mail/mailman/Makefile ============================================================================== --- head/mail/mailman/Makefile Sun Feb 11 22:30:08 2018 (r461533) +++ head/mail/mailman/Makefile Sun Feb 11 22:36:07 2018 (r461534) @@ -3,7 +3,7 @@ PORTNAME= mailman DISTVERSION= 2.1.26 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= GNU \ SF/${PORTNAME}/Mailman%202.1%20%28stable%29/${PORTVERSION} \ Modified: head/mail/mailman/files/patch-misc__mailman.in ============================================================================== --- head/mail/mailman/files/patch-misc__mailman.in Sun Feb 11 22:30:08 2018 (r461533) +++ head/mail/mailman/files/patch-misc__mailman.in Sun Feb 11 22:36:07 2018 (r461534) @@ -1,6 +1,6 @@ ---- misc/mailman.in.orig 2018-02-04 17:04:39 UTC -+++ misc/mailman.in -@@ -52,16 +52,20 @@ MAILMANCTL=$MAILMANHOME/bin/mailmanctl +--- misc/mailman.in.orig 2018-02-05 02:04:39.000000000 +0900 ++++ misc/mailman.in 2018-02-10 14:35:30.325926000 +0900 +@@ -52,11 +52,11 @@ MAILMANCTL=$MAILMANHOME/bin/mailmanctl case "$1" in 'start') #rm -f $MAILMANHOME/locks/* @@ -14,12 +14,14 @@ ;; 'restart') - $PYTHON $MAILMANCTL -q restart +@@ -67,5 +67,10 @@ case "$1" in + $PYTHON $MAILMANCTL -q reopen ;; + +*) -+ echo "Usage: `basename $0` {start|stop|restart}" >&2 ++ echo "Usage: `basename $0` {start|stop|restart|reopen}" >&2 + exit 64 + ;; - - 'reopen') - $PYTHON $MAILMANCTL -q reopen ++ + esac + exit 0