/[ports]/head/security/ca_root_nss/Makefile
ViewVC logotype

Contents of /head/security/ca_root_nss/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 369237 - (show annotations) (download)
Thu Sep 25 11:08:06 2014 UTC (9 years, 9 months ago) by beat
File MIME type: text/plain
File size: 1900 byte(s)
- Update ca_root_nss to 3.17.1
- Update thunderbird to 31.1.2
- Update seamonkey to 2.29.1
- Update firefox to 32.0.3
- Update firefox-esr to 31.1.1
- Update libxul to 24.8.1

Submitted by:	Jan Beich
Security:	http://www.vuxml.org/freebsd/48108fb0-751c-4cbb-8f33-09239ead4b55.html

1 # $FreeBSD$
2
3 PORTNAME= ca_root_nss
4 PORTVERSION= ${VERSION_NSS}
5 CATEGORIES= security
6 MASTER_SITES= MOZILLA/security/nss/releases/${DISTNAME:tu:C/[-.]/_/g}_RTM/src
7 DISTNAME= nss-${VERSION_NSS}${NSS_SUFFIX}
8
9 MAINTAINER= gecko@FreeBSD.org
10 COMMENT= The root certificate bundle from the Mozilla Project
11
12 OPTIONS_DEFINE= ETCSYMLINK
13 ETCSYMLINK_DESC= Add symlink to /etc/ssl/cert.pem
14
15 USES= perl5
16 USE_PERL5= build
17 NO_ARCH= yes
18 NO_WRKSUBDIR= yes
19
20 CERTDIR?= share/certs
21 PLIST_SUB+= CERTDIR=${CERTDIR}
22
23 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
24 # !!! These versions are indented to track security/nss. !!!
25 # !!! Please DO NOT submit patches for new version until it has !!!
26 # !!! been committed there first. !!!
27 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
28 VERSION_NSS= 3.17.1
29 #NSS_SUFFIX= .with.ckbi.1.93
30 CERTDATA_TXT_PATH= nss-${VERSION_NSS}/nss/lib/ckfw/builtins/certdata.txt
31 BUNDLE_PROCESSOR= MAca-bundle.pl
32 SUB_FILES= MAca-bundle.pl
33 SUB_LIST= VERSION_NSS=${VERSION_NSS}
34
35 .include <bsd.port.options.mk>
36
37 .if ${PORT_OPTIONS:METCSYMLINK}
38 PLIST_SUB+= ETCSYMLINK=
39 CONFLICTS= ca-roots-[0-9]*
40 .else
41 PLIST_SUB+= ETCSYMLINK="@comment "
42 .endif
43
44 do-extract:
45 @${MKDIR} ${WRKDIR}
46 @${TAR} -C ${WRKDIR} -xf ${DISTDIR}/nss-${VERSION_NSS}${NSS_SUFFIX}${EXTRACT_SUFX} \
47 ${CERTDATA_TXT_PATH}
48 @${CP} ${WRKDIR}/${CERTDATA_TXT_PATH} ${WRKDIR}
49 @${RM} -rf ${WRKDIR}/nss-${VERSION_NSS}
50
51 do-build: apply-slist
52 @${PERL} ${WRKDIR}/${BUNDLE_PROCESSOR} \
53 < ${WRKDIR}/certdata.txt > \
54 ${WRKDIR}/ca-root-nss.crt
55
56 do-install:
57 ${MKDIR} ${STAGEDIR}${PREFIX}/${CERTDIR}
58 ${INSTALL_DATA} ${WRKDIR}/ca-root-nss.crt ${STAGEDIR}${PREFIX}/${CERTDIR}
59
60 post-install:
61 .if ${PORT_OPTIONS:METCSYMLINK}
62 ${MKDIR} ${STAGEDIR}/etc/ssl
63 ${LN} -sf ${PREFIX}/${CERTDIR}/ca-root-nss.crt ${STAGEDIR}/etc/ssl/cert.pem
64 .endif
65
66 .include <bsd.port.mk>

Properties

Name Value
svn:eol-style native
svn:keywords FreeBSD=%H
svn:mime-type text/plain

  ViewVC Help
Powered by ViewVC 1.1.27