diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-12-19 09:30:28 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-12-19 09:30:28 +0000 |
commit | d4d4c0c1be2e7655f7944b7f4ae283e0e30ac2c9 (patch) | |
tree | 76a0ee83b7a95638635e9fe7d0d47236d8904fc5 /security | |
parent | 894544c0df73d759245490882ed05e4d81137015 (diff) | |
download | FreeBSD-ports-d4d4c0c1be2e7655f7944b7f4ae283e0e30ac2c9.zip FreeBSD-ports-d4d4c0c1be2e7655f7944b7f4ae283e0e30ac2c9.tar.gz |
Add nss 3.3.1, a set of libraries to support development of
security-enabled applications.
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/nss/Makefile | 40 | ||||
-rw-r--r-- | security/nss/distinfo | 1 | ||||
-rw-r--r-- | security/nss/files/patch-..::coreconf::FreeBSD.mk | 59 | ||||
-rw-r--r-- | security/nss/files/patch-..::coreconf::rules.mk | 13 | ||||
-rw-r--r-- | security/nss/files/patch-Makefile | 14 | ||||
-rw-r--r-- | security/nss/files/patch-lib::ckfw::builtins::Makefile | 16 | ||||
-rw-r--r-- | security/nss/files/patch-lib::fortcrypt::swfort::pkcs11::Makefile | 16 | ||||
-rw-r--r-- | security/nss/pkg-comment | 1 | ||||
-rw-r--r-- | security/nss/pkg-descr | 7 | ||||
-rw-r--r-- | security/nss/pkg-plist | 151 |
11 files changed, 319 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 605448d..7d4f45f 100644 --- a/security/Makefile +++ b/security/Makefile @@ -101,6 +101,7 @@ SUBDIR += nettle SUBDIR += nmap SUBDIR += nmapfe + SUBDIR += nss SUBDIR += oidentd SUBDIR += op SUBDIR += opencl diff --git a/security/nss/Makefile b/security/nss/Makefile new file mode 100644 index 0000000..41db586 --- /dev/null +++ b/security/nss/Makefile @@ -0,0 +1,40 @@ +# Ports collection Makefile for: nss +# Date created: 18 December 2001 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= nss +PORTVERSION= 3.3.1 +CATEGORIES= security +MASTER_SITES= ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_${PORTVERSION:S/./_/g}_RTM/src/ + +MAINTAINER= gnome@FreeBSD.org + +BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip +LIB_DEPENDS= nspr4.1:${PORTSDIR}/devel/nspr + +WRKSRC= ${WRKDIR}/${DISTNAME}/mozilla/security/nss + +INSTALLS_SHLIB= yes +USE_GMAKE= yes +MAKE_ENV= BSD_LDOPTS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" \ + BUILD_OPT=1 +ALL_TARGET= nss_build_all +CFLAGS+= -I${LOCALBASE}/include/nspr + +DIST= ${WRKSRC}/../../dist + +do-install: + ${MKDIR} ${PREFIX}/include/nss + ${TAR} -C ${DIST}/public --dereference -cf - . | \ + ${TAR} -C ${PREFIX}/include/nss -xf - + ${INSTALL_PROGRAM} ${DIST}/FreeBSD${OSREL}_OPT.OBJ/lib/*.so.1 \ + ${PREFIX}/lib + ${INSTALL_PROGRAM} ${DIST}/FreeBSD${OSREL}_OPT.OBJ/bin/* \ + ${PREFIX}/bin + cd ${DIST}/FreeBSD${OSREL}_OPT.OBJ/lib && \ + ${TAR} -cf - *.so | ${TAR} --unlink -C ${PREFIX}/lib -xf - + +.include <bsd.port.mk> diff --git a/security/nss/distinfo b/security/nss/distinfo new file mode 100644 index 0000000..6bb568a --- /dev/null +++ b/security/nss/distinfo @@ -0,0 +1 @@ +MD5 (nss-3.3.1.tar.gz) = 79c765ae0c54a0f327b85687ce823129 diff --git a/security/nss/files/patch-..::coreconf::FreeBSD.mk b/security/nss/files/patch-..::coreconf::FreeBSD.mk new file mode 100644 index 0000000..44a4fa8 --- /dev/null +++ b/security/nss/files/patch-..::coreconf::FreeBSD.mk @@ -0,0 +1,59 @@ + +$FreeBSD$ + +--- ../coreconf/FreeBSD.mk.orig Tue Sep 19 06:53:08 2000 ++++ ../coreconf/FreeBSD.mk Wed Dec 19 10:05:26 2001 +@@ -35,19 +35,19 @@ + + include $(CORE_DEPTH)/coreconf/UNIX.mk + +-DEFAULT_COMPILER = gcc +-CC = gcc +-CCC = g++ ++DEFAULT_COMPILER = $(CC) ++CCC = $(CXX) + RANLIB = ranlib + + ifeq ($(OS_TEST),alpha) + CPU_ARCH = alpha + else +-OS_REL_CFLAGS = -Di386 + CPU_ARCH = x86 + endif + +-OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe $(THREAD_FLAG) -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK ++OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK ++OS_LIBS = $(BSD_LDOPTS) ++OPTIMIZER = + + # + # The default implementation strategy for FreeBSD is pthreads. +@@ -55,7 +55,7 @@ + ifndef CLASSIC_NSPR + USE_PTHREADS = 1 + DEFINES += -D_THREAD_SAFE +-THREAD_FLAG = -pthread ++DSO_LDFLAGS = -pthread + endif + + ARCH = freebsd +@@ -63,16 +63,15 @@ + MOZ_OBJFORMAT := $(shell test -x /usr/bin/objformat && /usr/bin/objformat || echo aout) + + ifeq ($(MOZ_OBJFORMAT),elf) +-DLL_SUFFIX = so ++DLL_SUFFIX = so.1 + else + DLL_SUFFIX = so.1.0 + endif + + DSO_CFLAGS = -fPIC +-DSO_LDOPTS = -Bshareable +-DSO_LDFLAGS = ++DSO_LDOPTS = -shared + +-MKSHLIB = $(LD) $(DSO_LDOPTS) ++MKSHLIB = $(CC) $(DSO_LDOPTS) $(BSD_LDOPTS) + + G++INCLUDES = -I/usr/include/g++ + diff --git a/security/nss/files/patch-..::coreconf::rules.mk b/security/nss/files/patch-..::coreconf::rules.mk new file mode 100644 index 0000000..ee06bfc --- /dev/null +++ b/security/nss/files/patch-..::coreconf::rules.mk @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- ../coreconf/rules.mk.orig Thu Jun 21 03:56:29 2001 ++++ ../coreconf/rules.mk Wed Dec 19 10:28:51 2001 +@@ -106,6 +106,7 @@ + endif + ifdef SHARED_LIBRARY + $(INSTALL) -m 775 $(SHARED_LIBRARY) $(SOURCE_LIB_DIR) ++ ln -sf $(notdir $(SHARED_LIBRARY)) $(SOURCE_LIB_DIR)/$(notdir $(SHARED_LIBRARY:.so.1=.so)) + ifeq ($(OS_ARCH),OpenVMS) + $(INSTALL) -m 775 $(SHARED_LIBRARY:$(DLL_SUFFIX)=vms) $(SOURCE_LIB_DIR) + endif diff --git a/security/nss/files/patch-Makefile b/security/nss/files/patch-Makefile new file mode 100644 index 0000000..7d9fe92 --- /dev/null +++ b/security/nss/files/patch-Makefile @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- Makefile.orig Sun Jun 3 08:28:18 2001 ++++ Makefile Tue Dec 18 13:54:49 2001 +@@ -72,7 +72,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/security/nss/files/patch-lib::ckfw::builtins::Makefile b/security/nss/files/patch-lib::ckfw::builtins::Makefile new file mode 100644 index 0000000..3141279 --- /dev/null +++ b/security/nss/files/patch-lib::ckfw::builtins::Makefile @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- lib/ckfw/builtins/Makefile 2001/12/18 12:48:03 1.1 ++++ lib/ckfw/builtins/Makefile 2001/12/18 12:48:39 +@@ -53,8 +53,8 @@ + PLC_STATIC_LIB = $(DIST)/lib/plc4.$(LIB_SUFFIX) + PLDS_STATIC_LIB = $(DIST)/lib/plds4.$(LIB_SUFFIX) + else +-PLC_STATIC_LIB = $(DIST)/lib/libplc4.$(LIB_SUFFIX) +-PLDS_STATIC_LIB = $(DIST)/lib/libplds4.$(LIB_SUFFIX) ++PLC_STATIC_LIB = -lplc4 ++PLDS_STATIC_LIB = -lplds4 + endif + + EXTRA_LIBS += \ diff --git a/security/nss/files/patch-lib::fortcrypt::swfort::pkcs11::Makefile b/security/nss/files/patch-lib::fortcrypt::swfort::pkcs11::Makefile new file mode 100644 index 0000000..9b218e0 --- /dev/null +++ b/security/nss/files/patch-lib::fortcrypt::swfort::pkcs11::Makefile @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- lib/fortcrypt/swfort/pkcs11/Makefile 2001/12/18 12:43:20 1.1 ++++ lib/fortcrypt/swfort/pkcs11/Makefile 2001/12/18 12:44:02 +@@ -83,8 +83,8 @@ + PLC_STATIC_LIB = $(DIST)/lib/plc4.$(LIB_SUFFIX) + PLDS_STATIC_LIB = $(DIST)/lib/plds4.$(LIB_SUFFIX) + else +-PLC_STATIC_LIB = $(DIST)/lib/libplc4.$(LIB_SUFFIX) +-PLDS_STATIC_LIB = $(DIST)/lib/libplds4.$(LIB_SUFFIX) ++PLC_STATIC_LIB = -lplc4 ++PLDS_STATIC_LIB = -lplds4 + endif + + EXTRA_LIBS += \ diff --git a/security/nss/pkg-comment b/security/nss/pkg-comment new file mode 100644 index 0000000..1d6c985 --- /dev/null +++ b/security/nss/pkg-comment @@ -0,0 +1 @@ +A set of libraries to support development of security-enabled applications diff --git a/security/nss/pkg-descr b/security/nss/pkg-descr new file mode 100644 index 0000000..4d06c9a --- /dev/null +++ b/security/nss/pkg-descr @@ -0,0 +1,7 @@ +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. + +WWW: http://www.mozilla.org/projects/security/pki/nss/ diff --git a/security/nss/pkg-plist b/security/nss/pkg-plist new file mode 100644 index 0000000..80385d8 --- /dev/null +++ b/security/nss/pkg-plist @@ -0,0 +1,151 @@ +bin/atob +bin/bltest +bin/btoa +bin/certcgi +bin/certutil +bin/checkcert +bin/client +bin/cmsutil +bin/crlutil +bin/derdump +bin/digest +bin/instinit +bin/makepqg +bin/modutil +bin/newuser +bin/nsinstall +bin/ocspclnt +bin/oidcalc +bin/p7content +bin/p7env +bin/p7sign +bin/p7verify +bin/pk12util +bin/pp +bin/rsaperf +bin/sdrtest +bin/selfserv +bin/server +bin/signtool +bin/signver +bin/ssltap +bin/strsclnt +bin/tstclnt +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/seccmd/secutil.h +include/nss/seccmd/zconf.h +include/nss/seccmd/zlib.h +include/nss/security/base64.h +include/nss/security/blapi.h +include/nss/security/blapit.h +include/nss/security/cert.h +include/nss/security/certdb.h +include/nss/security/certt.h +include/nss/security/ciferfam.h +include/nss/security/cmmf.h +include/nss/security/cmmft.h +include/nss/security/cms.h +include/nss/security/cmsreclist.h +include/nss/security/cmst.h +include/nss/security/crmf.h +include/nss/security/crmft.h +include/nss/security/cryptohi.h +include/nss/security/cryptoht.h +include/nss/security/hasht.h +include/nss/security/jar-ds.h +include/nss/security/jar.h +include/nss/security/jarfile.h +include/nss/security/key.h +include/nss/security/keydbt.h +include/nss/security/keyhi.h +include/nss/security/keylow.h +include/nss/security/keyt.h +include/nss/security/keytboth.h +include/nss/security/keythi.h +include/nss/security/keytlow.h +include/nss/security/nss.h +include/nss/security/nssb64.h +include/nss/security/nssb64t.h +include/nss/security/nssbase.h +include/nss/security/nssbaset.h +include/nss/security/nssck.api +include/nss/security/nssckepv.h +include/nss/security/nssckft.h +include/nss/security/nssckfw.h +include/nss/security/nssckfwc.h +include/nss/security/nssckfwt.h +include/nss/security/nssckg.h +include/nss/security/nssckmdt.h +include/nss/security/nssckp.h +include/nss/security/nssckt.h +include/nss/security/nsscku.h +include/nss/security/nssilock.h +include/nss/security/nsslocks.h +include/nss/security/nssrwlk.h +include/nss/security/nssrwlkt.h +include/nss/security/ocsp.h +include/nss/security/ocspt.h +include/nss/security/p12.h +include/nss/security/p12plcy.h +include/nss/security/p12t.h +include/nss/security/pk11func.h +include/nss/security/pk11pqg.h +include/nss/security/pk11sdr.h +include/nss/security/pkcs11.h +include/nss/security/pkcs11f.h +include/nss/security/pkcs11p.h +include/nss/security/pkcs11t.h +include/nss/security/pkcs11u.h +include/nss/security/pkcs12.h +include/nss/security/pkcs12t.h +include/nss/security/pkcs7t.h +include/nss/security/portreg.h +include/nss/security/pqgutil.h +include/nss/security/preenc.h +include/nss/security/secasn1.h +include/nss/security/secasn1t.h +include/nss/security/seccomon.h +include/nss/security/secder.h +include/nss/security/secdert.h +include/nss/security/secdig.h +include/nss/security/secdigt.h +include/nss/security/secerr.h +include/nss/security/sechash.h +include/nss/security/secitem.h +include/nss/security/secmime.h +include/nss/security/secmod.h +include/nss/security/secmodt.h +include/nss/security/secoid.h +include/nss/security/secoidt.h +include/nss/security/secpkcs5.h +include/nss/security/secpkcs7.h +include/nss/security/secport.h +include/nss/security/secrng.h +include/nss/security/secrngt.h +include/nss/security/smime.h +include/nss/security/ssl.h +include/nss/security/sslerr.h +include/nss/security/sslproto.h +include/nss/security/swfort.h +include/nss/security/swfortt.h +include/nss/security/watcomfx.h +lib/libfort.so +lib/libfort.so.1 +lib/libnss3.so +lib/libnss3.so.1 +lib/libnssckbi.so +lib/libnssckbi.so.1 +lib/libsmime3.so +lib/libsmime3.so.1 +lib/libssl3.so +lib/libssl3.so.1 +lib/libswft.so +lib/libswft.so.1 +@dirrm include/nss/security +@dirrm include/nss/seccmd +@dirrm include/nss/dbm +@dirrm include/nss |