[Lunar-commits] r19744 - in moonbase/trunk/zbeta: . nss

Moritz Heiber moe at lunar-linux.org
Thu Apr 20 14:31:31 UTC 2006


Author: moe
Date: 2006-04-20 14:31:30 +0000 (Thu, 20 Apr 2006)
New Revision: 19744

Added:
   moonbase/trunk/zbeta/nss/
   moonbase/trunk/zbeta/nss/BUILD
   moonbase/trunk/zbeta/nss/DETAILS
Log:
Adding this nss module here. Its in zbeta for a reason.

I tested it with gaim, and it works. However, I have no means
or will to test evolution or any other part that relies on those
headers. Go ahead and do it.

If it works for any other application that currently depends on
mozilla for the nss headers then we might as well use this module
to get rid of those dependencies.



Added: moonbase/trunk/zbeta/nss/BUILD
===================================================================
--- moonbase/trunk/zbeta/nss/BUILD	                        (rev 0)
+++ moonbase/trunk/zbeta/nss/BUILD	2006-04-20 14:31:30 UTC (rev 19744)
@@ -0,0 +1,35 @@
+(
+  export WORKINGDIR=$PWD  &&
+  export BUILD_OPT=1      &&
+
+  patch_it $SOURCE2 1     &&
+
+  cd mozilla/security/nss &&
+  make nss_build_all      &&
+  cd ../..                &&
+
+  export NSS_LINUXDIR=$(basename `ls -d $WORKINGDIR/mozilla/dist/Linux*`)
+
+  prepare_install &&
+
+  install -v -m755 nsprpub/$NSS_LINUXDIR/config/nspr-config \
+                   security/nss/cmd/config/nss-config \
+		   /usr/bin &&
+  
+  mkdir -p /usr/lib/pkgconfig &&
+  install -v -m644 nsprpub/lib/pkgconfig/nspr.pc \
+                   security/nss/lib/pkgconfig/nss.pc \
+		   /usr/lib/pkgconfig &&
+
+  cd dist &&
+
+  install -v -m755 ${NSS_LINUXDIR}/lib/*.so /usr/lib &&
+  install -v -m644 ${NSS_LINUXDIR}/lib/{*.chk,libcrmf.a} /usr/lib &&
+
+  mkdir -p /usr/include/{nss,nspr} &&
+  install -v -m644 {public,private}/nss/* /usr/include/nss/ &&
+  cp -v -RL ${NSS_LINUXDIR}/include/* /usr/include/nspr/ &&
+
+  chmod -v 0644 /usr/include/nspr/prvrsion.h
+
+) > $C_FIFO 2>&1

Added: moonbase/trunk/zbeta/nss/DETAILS
===================================================================
--- moonbase/trunk/zbeta/nss/DETAILS	                        (rev 0)
+++ moonbase/trunk/zbeta/nss/DETAILS	2006-04-20 14:31:30 UTC (rev 19744)
@@ -0,0 +1,21 @@
+          MODULE=nss
+         VERSION=3.11
+          SOURCE=$MODULE-$VERSION.tar.gz
+ 	 SOURCE2=nss-3.11-fedora_fixes-1.patch
+      SOURCE_URL=http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_RTM/src/
+     SOURCE2_URL=$PATCH_URL/
+      SOURCE_VFY=sha1:0abccde9a351fb9fa662c75754eb980e04fad482
+     SOURCE2_VFY=sha1:efa36f9b25571b1ba30cd5900a3d646fc02c86d5
+        WEB_SITE=http://www.mozilla.org
+         ENTERED=20060418
+         UPDATED=20060418
+           SHORT="a set of libraries to support development of security-enabled applications"
+cat << EOF
+The Network Security Services (NSS) package is a set of libraries
+designed to support cross-platform 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, X.509 v3 certificates, and other security standards. This
+is useful for implementing SSL and S/MIME or other Internet security
+standards into an application.
+EOF



More information about the Lunar-commits mailing list