mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Add nss 3.3.1, a set of libraries to support development of
security-enabled applications.
This commit is contained in:
parent
651b1d12b5
commit
d15cb1b623
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51805
@ -101,6 +101,7 @@
|
||||
SUBDIR += nettle
|
||||
SUBDIR += nmap
|
||||
SUBDIR += nmapfe
|
||||
SUBDIR += nss
|
||||
SUBDIR += oidentd
|
||||
SUBDIR += op
|
||||
SUBDIR += opencl
|
||||
|
40
security/nss/Makefile
Normal file
40
security/nss/Makefile
Normal file
@ -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>
|
1
security/nss/distinfo
Normal file
1
security/nss/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (nss-3.3.1.tar.gz) = 79c765ae0c54a0f327b85687ce823129
|
59
security/nss/files/patch-..::coreconf::FreeBSD.mk
Normal file
59
security/nss/files/patch-..::coreconf::FreeBSD.mk
Normal file
@ -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++
|
||||
|
13
security/nss/files/patch-..::coreconf::rules.mk
Normal file
13
security/nss/files/patch-..::coreconf::rules.mk
Normal file
@ -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
|
14
security/nss/files/patch-Makefile
Normal file
14
security/nss/files/patch-Makefile
Normal file
@ -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)
|
16
security/nss/files/patch-lib::ckfw::builtins::Makefile
Normal file
16
security/nss/files/patch-lib::ckfw::builtins::Makefile
Normal file
@ -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 += \
|
@ -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 += \
|
1
security/nss/pkg-comment
Normal file
1
security/nss/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A set of libraries to support development of security-enabled applications
|
7
security/nss/pkg-descr
Normal file
7
security/nss/pkg-descr
Normal file
@ -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/
|
151
security/nss/pkg-plist
Normal file
151
security/nss/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user