[Lunar-commits] CVS: moonbase/crypto/openssl BUILD,1.5,1.6

Auke Kok sofar at lunar-linux.org
Wed Mar 23 22:58:01 UTC 2005


Update of /var/cvs/lunar/moonbase/crypto/openssl
In directory espresso.foo-projects.org:/home/sofar/active/moonbase/crypto/openssl

Modified Files:
	BUILD 
Log Message:
Fix this not to rebuild on minor (letter level) upgrades.


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/crypto/openssl/BUILD,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- BUILD	21 Mar 2005 10:28:56 -0000	1.5
+++ BUILD	23 Mar 2005 22:57:59 -0000	1.6
@@ -1,10 +1,12 @@
 (
 
-  # make sure the customer has the source for this one!
-  if module_is_expired $MODULE ; then
-	set_module_config OLD_VER="$(installed_version openssl)"
+  OLDV=$(installed_version openssl)
+  # only tag for recompile if MAJOR version change
+  if [ ${OLDV:0:5} != ${VERSION:0:5} ]; then
+    set_module_config OLD_VER="$(installed_version openssl)"
   fi &&
 
+  # make sure the customer has the source for this one!
   download_module wget &
 
   ./config  --prefix=/usr                       \



More information about the Lunar-commits mailing list