summaryrefslogtreecommitdiffstats
path: root/recipe.d
diff options
context:
space:
mode:
authorAl Stone <ahs3@redhat.com>2012-12-27 18:34:34 -0700
committerAl Stone <ahs3@redhat.com>2012-12-27 18:34:34 -0700
commitf46e25cb6c53691a31e6aeb5a00c196fcbcbe45d (patch)
treef3cfad9cebbda09fa7c850212fa6300d4009fc66 /recipe.d
parenta9a737396e9177e66c0d5ec9416398dfb99586d7 (diff)
downloadbootstrap.git.DONOTUSE-f46e25cb6c53691a31e6aeb5a00c196fcbcbe45d.tar.gz
bootstrap.git.DONOTUSE-f46e25cb6c53691a31e6aeb5a00c196fcbcbe45d.tar.xz
bootstrap.git.DONOTUSE-f46e25cb6c53691a31e6aeb5a00c196fcbcbe45d.zip
Added in direction to build 64-bit version of nss-softokn
Signed-off-by: Al Stone <ahs3@redhat.com>
Diffstat (limited to 'recipe.d')
-rw-r--r--recipe.d/0024-nss-softokn25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipe.d/0024-nss-softokn b/recipe.d/0024-nss-softokn
index aacb85c..cebed68 100644
--- a/recipe.d/0024-nss-softokn
+++ b/recipe.d/0024-nss-softokn
@@ -29,6 +29,31 @@ export FREEBL_NO_DEPEND
NSS_USE_SYSTEM_SQLITE=1
export NSS_USE_SYSTEM_SQLITE
+if [ "$SUFFIX" = "64" ]
+then
+ USE_64=1
+ export USE_64
+fi
+
+# publish some header files from NSS to eliminate a
+# circular dependency -- these will be replaced when
+# the nss package gets built
+[ ! -d /usr/include/nss3 ] && mkdir /usr/include/nss3
+for ii in cryptohi/cryptohi.h cryptohi/cryptoht.h \
+ cryptohi/key.h cryptohi/keyhi.h cryptohi/keythi.h cryptohi/keyt.h \
+ certdb/certt.h certdb/cert.h certdb/certdb.h \
+ freebl/blapit.h freebl/hasht.h \
+ freebl/ecl/ecl-exp.h \
+ pk11wrap/secpkcs5.h pk11wrap/pk11func.h pk11wrap/pk11pub.h \
+ pk11wrap/pk11priv.h \
+ pkcs7/secpkcs7.h pkcs7/pkcs7t.h \
+ softoken/secmodt.h \
+ smime/cmsreclist.h \
+ ssl/sslerr.h ssl/sslt.h ssl/ssl.h ssl/sslproto.h
+do
+ cp $SRC/nss-3.*/mozilla/security/nss/lib/$ii /usr/include/nss3
+done
+
make -C $SRC/nss-softokn-3.*/mozilla/security/coreconf
make -C $SRC/nss-softokn-3.*/mozilla/security/dbm
make -C $SRC/nss-softokn-3.*/mozilla/security/nss