Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2016 00:05:09 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409836 - in head/mail/mailman: . files
Message-ID:  <201603010005.u21059lw046391@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603010005.u21059lw046391>