svn commit: r331531 - head/security/ca_root_nss

Florian Smeets flo at FreeBSD.org
Thu Oct 24 20:45:10 UTC 2013


Author: flo
Date: Thu Oct 24 20:45:09 2013
New Revision: 331531
URL: http://svnweb.freebsd.org/changeset/ports/331531

Log:
  - fix stage conversion in the ETCSYMLINK case
  - move the check to post-install
  
  Reported by:	ak

Modified:
  head/security/ca_root_nss/Makefile

Modified: head/security/ca_root_nss/Makefile
==============================================================================
--- head/security/ca_root_nss/Makefile	Thu Oct 24 20:24:08 2013	(r331530)
+++ head/security/ca_root_nss/Makefile	Thu Oct 24 20:45:09 2013	(r331531)
@@ -2,6 +2,7 @@
 
 PORTNAME=	ca_root_nss
 PORTVERSION=	${VERSION_NSS}
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	MOZILLA/security/nss/releases/${DISTNAME:U:C/[-.]/_/g}_RTM/src
 DISTNAME=	nss-${VERSION_NSS}${NSS_SUFFIX}
@@ -55,8 +56,11 @@ do-build:	apply-slist
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/${CERTDIR}
 	${INSTALL_DATA} ${WRKDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/${CERTDIR}
+
+post-install:
 .if ${PORT_OPTIONS:METCSYMLINK}
-	${LN} -sf ${STAGEDIR}${PREFIX}/${CERTDIR}/ca-root-nss.crt /etc/ssl/cert.pem
+	${MKDIR} ${STAGEDIR}/etc/ssl
+	${LN} -sf ${PREFIX}/${CERTDIR}/ca-root-nss.crt ${STAGEDIR}/etc/ssl/cert.pem
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list