summaryrefslogtreecommitdiff
path: root/security/mozilla-rootcerts/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-09-20 20:02:53 +0000
committerjlam <jlam@pkgsrc.org>2007-09-20 20:02:53 +0000
commitcda713143ed52060212ea6ff37fc3966edac13b0 (patch)
treea37a67809bd2a775bdc9d96d366498e79fb94ffb /security/mozilla-rootcerts/Makefile
parentc188e9a5efadb24d2ae933f40e824e1faf32235e (diff)
downloadpkgsrc-cda713143ed52060212ea6ff37fc3966edac13b0.tar.gz
Import security/mozilla-rootcerts:
This package provides a script which can be used to extract the root CA certificates distributed by the Mozilla Project into the current working directory and to rehash the existing certificates. The directory can be used by most SSL-aware programs that expect a "CA certificate path".
Diffstat (limited to 'security/mozilla-rootcerts/Makefile')
-rw-r--r--security/mozilla-rootcerts/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/security/mozilla-rootcerts/Makefile b/security/mozilla-rootcerts/Makefile
new file mode 100644
index 00000000000..0749e36e076
--- /dev/null
+++ b/security/mozilla-rootcerts/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/09/20 20:02:53 jlam Exp $
+
+DISTNAME= mozilla-rootcerts-1.0.${CERTDATA_DATE}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+DISTFILES= ${CERTDATA}
+EXTRACT_SUFX= # empty
+
+MAINTAINER= jlam@pkgsrc.org
+HOMEPAGE= http://lxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1
+COMMENT= root CA certificates from the Mozilla Project
+
+USE_TOOLS= awk:run echo:run expr:run ln:run ls:run openssl:run rm:run
+
+CERTDATA_DATE= 20070713
+CERTDATA= certdata-${CERTDATA_DATE}.txt
+
+WRKSRC= ${WRKDIR}
+BUILD_DIRS= # empty
+DATADIR= ${PREFIX}/share/${PKGBASE}
+
+SUBST_CLASSES= paths
+SUBST_MESSAGE.paths= Replacing hard-coded paths.
+SUBST_STAGE.paths= post-configure
+SUBST_FILES.paths= mozilla-rootcerts.sh
+SUBST_VARS.paths= AWK ECHO EXPR LN LS OPENSSL RM DATADIR
+
+INSTALLATION_DIRS= sbin ${DATADIR}
+
+do-extract:
+ ${CP} ${FILESDIR}/mozilla-rootcerts.sh ${WRKSRC}
+ ${CP} ${DISTDIR}/${CERTDATA} ${WRKSRC}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/mozilla-rootcerts.sh \
+ ${PREFIX}/sbin/mozilla-rootcerts
+ ${INSTALL_DATA} ${WRKSRC}/${CERTDATA} ${DATADIR}/certdata.txt
+
+.include "../../mk/bsd.pkg.mk"