diff options
author | Lukc <lukc@upyum.com> | 2010-12-11 19:15:23 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-11 19:15:35 +0100 |
commit | 6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch) | |
tree | b5e6da6d95b9a1235d82032b509b80483a886ff5 /readline | |
download | base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2 base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip |
Engagement initial.
Diffstat (limited to 'readline')
-rw-r--r-- | readline/.footprint | 40 | ||||
-rw-r--r-- | readline/.md5sum | 3 | ||||
-rw-r--r-- | readline/Pkgfile | 24 | ||||
-rw-r--r-- | readline/Pkgfile.old | 28 | ||||
-rw-r--r-- | readline/inputrc | 26 | ||||
-rw-r--r-- | readline/readline-6.1-001-002.patch.gz | bin | 0 -> 1080 bytes |
6 files changed, 121 insertions, 0 deletions
diff --git a/readline/.footprint b/readline/.footprint new file mode 100644 index 0000000..5597b42 --- /dev/null +++ b/readline/.footprint @@ -0,0 +1,40 @@ +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.6.1 +-r-xr-xr-x root/root lib/libhistory.so.6.1 +lrwxrwxrwx root/root lib/libreadline.so.6 -> libreadline.so.6.1 +-r-xr-xr-x root/root lib/libreadline.so.6.1 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/readline/ +-rw-r--r-- root/root usr/include/readline/chardefs.h +-rw-r--r-- root/root usr/include/readline/history.h +-rw-r--r-- root/root usr/include/readline/keymaps.h +-rw-r--r-- root/root usr/include/readline/readline.h +-rw-r--r-- root/root usr/include/readline/rlconf.h +-rw-r--r-- root/root usr/include/readline/rlstdc.h +-rw-r--r-- root/root usr/include/readline/rltypedefs.h +-rw-r--r-- root/root usr/include/readline/tilde.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libhistory.a +lrwxrwxrwx root/root usr/lib/libhistory.so -> ../../lib/libhistory.so.6.1 +-rw-r--r-- root/root usr/lib/libreadline.a +lrwxrwxrwx root/root usr/lib/libreadline.so -> ../../lib/libreadline.so.6.1 +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man3/ +-rw-r--r-- root/root usr/man/man3/history.3.gz +-rw-r--r-- root/root usr/man/man3/readline.3.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/readline/ +-rw-r--r-- root/root usr/share/readline/excallback.c +-rw-r--r-- root/root usr/share/readline/fileman.c +-rw-r--r-- root/root usr/share/readline/histexamp.c +-rw-r--r-- root/root usr/share/readline/manexamp.c +-rw-r--r-- root/root usr/share/readline/rl-fgets.c +-rw-r--r-- root/root usr/share/readline/rl.c +-rw-r--r-- root/root usr/share/readline/rlcat.c +-rw-r--r-- root/root usr/share/readline/rlevent.c +-rw-r--r-- root/root usr/share/readline/rlptytest.c +-rw-r--r-- root/root usr/share/readline/rltest.c +-rw-r--r-- root/root usr/share/readline/rlversion.c diff --git a/readline/.md5sum b/readline/.md5sum new file mode 100644 index 0000000..c4d5ab5 --- /dev/null +++ b/readline/.md5sum @@ -0,0 +1,3 @@ +553cf04fdeec54dca12062864c3ffba3 inputrc +d2bab3b49b2cc4d9239cf04e809abb18 readline-6.1-001-002.patch.gz +fc2f7e714fe792db1ce6ddc4c9fb4ef3 readline-6.1.tar.gz diff --git a/readline/Pkgfile b/readline/Pkgfile new file mode 100644 index 0000000..46569df --- /dev/null +++ b/readline/Pkgfile @@ -0,0 +1,24 @@ +description="Lets users edit command lines as they are typed in" +packager="" +maintainer="CRUX System Team, core-ports at crux dot nu" +url="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" +depends=(ncurses) + +name=readline +version=6.1.2 +release=2 +source=(http://ftp.gnu.org/gnu/readline/readline-6.1.tar.gz readline-6.1-001-002.patch.gz inputrc) +build () +{ + cd $name-6.1; + gunzip -c $SRC/$name-6.1-001-002.patch.gz | patch -p0; + ./configure --prefix=/usr --mandir=/usr/man; + make SHLIB_LIBS=-lncurses; + make DESTDIR=$PKG install; + install -d $PKG/lib; + mv $PKG/usr/lib/lib*.so.* $PKG/lib; + ln -sf ../../lib/libhistory.so.6.1 $PKG/usr/lib/libhistory.so; + ln -sf ../../lib/libreadline.so.6.1 $PKG/usr/lib/libreadline.so; + install -D -m 644 $SRC/inputrc $PKG/etc/inputrc; + rm -r $PKG/usr/share/info +} diff --git a/readline/Pkgfile.old b/readline/Pkgfile.old new file mode 100644 index 0000000..1f32cae --- /dev/null +++ b/readline/Pkgfile.old @@ -0,0 +1,28 @@ +# Description: Lets users edit command lines as they are typed in +# URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Depends on: ncurses + +name=readline +version=6.1.2 +release=2 +source=(http://ftp.gnu.org/gnu/$name/$name-6.1.tar.gz \ + $name-6.1-001-002.patch.gz inputrc) + +build() { + cd $name-6.1 + + gunzip -c $SRC/$name-6.1-001-002.patch.gz | patch -p0 + + ./configure --prefix=/usr --mandir=/usr/man + make SHLIB_LIBS=-lncurses + make DESTDIR=$PKG install + + install -d $PKG/lib + mv $PKG/usr/lib/lib*.so.* $PKG/lib + ln -sf ../../lib/libhistory.so.6.1 $PKG/usr/lib/libhistory.so + ln -sf ../../lib/libreadline.so.6.1 $PKG/usr/lib/libreadline.so + + install -D -m 644 $SRC/inputrc $PKG/etc/inputrc + rm -r $PKG/usr/share/info +} diff --git a/readline/inputrc b/readline/inputrc new file mode 100644 index 0000000..7640ae4 --- /dev/null +++ b/readline/inputrc @@ -0,0 +1,26 @@ +# +# /etc/inputrc - global inputrc for readline(3) +# + +set input-meta on +set output-meta on +set convert-meta off + +"\e[1~": beginning-of-line +"\e[2~": yank +"\e[3~": delete-char +"\e[4~": end-of-line +"\e[5~": beginning-of-history +"\e[6~": end-of-history + +"\ep": history-search-backward +"\en": history-search-forward + +$if term=xterm +"\e[7~": beginning-of-line +"\e[8~": end-of-line +"\e[H": beginning-of-line +"\e[F": end-of-line +$endif + +# End of file diff --git a/readline/readline-6.1-001-002.patch.gz b/readline/readline-6.1-001-002.patch.gz Binary files differnew file mode 100644 index 0000000..309a41c --- /dev/null +++ b/readline/readline-6.1-001-002.patch.gz |