svn commit: r420495 - head/mail/sendmail
John Marino
marino at FreeBSD.org
Fri Aug 19 22:19:12 UTC 2016
Author: marino
Date: Fri Aug 19 22:19:11 2016
New Revision: 420495
URL: https://svnweb.freebsd.org/changeset/ports/420495
Log:
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
Modified:
head/mail/sendmail/Makefile
Modified: head/mail/sendmail/Makefile
==============================================================================
--- head/mail/sendmail/Makefile Fri Aug 19 22:18:34 2016 (r420494)
+++ head/mail/sendmail/Makefile Fri Aug 19 22:19:11 2016 (r420495)
@@ -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/*
More information about the svn-ports-all
mailing list