diff options
author | antoine <antoine@FreeBSD.org> | 2014-09-05 03:26:24 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-09-05 03:26:24 +0800 |
commit | 59d49e15cacdc386288d1958cdc1c291dcd919bc (patch) | |
tree | 7fe589d0d1b0e6d00b7aa9cd05fc46ca15de7655 /mail/ssmtp | |
parent | 990841b6170cce720b6df85c358d10065e9a7fa4 (diff) | |
download | freebsd-ports-gnome-59d49e15cacdc386288d1958cdc1c291dcd919bc.tar.gz freebsd-ports-gnome-59d49e15cacdc386288d1958cdc1c291dcd919bc.tar.zst freebsd-ports-gnome-59d49e15cacdc386288d1958cdc1c291dcd919bc.zip |
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
Diffstat (limited to 'mail/ssmtp')
-rw-r--r-- | mail/ssmtp/Makefile | 3 | ||||
-rw-r--r-- | mail/ssmtp/pkg-plist | 11 |
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 |