CVS: moonbase/crypto/openssl BUILD,1.3,1.4 POST_INSTALL,1.4,1.5

elaine at lunar-linux.org elaine at lunar-linux.org
Tue Sep 30 22:44:00 GMT 2003


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

Modified Files:
	BUILD POST_INSTALL 
Log Message:
Added hack to save building dependencies if v.v.v isn't changed


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/crypto/openssl/BUILD,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- BUILD	8 Jun 2003 20:20:54 -0000	1.3
+++ BUILD	30 Sep 2003 22:43:58 -0000	1.4
@@ -1,6 +1,7 @@
 (
 
   # 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/') &&
   download_module wget &
 
   ./config  --prefix=/usr                       \

Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/crypto/openssl/POST_INSTALL,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- POST_INSTALL	8 Jun 2003 10:22:50 -0000	1.4
+++ POST_INSTALL	30 Sep 2003 22:43:58 -0000	1.5
@@ -4,13 +4,17 @@
 
 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/')
 
-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_VVV==$OUR_OLD_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