svn commit: r461534 - in head/mail/mailman: . files
Matthias Andree
mandree at FreeBSD.org
Sun Feb 11 22:36:08 UTC 2018
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
More information about the svn-ports-head
mailing list