libnss: Add new package.
PATCH 1/1 libnss: Add new package.
NSS is the Network Security Services library developed as part of the Mozilla project. It provides similar functions to OpenSSL but allows MPL, GPL and LGPL licensing.
--- package/Config.in | 1 + package/libnss/Config.in | 13 +++++++ package/libnss/libnss-cross.patch | 19 +++++++++++ package/libnss/libnss-uclibc.patch | 11 ++++++ package/libnss/libnss.mk | 62 ++++++++++++++++++++++++++++++++++++ 5 files changed, 106 insertions(+), 0 deletions(-) create mode 100644 package/libnss/Config.in create mode 100644 package/libnss/libnss-cross.patch create mode 100644 package/libnss/libnss-uclibc.patch create mode 100644 package/libnss/libnss.mk
package/Config.in +1 -0
@@ -245,6 +245,7 @@ menu "Crypto" source "package/beecrypt/Config.in" source "package/libgcrypt/Config.in" source "package/libgpg-error/Config.in" +source "package/libnss/Config.in" source "package/openssl/Config.in" endmenu
package/libnss/Config.in new file +13 -0
@@ -0,0 +1,13 @@ +config BR2_PACKAGE_LIBNSS + bool "libnss" + depends on BR2_PACKAGE_LIBNSPR + depends on BR2_PACKAGE_SQLITE + depends on BR2_PACKAGE_ZLIB + help + Network Security Services (NSS) is a set of libraries designed + to support development of security-enabled client and server + applications. Applications built with NSS can support SSL v2 + and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, + and X.509 v3 certificates. + + http://www.mozilla.org/projects/security/pki/nss/
(quoted diff) +0 -0
b/package/libnss/libnss-cross.patch
new file mode 100644
index 0000000..7670511
package/libnss/libnss-cross.patch new file +1 -0
@@ -0,0 +1,19 @@ +--- libnss-3.12.9.old/mozilla/security/coreconf/Linux.mk 2011-03-01
10:31:21.517847183 +0000
++++ libnss-3.12.9/mozilla/security/coreconf/Linux.mk 2011-03-01
10:33:42.688648237 +0000
+@@ -46,9 +46,13 @@
+ IMPL_STRATEGY = _PTH
+ endif
+
+-CC = gcc +-CCC = g++ +-RANLIB = ranlib
++TARGETCC = gcc
++TARGETCCC = g++
++TARGETRANLIB = ranlib
++
++CC = $(TARGETCC)
++CCC = $(TARGETCCC)
++RANLIB = $(TARGETRANLIB)
+
+ DEFAULT_COMPILER = gcc
+
(quoted diff) +0 -0
b/package/libnss/libnss-uclibc.patch
new file mode 100644
index 0000000..e437067
package/libnss/libnss-uclibc.patch new file +1 -0
@@ -0,0 +1,11 @@ +--- libnss-3.12.9.old/mozilla/security/nss/lib/freebl/stubs.c 2011-03-01
10:41:35.226450100 +0000
++++ libnss-3.12.9/mozilla/security/nss/lib/freebl/stubs.c 2011-03-01
10:42:14.628507934 +0000
+@@ -539,7 +539,7 @@
+ * fetch the library if it's loaded. For NSS it should already be loaded
+ */
+ #define freebl_getLibrary(libName) \
+- dlopen (libName, RTLD_LAZY|RTLD_NOLOAD) ++ dlopen (libName, RTLD_LAZY)
+
+ #define freebl_releaseLibrary(lib) \
+ if (lib) dlclose(lib)
package/libnss/libnss.mk new file +62 -0
62 lines not on this page · raw message
Signature · 8 lines
1.7.3.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-libnss-Add-new-package.patch Type: text/x-patch Size: 5374 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110314/58df823a/attachment.bin>
PATCH 1/1 libnss: Add new package.
Quoted 3 lines · On Mon, 14 Mar 2011 17:24:56 +0000 Will Newton <[email protected]> wrote:
NSS is the Network Security Services library developed as part of the Mozilla project. It provides similar functions to OpenSSL but allows MPL, GPL and LGPL licensing.
Just curious, besides Mozilla software, are there other software components that rely on libnss ?
package/libnss/Config.in line 5
Quoted 5 lines
package/libnss/Config.in new file +5
-0+config BR2_PACKAGE_LIBNSS + bool "libnss" + depends on BR2_PACKAGE_LIBNSPR + depends on BR2_PACKAGE_SQLITE + depends on BR2_PACKAGE_ZLIB
The tradition is to use "select" dependencies for
non-obvious dependencies on libraries.
package/libnss/libnss-cross.patch
Quoted 2 lines
package/libnss/libnss-cross.patch +0
-0
Your patch seems wrapped.
The patch lacks a description.
Regards!
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 1/1 libnss: Add new package.
Quoted 9 lines · Thomas Petazzoni
Quoted 3 lines · On Mon, 14 Mar 2011 17:24:56 +0000 Will Newton <[email protected]> wrote:
NSS is the Network Security Services library developed as part of the Mozilla project. It provides similar functions to OpenSSL but allows MPL, GPL and LGPL licensing.
Just curious, besides Mozilla software, are there other software components that rely on libnss ?
Yes, there's a discussion about it here:
http://lwn.net/Articles/428292/
It's part of the LSB and is also used by some quite high profile proprietary software packages.
Quoted 8 lines
Quoted 5 lines
+config
BR2_PACKAGE_LIBNSS
+ ? ? bool "libnss"
+ ? ? depends onBR2_PACKAGE_LIBNSPR
+ ? ? depends onBR2_PACKAGE_SQLITE
+ ? ? depends onBR2_PACKAGE_ZLIBThe tradition is to use "select" dependencies for
non-obvious dependencies on libraries.
Ok, fixed.
Quoted 4 lines
package/libnss/libnss-cross.patch
Quoted 2 lines
package/libnss/libnss-cross.patch +0
-0Your patch seems wrapped.
Hopefully the attached version will not be word wrapped. Unfortunately gmail makes it very difficult not to word wrap patches (I don't have SMTP access from behind the corporate firewall).
Quoted 1 line
The patch lacks a description.
I've added some description to the patches.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libnss-Add-new-package.patch
Type: text/x-patch
Size: 5667 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110317/534f5819/attachment.bin>