aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-08-20 06:19:11 +0800
committermarino <marino@FreeBSD.org>2016-08-20 06:19:11 +0800
commit89ac1b4e9e70c41db29c960790f04c9c5da4ce2e (patch)
treecdade280da58c1a59aa5cdcb46b72868d84ffc73 /mail
parenta7937dca7132d48717e2b91f6141cf6878aca6f9 (diff)
downloadfreebsd-ports-gnome-89ac1b4e9e70c41db29c960790f04c9c5da4ce2e.tar.gz
freebsd-ports-gnome-89ac1b4e9e70c41db29c960790f04c9c5da4ce2e.tar.zst
freebsd-ports-gnome-89ac1b4e9e70c41db29c960790f04c9c5da4ce2e.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')
-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/*