mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
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
This commit is contained in:
parent
af0ea69126
commit
48ca56ce3d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461534
2 changed files with 11 additions and 9 deletions
|
@ -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} \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue