View | Details | Raw Unified | Return to bug 222262 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-10 / +4 lines)
Lines 1-3 Link Here
1
# Created by: Brooks Davis <brooks@FreeBSD.org>
1
# $FreeBSD$
2
# $FreeBSD$
2
3
3
PORTNAME=	ca_root_nss
4
PORTNAME=	ca_root_nss
Lines 10-15 Link Here
10
COMMENT=	Root certificate bundle from the Mozilla Project
11
COMMENT=	Root certificate bundle from the Mozilla Project
11
12
12
LICENSE=	MPL20
13
LICENSE=	MPL20
14
LICENSE_FILE=	${WRKSRC}/nss/COPYING
13
15
14
OPTIONS_DEFINE=		ETCSYMLINK
16
OPTIONS_DEFINE=		ETCSYMLINK
15
OPTIONS_DEFAULT=	ETCSYMLINK
17
OPTIONS_DEFAULT=	ETCSYMLINK
Lines 22-28 Link Here
22
USES=		perl5 ssl:build
24
USES=		perl5 ssl:build
23
USE_PERL5=	build
25
USE_PERL5=	build
24
NO_ARCH=	yes
26
NO_ARCH=	yes
25
NO_WRKSUBDIR=	yes
26
27
27
CERTDIR?=	share/certs
28
CERTDIR?=	share/certs
28
PLIST_SUB+=	CERTDIR=${CERTDIR}
29
PLIST_SUB+=	CERTDIR=${CERTDIR}
Lines 34-40 Link Here
34
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
35
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
35
VERSION_NSS=	3.36
36
VERSION_NSS=	3.36
36
#NSS_SUFFIX=	-with-ckbi-1.98
37
#NSS_SUFFIX=	-with-ckbi-1.98
37
CERTDATA_TXT_PATH=	nss-${VERSION_NSS}/nss/lib/ckfw/builtins/certdata.txt
38
CERTDATA_TXT_PATH=	nss/lib/ckfw/builtins/certdata.txt
38
BUNDLE_PROCESSOR=	MAca-bundle.pl
39
BUNDLE_PROCESSOR=	MAca-bundle.pl
39
40
40
SUB_FILES=	MAca-bundle.pl pkg-message
41
SUB_FILES=	MAca-bundle.pl pkg-message
Lines 42-58 Link Here
42
43
43
.include <bsd.port.options.mk>
44
.include <bsd.port.options.mk>
44
45
45
do-extract:
46
	@${MKDIR} ${WRKDIR}
47
	@${TAR} -C ${WRKDIR} -xf ${DISTDIR}/nss-${VERSION_NSS}${NSS_SUFFIX}${EXTRACT_SUFX} \
48
	    ${CERTDATA_TXT_PATH}
49
	@${CP} ${WRKDIR}/${CERTDATA_TXT_PATH} ${WRKDIR}
50
	@${RM} -r ${WRKDIR}/nss-${VERSION_NSS}
51
52
do-build:	apply-slist
46
do-build:	apply-slist
53
	@${SETENV} PATH=${LOCALBASE}/bin:$${PATH} \
47
	@${SETENV} PATH=${LOCALBASE}/bin:$${PATH} \
54
		${PERL} ${WRKDIR}/${BUNDLE_PROCESSOR} \
48
		${PERL} ${WRKDIR}/${BUNDLE_PROCESSOR} \
55
	    < ${WRKDIR}/certdata.txt > \
49
	    < ${WRKSRC}/${CERTDATA_TXT_PATH} > \
56
	    ${WRKDIR}/ca-root-nss.crt
50
	    ${WRKDIR}/ca-root-nss.crt
57
51
58
do-install:
52
do-install:

Return to bug 222262