[Lunar-commits] CVS: moonbase/crypto/openssl BUILD, 1.4, 1.5 POST_INSTALL, 1.7, 1.8

Moritz Heiber moe at lunar-linux.org
Mon Mar 21 10:28:58 UTC 2005


Update of /var/cvs/lunar/moonbase/crypto/openssl
In directory espresso.foo-projects.org:/tmp/cvs-serv3045

Modified Files:
	BUILD POST_INSTALL 
Log Message:
Horribly broken. Do this the right way.


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/crypto/openssl/BUILD,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- BUILD	30 Sep 2003 22:43:58 -0000	1.4
+++ BUILD	21 Mar 2005 10:28:56 -0000	1.5
@@ -1,7 +1,10 @@
 (
 
   # 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/') &&
+  if module_is_expired $MODULE ; then
+	set_module_config OLD_VER="$(installed_version openssl)"
+  fi &&
+
   download_module wget &
 
   ./config  --prefix=/usr                       \

Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/crypto/openssl/POST_INSTALL,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- POST_INSTALL	3 Nov 2004 22:04:08 -0000	1.7
+++ POST_INSTALL	21 Mar 2005 10:28:56 -0000	1.8
@@ -2,11 +2,12 @@
 # bn.h include files.  This will allow gcc to correctly recompile
 # an openssl app.
 
+
 rm -rf /usr/lib/gcc-lib/*/$(installed_version gcc)/include/openssl &> /dev/null
 
-OUR_NEW_SSL_VVV=$(lvu version openssl | perl -pe 's/([0-9]\.[0-9]\.[0-9]).+/$1/')
+OUR_VER="$(get_module_config OLD_VER)"
 
-if [ ! $OUR_NEW_SSL_VVV==$OUR_OLD_SSL_VVV ]; then
+if [ ! -z $OLD_VER ]; then
   lin -c openssh wget
 
   for MOD in $(lvu depends openssl | grep -v -e openssh -e theedge -e lunar -e wget) pine ; do
@@ -16,3 +17,4 @@
   done
 fi
 
+unset_module_config OLD_VER



More information about the Lunar-commits mailing list