summaryrefslogtreecommitdiff
path: root/devel/nss
diff options
context:
space:
mode:
authorjschauma <jschauma>2005-02-01 21:51:12 +0000
committerjschauma <jschauma>2005-02-01 21:51:12 +0000
commitf536549549014fdc5d8b6edcacee0ede9c9e0889 (patch)
tree0fb1ef7a7ca9c8204843e1c471b3ed18efde17b5 /devel/nss
parent84e6a448c47a5e6f1ae5ed047ed714ab0476189f (diff)
downloadpkgsrc-f536549549014fdc5d8b6edcacee0ede9c9e0889.tar.gz
Initial import of devel/nss from pkgsrc-wip, provided by matthewluckie:
Network Security Services (NSS) is a set of libraries designed to support cross-platform development of security-enabled server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards.
Diffstat (limited to 'devel/nss')
-rw-r--r--devel/nss/DESCR5
-rw-r--r--devel/nss/Makefile45
-rw-r--r--devel/nss/PLIST110
-rw-r--r--devel/nss/buildlink3.mk21
-rw-r--r--devel/nss/distinfo10
-rw-r--r--devel/nss/patches/patch-aa13
-rw-r--r--devel/nss/patches/patch-ab13
-rw-r--r--devel/nss/patches/patch-ac15
-rw-r--r--devel/nss/patches/patch-ad15
-rw-r--r--devel/nss/patches/patch-ae12
-rw-r--r--devel/nss/patches/patch-af19
11 files changed, 278 insertions, 0 deletions
diff --git a/devel/nss/DESCR b/devel/nss/DESCR
new file mode 100644
index 00000000000..16d922d2eee
--- /dev/null
+++ b/devel/nss/DESCR
@@ -0,0 +1,5 @@
+Network Security Services (NSS) is a set of libraries designed to support
+cross-platform development of security-enabled server applications.
+Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7,
+PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security
+standards.
diff --git a/devel/nss/Makefile b/devel/nss/Makefile
new file mode 100644
index 00000000000..29e4874a142
--- /dev/null
+++ b/devel/nss/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/01 21:51:12 jschauma Exp $
+
+DISTNAME= nss-3.9.2
+CATEGORIES= security
+MASTER_SITES?= ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_9_2_RTM/src/
+
+MAINTAINER= mjl@luckie.org.nz
+HOMEPAGE= http://www.mozilla.org/projects/security/pki/nss/
+COMMENT= Libraries to support development of security-enabled applications
+
+BUILD_DEPENDS+= zip>=2.3:../../archivers/zip
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/mozilla/security/nss
+
+USE_BUILDLINK3= YES
+USE_PERL5= build
+USE_GNU_TOOLS+= make
+DIST= ${WRKSRC}/../../dist
+BUILD_TARGET= nss_build_all
+MAKE_ENV= BSD_LDOPTS="-L${LOCALBASE}/lib" BUILD_OPT=1
+MAKE_ENV+= LIBRUNPATH=${PREFIX}/lib
+
+.include "../../mk/bsd.prefs.mk"
+
+CFLAGS+= -I${LOCALBASE}/include/nspr
+
+.if ${OBJECT_FMT} == "ELF"
+SO_SUFFIX= so
+.elif ${OBJECT_FMT} == "Mach-O"
+SO_SUFFIX= dylib
+.else
+SO_SUFFIX= so.1.0
+.endif
+PLIST_SUBST+= SO_SUFFIX=${SO_SUFFIX}
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/include/nss
+ (cd ${DIST}/public && ${PAX} -Lrwpe . ${PREFIX}/include/nss/ )
+ (cd ${DIST}/${OPSYS}${OS_VERSION}_OPT.OBJ/lib && \
+ ${PAX} -Lrwpe *.${SO_SUFFIX} ${PREFIX}/lib/ )
+
+.include "../../devel/nspr/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff --git a/devel/nss/PLIST b/devel/nss/PLIST
new file mode 100644
index 00000000000..4a00674713a
--- /dev/null
+++ b/devel/nss/PLIST
@@ -0,0 +1,110 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/01 21:51:12 jschauma Exp $
+include/nss/dbm/cdefs.h
+include/nss/dbm/mcom_db.h
+include/nss/dbm/ncompat.h
+include/nss/dbm/nsres.h
+include/nss/dbm/winfile.h
+include/nss/nss/base64.h
+include/nss/nss/blapit.h
+include/nss/nss/cert.h
+include/nss/nss/certdb.h
+include/nss/nss/certt.h
+include/nss/nss/ciferfam.h
+include/nss/nss/cmmf.h
+include/nss/nss/cmmft.h
+include/nss/nss/cms.h
+include/nss/nss/cmsreclist.h
+include/nss/nss/cmst.h
+include/nss/nss/crmf.h
+include/nss/nss/crmft.h
+include/nss/nss/cryptohi.h
+include/nss/nss/cryptoht.h
+include/nss/nss/ecl-exp.h
+include/nss/nss/hasht.h
+include/nss/nss/jar-ds.h
+include/nss/nss/jar.h
+include/nss/nss/jarfile.h
+include/nss/nss/key.h
+include/nss/nss/keyhi.h
+include/nss/nss/keyt.h
+include/nss/nss/keythi.h
+include/nss/nss/nss.h
+include/nss/nss/nssb64.h
+include/nss/nss/nssb64t.h
+include/nss/nss/nssbase.h
+include/nss/nss/nssbaset.h
+include/nss/nss/nssck.api
+include/nss/nss/nssckbi.h
+include/nss/nss/nssckepv.h
+include/nss/nss/nssckft.h
+include/nss/nss/nssckfw.h
+include/nss/nss/nssckfwc.h
+include/nss/nss/nssckfwt.h
+include/nss/nss/nssckg.h
+include/nss/nss/nssckmdt.h
+include/nss/nss/nssckt.h
+include/nss/nss/nssilckt.h
+include/nss/nss/nssilock.h
+include/nss/nss/nsslocks.h
+include/nss/nss/nssrwlk.h
+include/nss/nss/nssrwlkt.h
+include/nss/nss/ocsp.h
+include/nss/nss/ocspt.h
+include/nss/nss/p12.h
+include/nss/nss/p12plcy.h
+include/nss/nss/p12t.h
+include/nss/nss/pk11func.h
+include/nss/nss/pk11pqg.h
+include/nss/nss/pk11sdr.h
+include/nss/nss/pkcs11.h
+include/nss/nss/pkcs11f.h
+include/nss/nss/pkcs11n.h
+include/nss/nss/pkcs11p.h
+include/nss/nss/pkcs11t.h
+include/nss/nss/pkcs11u.h
+include/nss/nss/pkcs12.h
+include/nss/nss/pkcs12t.h
+include/nss/nss/pkcs7t.h
+include/nss/nss/portreg.h
+include/nss/nss/preenc.h
+include/nss/nss/secasn1.h
+include/nss/nss/secasn1t.h
+include/nss/nss/seccomon.h
+include/nss/nss/secder.h
+include/nss/nss/secdert.h
+include/nss/nss/secdig.h
+include/nss/nss/secdigt.h
+include/nss/nss/secerr.h
+include/nss/nss/sechash.h
+include/nss/nss/secitem.h
+include/nss/nss/secmime.h
+include/nss/nss/secmod.h
+include/nss/nss/secmodt.h
+include/nss/nss/secoid.h
+include/nss/nss/secoidt.h
+include/nss/nss/secpkcs5.h
+include/nss/nss/secpkcs7.h
+include/nss/nss/secport.h
+include/nss/nss/shsign.h
+include/nss/nss/smime.h
+include/nss/nss/ssl.h
+include/nss/nss/sslerr.h
+include/nss/nss/sslproto.h
+include/nss/nss/sslt.h
+include/nss/nss/swfort.h
+include/nss/nss/swfortt.h
+include/nss/nss/watcomfx.h
+include/nss/seccmd/secutil.h
+include/nss/seccmd/zconf.h
+include/nss/seccmd/zlib.h
+lib/libfort.${SO_SUFFIX}
+lib/libnss3.${SO_SUFFIX}
+lib/libnssckbi.${SO_SUFFIX}
+lib/libsmime3.${SO_SUFFIX}
+lib/libsoftokn3.${SO_SUFFIX}
+lib/libssl3.${SO_SUFFIX}
+lib/libswft.${SO_SUFFIX}
+@dirrm include/nss/seccmd
+@dirrm include/nss/nss
+@dirrm include/nss/dbm
+@dirrm include/nss
diff --git a/devel/nss/buildlink3.mk b/devel/nss/buildlink3.mk
new file mode 100644
index 00000000000..ae0f57431ca
--- /dev/null
+++ b/devel/nss/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/02/01 21:51:12 jschauma Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+NSS_BUILDLINK3_MK:= ${NSS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= nss
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnss}
+BUILDLINK_PACKAGES+= nss
+
+.if !empty(NSS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.nss+= nss>=3.9.2
+BUILDLINK_RECOMMENDED.nss+= nss>=3.9.2
+BUILDLINK_PKGSRCDIR.nss?= ../../devel/nss
+.endif # NSS_BUILDLINK3_MK
+
+.include "../../devel/nspr/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/nss/distinfo b/devel/nss/distinfo
new file mode 100644
index 00000000000..6fa8e16d0be
--- /dev/null
+++ b/devel/nss/distinfo
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/02/01 21:51:12 jschauma Exp $
+
+SHA1 (nss-3.9.2.tar.gz) = 017b748d92c5f7376bda78915d1b78b260b44133
+Size (nss-3.9.2.tar.gz) = 4734817 bytes
+SHA1 (patch-aa) = 3b0d0eb22b498d72514e4616b101d93fedc2f53d
+SHA1 (patch-ab) = 21008be57eb73f4ddd36cf89d9ca56aa082a43ee
+SHA1 (patch-ac) = f1857c2e7de7746e66602155cc3d10996a62fc6b
+SHA1 (patch-ad) = 0fecd3fc1e5865525bcfce2fc6140622bc7a8f19
+SHA1 (patch-ae) = 89a316ddd87ac65c675beae33fabc5c0c12667f2
+SHA1 (patch-af) = 4c933d1cfb1ec4708b69dec18ea6b3acfbd91cfa
diff --git a/devel/nss/patches/patch-aa b/devel/nss/patches/patch-aa
new file mode 100644
index 00000000000..00e55f0eeec
--- /dev/null
+++ b/devel/nss/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/02/01 21:51:12 jschauma Exp $
+
+--- Makefile.orig Tue Jan 4 21:17:13 2005
++++ Makefile Tue Jan 4 21:17:25 2005
+@@ -74,7 +74,7 @@
+ # (7) Execute "local" rules. (OPTIONAL). #
+ #######################################################################
+
+-nss_build_all: build_coreconf build_nspr build_dbm all
++nss_build_all: build_coreconf build_dbm all
+
+ build_coreconf:
+ cd $(CORE_DEPTH)/coreconf ; $(MAKE)
diff --git a/devel/nss/patches/patch-ab b/devel/nss/patches/patch-ab
new file mode 100644
index 00000000000..9c5a6a477ed
--- /dev/null
+++ b/devel/nss/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/02/01 21:51:12 jschauma Exp $
+
+--- ../coreconf/command.mk 2002/08/08 17:20:41 1.1
++++ ../coreconf/command.mk 2002/08/08 17:20:54
+@@ -42,7 +42,7 @@
+ LINK_DLL = $(LINK) $(OS_DLLFLAGS) $(DLLFLAGS)
+ LINK_EXE = $(LINK) $(OS_LFLAGS) $(LFLAGS)
+ NFSPWD = $(NSINSTALL_DIR)/nfspwd
+-CFLAGS = $(OPTIMIZER) $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \
++CFLAGS += $(OPTIMIZER) $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \
+ $(XCFLAGS)
+ RANLIB = echo
+ TAR = /bin/tar
diff --git a/devel/nss/patches/patch-ac b/devel/nss/patches/patch-ac
new file mode 100644
index 00000000000..b998b125478
--- /dev/null
+++ b/devel/nss/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2005/02/01 21:51:12 jschauma Exp $
+
+--- lib/fortcrypt/swfort/pkcs11/Makefile.orig Sat Feb 16 00:53:46 2002
++++ lib/fortcrypt/swfort/pkcs11/Makefile Thu Aug 8 21:27:33 2002
+@@ -76,8 +76,8 @@
+ $(DIST)/lib/$(LIB_PREFIX)softokn.$(LIB_SUFFIX) \
+ $(CRYPTO_LIB) \
+ $(DIST)/lib/$(LIB_PREFIX)secutil.$(LIB_SUFFIX) \
+- $(DIST)/lib/$(LIB_PREFIX)plc4.$(LIB_SUFFIX) \
+- $(DIST)/lib/$(LIB_PREFIX)plds4.$(LIB_SUFFIX) \
++ -lplc4 \
++ -lplds4 \
+ $(NULL)
+
+ endif
diff --git a/devel/nss/patches/patch-ad b/devel/nss/patches/patch-ad
new file mode 100644
index 00000000000..67b0757f7fe
--- /dev/null
+++ b/devel/nss/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1.1.1 2005/02/01 21:51:12 jschauma Exp $
+
+--- lib/ckfw/builtins/Makefile.orig Sat Feb 16 00:53:42 2002
++++ lib/ckfw/builtins/Makefile Thu Aug 8 21:29:48 2002
+@@ -54,8 +54,8 @@
+ else
+
+ EXTRA_LIBS += \
+- $(DIST)/lib/$(LIB_PREFIX)plc4.$(LIB_SUFFIX) \
+- $(DIST)/lib/$(LIB_PREFIX)plds4.$(LIB_SUFFIX) \
++ -lplc4 \
++ -lplds4 \
+ $(NULL)
+
+ endif
diff --git a/devel/nss/patches/patch-ae b/devel/nss/patches/patch-ae
new file mode 100644
index 00000000000..8703a258059
--- /dev/null
+++ b/devel/nss/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1.1.1 2005/02/01 21:51:12 jschauma Exp $
+
+--- cmd/platlibs.mk.orig Thu Jan 20 06:55:35 2005
++++ cmd/platlibs.mk Thu Jan 20 06:56:07 2005
+@@ -216,6 +216,7 @@
+ -L$(DIST)/lib \
+ -lssl3 \
+ -lsmime3 \
++ -lsoftokn3 \
+ -lnss3 \
+ -lplc4 \
+ -lplds4 \
diff --git a/devel/nss/patches/patch-af b/devel/nss/patches/patch-af
new file mode 100644
index 00000000000..7390739963b
--- /dev/null
+++ b/devel/nss/patches/patch-af
@@ -0,0 +1,19 @@
+$NetBSD: patch-af,v 1.1.1.1 2005/02/01 21:51:12 jschauma Exp $
+
+--- ../coreconf/NetBSD.mk.orig Thu Jan 20 09:04:51 2005
++++ ../coreconf/NetBSD.mk Thu Jan 20 09:06:49 2005
+@@ -58,12 +58,12 @@
+
+ OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DNETBSD -Dunix -DHAVE_STRERROR -DHAVE_BSD_FLOCK
+
+-OS_LIBS = -lcompat
++OS_LIBS = -lcompat $(BSD_LDOPTS)
+
+ ARCH = netbsd
+
+ DSO_CFLAGS = -fPIC -DPIC
+-DSO_LDOPTS = -shared
++DSO_LDOPTS = -shared $(BSD_LDOPTS)
+ DSO_LDFLAGS =
+ ifeq ($(OBJECT_FMT),ELF)
+ DSO_LDOPTS += -Wl,-soname,lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)