Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2016 22:19:11 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420495 - head/mail/sendmail
Message-ID:  <201608192219.u7JMJBDk028686@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608192219.u7JMJBDk028686>