summaryrefslogtreecommitdiff
path: root/mail/sendmail
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-08-19 22:19:11 +0000
committerJohn Marino <marino@FreeBSD.org>2016-08-19 22:19:11 +0000
commit7126f3bc15f91d96b74b86c988e324d53ad4742d (patch)
treecdade280da58c1a59aa5cdcb46b72868d84ffc73 /mail/sendmail
parent1073f5d2f47de15822f9de98e63ba80e28daacc5 (diff)
downloadfreebsd-ports-7126f3bc15f91d96b74b86c988e324d53ad4742d.zip
mail/sendmail: fix stage-qa error
The strip command for sbin/sendmail fails due to the permissions of the program installed in the stage directory. Change the staged sendmail mode to 755 so that the strip command succeeds. The pkg-list specifies the final mode to be 2555. PR: 211353 Reported by: dave (ci.com.au) Final fix: marino@ Appproved by: maintainer timeout
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 6ff41f947804..6e13ed89d557 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -2,7 +2,7 @@
PORTNAME= sendmail
PORTVERSION= 8.15.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/
PKGNAMESUFFIX?= ${TLS_SUFFIX}${SASL_SUFFIX}${LDAP_SUFFIX}${BDB_SUFFIX}${PKGNAMESUFFIX2}
@@ -216,6 +216,9 @@ post-install:
${TAR} -C ${WRKSRC} -cf - cf | \
${TAR} -C ${STAGEDIR}${PREFIX}/share/sendmail -xf -
${RM} ${STAGEDIR}${PREFIX}/man/cat*/*
+# final perm of sendmail is 2555 (see plist), needed for strip cmd
+ ${CHMOD} 755 ${STAGEDIR}${PREFIX}/sbin/sendmail
+
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vacation
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rmail
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/*