CVS: moonbase/crypto/openssl/0.9.6k BUILD, 1.1, 1.2 POST_INSTALL, 1.1, 1.2

elaine at lunar-linux.org elaine at lunar-linux.org
Wed Oct 1 02:22:02 GMT 2003


Update of /var/cvs/lunar/moonbase/crypto/openssl/0.9.6k
In directory dbguin.lunar-linux.org:/tmp/cvs-serv23072

Modified Files:
	BUILD POST_INSTALL 
Log Message:
added no-rebuild logic if not bumping x.y.z version 


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/crypto/openssl/0.9.6k/BUILD,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BUILD	30 Sep 2003 16:59:52 -0000	1.1
+++ BUILD	1 Oct 2003 02:22:00 -0000	1.2
@@ -1,6 +1,9 @@
 (
 
   # make sure the customer has the source for this one!
+
+  export OUR_OLD_SSL_VVV=$(lvu installed openssl | perl -pe 's/([0-9]\.[0-9]\.[0-9]).+/$1/') &&
+  export OUR_OLD_SSL_SUB_VVV=$(lvu installed openssl/${VERSION} | perl -pe 's/([0-9]\.[0-9]\.[0-9]).+/$1/') &&
   download_module wget &
 
   ./config  --prefix=/usr                       \

Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/crypto/openssl/0.9.6k/POST_INSTALL,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- POST_INSTALL	30 Sep 2003 16:59:52 -0000	1.1
+++ POST_INSTALL	1 Oct 2003 02:22:00 -0000	1.2
@@ -4,13 +4,18 @@
 
 rm -rf /usr/lib/gcc-lib/*/$(installed_version gcc)/include/openssl &> /dev/null
 
-lin -c openssh wget
+OUR_NEW_SSL_VVV=$(lvu version openssl | perl -pe 's/([0-9]\.[0-9]\.[0-9]).+/$1/')
+OUR_NEW_SSL__SUB_VVV=$(lvu version openssl/${VERSION} | perl -pe 's/([0-9]\.[0-9]\.[0-9]).+/$1/') &&
 
-for MOD in $(lvu depends openssl | grep -v -e openssh -e theedge -e lunar -e wget) pine ; do
-  if module_installed $MOD ; then
-    lin -c $MOD
-  fi
-done
+if [ ! $OUR_NEW_SSL_SUB_VVV==$OUR_OLD_SSL_SUB_VVV ] && [ ! $OUR_NEW_SSL_SUB_VVV==$OUR_NEW_SSL_VVV ]; then
+  lin -c openssh wget
+
+  for MOD in $(lvu depends openssl | grep -v -e openssh -e theedge -e lunar -e wget) pine ; do
+    if module_installed $MOD ; then
+      lin -c $MOD
+    fi
+  done
+fi
 
 #fixup certs for imaps and pop3s
 CERTHOME="/etc/ssl/certs"




More information about the Lunar-commits mailing list