[Lunar-commits] CVS: moonbase/libs/readline POST_INSTALL, NONE, 1.1 BUILD, 1.1.1.1, 1.2 DETAILS, 1.2, 1.3

Terry Chan tchan at lunar-linux.org
Thu Jul 29 17:10:06 GMT 2004


Update of /var/cvs/lunar/moonbase/libs/readline
In directory dbguin.lunar-linux.org:/tmp/cvs-serv17858

Modified Files:
	BUILD DETAILS 
Added Files:
	POST_INSTALL 
Log Message:
Version bump to readline-5.0.  Compiled and tested with gcc-3.3.3, glibc-2.3.2,
kernel headers 2.4.x.  Added a POST_INSTALL to force a recompile of certain
modules that depend on readline, like bash, bash_static, sash, lftp, gftp,
icecast to name a few.  This POST_INSTALL can be safely removed as well as
the symlinks in the BUILD script, once everyone has updated to readline-5.x.


--- NEW FILE: POST_INSTALL ---
OUR_NEW_READLINE_VVV=$(lvu version readline | perl -pe 's/([0-9]).+/$1/')

if [[ "$OUR_NEW_READLINE_VVV" > "$OUR_OLD_READLINE_VVV" ]]; then

  for MOD in $(lvu depends readline | grep -v -e theedge -e lunar -e arch ) ; do
    if module_installed $MOD ; then
      lin -c $MOD
    fi
  done

fi

rm -f /lib/libreadline.so.4 &&
rm -f /lib/libhistory.so.4  &&
unset $OUR_OLD_READLINE_VVV

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/libs/readline/BUILD,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- BUILD	21 Aug 2002 00:55:17 -0000	1.1.1.1
+++ BUILD	29 Jul 2004 17:10:04 -0000	1.2
@@ -1,5 +1,6 @@
 (
 
+export OUR_OLD_READLINE_VVV=$(lvu installed readline | perl -pe 's/([0-9]).+/$1/') &&
 # ************************ WARNING *************************
 # DO NOT MESS WITH THE CONFIGURE STUFF here unless you
 # really know what you're doing! We chose the lib location
@@ -12,6 +13,10 @@
               --mandir=/usr/share/man    \
               --infodir=/usr/share/info  &&
 default_make                                   &&
+# temp hack to help in change over to readline-5.0 from readline-4.x
+# can be removed when everyone is over to readline 5.0
+ln -sf /lib/libreadline.so.5.0 /lib/libreadline.so.4 &&
+ln -sf /lib/libhistory.so.5.0  /lib/libhistory.so.4  &&
 ldconfig
 
 ) > $C_FIFO 2>&1 &&

Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/libs/readline/DETAILS,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- DETAILS	16 Dec 2002 04:11:09 -0000	1.2
+++ DETAILS	29 Jul 2004 17:10:04 -0000	1.3
@@ -1,13 +1,15 @@
           MODULE=readline
-         VERSION=4.3
-        #VERSION=4.2a
+         VERSION=5.0
+        #VERSION=4.3
           SOURCE=$MODULE-$VERSION.tar.gz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
-   SOURCE_URL[0]=$GNU_URL/$MODULE/$SOURCE
-   SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/$MODULE/$SOURCE
+   SOURCE_URL[0]=ftp://ftp.cwru.edu/pub/bash/$SOURCE
+   SOURCE_URL[1]=$GNU_URL/$MODULE/$SOURCE
+   SOURCE_URL[2]=ftp://ftp.gnu.org/pub/gnu/$MODULE/$SOURCE
+      SOURCE_VFY=md5:9a39d15f1ed592883f8c6671e8c13120
         WEB_SITE=http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
          ENTERED=20010922
-         UPDATED=20021215
+         UPDATED=20040727
            SHORT="readline lets users edit command lines as they are typed in."
 cat << EOF
 readline - Lets users edit command lines as they are typed in



More information about the Lunar-commits mailing list