summaryrefslogtreecommitdiffstats
path: root/security/nss/tests/dll_version.sh
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /security/nss/tests/dll_version.sh
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'security/nss/tests/dll_version.sh')
-rwxr-xr-xsecurity/nss/tests/dll_version.sh50
1 files changed, 50 insertions, 0 deletions
diff --git a/security/nss/tests/dll_version.sh b/security/nss/tests/dll_version.sh
new file mode 100755
index 000000000..79a128585
--- /dev/null
+++ b/security/nss/tests/dll_version.sh
@@ -0,0 +1,50 @@
+#!/bin/sh
+
+# version controll for DLLs
+# ToDo: make version parameter or find version from first occurance of 3.x
+# make the 3 a variable..., include the header
+
+#OS=`uname -s`
+#DSO_SUFFIX=so
+#if [ "$OS" = "HP-UX" ]; then
+ #DSO_SUFFIX=sl
+#fi
+#what libnss3.$DSO_SUFFIX | grep NSS
+#what libsmime3.$DSO_SUFFIX | grep NSS
+#what libssl3.$DSO_SUFFIX | grep NSS
+#ident libnss3.$DSO_SUFFIX | grep NSS
+#ident libsmime3.$DSO_SUFFIX | grep NSS
+#ident libssl3.$DSO_SUFFIX | grep NSS
+
+for w in `find . -name "libnss3.s[ol]" ; find . -name "libsmime3.s[ol]"; find . -name "libssl3.s[ol]"`
+do
+ NOWHAT=FALSE
+ NOIDENT=FALSE
+ echo $w
+ what $w | grep NSS || NOWHAT=TRUE
+ ident $w | grep NSS || NOIDENT=TRUE
+ if [ $NOWHAT = TRUE ]
+ then
+ echo "ERROR what $w does not contain NSS"
+ fi
+ if [ $NOIDENT = TRUE ]
+ then
+ echo "ERROR ident $w does not contain NSS"
+ fi
+done
+#for w in `find . -name "libnss3.s[ol]" ; find . -name "libsmime3.s[ol]"; find .
+#-name "libssl3.s[ol]"`
+#do
+ #NOWHAT=FALSE
+ #NOIDENT=FALSE
+ #echo $w
+ #what $w | grep NSS || NOWHAT=TRUE
+ #ident $w | grep NSS || NOIDENT=TRUE
+ #if [ $NOWHAT = TRUE -a $NOIDENT = TRUE ]
+ #then
+ #echo "WARNING what and ident $w does not contain NSS"
+ #strings $w | grep NSS | grep '3.2' || echo "ERROR strings does
+#not either..."
+ #fi
+#done
+