[csw-devel] SF.net SVN: gar:[16793] csw/mgar/pkg/nss/trunk
cgrzemba at users.sourceforge.net
cgrzemba at users.sourceforge.net
Wed Jan 18 12:58:51 CET 2012
Revision: 16793
http://gar.svn.sourceforge.net/gar/?rev=16793&view=rev
Author: cgrzemba
Date: 2012-01-18 11:58:50 +0000 (Wed, 18 Jan 2012)
Log Message:
-----------
nss/trunk: create lib packages, fix bad-rpath
Modified Paths:
--------------
csw/mgar/pkg/nss/trunk/Makefile
csw/mgar/pkg/nss/trunk/files/nss.pc
Modified: csw/mgar/pkg/nss/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nss/trunk/Makefile 2012-01-18 10:08:28 UTC (rev 16792)
+++ csw/mgar/pkg/nss/trunk/Makefile 2012-01-18 11:58:50 UTC (rev 16793)
@@ -13,6 +13,14 @@
#
# TODO: nss-config
# TODO: a better nss.pc
+#
+# there are a lot of other tools, which are not in the package at the moment,
+# some of them was part of the 'Netscape/iPlanet Certificate Management System', see:
+# http://docs.oracle.com/cd/E19850-01/816-6400-10/pkcsutil.html
+# http://docs.oracle.com/cd/E19397-01/816-5549-10/contents.htm
+# thats someone needs
+# other resources: news group mozilla.dev.tech.crypto
+# http://www.mozilla.org/projects/security/pki/nss/tools/
NAME = nss
MAJOR_VERSION = 3
@@ -35,23 +43,123 @@
DISTFILES += mpl-tri-license-txt
UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
-PACKAGES = CSWlibnss3 CSWlibnss-dev CSWlibnss3-tools
+PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
+PACKAGES += CSWlibfreebl32fpu3
+CATALOGNAME_CSWlibfreebl32fpu3 = libfreebl32fpu3
+SPKG_DESC_CSWlibfreebl32fpu3 = Network Security Services library, libfreebl_32fpu_3
+PKGFILES_CSWlibfreebl32fpu3 += $(call baseisadirs,$(libdir),libfreebl_32fpu_3\.so)
+PKGFILES_CSWlibfreebl32fpu3 += $(call baseisadirs,$(libdir),libfreebl_32fpu_3\.so(\.\d+)*)
+SPKG_DESC_CSWlibfreebl32fpu3 += $(DESCRIPTION), libfreebl_32fpu_3.so
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibfreebl32fpu3
+
+PACKAGES += CSWlibfreebl32int64-3
+CATALOGNAME_CSWlibfreebl32int64-3 = libfreebl32int64_3
+SPKG_DESC_CSWlibfreebl32int64-3 = Network Security Services library, libfreebl_32int64_3
+PKGFILES_CSWlibfreebl32int64-3 += $(call baseisadirs,$(libdir),libfreebl_32int64_3\.so)
+PKGFILES_CSWlibfreebl32int64-3 += $(call baseisadirs,$(libdir),libfreebl_32int64_3\.so(\.\d+)*)
+SPKG_DESC_CSWlibfreebl32int64-3 += $(DESCRIPTION), libfreebl_32int64_3.so
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibfreebl32int64-3
+
+PACKAGES += CSWlibfreebl32int3
+CATALOGNAME_CSWlibfreebl32int3 = libfreebl32int3
+SPKG_DESC_CSWlibfreebl32int3 = Network Security Services library, libfreebl_32int_3
+PKGFILES_CSWlibfreebl32int3 += $(call baseisadirs,$(libdir),libfreebl_32int_3\.so)
+PKGFILES_CSWlibfreebl32int3 += $(call baseisadirs,$(libdir),libfreebl_32int_3\.so(\.\d+)*)
+SPKG_DESC_CSWlibfreebl32int3 += $(DESCRIPTION), libfreebl_32int_3.so
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibfreebl32int3
+
+PACKAGES += CSWlibnss3
+CATALOGNAME_CSWlibnss3 = libnss3
SPKG_DESC_CSWlibnss3 = Network Security Services library, implements crypto, PKI, SSL, and S/MIME support
-SPKG_DESC_CSWlibnss-dev = libnss development files
-SPKG_DESC_CSWlibnss3-tools = libnss3 command-line utilities
+PKGFILES_CSWlibnss3 += $(call baseisadirs,$(libdir),libnss3\.so)
+PKGFILES_CSWlibnss3 += $(call baseisadirs,$(libdir),libnss3\.so(\.\d+)*)
+SPKG_DESC_CSWlibnss3 += $(DESCRIPTION), libnss3.so
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibnss3
-PKGFILES_CSWlibnss-dev = $(PKGFILES_DEVEL)
-PKGFILES_CSWlibnss3-tools = $(bindir).*
+PACKAGES += CSWlibnssckbi
+CATALOGNAME_CSWlibnssckbi = libnssckbi
+SPKG_DESC_CSWlibnssckbi = Network Security Services library, libnssckbi
+PKGFILES_CSWlibnssckbi += $(call baseisadirs,$(libdir),libnssckbi\.so)
+PKGFILES_CSWlibnssckbi += $(call baseisadirs,$(libdir),libnssckbi\.so(\.\d+)*)
+SPKG_DESC_CSWlibnssckbi += $(DESCRIPTION), libnssckbi.so
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibnssckbi
+PACKAGES += CSWlibnssdbm3
+CATALOGNAME_CSWlibnssdbm3 = libnssdbm3
+SPKG_DESC_CSWlibnssdbm3 = Network Security Services library, libnssdbm3
+PKGFILES_CSWlibnssdbm3 += $(call baseisadirs,$(libdir),libnssdbm3\.so)
+PKGFILES_CSWlibnssdbm3 += $(call baseisadirs,$(libdir),libnssdbm3\.so(\.\d+)*)
+SPKG_DESC_CSWlibnssdbm3 += $(DESCRIPTION), libnssdbm3.so
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibnssdbm3
+
+PACKAGES += CSWlibnssutil3
+CATALOGNAME_CSWlibnssutil3 = libnssutil3
+SPKG_DESC_CSWlibnssutil3 = Network Security Services library, libnssutil3
+PKGFILES_CSWlibnssutil3 += $(call baseisadirs,$(libdir),libnssutil3\.so)
+PKGFILES_CSWlibnssutil3 += $(call baseisadirs,$(libdir),libnssutil3\.so(\.\d+)*)SPKG_DESC_CSWlibnssutil3 += $(DESCRIPTION), libnssutil3.so
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibnssutil3
+
+PACKAGES += CSWlibsmime3
+CATALOGNAME_CSWlibsmime3 = libsmime3
+SPKG_DESC_CSWlibsmime3 = Network Security Services library, libsmime3
+PKGFILES_CSWlibsmime3 += $(call baseisadirs,$(libdir),libsmime3\.so)
+PKGFILES_CSWlibsmime3 += $(call baseisadirs,$(libdir),libsmime3\.so(\.\d+)*)
+SPKG_DESC_CSWlibsmime3 += $(DESCRIPTION), libsmime3.so
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibsmime3
+
+PACKAGES += CSWlibsoftokn3
+CATALOGNAME_CSWlibsoftokn3 = libsoftokn3
+SPKG_DESC_CSWlibsoftokn3 = Network Security Services library, libsoftokn3
+PKGFILES_CSWlibsoftokn3 += $(call baseisadirs,$(libdir),libsoftokn3\.so)
+PKGFILES_CSWlibsoftokn3 += $(call baseisadirs,$(libdir),libsoftokn3\.so(\.\d+)*)SPKG_DESC_CSWlibsoftokn3 += $(DESCRIPTION), libsoftokn3.so
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibsoftokn3
+
+PACKAGES += CSWlibssl3
+CATALOGNAME_CSWlibssl3 = libssl3
+SPKG_DESC_CSWlibssl3 = Network Security Services library, libssl3
+PKGFILES_CSWlibssl3 += $(call baseisadirs,$(libdir),libssl3\.so)
+PKGFILES_CSWlibssl3 += $(call baseisadirs,$(libdir),libssl3\.so(\.\d+)*)
+SPKG_DESC_CSWlibssl3 += $(DESCRIPTION), libssl3.so
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibssl3
+
+PACKAGES += CSWlibfreebl64fpu3
+CATALOGNAME_CSWlibfreebl64fpu3 = libfreebl64fpu3
+SPKG_DESC_CSWlibfreebl64fpu3 = Network Security Services library, libfreebl64fpu3
+PKGFILES_CSWlibfreebl64fpu3 += $(call baseisadirs,$(libdir),libfreebl_64fpu_3\.so)
+PKGFILES_CSWlibfreebl64fpu3 += $(call baseisadirs,$(libdir),libfreebl_64fpu_3\.so(\.\d+)*)
+SPKG_DESC_CSWlibfreebl64fpu3 += $(DESCRIPTION), libfreebl_64fpu_3.so
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibfreebl64fpu3
+
+PACKAGES += CSWlibfreebl64int3
+CATALOGNAME_CSWlibfreebl64int3 = libfreebl64int3
+SPKG_DESC_CSWlibfreebl64int3 = Network Security Services library, libfreebl64int3
+PKGFILES_CSWlibfreebl64int3 += $(call baseisadirs,$(libdir),libfreebl_64int_3\.so)
+PKGFILES_CSWlibfreebl64int3 += $(call baseisadirs,$(libdir),libfreebl_64int_3\.so(\.\d+)*)
+SPKG_DESC_CSWlibfreebl64int3 += $(DESCRIPTION), libfreebl_64int_3.so
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibfreebl64int3
+
+PACKAGES += CSWlibnss-dev
CATALOGNAME_CSWlibnss-dev = libnss_dev
-CATALOGNAME_CSWlibnss3-tools = libnss3_tools
+SPKG_DESC_CSWlibnss-dev = Network Security Services library, development files
+PKGFILES_CSWlibnss-dev = $(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibnss3
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibsqlite3-0
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibnspr4
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibplds4
+RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibplc4
OBSOLETED_BY_CSWlibnss-dev = CSWlibnss3-devel
-RUNTIME_DEP_PKGS_CSWlibnss3 = CSWnspr CSWsqlite3rt
-RUNTIME_DEP_PKGS_CSWlibnss-dev += CSWlibnss3
+PACKAGES += CSWlibnss3-tools
+CATALOGNAME_CSWlibnss3-tools = libnss3_tools
+SPKG_DESC_CSWlibnss3-tools = Network Security Services library, command-line utilities
+PKGFILES_CSWlibnss3-tools = $(bindir).*
RUNTIME_DEP_PKGS_CSWlibnss3-tools += CSWlibnss3
-RUNTIME_DEP_PKGS_CSWlibnss3-tools += CSWnspr
+RUNTIME_DEP_PKGS_CSWlibnss3-tools += CSWlibplc4
+RUNTIME_DEP_PKGS_CSWlibnss3-tools += CSWlibnspr4
+RUNTIME_DEP_PKGS_CSWlibnss3-tools += CSWlibplds4
+RUNTIME_DEP_PKGS_CSWlibnss3-tools += CSWlibnss-dev
+
BUILD_DEP_PKGS = $(RUNTIME_DEP_PKGS) CSWnspr-dev CSWlibsqlite3-dev
CONFIGURE_SCRIPTS =
@@ -142,7 +250,9 @@
# http://lists.opencsw.org/pipermail/pkgsubmissions/2010-February/000167.html
# NOISAEXEC = 1
-CPPFLAGS=
+CPPFLAGS =
+LD_OPTIONS =
+NSS_LD_OPTIONS = -R/opt/csw/lib/$$ISALIST
include gar/category.mk
@@ -168,7 +278,7 @@
build-nss-compile:
(cd $(WORKSRC)/mozilla/security/nss \
&& \
- CPPFLAGS='$(CPPFLAGS)' LD_OPTIONS='$(LD_OPTIONS) -R/opt/csw/lib/$$$$ISALIST' \
+ CPPFLAGS='$(CPPFLAGS)' LD_OPTIONS='$(LD_OPTIONS) $(NSS_LD_OPTIONS)' \
gmake -j1)
@$(MAKECOOKIE)
Modified: csw/mgar/pkg/nss/trunk/files/nss.pc
===================================================================
--- csw/mgar/pkg/nss/trunk/files/nss.pc 2012-01-18 10:08:28 UTC (rev 16792)
+++ csw/mgar/pkg/nss/trunk/files/nss.pc 2012-01-18 11:58:50 UTC (rev 16793)
@@ -5,7 +5,7 @@
Name: NSS
Description: Network Security Services
-Version: 3.12.4
-Requires: nspr >= 4.8.0
+Version: 3.12.11
+Requires: nspr >= 4.8.9
Libs: -L${libdir} -lssl3 -lsmime3 -lnss3 -lnssutil3 -R${libdir}
Cflags: -I${includedir}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list