svn commit: r409836 - in head/mail/mailman: . files
Matthias Andree
mandree at FreeBSD.org
Tue Mar 1 00:05:10 UTC 2016
Author: mandree
Date: Tue Mar 1 00:05:08 2016
New Revision: 409836
URL: https://svnweb.freebsd.org/changeset/ports/409836
Log:
Fix pkg-install "install -d" invocation.
It used to use GNU-install-isms (options after arguments) that don't
work with BSD install and caused two spurious directories to be created,
one named -g, the other usually named "mailman" (or whichever group name
was configured). Bumps PORTREVISION.
PR: 207528 (Attachment #167455)
Submitted by: ohauer@
Modified:
head/mail/mailman/Makefile
head/mail/mailman/files/pkg-install.in
Modified: head/mail/mailman/Makefile
==============================================================================
--- head/mail/mailman/Makefile Mon Feb 29 23:33:24 2016 (r409835)
+++ head/mail/mailman/Makefile Tue Mar 1 00:05:08 2016 (r409836)
@@ -3,6 +3,7 @@
PORTNAME= mailman
DISTVERSION= 2.1.21
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= GNU \
SF/${PORTNAME}/Mailman%202.1%20%28stable%29/${PORTVERSION} \
Modified: head/mail/mailman/files/pkg-install.in
==============================================================================
--- head/mail/mailman/files/pkg-install.in Mon Feb 29 23:33:24 2016 (r409835)
+++ head/mail/mailman/files/pkg-install.in Tue Mar 1 00:05:08 2016 (r409836)
@@ -63,8 +63,8 @@ POST-INSTALL)
"%%MAILMANDIR%%/archives/public"
# this can be 2770 or 2771 but should not be stomped over
test -d "%%MAILMANDIR%%/archives/private" \
- || /usr/bin/install -d -m 02771 \
- "%%MAILMANDIR%%/archives/private" -g "%%GROUP%%"
+ || /usr/bin/install -m 02771 -g "%%GROUP%%" \
+ -d "%%MAILMANDIR%%/archives/private"
/bin/chmod u+rwx,g+srwx "%%MAILMANDIR%%/archives/private"
/bin/chmod u+rwx,g+srwx,o+rx "%%MAILMANDIR%%/logs"
More information about the svn-ports-all
mailing list