From f20c6051e81e5eb731ef26e021d0eb49260cd20b Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 26 May 2022 11:58:33 -0400 Subject: [PATCH] Auto sync2gitlab import of ncurses-6.1-9.20180224.el8.src.rpm --- .gitignore | 1 + EMPTY | 1 - ncurses-config.patch | 32 + ncurses-cve-2019-17594.patch | 28 + ncurses-cve-2019-17595.patch | 16 + ncurses-kbs.patch | 46 ++ ncurses-libs.patch | 58 ++ ncurses-tputx.patch | 15 + ncurses-urxvt.patch | 179 ++++++ ncurses-usecap.patch | 22 + ncurses.spec | 1062 ++++++++++++++++++++++++++++++++++ sources | 1 + 12 files changed, 1460 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 EMPTY create mode 100644 ncurses-config.patch create mode 100644 ncurses-cve-2019-17594.patch create mode 100644 ncurses-cve-2019-17595.patch create mode 100644 ncurses-kbs.patch create mode 100644 ncurses-libs.patch create mode 100644 ncurses-tputx.patch create mode 100644 ncurses-urxvt.patch create mode 100644 ncurses-usecap.patch create mode 100644 ncurses.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d04370 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/ncurses-6.1-20180224.tgz diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/ncurses-config.patch b/ncurses-config.patch new file mode 100644 index 0000000..b494768 --- /dev/null +++ b/ncurses-config.patch @@ -0,0 +1,32 @@ +diff -up ncurses-6.1-20180127/misc/ncurses-config.in.config ncurses-6.1-20180127/misc/ncurses-config.in +--- ncurses-6.1-20180127/misc/ncurses-config.in.config 2017-12-09 23:45:44.000000000 +0100 ++++ ncurses-6.1-20180127/misc/ncurses-config.in 2018-01-29 10:57:48.596590822 +0100 +@@ -40,7 +40,6 @@ exec_prefix="@exec_prefix@" + + bindir="@bindir@" + includedir="@includedir@" +-libdir="@libdir@" + datarootdir="@datarootdir@" + datadir="@datadir@" + mandir="@mandir@" +@@ -111,12 +110,7 @@ while test $# -gt 0; do + ENDECHO + ;; + --libs) +- if test "$libdir" = /usr/lib +- then + LIBDIR= +- else +- LIBDIR=-L$libdir +- fi + if test @TINFO_NAME@ = @LIB_NAME@ ; then + sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO + $LIBDIR @EXTRA_LDFLAGS@ -l${THIS} @LIBS@ +@@ -154,7 +148,6 @@ ENDECHO + echo $INCS + ;; + --libdir) +- echo "${libdir}" + ;; + --mandir) + echo "${mandir}" diff --git a/ncurses-cve-2019-17594.patch b/ncurses-cve-2019-17594.patch new file mode 100644 index 0000000..ea9f208 --- /dev/null +++ b/ncurses-cve-2019-17594.patch @@ -0,0 +1,28 @@ +From snapshot 6.1-20191012 + +diff --git a/ncurses/tinfo/comp_hash.c b/ncurses/tinfo/comp_hash.c +index 21f165ca..a62d38f9 100644 +--- a/ncurses/tinfo/comp_hash.c ++++ b/ncurses/tinfo/comp_hash.c +@@ -63,7 +63,9 @@ _nc_find_entry(const char *string, + + hashvalue = data->hash_of(string); + +- if (data->table_data[hashvalue] >= 0) { ++ if (hashvalue >= 0 ++ && (unsigned) hashvalue < data->table_size ++ && data->table_data[hashvalue] >= 0) { + + real_table = _nc_get_table(termcap); + ptr = real_table + data->table_data[hashvalue]; +@@ -96,7 +98,9 @@ _nc_find_type_entry(const char *string, + const HashData *data = _nc_get_hash_info(termcap); + int hashvalue = data->hash_of(string); + +- if (data->table_data[hashvalue] >= 0) { ++ if (hashvalue >= 0 ++ && (unsigned) hashvalue < data->table_size ++ && data->table_data[hashvalue] >= 0) { + const struct name_table_entry *const table = _nc_get_table(termcap); + + ptr = table + data->table_data[hashvalue]; diff --git a/ncurses-cve-2019-17595.patch b/ncurses-cve-2019-17595.patch new file mode 100644 index 0000000..eacf479 --- /dev/null +++ b/ncurses-cve-2019-17595.patch @@ -0,0 +1,16 @@ +From snapshot 6.1-20191012 + +diff --git a/progs/dump_entry.c b/progs/dump_entry.c +index d0e420ec..8a47084a 100644 +--- a/progs/dump_entry.c ++++ b/progs/dump_entry.c +@@ -1136,7 +1136,8 @@ fmt_entry(TERMTYPE2 *tterm, + *d++ = '\\'; + *d = ':'; + } else if (*d == '\\') { +- *++d = *s++; ++ if ((*++d = *s++) == '\0') ++ break; + } + d++; + *d = '\0'; diff --git a/ncurses-kbs.patch b/ncurses-kbs.patch new file mode 100644 index 0000000..0ff3f10 --- /dev/null +++ b/ncurses-kbs.patch @@ -0,0 +1,46 @@ +diff -up ncurses-6.1-20180127/misc/terminfo.src.kbs ncurses-6.1-20180127/misc/terminfo.src +--- ncurses-6.1-20180127/misc/terminfo.src.kbs 2018-01-29 10:59:01.644758573 +0100 ++++ ncurses-6.1-20180127/misc/terminfo.src 2018-01-29 11:02:34.018246276 +0100 +@@ -5713,7 +5713,7 @@ rxvt-basic|rxvt terminal base (X Window + enacs=\E(B\E)0, flash=\E[?5h$<100/>\E[?5l, home=\E[H, + ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, + il1=\E[L, ind=\n, is1=\E[?47l\E=\E[?1l, +- is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kbs=^H, ++ is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, + kcbt=\E[Z, kmous=\E[M, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, + rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E>, rmso=\E[27m, + rmul=\E[24m, +@@ -5725,7 +5725,7 @@ rxvt-basic|rxvt terminal base (X Window + %p9%t\016%e\017%;, + sgr0=\E[0m\017, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h, + smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, use=vt100+enq, +- use=rxvt+pcfkeys, use=vt220+keypad, ++ use=rxvt+pcfkeys, use=vt220+keypad, use=xterm+kbs, + # Key Codes from rxvt reference: + # + # Note: Shift + F1-F10 generates F11-F20 +@@ -6897,7 +6897,7 @@ screen|VT 100/ANSI X3.64 virtual termina + dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, + enacs=\E(B\E)0, flash=\Eg, home=\E[H, hpa=\E[%i%p1%dG, + ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, +- ind=\n, indn=\E[%p1%dS, is2=\E)0, kbs=^H, kcbt=\E[Z, ++ ind=\n, indn=\E[%p1%dS, is2=\E)0, kcbt=\E[Z, + kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, + kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~, + kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, +@@ -6911,6 +6911,7 @@ screen|VT 100/ANSI X3.64 virtual termina + sgr0=\E[m\017, smacs=^N, smcup=\E[?1049h, smir=\E[4h, + smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, tbc=\E[3g, + vpa=\E[%i%p1%dd, E0=\E(B, S0=\E(%p1%c, use=ecma+color, ++ use=xterm+kbs, + # The bce and status-line entries are from screen 3.9.13 (and require some + # changes to .screenrc). + screen-bce|VT 100/ANSI X3.64 virtual terminal with bce, +@@ -7026,6 +7027,7 @@ screen.xterm-r6|screen customized for X1 + # on Solaris because Sun's curses implementation gets confused. + screen.teraterm|disable ncv in teraterm, + ncv#127, ++ kbs=^H, + acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i + \316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u + \264v\301w\302x\263y\363z\362{\343|\330}\234~\376, diff --git a/ncurses-libs.patch b/ncurses-libs.patch new file mode 100644 index 0000000..bce0f4b --- /dev/null +++ b/ncurses-libs.patch @@ -0,0 +1,58 @@ +diff -up ncurses-6.0-20150810/c++/Makefile.in.libs ncurses-6.0-20150810/c++/Makefile.in +--- ncurses-6.0-20150810/c++/Makefile.in.libs 2015-08-06 01:15:41.000000000 +0200 ++++ ncurses-6.0-20150810/c++/Makefile.in 2015-08-12 17:07:35.573822650 +0200 +@@ -112,7 +112,7 @@ LOCAL_LIBDIR = @top_builddir@/lib + + LINK = @LINK_PROGS@ $(LIBTOOL_LINK) @CXXLDFLAGS@ + SHLIB_DIRS = -L../lib +-SHLIB_LIST = $(SHLIB_DIRS) -lform@USE_LIB_SUFFIX@ -lmenu@USE_LIB_SUFFIX@ -lpanel@USE_LIB_SUFFIX@ -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@ ++SHLIB_LIST = $(SHLIB_DIRS) -lform@USE_LIB_SUFFIX@ -lmenu@USE_LIB_SUFFIX@ -lpanel@USE_LIB_SUFFIX@ -lncurses@USE_LIB_SUFFIX@ #@SHLIB_LIST@ + + LIBROOT = ncurses++ + +@@ -147,8 +147,7 @@ LDFLAGS_SHARED = $(TEST_LDFLAGS) $(CFLAG + LDFLAGS_DEFAULT = $(LINK_@DFT_UPR_MODEL@) $(LDFLAGS_@DFT_UPR_MODEL@) + + # flags for library built by this makefile +-LDFLAGS = $(TEST_ARGS) @LDFLAGS@ \ +- @LD_MODEL@ $(TEST_LIBS) @LIBS@ $(CXXLIBS) ++LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ $(CXXLIBS) + + AUTO_SRC = \ + etip.h +diff -up ncurses-6.0-20150810/form/Makefile.in.libs ncurses-6.0-20150810/form/Makefile.in +--- ncurses-6.0-20150810/form/Makefile.in.libs 2015-08-12 17:06:49.072684924 +0200 ++++ ncurses-6.0-20150810/form/Makefile.in 2015-08-12 17:08:14.945939259 +0200 +@@ -107,7 +107,7 @@ LINK = $(LIBTOOL_LINK) + LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ + + SHLIB_DIRS = -L../lib +-SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@ ++SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ #@SHLIB_LIST@ + + RPATH_LIST = @RPATH_LIST@ + RESULTING_SYMS = @RESULTING_SYMS@ +diff -up ncurses-6.0-20150810/menu/Makefile.in.libs ncurses-6.0-20150810/menu/Makefile.in +--- ncurses-6.0-20150810/menu/Makefile.in.libs 2015-08-12 17:06:49.072684924 +0200 ++++ ncurses-6.0-20150810/menu/Makefile.in 2015-08-12 17:09:10.135102716 +0200 +@@ -107,7 +107,7 @@ LINK = $(LIBTOOL_LINK) + LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ + + SHLIB_DIRS = -L../lib +-SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@ ++SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ #@SHLIB_LIST@ + + RPATH_LIST = @RPATH_LIST@ + RESULTING_SYMS = @RESULTING_SYMS@ +diff -up ncurses-6.0-20150810/panel/Makefile.in.libs ncurses-6.0-20150810/panel/Makefile.in +--- ncurses-6.0-20150810/panel/Makefile.in.libs 2015-08-12 17:06:49.072684924 +0200 ++++ ncurses-6.0-20150810/panel/Makefile.in 2015-08-12 17:09:33.324171396 +0200 +@@ -109,7 +109,7 @@ LINK = $(LIBTOOL_LINK) + LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ + + SHLIB_DIRS = -L../lib +-SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@ ++SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ #@SHLIB_LIST@ + + RPATH_LIST = @RPATH_LIST@ + RESULTING_SYMS = @RESULTING_SYMS@ diff --git a/ncurses-tputx.patch b/ncurses-tputx.patch new file mode 100644 index 0000000..1f61580 --- /dev/null +++ b/ncurses-tputx.patch @@ -0,0 +1,15 @@ +From snapshot 6.1-20180630 + +diff --git a/progs/tput.c b/progs/tput.c +index fd051eb4..88e75799 100644 +--- a/progs/tput.c ++++ b/progs/tput.c +@@ -293,7 +293,7 @@ main(int argc, char **argv) + + term = getenv("TERM"); + +- while ((c = getopt(argc, argv, "ST:V")) != -1) { ++ while ((c = getopt(argc, argv, "ST:Vx")) != -1) { + switch (c) { + case 'S': + cmdline = FALSE; diff --git a/ncurses-urxvt.patch b/ncurses-urxvt.patch new file mode 100644 index 0000000..6724b51 --- /dev/null +++ b/ncurses-urxvt.patch @@ -0,0 +1,179 @@ +diff -up ncurses-6.0-20150810/misc/terminfo.src.urxvt ncurses-6.0-20150810/misc/terminfo.src +--- ncurses-6.0-20150810/misc/terminfo.src.urxvt 2015-07-25 21:27:20.000000000 +0200 ++++ ncurses-6.0-20150810/misc/terminfo.src 2015-08-12 17:38:46.050362567 +0200 +@@ -5214,6 +5214,175 @@ rxvt-cygwin-native|rxvt terminal emulato + rxvt-16color|rxvt with 16 colors like aixterm, + ncv#32, use=ibm+16color, use=rxvt, + ++# rxvt-unicode ++# http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt-unicode.terminfo?revision=1.34 ++# From: Thomas Dickey 04 Oct 1997 ++# Updated: Özgür Kesim 02 Nov 1997 ++# Updated: Marc Lehmann , 17 Feb 2005 ++# Updated: Marc Lehmann , 04 Nov 2008: change init/reset sequences ++# Updated: Marc Lehmann , 24 Nov 2014: implement cvvis as blinking cursor ++# Updated: Marc Lehmann , 13 Dec 2014: removed superfluous 0 from sgr ++rxvt-unicode|rxvt-unicode terminal (X Window System), ++ am, ++ bce, ++ eo, ++ km, ++ msgr, ++ xenl, ++ hs, ++ cols#80, ++ it#8, ++ lines#24, ++ acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~-A.B+C\,D0EhFiG, ++ bel=^G, ++ blink=\E[5m, ++ bold=\E[1m, ++ clear=\E[H\E[2J, ++ civis=\E[?25l, ++ cnorm=\E[?12l\E[?25h, ++ cvvis=\E[?12;25h, ++ cr=^M, ++ csr=\E[%i%p1%d;%p2%dr, ++ cub=\E[%p1%dD, ++ cub1=^H, ++ cud=\E[%p1%dB, ++ cud1=^J, ++ cuf=\E[%p1%dC, ++ cuf1=\E[C, ++ cup=\E[%i%p1%d;%p2%dH, ++ cuu=\E[%p1%dA, ++ cuu1=\E[A, ++ dch=\E[%p1%dP, ++ dch1=\E[P, ++ dl=\E[%p1%dM, ++ dl1=\E[M, ++ ed=\E[J, ++ el=\E[K, ++ el1=\E[1K, ++ flash=\E[?5h$<20/>\E[?5l, ++ home=\E[H, ++ hpa=\E[%i%p1%dG, ++ ht=^I, ++ hts=\EH, ++ ich=\E[%p1%d@, ++ ich1=\E[@, ++ il=\E[%p1%dL, ++ il1=\E[L, ++ ind=^J, ++ is1=\E[\041p, ++ is2=\E[r\E[m\E[2J\E[?7;25h\E[?1;3;4;5;6;9;66;1000;1001;1049l\E[4l, ++ kDC=\E[3$, ++ kIC=\E[2$, ++ kEND=\E[8$, ++ kHOM=\E[7$, ++ kLFT=\E[d, ++ kNXT=\E[6$, ++ kPRV=\E[5$, ++ kRIT=\E[c, ++ kbs=\177, ++ ka1=\EOw, ++ ka3=\EOy, ++ kb2=\EOu, ++ kc1=\EOq, ++ kc3=\EOs, ++ kcbt=\E[Z, ++ kcub1=\E[D, ++ kcud1=\E[B, ++ kcuf1=\E[C, ++ kcuu1=\E[A, ++ kdch1=\E[3~, ++ kel=\E[8\^, ++ kend=\E[8~, ++ kent=\EOM, ++ kf1=\E[11~, ++ kf10=\E[21~, ++ kf11=\E[23~, ++ kf12=\E[24~, ++ kf13=\E[25~, ++ kf14=\E[26~, ++ kf15=\E[28~, ++ kf16=\E[29~, ++ kf17=\E[31~, ++ kf18=\E[32~, ++ kf19=\E[33~, ++ kf2=\E[12~, ++ kf20=\E[34~, ++ kf3=\E[13~, ++ kf4=\E[14~, ++ kf5=\E[15~, ++ kf6=\E[17~, ++ kf7=\E[18~, ++ kf8=\E[19~, ++ kf9=\E[20~, ++ kfnd=\E[1~, ++ khome=\E[7~, ++ kich1=\E[2~, ++ kmous=\E[M, ++ knp=\E[6~, ++ kpp=\E[5~, ++ kslt=\E[4~, ++ rc=\E8, ++ rev=\E[7m, ++ ri=\EM, ++ rmso=\E[27m, ++ rmul=\E[24m, ++ rs1=\Ec, ++ rs2=\E[r\E[m\E[?7;25h\E[?1;3;4;5;6;9;66;1000;1001;1049l\E[4l, ++ sgr0=\E[m\E(B, ++ enacs=, ++ smacs=\E(0, ++ rmacs=\E(B, ++ smso=\E[7m, ++ smul=\E[4m, ++ tbc=\E[3g, ++ vpa=\E[%i%p1%dd, ++ colors#88, ++ pairs#7744, ++ btns#5, ++ lm#0, ++ ccc, ++ npc, ++ mc5i, ++ ncv#0, ++ mir, ++ xon, ++ bw, ++ ech=\E[%p1%dX, ++ mc0=\E[i, ++ mc4=\E[4i, ++ mc5=\E[5i, ++ sitm=\E[3m, ++ ritm=\E[23m, ++ smam=\E[?7h, ++ rmam=\E[?7l, ++ smir=\E[4h, ++ rmir=\E[4l, ++ smcup=\E[?1049h, ++ rmcup=\E[r\E[?1049l, ++ smkx=\E=, ++ rmkx=\E>, ++ indn=\E[%p1%dS, ++ rin=\E[%p1%dT, ++ sgr=\E[%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;, ++ op=\E[39;49m, ++ setaf=\E[38;5;%p1%dm, ++ setab=\E[48;5;%p1%dm, ++ setf=%?%p1%{7}%>%t\E[38;5;%p1%dm%e\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%;, ++ setb=%?%p1%{7}%>%t\E[48;5;%p1%dm%e\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%;, ++ initc=\E]4;%p1%d;rgb\:%p2%{65535}%*%{1000}%/%4.4X/%p3%{65535}%*%{1000}%/%4.4X/%p4%{65535}%*%{1000}%/%4.4X\E\\, ++ sc=\E7, ++ s0ds=\E(B, ++ s1ds=\E(0, ++ s2ds=\E*B, ++ s3ds=\E+B, ++ u6=\E[%i%d;%dR, ++ u7=\E[6n, ++ u8=\E[?1;2c, ++ u9=\E[c, ++ tsl=\E]2;, ++ fsl=\007, ++ dsl=\E]2;\007, ++ + #### MRXVT + # mrxvt 0.5.4 + # diff --git a/ncurses-usecap.patch b/ncurses-usecap.patch new file mode 100644 index 0000000..52079b4 --- /dev/null +++ b/ncurses-usecap.patch @@ -0,0 +1,22 @@ +20180414 + + add a null-pointer check in _nc_parse_entry to handle an error when + a use-name is invalid syntax (report by Chung-Yi Lin). + +diff --git a/ncurses/tinfo/parse_entry.c b/ncurses/tinfo/parse_entry.c +index 2b54f45d..437f1223 100644 +--- a/ncurses/tinfo/parse_entry.c ++++ b/ncurses/tinfo/parse_entry.c +@@ -543,9 +543,11 @@ _nc_parse_entry(ENTRY * entryp, int literal, bool silent) + * Otherwise, look for a base entry that will already + * have picked up defaults via translation. + */ +- for (i = 0; i < entryp->nuses; i++) +- if (!strchr((char *) entryp->uses[i].name, '+')) ++ for (i = 0; i < entryp->nuses; i++) { ++ if (entryp->uses[i].name != 0 ++ && !strchr(entryp->uses[i].name, '+')) + has_base_entry = TRUE; ++ } + } + + postprocess_termcap(&entryp->tterm, has_base_entry); diff --git a/ncurses.spec b/ncurses.spec new file mode 100644 index 0000000..ea8c22f --- /dev/null +++ b/ncurses.spec @@ -0,0 +1,1062 @@ +%global revision 20180224 +Summary: Ncurses support utilities +Name: ncurses +Version: 6.1 +Release: 9.%{revision}%{?dist} +License: MIT +Group: System Environment/Base +URL: https://invisible-island.net/ncurses/ncurses.html +Source0: https://invisible-mirror.net/archives/ncurses/current/ncurses-%{version}-%{revision}.tgz + +Patch1: ncurses-usecap.patch +Patch8: ncurses-config.patch +Patch9: ncurses-libs.patch +Patch11: ncurses-urxvt.patch +Patch12: ncurses-kbs.patch +Patch13: ncurses-cve-2019-17594.patch +Patch14: ncurses-cve-2019-17595.patch +Patch15: ncurses-tputx.patch +BuildRequires: gcc gcc-c++ gpm-devel pkgconfig + +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description +The curses library routines are a terminal-independent method of +updating character screens with reasonable optimization. The ncurses +(new curses) library is a freely distributable replacement for the +discontinued 4.4 BSD classic curses library. + +This package contains support utilities, including a terminfo compiler +tic, a decompiler infocmp, clear, tput, tset, and a termcap conversion +tool captoinfo. + +%package libs +Summary: Ncurses libraries +Group: System Environment/Libraries +Requires: %{name}-base = %{version}-%{release} +# libs introduced in 5.6-13 +Obsoletes: ncurses < 5.6-13 +Conflicts: ncurses < 5.6-13 +Obsoletes: libtermcap < 2.0.8-48 + +%description libs +The curses library routines are a terminal-independent method of +updating character screens with reasonable optimization. The ncurses +(new curses) library is a freely distributable replacement for the +discontinued 4.4 BSD classic curses library. + +This package contains the ncurses libraries. + +%package compat-libs +Summary: Ncurses compatibility libraries +Group: System Environment/Libraries +Requires: %{name}-base = %{version}-%{release} + +%description compat-libs +The curses library routines are a terminal-independent method of +updating character screens with reasonable optimization. The ncurses +(new curses) library is a freely distributable replacement for the +discontinued 4.4 BSD classic curses library. + +This package contains the ABI version 5 of the ncurses libraries for +compatibility. + +%package c++-libs +Summary: Ncurses C++ bindings +Group: System Environment/Libraries +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description c++-libs +The curses library routines are a terminal-independent method of +updating character screens with reasonable optimization. The ncurses +(new curses) library is a freely distributable replacement for the +discontinued 4.4 BSD classic curses library. + +This package contains C++ bindings of the ncurses ABI version 6 libraries. + +%package base +Summary: Descriptions of common terminals +Group: System Environment/Base +Obsoletes: termcap < 1:5.5-2 +# base introduced in 5.6-13 +Conflicts: ncurses < 5.6-13 +# /lib -> /usr/lib move +Conflicts: filesystem < 3 +BuildArch: noarch + +%description base +This package contains descriptions of common terminals. Other terminal +descriptions are included in the ncurses-term package. + +%package term +Summary: Terminal descriptions +Group: System Environment/Base +Requires: %{name}-base = %{version}-%{release} +BuildArch: noarch + +%description term +This package contains additional terminal descriptions not found in +the ncurses-base package. + +%package devel +Summary: Development files for the ncurses library +Group: Development/Libraries +Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Requires: %{name}-c++-libs%{?_isa} = %{version}-%{release} +Requires: pkgconfig +Obsoletes: libtermcap-devel < 2.0.8-48 +Provides: libtermcap-devel = 2.0.8-48 + +%description devel +The header files and libraries for developing applications that use +the ncurses terminal handling library. + +Install the ncurses-devel package if you want to develop applications +which will use ncurses. + +%package static +Summary: Static libraries for the ncurses library +Group: Development/Libraries +Requires: %{name}-devel%{?_isa} = %{version}-%{release} + +%description static +The ncurses-static package includes static libraries of the ncurses library. + +%prep +%setup -q -n %{name}-%{version}-%{revision} + +%patch1 -p1 -b .usecap +%patch8 -p1 -b .config +%patch9 -p1 -b .libs +%patch11 -p1 -b .urxvt +%patch12 -p1 -b .kbs +%patch13 -p1 -b .cve-2019-17594 +%patch14 -p1 -b .cve-2019-17595 +%patch15 -p1 -b .tputx + +for f in ANNOUNCE; do + iconv -f iso8859-1 -t utf8 -o ${f}{_,} && + touch -r ${f}{,_} && mv -f ${f}{_,} +done + +%build +common_options="\ + --enable-colorfgbg \ + --enable-hard-tabs \ + --enable-overwrite \ + --enable-pc-files \ + --enable-xmc-glitch \ + --disable-stripping \ + --disable-wattr-macros \ + --with-cxx-shared \ + --with-ospeed=unsigned \ + --with-pkg-config-libdir=%{_libdir}/pkgconfig \ + --with-shared \ + --with-terminfo-dirs=%{_sysconfdir}/terminfo:%{_datadir}/terminfo \ + --with-termlib=tinfo \ + --with-ticlib=tic \ + --with-xterm-kbs=DEL \ + --without-ada" +abi5_options="--with-chtype=long" + +for abi in 5 6; do + for char in narrowc widec; do + mkdir $char$abi + pushd $char$abi + ln -s ../configure . + + [ $abi = 6 -a $char = widec ] && progs=yes || progs=no + + %configure $( + echo $common_options --with-abi-version=$abi + [ $abi = 5 ] && echo $abi5_options + [ $char = widec ] && echo --enable-widec + [ $progs = yes ] || echo --without-progs + ) + + make %{?_smp_mflags} libs + [ $progs = yes ] && make %{?_smp_mflags} -C progs + + popd + done +done + +%install +make -C narrowc5 DESTDIR=$RPM_BUILD_ROOT install.libs +make -C widec5 DESTDIR=$RPM_BUILD_ROOT install.libs +make -C narrowc6 DESTDIR=$RPM_BUILD_ROOT install.libs +make -C widec6 DESTDIR=$RPM_BUILD_ROOT install.{libs,progs,data,includes,man} + +chmod 755 ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.*.* +chmod 644 ${RPM_BUILD_ROOT}%{_libdir}/lib*.a + +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/terminfo + +baseterms= + +# prepare -base and -term file lists +for termname in \ + ansi dumb linux vt100 vt100-nav vt102 vt220 vt52 \ + Eterm\* aterm bterm cons25 cygwin eterm\* gnome gnome-256color hurd jfbterm \ + konsole konsole-256color mach\* mlterm mrxvt nsterm putty{,-256color} pcansi \ + rxvt{,-\*} screen{,-\*color,.[^mlp]\*,.linux,.mlterm\*,.putty{,-256color},.mrxvt} \ + st{,-\*color} sun teraterm teraterm2.3 tmux{,-\*} vte vte-256color vwmterm \ + wsvt25\* xfce xterm xterm-\* +do + for i in $RPM_BUILD_ROOT%{_datadir}/terminfo/?/$termname; do + for t in $(find $RPM_BUILD_ROOT%{_datadir}/terminfo -samefile $i); do + baseterms="$baseterms $(basename $t)" + done + done +done 2> /dev/null +for t in $baseterms; do + echo "%dir %{_datadir}/terminfo/${t::1}" + echo %{_datadir}/terminfo/${t::1}/$t +done 2> /dev/null | sort -u > terms.base +find $RPM_BUILD_ROOT%{_datadir}/terminfo \! -type d | \ + sed "s|^$RPM_BUILD_ROOT||" | while read t +do + echo "%dir $(dirname $t)" + echo $t +done 2> /dev/null | sort -u | comm -2 -3 - terms.base > terms.term + +# can't replace directory with symlink (rpm bug), symlink all headers +mkdir $RPM_BUILD_ROOT%{_includedir}/ncurses{,w} +for l in $RPM_BUILD_ROOT%{_includedir}/*.h; do + ln -s ../$(basename $l) $RPM_BUILD_ROOT%{_includedir}/ncurses + ln -s ../$(basename $l) $RPM_BUILD_ROOT%{_includedir}/ncursesw +done + +# don't require -ltinfo when linking with --no-add-needed +for l in $RPM_BUILD_ROOT%{_libdir}/libncurses{,w}.so; do + soname=$(basename $(readlink $l)) + rm -f $l + echo "INPUT($soname -ltinfo)" > $l +done + +rm -f $RPM_BUILD_ROOT%{_libdir}/libcurses{,w}.so +echo "INPUT(-lncurses)" > $RPM_BUILD_ROOT%{_libdir}/libcurses.so +echo "INPUT(-lncursesw)" > $RPM_BUILD_ROOT%{_libdir}/libcursesw.so + +echo "INPUT(-ltinfo)" > $RPM_BUILD_ROOT%{_libdir}/libtermcap.so + +rm -f $RPM_BUILD_ROOT%{_bindir}/ncurses*5-config +rm -f $RPM_BUILD_ROOT%{_libdir}/terminfo +rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*_g.pc + +bzip2 NEWS + +%ldconfig_scriptlets libs + +%ldconfig_scriptlets c++-libs + +%ldconfig_scriptlets compat-libs + +%files +%doc ANNOUNCE AUTHORS NEWS.bz2 README TO-DO +%{_bindir}/[cirt]* +%{_mandir}/man1/[cirt]* +%{_mandir}/man5/* +%{_mandir}/man7/* + +%files libs +%exclude %{_libdir}/libncurses++*.so.6* +%{_libdir}/lib*.so.6* + +%files compat-libs +%{_libdir}/lib*.so.5* + +%files c++-libs +%{_libdir}/libncurses++*.so.6* + +%files base -f terms.base +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc README +%dir %{_sysconfdir}/terminfo +%{_datadir}/tabset +%dir %{_datadir}/terminfo + +%files term -f terms.term + +%files devel +%doc doc/html/hackguide.html +%doc doc/html/ncurses-intro.html +%doc c++/README* +%doc misc/ncurses.supp +%{_bindir}/ncurses*-config +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/*.pc +%dir %{_includedir}/ncurses +%dir %{_includedir}/ncursesw +%{_includedir}/ncurses/*.h +%{_includedir}/ncursesw/*.h +%{_includedir}/*.h +%{_mandir}/man1/ncurses*-config* +%{_mandir}/man3/* + +%files static +%{_libdir}/lib*.a + +%changelog +* Tue May 18 2021 Miroslav Lichvar 6.1-9.20180224 +- fix tput to accept -x option (#1916340) + +* Tue May 18 2021 Miroslav Lichvar 6.1-8.20180224 +- fix buffer overflow in terminfo entry hashtable (CVE-2019-17594) +- handle missing character after backslash in terminfo entry (CVE-2019-17595) + +* Wed Jan 16 2019 Miroslav Lichvar 6.1-7.20180224 +- disable stripping on program installation (#1665177) + +* Tue Jan 08 2019 Miroslav Lichvar 6.1-6.20180224 +- rebuild with latest gcc (#1648947) + +* Fri Jul 27 2018 Miroslav Lichvar 6.1-5.20180224 +- fix crash in parsing of terminfo use capability (CVE-2018-10754) +- add gcc-c++ to build requirements + +* Mon Feb 26 2018 Miroslav Lichvar 6.1-4.20180224 +- update to 6.1-20180224 +- add gcc to build requirements + +* Thu Feb 08 2018 Fedora Release Engineering - 6.1-3.20180129 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Jan 30 2018 Miroslav Lichvar 6.1-2.20180129 +- update to 6.1-20180129 +- use macro for ldconfig scriptlets + +* Mon Jan 29 2018 Miroslav Lichvar 6.1-1.20180127 +- update to 6.1-20180127 + +* Thu Nov 30 2017 Miroslav Lichvar 6.0-15.20171125 +- update to 6.0-20171125 (CVE-2017-16879) + +* Wed Sep 20 2017 Miroslav Lichvar 6.0-14.20170916 +- update to 6.0-20170916 (CVE-2017-13728 CVE-2017-13729 CVE-2017-13730 + CVE-2017-13731 CVE-2017-13732 CVE-2017-13733 CVE-2017-13734) + +* Thu Aug 03 2017 Fedora Release Engineering - 6.0-13.20170722 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Sun Jul 30 2017 Florian Weimer - 6.0-12.20170722 +- Rebuild with binutils fix for ppc64le (#1475636) + +* Wed Jul 26 2017 Miroslav Lichvar 6.0-11.20170722 +- update to 6.0-20170722 (CVE-2017-10684 CVE-2017-10685 CVE-2017-11112 + CVE-2017-11113) + +* Mon May 29 2017 Miroslav Lichvar 6.0-10.20170520 +- fix compatibility between libtinfo and libncurses (#1456340) + +* Fri May 26 2017 Miroslav Lichvar 6.0-9.20170520 +- update to 6.0-20170520 + +* Tue Feb 14 2017 Miroslav Lichvar 6.0-8.20170212 +- update to 6.0-20170212 + +* Fri Feb 10 2017 Fedora Release Engineering - 6.0-7.20160709 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jul 19 2016 Miroslav Lichvar 6.0-6.20160709 +- update to 6.0-20160709 + +* Fri Apr 08 2016 Yaakov Selkowitz 6.0-5.20160116 +- separate ncurses-c++-libs subpackage (#1324575) + +* Thu Feb 04 2016 Fedora Release Engineering - 6.0-4.20160116 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jan 26 2016 Miroslav Lichvar 6.0-3.20160116 +- make installed ncurses.h compatible with narrow-char libncurses (#1270534) + +* Mon Jan 18 2016 Miroslav Lichvar 6.0-2.20160116 +- update to 6.0-20160116 + +* Thu Aug 13 2015 Miroslav Lichvar 6.0-1.20150810 +- update to 6.0-20150810 +- build ABI 5 and ABI 6 libraries +- add compat-libs subpackage for ABI 5 libraries +- update rxvt-unicode terminfo +- don't include tests in devel documentation + +* Wed Jun 17 2015 Fedora Release Engineering - 5.9-21.20150214 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 5.9-20.20150214 +- Rebuilt for GCC 5 C++11 ABI change + +* Sat Feb 21 2015 Till Maas - 5.9-19.20150214 +- Rebuilt for Fedora 23 Change + https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code + +* Fri Feb 20 2015 Miroslav Lichvar 5.9-18.20150214 +- update to 5.9-20150214 + +* Fri Sep 12 2014 Miroslav Lichvar 5.9-17.20140906 +- update to 5.9-20140906 + +* Sun Aug 17 2014 Fedora Release Engineering - 5.9-16.20140323 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Jul 18 2014 Tom Callaway - 5.9-15.20140323 +- fix license handling + +* Sat Jun 07 2014 Fedora Release Engineering - 5.9-14.20140323 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Mar 26 2014 Miroslav Lichvar 5.9-13.20140323 +- update to 20140323 + +* Sat Aug 03 2013 Fedora Release Engineering - 5.9-12.20130511 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon May 13 2013 Miroslav Lichvar 5.9-11.20130511 +- update to 20130511 + +* Mon Apr 15 2013 Miroslav Lichvar 5.9-10.20130413 +- update to 20130413 + +* Mon Mar 18 2013 Miroslav Lichvar 5.9-9.20130316 +- update to 20130316 +- include shared ncurses C++ libraries (#911540) + +* Wed Jan 30 2013 Miroslav Lichvar 5.9-8.20130126 +- update to 20130126 +- clear scrollback buffer in clear (#815790) +- make -base and -term subpackages noarch +- make some dependencies arch-specific + +* Thu Oct 18 2012 Miroslav Lichvar 5.9-7.20121017 +- update to 20121017 + +* Mon Oct 15 2012 Miroslav Lichvar 5.9-6.20121013 +- update to 20121013 +- move st entries to -base +- remove obsolete macros + +* Fri Jul 20 2012 Fedora Release Engineering - 5.9-5.20120204 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Feb 08 2012 Miroslav Lichvar 5.9-4.20120204 +- move libs and terms to /usr +- update to patch 20120204 + +* Fri Jan 13 2012 Fedora Release Engineering - 5.9-3.20110716 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jul 18 2011 Miroslav Lichvar 5.9-2.20110716 +- update to patch 20110716 +- update rxvt-unicode entry + +* Tue Apr 05 2011 Miroslav Lichvar 5.9-1 +- update to 5.9 + +* Tue Mar 22 2011 Miroslav Lichvar 5.8-2.20110319 +- update to patch 20110319 + +* Wed Mar 02 2011 Miroslav Lichvar 5.8-1 +- update to 5.8 + +* Tue Feb 08 2011 Fedora Release Engineering - 5.7-11.20101211 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Dec 13 2010 Miroslav Lichvar 5.7-10.20101211 +- update to patch 20101211 + +* Mon Nov 29 2010 Miroslav Lichvar 5.7-9.20101128 +- update to patch 20101128 +- update rxvt-unicode entry (#653081) + +* Wed Jul 14 2010 Miroslav Lichvar 5.7-8.20100703 +- update to patch 20100703 +- add README to base subpackage + +* Wed Feb 03 2010 Miroslav Lichvar 5.7-7.20100130 +- update to patch 20100130 +- fix ncursesw5-config and pc files to use correct tinfo + +* Mon Jan 25 2010 Miroslav Lichvar 5.7-6.20100123 +- update to patch 20100123 +- remove AS_NEEDED from linker scripts + +* Wed Jan 20 2010 Miroslav Lichvar 5.7-5.20100116 +- fix narrow/wide libtinfo compatibility +- fix wattrset macro to not produce warning with current gcc (#556645) + +* Mon Jan 18 2010 Miroslav Lichvar 5.7-4.20100116 +- update to patch 20100116 +- don't require -ltinfo when linking with --no-add-needed + +* Sat Jul 25 2009 Fedora Release Engineering - 5.7-3.20090207 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 5.7-2.20090207 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Feb 10 2009 Miroslav Lichvar 5.7-1.20090207 +- update to 5.7, patch 20090207 +- use default pcf in xterm description +- include NEWS + +* Thu Oct 02 2008 Miroslav Lichvar 5.6-20.20080927 +- update to patch 20080927 + +* Wed Jul 23 2008 Miroslav Lichvar 5.6-19.20080628 +- rebuild with new gpm + +* Mon Jul 07 2008 Miroslav Lichvar 5.6-18.20080628 +- update to patch 20080628 +- move mlterm and screen.* entries to -base +- change kbs to ^? in rxvt and screen entries + +* Mon May 26 2008 Miroslav Lichvar 5.6-17.20080524 +- update to patch 20080524 +- force installing wide libtinfo + +* Fri Mar 07 2008 Miroslav Lichvar 5.6-16.20080301 +- update to patch 20080301 +- provide libtermcap.so (#428898) +- move all headers to /usr/include +- move libncursesw out of /usr +- make examples in documentation compilable (#436355) + +* Tue Feb 19 2008 Fedora Release Engineering - 5.6-15.20080112 +- Autorebuild for GCC 4.3 + +* Tue Jan 15 2008 Miroslav Lichvar 5.6-14.20080112 +- obsolete libtermcap-devel (#428898) + +* Mon Jan 14 2008 Miroslav Lichvar 5.6-13.20080112 +- update to patch 20080112 +- make -libs, -base, -term subpackages +- obsolete termcap and libtermcap +- update urxvt entry + +* Tue Oct 16 2007 Miroslav Lichvar 5.6-12.20070812 +- allocate additional working buffers in new_field (#310071) + +* Wed Oct 10 2007 Miroslav Lichvar 5.6-11.20070812 +- don't write beyond field buffer in form driver (#310071) + +* Thu Oct 04 2007 Miroslav Lichvar 5.6-10.20070812 +- fix comp_hash string output +- avoid comparing padding in cchar_t structure +- remove gawk from buildrequires + +* Thu Aug 23 2007 Miroslav Lichvar 5.6-9.20070812 +- rebuild +- buildrequire gawk + +* Mon Aug 13 2007 Miroslav Lichvar 5.6-8.20070812 +- update to patch 20070812 + +* Wed Jun 13 2007 Miroslav Lichvar 5.6-7.20070612 +- update to patch 20070612 + +* Thu Mar 08 2007 Miroslav Lichvar 5.6-6.20070303 +- update to patch 20070303 +- use one libtinfo for both libncurses and libncursesw +- shorten -devel description + +* Mon Feb 19 2007 Miroslav Lichvar 5.6-5.20070217 +- update to patch 20070217 +- replace libcurses.so symlink with linker script (#228891) + +* Mon Feb 12 2007 Miroslav Lichvar 5.6-4.20070210 +- update to patch 20070210 +- generate separate terminfo library +- move static libraries to -static subpackage +- avoid unnecessary linking with libdl + +* Tue Feb 06 2007 Miroslav Lichvar 5.6-3.20070203 +- update to patch 20070203 +- spec cleanup (#226188) + +* Sun Jan 21 2007 Miroslav Lichvar 5.6-2.20070120 +- update to patch 20070120 +- don't depend on bash, drop resetall script +- include rxvt-unicode description + +* Wed Jan 10 2007 Miroslav Lichvar 5.6-1.20070106 +- update to 5.6, patch 20070106 + +* Mon Dec 11 2006 Miroslav Lichvar 5.5-27.20061209 +- update to patch 20061209 +- strip large tables from shared libraries, reduce number of relocations +- package utils linked with libncurses instead of libncursesw +- package only wide-character headers + +* Thu Nov 30 2006 Miroslav Lichvar 5.5-26.20060715 +- move also hardlinked entries (#217750) +- search /etc/terminfo for local terminfo entries + +* Mon Nov 27 2006 Miroslav Lichvar 5.5-25.20060715 +- move libncurses and some terminfo entries out of /usr +- drop console symlink and sparc terminfo entries + +* Thu Aug 31 2006 Miroslav Lichvar 5.5-24.20060715 +- modify tgetstr to make screen happy (#202480) +- use CFLAGS when linking (#199369) +- change BuildRoot tag to comply with Fedora packaging guidelines + +* Wed Aug 16 2006 Miroslav Lichvar 5.5-23.20060715 +- fix another crash in tgetent (#202480) + +* Mon Jul 17 2006 Miroslav Lichvar 5.5-22.20060715 +- update to patch 20060715 +- fix package summary (#197655) + +* Sat Jul 08 2006 Miroslav Lichvar 5.5-21 +- fix crash in tgetent (#198032) + +* Fri Jul 07 2006 Miroslav Lichvar 5.5-20 +- update to patch 20060701 +- don't strip libraries, chmod +x them +- move .so links to devel package +- add gpm-devel to buildrequires +- spec cleanup + +* Mon Feb 27 2006 Miroslav Lichvar - 5.5-19 +- avoid comparing padding in cchar_t structure (#182024) + +* Fri Feb 10 2006 Jesse Keating - 5.5-18.2 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 5.5-18.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Tue Jan 31 2006 Jindrich Novy 5.5-18 +- add --with-chtype=long to avoid type clashes on x86_64 (#178824) +- spec cleanup + +* Fri Jan 27 2006 Petr Raszyk 5.5-17 +- Rebuild. + +* Fri Jan 27 2006 Petr Raszyk 5.5-11 +- According Henrik Nordstrom (hno@squid-cache.org) + Diff between the two versions of curses.h on x86_64 + Patch ncurses-5.5-chtypeaslong2.patch + See #178824 + +* Fri Dec 23 2005 Petr Raszyk 5.5-10 +- Rebuild. + +* Thu Dec 22 2005 Jindrich Novy 5.5-9 +- helped Petr to strip libs. + +* Thu Dec 22 2005 Petr Raszyk 5.5-8 +- Strip *.so libs. + +* Wed Dec 21 2005 Petr Raszyk 5.5-1 +- Upgrade to ncurses 5.5 + +* Fri Dec 16 2005 Jesse Keating +- rebuilt for new gcj + +* Thu Dec 1 2005 Petr Raszyk 5.4-23 +- Rebuild. + +* Thu Dec 1 2005 Petr Raszyk 5.4-22 +- Rebuild. + +* Thu Dec 1 2005 Petr Raszyk 5.4-21 +- Clear window after: filter()+'terminal-resizing'+endwin() + doupdate()+endwin() + See bug #174498, patch ncurses-5.4-endwinfilter.patch + +* Fri Nov 18 2005 Bill Nottingham 5.4-20 +- fix location for resize in ncurses-resetall.sh + +* Fri Sep 30 2005 5.4-19 5.4-19 +- Clear window after: filter()+initscr()+endwin()+refresh() + See bug #2966, patch ncurses-5.4-filter.patch + +* Wed Aug 03 2005 Karsten Hopp 5.4-18 +- rebuild with new rpm + +* Wed Apr 27 2005 Petr Rockai - 5.4-17 +- apply patch from Hans de Goede, fixing BR142659 [The + terminfo data for kbs changed from \177 to ^H] + +* Sun Mar 06 2005 Petr Rockai +- rebuild + +* Thu Jan 27 2005 Adrian Havill 5.4-15 +- update to newest jumbo monthly patch + weeklies, fixing + new line cursor move problem (#140326) + +* Thu Oct 21 2004 Adrian Havill 5.4-14 +- escape rpm macros in the changelog (#135408) + +* Tue Aug 31 2004 Adrian Havill 5.4-13 +- term.sh can't detect CJK environment; revert +- gt 2.7 behaves better with xterm-new + +* Tue Aug 3 2004 Adrian Havill 5.4-12 +- make xterm same as xterm-r6 +- detect for "dumb" in term.sh + +* Thu Jul 29 2004 Adrian Havill 5.4-11 +- add latest rollup patches and weekly patches +- remove home/end patch, which is now included in latest + terminfo.src and termcap.src +- add term.sh to /etc/profile.d, reference in /etc/bashrc +- modify term.sh to support rxvt (#122815 comment 93) + +* Thu Jul 08 2004 Adrian Havill 5.4-10 +- add home/end mappings to gnome definition (#122815) + +* Tue Jul 06 2004 Adrian Havill 5.4-9.fc3 +- n-v-r + +* Tue Jul 06 2004 Adrian Havill 5.4-9.fc2 +- n-v-r + +* Tue Jul 06 2004 Adrian Havill 5.4-9 +- remove terminfo try-to-please-all xterm hackery; it's now ptty + and profile's job to point to the correct terminal. (#122815) + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Sun May 30 2004 Florian La Roche +- remove ncurses-c++-devel rpm, all files are also part of ncurses-devel + +* Sat May 29 2004 Joe Orton 5.4-6 +- fix xterm terminfo entry (Hans de Geode, #122815) + +* Thu May 06 2004 Adrian Havill 5.4-5 +- remove --with-gpm from configure, as it adds a pkg + dependency (#122336) and causes too many problems vs its benefits + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Thu Feb 26 2004 Adrian Havill 5.4-3 +- xterm-color is wrong for rh; inverted bs/del (#115499) + +* Wed Feb 25 2004 Adrian Havill 5.4-3 +- link "xterm" to "xterm-color" as temp fix for escape problem (#115448) +- remove old zcat for PATCH1 + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Tue Feb 10 2004 Adrian Havill 5.4-1 +- version update to 5.4 + +* Thu Jan 29 2004 Adrian Havill 5.3-10 +- add /usr/include/ncursesw (#112979) +- allow for non-gzipped man pages during the build process + +* Sun Sep 21 2003 Matt Wilson 5.3-9.3 +- remove the elf32/elf64 provides/obsoletes + +* Wed Sep 17 2003 Matt Wilson 5.3-9.2 +- rebuild to fix gzipped file md5sums (#91211) + +* Thu Sep 11 2003 Adrian Havill 5.3-9.1 +- RHEL bump + +* Thu Sep 11 2003 Adrian Havill 5.3-9 +- remove not-so safe-sprintf configure option because the code does + not appear to be stable enough for some apps. (#103790) + +* Wed Aug 20 2003 Adrian Havill 5.3-8.1 +- RHEL bump + +* Wed Aug 20 2003 Adrian Havill 5.3-8 +- multilib patch (#91211) + +* Mon Aug 11 2003 Adrian Havill 5.3-7 +- fixed the safe sprintf code that was enabled in the previous release + by the configure parameter. (#101486) + +* Mon Jun 16 2003 Elliot Lee 5.3-6.1 +- Fix ac25 patch, make it easy to turn off GPM support + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Thu May 22 2003 Adrian Havill 5.3-5 +- added latest rollup patch with widec/UTF8 centric weekly (20030517) +- added --enable-widec to configure (#86311) + original work done by Mr. Sam +- require sharutils (#86605) +- add gpm, xmc support +- add debug syms back into package +- updated autoconf/configure patch + +* Thu Feb 6 2003 Bill Nottingham 5.3-4 +- fix debuginfo package + +* Fri Jan 31 2003 Adrian Havill 5.3-3 +- remunged xterm changes from 5.2 patch for 5.3 +- updated screen entry (#82951) +- fixed ka3, kb2 and kf0 entries (#77506) + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Wed Jan 22 2003 Adrian Havill 5.3-1 +- upgrade to 5.3 for sake of utf-8, wide chars (#77585 ...) +- spec file summary/desc grammar (#73583) +- add Requires: for c++ devel subpkg (#74002) +- terminfo.src patches no longer needed +- adjust autoconf patch + +* Thu Dec 05 2002 Elliot Lee 5.2-29 +- Merge in multilib fixes + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Mon Apr 8 2002 Bernhard Rosenkraenzer 5.2-26 +- Remove duplicated files (#62752) +- Don't strip libraries (#60398) +- Remove cbt capability from xterm description (#61077) + +* Mon Feb 25 2002 Bernhard Rosenkraenzer 5.2-25 +- Remove bogus man pages +- Remove bool hack, it breaks make menuconfig + +* Fri Feb 22 2002 Bernhard Rosenkraenzer 5.2-24 +- Rebuild for glibc 2.3/gcc 3.1 + +* Fri Feb 22 2002 Bernhard Rosenkraenzer 5.2-23 +- Put the bool type back in for !c++, but leave TRUE/FALSE out + +* Thu Feb 21 2002 Bernhard Rosenkraenzer 5.2-21 +- Don't define TRUE/FALSE etc., we don't care about SVR4 compliance and + it breaks building gdb + +* Thu Feb 21 2002 Bernhard Rosenkraenzer 5.2-20 +- Rebuild for glibc 2.3/gcc 3.1 + +* Thu Feb 21 2002 Bernhard Rosenkraenzer 5.2-19 +- Patchlevel 20020218 +- Re-add %%{_includedir}/ncurses.h (#60169) + +* Tue Feb 12 2002 Bernhard Rosenkraenzer 5.2-18 +- Add C++ bindings (#59751) + +* Tue Feb 12 2002 Bernhard Rosenkraenzer 5.2-17 +- Patchlevel 20020209 +- Fix zero-substitution of cf_cv_type_of_bool (#59450) +- Fix rebuilding of configure script with autoconf 2.5x + +* Thu Jan 31 2002 Bernhard Rosenkraenzer 5.2-16 +- Patchlevel 20020127 + +* Tue Nov 27 2001 Bernhard Rosenkraenzer 5.2-14 +- Patchlevel 20011124 + +* Thu Sep 13 2001 Bernhard Rosenkraenzer 5.2-13 +- Sync with patchlevel 20010908 + +* Fri Jul 20 2001 Bernhard Rosenkraenzer 5.2-12 +- Sync terminfo with termcap 11.0.1-10 + +* Sun Jun 24 2001 Bernhard Rosenkraenzer 5.2-11 +- Update to patchlevel 20010623, fixes some lynx issues + +* Mon Jun 18 2001 Helge Deller +- fixed tput -S segfaulting bug (#44669) +- use _tmppath for BuildRoot: +- Copyright -> License + +* Sun Apr 15 2001 Bernhard Rosenkraenzer +- Update to patchlevel 20010407 + +* Tue Mar 6 2001 Bernhard Rosenkraenzer +- Fix up some terminfo entries containing includes to + "/var/tmp/ncurses-root/something" (#30771) + +* Thu Feb 22 2001 Harald Hoyer +- fixed rxvt backspace setting + +* Fri Feb 9 2001 Yukihiro Nakai +- Update Japanese kterm patch + +* Mon Jan 15 2001 Bernhard Rosenkraenzer +- Update +- Add japanese patch from termcap +- Fix ospeed handling + +* Mon Jan 1 2001 Bernhard Rosenkraenzer +- Add libcurses.a -> libncurses.a symlink (RFE #23023) + +* Tue Dec 12 2000 Bernhard Rosenkraenzer +- Use --with-ospeed='unsigned int' + +* Fri Nov 17 2000 Bernhard Rosenkraenzer +- Fix alpha and ia64 +- Rebuild with gcc 2.96-64 + +* Thu Nov 2 2000 Bernhard Rosenkraenzer +- 5.2 +- Fix typo in man page (Bug #20205) +- update the "screen" terminfo entries to the version supplied with + screen 3.9.8 + +* Mon Oct 9 2000 Bernhard Rosenkraenzer +- Update (fixes the "make menuconfig" bug introduced by the security fix) + +* Tue Oct 3 2000 Bernhard Rosenkraenzer +- Fix security problem (possible buffer overrun) + +* Fri Aug 4 2000 Bernhard Rosenkraenzer +- Add the bugfix patches from the ncurses maintainer + +* Thu Jul 13 2000 Bernhard Rosenkraenzer +- 5.1 + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Mon Jun 5 2000 Matt Wilson +- *don't ship symlinks from lib*.so.5 to lib*.so.4! +- use FHS macros + +* Fri Jun 2 2000 Bernhard Rosenkraenzer +- rebuild for 7.0 +- /usr/share/man +- update URL for patches +- misc. fixes to spec file + +* Mon Mar 20 2000 Bernhard Rosenkraenzer +- use the real library version number +- update to 20000319 + +* Tue Mar 7 2000 Jeff Johnson +- rebuild for sparc baud rates > 38400. + +* Fri Feb 18 2000 Preston Brown +- xterm terminfo entries from XFree86 3.3.6 +- final round of xterm fixes, follow debian policy. + +* Sat Feb 5 2000 Bernhard Rosenkränzer +- strip libraries + +* Thu Feb 3 2000 Bernhard Rosenkränzer +- More xterm fixes (Bug #9087) + +* Thu Jan 27 2000 Bernhard Rosenkränzer +- More xterm fixes from Hans de Goede (Bug #8633) + +* Sat Jan 15 2000 Bernhard Rosenkränzer +- remove some broken symlinks (leftovers from libncurses.so.5) +- Use %%configure (Bug #8484) + +* Tue Jan 11 2000 Bernhard Rosenkränzer +- Add xterm patch from Hans de Goede +- Patch 20000108, this fixes a problem with a header file. + +* Wed Jan 5 2000 Bernhard Rosenkränzer +- Add 20000101 patch, hopefully finally fixing the xterm description + +* Wed Dec 22 1999 Cristian Gafton +- revert to the old major number - because the ABI is not changed (and we + should be handling the changes via symbol versioning anyway) + +* Fri Nov 12 1999 Bernhard Rosenkraenzer +- Fix a typo in spec +- Add the 19991006 patch, fixing some C++ STL compatibility problems. +- get rid of profiling and debugging versions - we need to save space... + +* Thu Nov 4 1999 Bernhard Rosenkraenzer +- 5.0 +- some spec cleanups to make updating easier +- add links *.so.5 to *.so.4 - they are fully binary compatible. + (Why did they change the invocation number???) + +* Wed Sep 22 1999 Cristian Gafton +- make clean in the test dir - don't ship any binaries at all. + +* Mon Sep 13 1999 Preston Brown +- fixed stripping of test programs. + +* Sun Aug 29 1999 Preston Brown +- removed 'flash' capability for xterm; see bug #2820 for details. + +* Fri Aug 27 1999 Cristian Gafton +- add the resetall script from Marc Merlin + +* Fri Aug 27 1999 Preston Brown +- added iris-ansi-net as alias for iris-ansi (bug #2561) + +* Fri Jul 30 1999 Michael K. Johnson +- added ncurses-intro.hmtl and hackguide.html to -devel package [bug #3929] + +* Tue Apr 06 1999 Preston Brown +- make sure ALL binaries are stripped (incl. test binaries) + +* Thu Mar 25 1999 Preston Brown +- made xterm terminfo stuff MUCH better. + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 16) + +* Sat Mar 13 1999 Cristian Gafton +- fixed header for C++ compiles + +* Fri Mar 12 1999 Jeff Johnson +- add terminfo entries for linux/linux-m on sparc (obsolete termfile_sparc). + +* Thu Feb 18 1999 Cristian Gafton +- updated patchset from original site + +* Thu Dec 03 1998 Cristian Gafton +- don't build the C++ demo code +- update patch set to the current as of today (redid all the individual + patches in a single one) + +* Wed Oct 14 1998 Cristian Gafton +- make sure to strip the binaries + +* Wed Sep 23 1998 Cristian Gafton +- added another zillion of patches. The spec file *is* ugly +- defattr + +* Mon Jul 20 1998 Cristian Gafton +- added lots of patches. This spec file is starting to look ugly + +* Wed Jul 01 1998 Alan Cox +- Fix setuid trusting. Open termcap/info files as the real user. + +* Wed May 06 1998 Cristian Gafton +- added terminfo entry for the poor guys using lat1 and/or lat-2 on their + consoles... Enjoy linux-lat ! Thanks, Erik ! + +* Tue Apr 21 1998 Cristian Gafton +- new patch to get xterm-color and nxterm terminfo entries +- aliased them to rxvt, as that seems to satisfy everybody + +* Sun Apr 12 1998 Cristian Gafton +- added %%clean section + +* Tue Apr 07 1998 Cristian Gafton +- removed /usr/lib/terminfo symlink - we shouldn't need that + +* Mon Apr 06 1998 Cristian Gafton +- updated to 4.2 + patches +- added BuildRoot + +* Sat Apr 04 1998 Cristian Gafton +- rebuilt with egcs on alpha + +* Wed Dec 31 1997 Erik Troan +- version 7 didn't rebuild properly on the Alpha somehow -- no real changes + are in this version + +* Tue Dec 09 1997 Erik Troan +- TIOCGWINSZ wasn't used properly + +* Tue Jul 08 1997 Erik Troan +- built against glibc, linked shared libs against -lc + diff --git a/sources b/sources new file mode 100644 index 0000000..635b553 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ncurses-6.1-20180224.tgz) = 26a0b8a88e965fa4089a48cd0af46b0ffa90d621a7d207c5c09c8cbd60f2cf073953c64ad109469bef9f52e5137067924148c33880cdd2161024a6e42ea4607d