From: Victor Martinez Date: Thu, 3 May 2018 19:40:43 +0000 (+0000) Subject: readline: updated to 7.0.3 X-Git-Url: http://gitweb/?a=commitdiff_plain;h=4a59c915b50866466dbec4a82de2f95dfe0e8178;p=crossrootfs.git readline: updated to 7.0.3 --- diff --git a/readline/.footprint b/readline/.footprint index a589eba..5827f0c 100644 --- a/readline/.footprint +++ b/readline/.footprint @@ -1,8 +1,10 @@ drwxr-xr-x root/root etc/ -rw-r--r-- root/root etc/inputrc drwxr-xr-x root/root lib/ +lrwxrwxrwx root/root lib/libhistory.so.6 -> libhistory.so.7.0 lrwxrwxrwx root/root lib/libhistory.so.7 -> libhistory.so.7.0 -r-xr-xr-x root/root lib/libhistory.so.7.0 +lrwxrwxrwx root/root lib/libreadline.so.6 -> libreadline.so.7.0 lrwxrwxrwx root/root lib/libreadline.so.7 -> libreadline.so.7.0 -r-xr-xr-x root/root lib/libreadline.so.7.0 drwxr-xr-x root/root usr/ diff --git a/readline/.md5sum b/readline/.md5sum index a9ba705..abc82e3 100644 --- a/readline/.md5sum +++ b/readline/.md5sum @@ -1,2 +1,3 @@ 553cf04fdeec54dca12062864c3ffba3 inputrc +820e38dae6c7ab9f6993928e954fb41b readline-7.0.3.patch.gz 205b03a87fc83dab653b628c59b9fc91 readline-7.0.tar.gz diff --git a/readline/Pkgfile b/readline/Pkgfile index 92475a9..47122f2 100644 --- a/readline/Pkgfile +++ b/readline/Pkgfile @@ -5,13 +5,15 @@ # Depends on: ncurses name=readline -version=7.0 +version=7.0.3 release=1 -source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz - inputrc) +source=(http://ftpmirror.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz + $name-$version.patch.gz inputrc) build() { - cd $name-$version + cd $name-${version:0:3} + + gunzip -c $SRC/$name-$version.patch.gz | patch -p0 # Don't use rpath for linking the shared libs sed -i '117s/-Wl,-rpath,$(libdir)//' support/shobj-conf @@ -27,6 +29,10 @@ build() { ln -sf ../../lib/libhistory.so.${version:0:3} $PKG/usr/lib/libhistory.so ln -sf ../../lib/libreadline.so.${version:0:3} $PKG/usr/lib/libreadline.so + # Compatibility symlinks, remove later + ln -s libreadline.so.7.0 $PKG/lib/libreadline.so.6 + ln -s libhistory.so.7.0 $PKG/lib/libhistory.so.6 + install -D -m 644 $SRC/inputrc $PKG/etc/inputrc rm -r $PKG/usr/share/{doc,info} }