Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2014 05:34:43 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363850 - in head/mail/milter-regex: . files
Message-ID:  <201408030534.s735Yh5s013378@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Sun Aug  3 05:34:43 2014
New Revision: 363850
URL: http://svnweb.freebsd.org/changeset/ports/363850
QAT: https://qat.redports.org/buildarchive/r363850/

Log:
  - allow group access for postfix
  PR:		192229
  Submitted by:	Mel Muth

Modified:
  head/mail/milter-regex/Makefile
  head/mail/milter-regex/files/milterregex.in
  head/mail/milter-regex/files/patch-milter-regex.c

Modified: head/mail/milter-regex/Makefile
==============================================================================
--- head/mail/milter-regex/Makefile	Sun Aug  3 05:06:07 2014	(r363849)
+++ head/mail/milter-regex/Makefile	Sun Aug  3 05:34:43 2014	(r363850)
@@ -3,6 +3,7 @@
 
 PORTNAME=	milter-regex
 PORTVERSION=	2.0
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://www.benzedrine.cx/
 

Modified: head/mail/milter-regex/files/milterregex.in
==============================================================================
--- head/mail/milter-regex/files/milterregex.in	Sun Aug  3 05:06:07 2014	(r363849)
+++ head/mail/milter-regex/files/milterregex.in	Sun Aug  3 05:34:43 2014	(r363850)
@@ -35,8 +35,8 @@ stop_postcmd="milterregex_poststop"
 milterregex_prestart() {
 	if test ! -d "${spooldir}"
 	then
-		mkdir -m 700 -p "${spooldir}"
-		chown mailnull:daemon "${spooldir}"
+		mkdir -m 750 -p "${spooldir}"
+		chown mailnull:mail "${spooldir}"
 	fi
 }
 

Modified: head/mail/milter-regex/files/patch-milter-regex.c
==============================================================================
--- head/mail/milter-regex/files/patch-milter-regex.c	Sun Aug  3 05:06:07 2014	(r363849)
+++ head/mail/milter-regex/files/patch-milter-regex.c	Sun Aug  3 05:34:43 2014	(r363850)
@@ -79,7 +79,7 @@
 +		fclose(pid_fd);
 +	}
 +
-+	umask(0177);
++	umask(0117); /* make socket group writeable */
 +
  	r = smfi_main();
  	if (r != MI_SUCCESS)



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