3 changed files with 127 additions and 0 deletions
			
			
		@ -0,0 +1,26 @@
					 | 
				
			||||
 | 
				
			||||
[TIMESTAMP] 1302519570 Mon Apr 11 12:59:30 2011 | 
				
			||||
[BUILDTIME] 25 (5) | 
				
			||||
[SIZE] 17.27 MB, 184 files | 
				
			||||
 | 
				
			||||
[DEP] bash | 
				
			||||
[DEP] binutils | 
				
			||||
[DEP] bzip2 | 
				
			||||
[DEP] coreutils | 
				
			||||
[DEP] diffutils | 
				
			||||
[DEP] fhs | 
				
			||||
[DEP] findutils | 
				
			||||
[DEP] gawk | 
				
			||||
[DEP] gcc | 
				
			||||
[DEP] glibc | 
				
			||||
[DEP] grep | 
				
			||||
[DEP] linux-header | 
				
			||||
[DEP] make | 
				
			||||
[DEP] nspr | 
				
			||||
[DEP] perl | 
				
			||||
[DEP] sed | 
				
			||||
[DEP] sqlite | 
				
			||||
[DEP] sysfiles | 
				
			||||
[DEP] tar | 
				
			||||
[DEP] util-linux-ng | 
				
			||||
[DEP] zlib | 
				
			||||
@ -0,0 +1,63 @@
					 | 
				
			||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- | 
				
			||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. | 
				
			||||
# | 
				
			||||
# Filename: package/.../nss/nss.conf | 
				
			||||
# Copyright (C) 2011 The OpenSDE Project | 
				
			||||
# | 
				
			||||
# More information can be found in the files COPYING and README. | 
				
			||||
# | 
				
			||||
# This program is free software; you can redistribute it and/or modify | 
				
			||||
# it under the terms of the GNU General Public License as published by | 
				
			||||
# the Free Software Foundation; version 2 of the License. A copy of the | 
				
			||||
# GNU General Public License can be found in the file COPYING. | 
				
			||||
# --- SDE-COPYRIGHT-NOTE-END --- | 
				
			||||
 | 
				
			||||
srcdir=$pkg-$ver/mozilla/security | 
				
			||||
libdir="$libdir/$pkg" | 
				
			||||
includedir="$includedir/$pkg" | 
				
			||||
 | 
				
			||||
# use buildloops because first we need to build stuff in 3 different subdirs | 
				
			||||
buildloops=3 | 
				
			||||
 | 
				
			||||
nss_preconf() { | 
				
			||||
	# reset make options | 
				
			||||
	makeopt='' | 
				
			||||
	var_append makeopt ' ' "NSPR_INCLUDE_DIR=$(pkgprefix -r includedir nspr)" | 
				
			||||
	var_append makeopt ' ' "NSPR_LIB_DIR=$(pkgprefix -r libdir nspr)" | 
				
			||||
 | 
				
			||||
	if pkginstalled -f sqlite; then | 
				
			||||
		var_append makeopt ' ' "NSS_USE_SYSTEM_SQLITE=1" | 
				
			||||
	fi | 
				
			||||
 | 
				
			||||
	var_append makeopt ' ' "NSS_ENABLE_ECC=1" | 
				
			||||
	var_append makeopt ' ' "FREEBL_NO_DEPEND=1" | 
				
			||||
	var_append makeopt ' ' "OBJDIR_NAME=$pkg-build" | 
				
			||||
 | 
				
			||||
	var_append makeopt ' ' "NSDISTMODE=copy" | 
				
			||||
 | 
				
			||||
	case $buildloop in | 
				
			||||
		1)	var_insert makeopt ' ' "-C coreconf" | 
				
			||||
			;; | 
				
			||||
		2)	var_insert makeopt ' ' "-C dbm" | 
				
			||||
			;; | 
				
			||||
		3)	var_insert makeopt ' ' "-C nss" | 
				
			||||
			# run custom install function | 
				
			||||
			hook_add postmake 5 'nss_install' | 
				
			||||
			;; | 
				
			||||
	esac	 | 
				
			||||
} | 
				
			||||
hook_add preconf 3 'nss_preconf' | 
				
			||||
 | 
				
			||||
# do not run make install | 
				
			||||
makeinstopt="" | 
				
			||||
 | 
				
			||||
# custom install function | 
				
			||||
nss_install() { | 
				
			||||
	echo "installing ..." | 
				
			||||
	rm -rf $root$includedir | 
				
			||||
	mkdir -p $root$includedir | 
				
			||||
	cp -av ../dist/public/nss/*.h $root$includedir/ | 
				
			||||
	cp -avf ../dist/$pkg-build/lib/*.a $root$libdir/ | 
				
			||||
	cp -avf ../dist/$pkg-build/lib/*.so $root$libdir/ | 
				
			||||
	cp -avf ../dist/$pkg-build/bin/* $root$bindir/ | 
				
			||||
} | 
				
			||||
@ -0,0 +1,38 @@
					 | 
				
			||||
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- | 
				
			||||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. | 
				
			||||
[COPY] | 
				
			||||
[COPY] Filename: package/.../nss/nss.desc | 
				
			||||
[COPY] Copyright (C) 2011 The OpenSDE Project | 
				
			||||
[COPY] | 
				
			||||
[COPY] More information can be found in the files COPYING and README. | 
				
			||||
[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; version 2 of the License. A copy of the | 
				
			||||
[COPY] GNU General Public License can be found in the file COPYING. | 
				
			||||
[COPY] --- SDE-COPYRIGHT-NOTE-END --- | 
				
			||||
 | 
				
			||||
[I] A set of libraries for developing security-enabled applications | 
				
			||||
 | 
				
			||||
[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.  Applications built with NSS can support SSL v2 and v3, TLS, | 
				
			||||
[T] PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and | 
				
			||||
[T] other security standards. For detailed information on standards supported, | 
				
			||||
[T] see Overview of NSS | 
				
			||||
 | 
				
			||||
[U] http://www.mozilla.org/projects/security/pki/nss/ | 
				
			||||
 | 
				
			||||
[A] The Mozilla Foundation | 
				
			||||
[M] The OpenSDE Community <[email protected]> | 
				
			||||
 | 
				
			||||
[C] extra/library | 
				
			||||
 | 
				
			||||
[F] NOPARALLEL | 
				
			||||
 | 
				
			||||
[L] MPL GPL LGPL | 
				
			||||
[S] Stable | 
				
			||||
[V] 3.12.9 | 
				
			||||
[P] X -----5---9 150.050 | 
				
			||||
 | 
				
			||||
[D] 0 nss-3.12.9.tar.gz ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_9_RTM/src/ | 
				
			||||
					Loading…
					
					
				
		Reference in new issue