aboutsummaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
commit93a354611e38a6949add5c2e5ccc93ef79b9755f (patch)
tree7fee41752b1047d74c59f8ee046cd62735e7e934 /readline
parent35912580b66e9439f91ea441938828ad8aa33b0d (diff)
downloadalicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz
alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'readline')
-rw-r--r--readline/.checksum2
-rw-r--r--readline/.files49
-rw-r--r--readline/abuild11
-rw-r--r--readline/readline-8.2-upstream_fix-1.patch31
4 files changed, 93 insertions, 0 deletions
diff --git a/readline/.checksum b/readline/.checksum
new file mode 100644
index 00000000..4ab34f94
--- /dev/null
+++ b/readline/.checksum
@@ -0,0 +1,2 @@
+2899766e6e4a2765460345351e4575967f607f8192dbf0ed7c8db11948d1ea61 readline-8.2-upstream_fix-1.patch
+8ed29b72406bb2bbcafd8dde1486ee108293e5cefe710f84b63b066207adf92f readline-8.2.tar.gz
diff --git a/readline/.files b/readline/.files
new file mode 100644
index 00000000..23478412
--- /dev/null
+++ b/readline/.files
@@ -0,0 +1,49 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+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/
+lrwxrwxrwx root/root usr/lib/libhistory.so -> libhistory.so.8
+lrwxrwxrwx root/root usr/lib/libhistory.so.8 -> libhistory.so.8.2
+-rwxr-xr-x root/root usr/lib/libhistory.so.8.2
+lrwxrwxrwx root/root usr/lib/libreadline.so -> libreadline.so.8
+lrwxrwxrwx root/root usr/lib/libreadline.so.8 -> libreadline.so.8.2
+-rwxr-xr-x root/root usr/lib/libreadline.so.8.2
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/history.pc
+-rw-r--r-- root/root usr/lib/pkgconfig/readline.pc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/history.info.gz
+-rw-r--r-- root/root usr/share/info/readline.info.gz
+-rw-r--r-- root/root usr/share/info/rluserman.info.gz
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/history.3.gz
+-rw-r--r-- root/root usr/share/man/man3/readline.3.gz
+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/hist_erasedups.c
+-rw-r--r-- root/root usr/share/readline/hist_purgecmd.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-callbacktest.c
+-rw-r--r-- root/root usr/share/readline/rl-fgets.c
+-rw-r--r-- root/root usr/share/readline/rl-timeout.c
+-rw-r--r-- root/root usr/share/readline/rl.c
+-rw-r--r-- root/root usr/share/readline/rlbasic.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/rlkeymaps.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/abuild b/readline/abuild
new file mode 100644
index 00000000..06128c3b
--- /dev/null
+++ b/readline/abuild
@@ -0,0 +1,11 @@
+name=readline
+version=8.2
+release=1
+source="https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz
+ readline-8.2-upstream_fix-1.patch"
+
+build() {
+ ./configure --prefix=/usr --with-curses
+ make SHLIB_LIBS="-lncursesw"
+ make SHLIB_LIBS="-lncursesw" DESTDIR=$PKG install
+}
diff --git a/readline/readline-8.2-upstream_fix-1.patch b/readline/readline-8.2-upstream_fix-1.patch
new file mode 100644
index 00000000..86544f69
--- /dev/null
+++ b/readline/readline-8.2-upstream_fix-1.patch
@@ -0,0 +1,31 @@
+Submitted By: Bruce Dubbs <bdubbs@linuxfromscratch.org>
+Date: 2021-10-12
+Initial Package Version: 8.2
+Upstream Status: Applied
+Origin: Upstream release repository
+ Starting a readline applications with an invalid locale
+ specification for LC_ALL/LANG/LC_CTYPE can cause the shell
+ to crash.
+
+diff -Naur readline-8.2-orig/nls.c readline-8.2/nls.c
+--- readline-8.2-orig/nls.c 2022-08-15 08:38:51.000000000 -0500
++++ readline-8.2/nls.c 2022-10-12 19:51:35.881738300 -0500
+@@ -141,6 +141,10 @@
+ if (lspec == 0)
+ lspec = "";
+ ret = setlocale (LC_CTYPE, lspec); /* ok, since it does not change locale */
++ if (ret == 0 || *ret == 0)
++ ret = setlocale (LC_CTYPE, (char *)NULL);
++ if (ret == 0 || *ret == 0)
++ ret = RL_DEFAULT_LOCALE;
+ #else
+ ret = (lspec == 0 || *lspec == 0) ? RL_DEFAULT_LOCALE : lspec;
+ #endif
+diff -Naur readline-8.2-orig/patchlevel readline-8.2/patchlevel
+--- readline-8.2-orig/patchlevel 2020-05-21 13:22:40.000000000 -0500
++++ readline-8.2/patchlevel 2022-10-12 19:51:35.881738300 -0500
+@@ -1,3 +1,3 @@
+ # Do not edit -- exists only for use by patch
+
+-0
++1