diff --git a/package/public/nspr/nspr.conf b/package/public/nspr/nspr.conf new file mode 100644 index 000000000..01ae5d15c --- /dev/null +++ b/package/public/nspr/nspr.conf @@ -0,0 +1,24 @@ +srcdir="nss-$ver/mozilla/security/nss" + +var_append makeopt " " "nss_build_all" + +hook_add premake 5 nss_premake +hook_add postmake 5 nss_postmake + +nss_premake () +{ + tar -xf $archdir/nspr-$nspr_ver.tar.bz2 + mv nspr-$nspr_ver/mozilla/nsprpub $builddir/nss-$ver/mozilla/ +} + +nss_postmake () +{ + rm -f ../../dist/Linux*/bin/lib*.so + cp -LpR ../../dist/Linux*/bin/* $bindir + mkdir -p $includedir/{nss,nspr} + cp -LpR ../../dist/public/nss/* $includedir/nss + cp -LpR ../../dist/Linux*/include/* $includedir/nspr + # openssl also contains a libssl.a file + ( cd ../../dist/Linux*/lib/ ; mv libssl{,-nss}.a ; ) + cp -LpR ../../dist/Linux*/lib/* $libdir +} diff --git a/package/public/nspr/nspr.desc b/package/public/nspr/nspr.desc new file mode 100644 index 000000000..85327c931 --- /dev/null +++ b/package/public/nspr/nspr.desc @@ -0,0 +1,52 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/public/nspr/nspr.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] Netscape portable runtime library and Network Security Services + +[T] Netscape Portable Runtime (NSPR) provides a platform-neutral API for system +[T] level and libc like functions. The API is used in the Mozilla client, many +[T] of Netscape/AOL/iPlanet's and other software offerings. +[T] +[T] Network Security Services (NSS) is a set of libraries designed to support +[T] cross-platform development of security-enabled client and server +[T] applications. +[T] Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, +[T] PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other +[T] security standards. + +[U] http://www.mozilla.org/projects/nspr/ +[U] http://www.mozilla.org/projects/security/pki/nss/ + +[A] Mozilla Foundation +[M] The ROCK Linux Project + +[C] extra/development + +[L] MPL +[S] Stable +[V] 3.11.3 +[O] nspr_ver=4.6.3 +[P] X -----5---9 150.000 + +[D] 1610069464 nss-3.11.3.tar.gz ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_3_RTM/src/ +[D] 2186196340 nspr-4.6.3.tar.gz ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.6.3/src/