aboutsummaryrefslogtreecommitdiff
path: root/mail/ssmtp
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-09-04 19:26:24 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-09-04 19:26:24 +0000
commit228ab588738952bd42427886fd5368181243ba6e (patch)
tree7fe589d0d1b0e6d00b7aa9cd05fc46ca15de7655 /mail/ssmtp
parent7374b5a054d87d64914c6c36520e15fa14f3f31b (diff)
Change INSTALL_DATA to install with mode 644
Remove patches and hacks that were used to work around the previous situation This allows to stage more ports as a regular user Differential Revision: https://reviews.freebsd.org/D703 Reviewed by and discussed with: bapt With hat: portmgr
Notes
Notes: svn path=/head/; revision=367307
Diffstat (limited to 'mail/ssmtp')
-rw-r--r--mail/ssmtp/Makefile3
-rw-r--r--mail/ssmtp/pkg-plist11
2 files changed, 4 insertions, 10 deletions
diff --git a/mail/ssmtp/Makefile b/mail/ssmtp/Makefile
index e3a8d84b69c6..68264016cf71 100644
--- a/mail/ssmtp/Makefile
+++ b/mail/ssmtp/Makefile
@@ -15,8 +15,6 @@ USE_OPENSSL= yes
GNU_CONFIGURE= yes
USES= gmake tar:bzip2
GROUPS= ssmtp
-BINMODE= 2555
-SHAREMODE= 640
SUB_FILES+= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
@@ -64,7 +62,6 @@ replace:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ssmtp ${STAGEDIR}${PREFIX}/sbin/ssmtp
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/ssmtp
- @${CHMOD} 750 ${STAGEDIR}${PREFIX}/etc/ssmtp
${INSTALL_DATA} ${WRKSRC}/revaliases \
${STAGEDIR}${PREFIX}/etc/ssmtp/revaliases.sample
${INSTALL_DATA} ${WRKSRC}/ssmtp.conf \
diff --git a/mail/ssmtp/pkg-plist b/mail/ssmtp/pkg-plist
index 23a5d1333215..2078cce27ed8 100644
--- a/mail/ssmtp/pkg-plist
+++ b/mail/ssmtp/pkg-plist
@@ -1,9 +1,6 @@
-@group ssmtp
-sbin/ssmtp
-etc/ssmtp/revaliases.sample
-etc/ssmtp/ssmtp.conf.sample
-@group
+@(,ssmtp,2555) sbin/ssmtp
+@(,ssmtp,640) etc/ssmtp/revaliases.sample
+@(,ssmtp,640) etc/ssmtp/ssmtp.conf.sample
man/man5/ssmtp.conf.5.gz
man/man8/ssmtp.8.gz
-@exec chown root:ssmtp %D/etc/ssmtp
-@dirrmtry etc/ssmtp
+@dirrmtry(,ssmtp,750) etc/ssmtp