From 1a98fd4c33be590cc28b0961df0b5209ab5569df Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 13:15:27 +0000 Subject: [PATCH 01/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index 4fc7142..1606b93 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 1%{?dist} +Release: 2%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -34,5 +34,8 @@ install -Dm 0644 ztelnet.1 %{buildroot}%{_mandir}/man1/ztelnet.1 %{_mandir}/man1/ztelnet.1.* %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 1.5c-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Thu Dec 7 2017 mosquito - 1.5c-1 - Initial package build From 7acebd4af5ee0c3c4d02fafcc4afcb3220d352d1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 17 Feb 2019 09:30:53 +0100 Subject: [PATCH 02/22] Rebuild for readline 8.0 --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index 1606b93..d418f69 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 2%{?dist} +Release: 3%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -34,6 +34,9 @@ install -Dm 0644 ztelnet.1 %{buildroot}%{_mandir}/man1/ztelnet.1 %{_mandir}/man1/ztelnet.1.* %changelog +* Sun Feb 17 2019 Igor Gnatenko - 1.5c-3 +- Rebuild for readline 8.0 + * Sun Feb 03 2019 Fedora Release Engineering - 1.5c-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From d384ba970383b89664b6aa823d8bbd8792662a1a Mon Sep 17 00:00:00 2001 From: Robin Lee Date: Thu, 13 Jun 2019 16:41:47 +0800 Subject: [PATCH 03/22] Port patches from Debian (BZ#1716106) Requires lrzsz --- ...Remove-build-instruction-about-lrzsz.patch | 82 +++++++++++++++++++ 0002-Install-files-into-under-DESTDIR.patch | 27 ++++++ 0003-Do-not-symlink-zssh-to-ztelnet.patch | 21 +++++ 0004-Use-GNU-openpty-library-for-pty.h.patch | 53 ++++++++++++ 0005-Do-not-call-strip-in-build-process.patch | 23 ++++++ ...ction-call-with-rl_completion_func_t.patch | 22 +++++ 0007-Fix-typo-in-man-page-zssh.1.patch | 21 +++++ ...-from-version-string-to-enable-repro.patch | 21 +++++ zssh.spec | 31 +++++-- 9 files changed, 293 insertions(+), 8 deletions(-) create mode 100644 0001-Remove-build-instruction-about-lrzsz.patch create mode 100644 0002-Install-files-into-under-DESTDIR.patch create mode 100644 0003-Do-not-symlink-zssh-to-ztelnet.patch create mode 100644 0004-Use-GNU-openpty-library-for-pty.h.patch create mode 100644 0005-Do-not-call-strip-in-build-process.patch create mode 100644 0006-replace-CPPFunction-call-with-rl_completion_func_t.patch create mode 100644 0007-Fix-typo-in-man-page-zssh.1.patch create mode 100644 0008-Strip-build-date-from-version-string-to-enable-repro.patch diff --git a/0001-Remove-build-instruction-about-lrzsz.patch b/0001-Remove-build-instruction-about-lrzsz.patch new file mode 100644 index 0000000..a7d5aea --- /dev/null +++ b/0001-Remove-build-instruction-about-lrzsz.patch @@ -0,0 +1,82 @@ +From: Bart Martens +Date: Tue, 17 Jan 2006 00:23:59 +0100 +Subject: Remove build instruction about lrzsz. + +Now that we have removed bundled lrzsz in source tarball, the package's +build instrctions need patching as well. +--- + Makefile.in | 20 ++------------------ + fake_readline/Makefile.in | 2 +- + test/Makefile.in | 4 ++-- + 3 files changed, 5 insertions(+), 21 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 92c7254..6e46a93 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -86,21 +86,6 @@ uninstall : + fake_readline : force + -cd fake_readline && $(MAKE) + +-lrzsz : +- cd lrzsz-0.12.20 && ./configure --prefix=@prefix@ +- cd lrzsz-0.12.20 && $(MAKE) +- +-lrzsz_links : +- ln -s @bindir@/lrz @bindir@/rz +- ln -s @bindir@/lsz @bindir@/sz +- ln -s @bindir@/lrb @bindir@/rb +- ln -s @bindir@/lsb @bindir@/sb +- ln -s @bindir@/lrx @bindir@/rx +- ln -s @bindir@/lsx @bindir@/sx +- +-lrzsz_install : +- cd lrzsz-0.12.20 && $(MAKE) install +- + # create source archive in ~/backup + tgz $(TGZ) : distclean force + @cdir=`pwd` && cdir=`basename $$cdir` && cd .. && \ +@@ -136,11 +121,10 @@ TAGS : + new : clean all + + clean : +- -rm *.o *~ *.a \#*\# core $(PRGS) typescript nohup.out $(RPMSPEC) $(BACKLINK) ++ -rm -f *.o *~ *.a \#*\# core $(PRGS) typescript nohup.out $(RPMSPEC) $(BACKLINK) + + distclean : clean +- -rm Makefile config.cache config.status config.log config.scan config.h TAGS +- -(cd lrzsz-0.12.20 && $(MAKE) distclean) ++ -rm -f Makefile config.cache config.status config.log config.scan config.h TAGS + -(cd fake_readline && $(MAKE) distclean) + -(cd test && $(MAKE) distclean) + +diff --git a/fake_readline/Makefile.in b/fake_readline/Makefile.in +index 77eca27..1134a5c 100644 +--- a/fake_readline/Makefile.in ++++ b/fake_readline/Makefile.in +@@ -28,7 +28,7 @@ new : clean all + + + clean : +- -rm *.o *~ *.a \#*\# core $(NAME) typescript nohup.out ++ -rm -f *.o *~ *.a \#*\# core $(NAME) typescript nohup.out + + distclean : clean + +diff --git a/test/Makefile.in b/test/Makefile.in +index 30f6dc1..7d8671f 100644 +--- a/test/Makefile.in ++++ b/test/Makefile.in +@@ -68,10 +68,10 @@ TAGS : + new : clean all + + clean : +- -rm *.o *~ *.a \#*\# core $(PRGS) typescript nohup.out $(RPMSPEC) $(BACKLINK) output.* ++ -rm -f *.o *~ *.a \#*\# core $(PRGS) typescript nohup.out $(RPMSPEC) $(BACKLINK) output.* + + distclean : clean +- -rm Makefile config.cache config.status config.log config.scan config.h TAGS ++ -rm -f Makefile config.cache config.status config.log config.scan config.h TAGS + + autoconf: + autoconf diff --git a/0002-Install-files-into-under-DESTDIR.patch b/0002-Install-files-into-under-DESTDIR.patch new file mode 100644 index 0000000..8969704 --- /dev/null +++ b/0002-Install-files-into-under-DESTDIR.patch @@ -0,0 +1,27 @@ +From: Bart Martens +Date: Sun, 20 May 2007 11:00:41 +0200 +Subject: Install files into under $(DESTDIR). + +This patch forces all installed files under $(DESTDIR) to cooperate +with Debian's build system. +--- + Makefile.in | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 6e46a93..69f68d7 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -75,9 +75,9 @@ ztelnet : $(NAME) + + install : + strip $(NAME) +- $(INSTALL) -m 0711 zssh @bindir@ +- ln -f @bindir@/zssh @bindir@/ztelnet +- $(INSTALL) -m 0644 $(MANS) @mandir@/man1 ++ $(INSTALL) -m 0711 zssh $(DESTDIR)/@bindir@ ++ ln -f $(DESTDIR)/@bindir@/zssh $(DESTDIR)/@bindir@/ztelnet ++ $(INSTALL) -m 0644 $(MANS) $(DESTDIR)/@mandir@/man1 + + uninstall : + -cd @bindir@ && rm $(PRGS) diff --git a/0003-Do-not-symlink-zssh-to-ztelnet.patch b/0003-Do-not-symlink-zssh-to-ztelnet.patch new file mode 100644 index 0000000..61f0794 --- /dev/null +++ b/0003-Do-not-symlink-zssh-to-ztelnet.patch @@ -0,0 +1,21 @@ +From: Bart Martens +Date: Sun, 20 May 2007 11:00:41 +0200 +Subject: Do not symlink zssh to ztelnet + +--- + Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index 69f68d7..51f60c0 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -76,7 +76,7 @@ ztelnet : $(NAME) + install : + strip $(NAME) + $(INSTALL) -m 0711 zssh $(DESTDIR)/@bindir@ +- ln -f $(DESTDIR)/@bindir@/zssh $(DESTDIR)/@bindir@/ztelnet ++ #ln -f $(DESTDIR)/@bindir@/zssh $(DESTDIR)/@bindir@/ztelnet + $(INSTALL) -m 0644 $(MANS) $(DESTDIR)/@mandir@/man1 + + uninstall : diff --git a/0004-Use-GNU-openpty-library-for-pty.h.patch b/0004-Use-GNU-openpty-library-for-pty.h.patch new file mode 100644 index 0000000..be6f6f1 --- /dev/null +++ b/0004-Use-GNU-openpty-library-for-pty.h.patch @@ -0,0 +1,53 @@ +From: Ben Wong +Date: Tue, 25 Sep 2007 01:48:30 -0700 +Subject: Use GNU openpty library for pty.h + +--- + configure.in | 11 +++++++++-- + openpty.c | 4 ++++ + 2 files changed, 13 insertions(+), 2 deletions(-) + +diff --git a/configure.in b/configure.in +index a8f1441..af2cad0 100644 +--- a/configure.in ++++ b/configure.in +@@ -57,7 +57,7 @@ AC_CONFIG_HEADER(config.h) + AC_HEADER_STDC + AC_HEADER_SYS_WAIT + AC_CHECK_HEADERS(fcntl.h paths.h sys/ioctl.h sys/time.h termios.h unistd.h \ +- err.h sys/cdefs.h sys/param.h util.h stropts.h) ++ err.h sys/cdefs.h sys/param.h util.h stropts.h pty.h) + + + +@@ -97,7 +97,14 @@ AC_CHECK_FUNCS(strdup getpt isastream tcsetpgrp) + + + dnl Check what is available for tty/pty allocation +-AC_CHECK_FUNCS(_getpty getpseudotty openpty grantpt unlockpt) ++AC_CHECK_FUNCS(_getpty getpseudotty grantpt unlockpt) ++AC_CHECK_FUNCS(openpty,, ++ [AC_CHECK_LIB(util,openpty, ++ [AC_DEFINE(HAVE_OPENPTY) ++ LIBS="$LIBS -lutil"] ++ )]) ++ ++ + AC_MSG_CHECKING(for pseudo ttys) + if test -c /dev/getpty && test $ac_cv_func_getpseudotty = yes + then +diff --git a/openpty.c b/openpty.c +index 42cb203..0b8a642 100644 +--- a/openpty.c ++++ b/openpty.c +@@ -25,6 +25,10 @@ static char gl_slavename[GL_SLAVENAMELEN + 1] = {0}; + #include + #endif + ++#ifdef HAVE_PTY_H ++#include ++#endif ++ + void getmaster() + { + #ifdef DEBUG diff --git a/0005-Do-not-call-strip-in-build-process.patch b/0005-Do-not-call-strip-in-build-process.patch new file mode 100644 index 0000000..6efbe29 --- /dev/null +++ b/0005-Do-not-call-strip-in-build-process.patch @@ -0,0 +1,23 @@ +From: Ben Wong +Date: Tue, 25 Sep 2007 01:48:30 -0700 +Subject: Do not call strip in build process + +This is handled later in Debian build system by debhelper. +This closes #438380. +--- + Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index 51f60c0..6f5542c 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -74,7 +74,7 @@ ztelnet : $(NAME) + ln $(NAME) $@ + + install : +- strip $(NAME) ++ #strip $(NAME) + $(INSTALL) -m 0711 zssh $(DESTDIR)/@bindir@ + #ln -f $(DESTDIR)/@bindir@/zssh $(DESTDIR)/@bindir@/ztelnet + $(INSTALL) -m 0644 $(MANS) $(DESTDIR)/@mandir@/man1 diff --git a/0006-replace-CPPFunction-call-with-rl_completion_func_t.patch b/0006-replace-CPPFunction-call-with-rl_completion_func_t.patch new file mode 100644 index 0000000..b555a20 --- /dev/null +++ b/0006-replace-CPPFunction-call-with-rl_completion_func_t.patch @@ -0,0 +1,22 @@ +From: YuanQing Su +Date: Mon, 21 Jul 2014 08:22:29 +0000 +Subject: replace CPPFunction call with rl_completion_func_t + +This closes #741761. +--- + completion.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/completion.c b/completion.c +index 98e714a..de44329 100644 +--- a/completion.c ++++ b/completion.c +@@ -53,7 +53,7 @@ void initialize_readline() + so that if zssh_completion() fails nothing is completed */ + rl_completion_entry_function = fake_generator; + /* Tell the completer that we want a crack first. */ +- rl_attempted_completion_function = (CPPFunction *) zssh_completion; ++ rl_attempted_completion_function = (rl_completion_func_t *) zssh_completion; + + } + diff --git a/0007-Fix-typo-in-man-page-zssh.1.patch b/0007-Fix-typo-in-man-page-zssh.1.patch new file mode 100644 index 0000000..33cf632 --- /dev/null +++ b/0007-Fix-typo-in-man-page-zssh.1.patch @@ -0,0 +1,21 @@ +From: Boyuan Yang <073plan@gmail.com> +Date: Fri, 22 Dec 2017 10:31:58 +0800 +Subject: Fix typo in man page zssh.1 + +--- + zssh.1 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/zssh.1 b/zssh.1 +index 1a2ef44..c7e404f 100644 +--- a/zssh.1 ++++ b/zssh.1 +@@ -227,7 +227,7 @@ Other arguments are passed verbatim to ssh/telnet/whatever. + + .TP 10 + .B ZSSHESCAPE +-Setting the ZSSHESCAPE environment variable allows to override the default ++Setting the ZSSHESCAPE environment variable allows one to override the default + escape sequence. ZSSHESCAPE should contain only two characters of the form + `^X', meaning that ^X is to be the new escape sequence. + diff --git a/0008-Strip-build-date-from-version-string-to-enable-repro.patch b/0008-Strip-build-date-from-version-string-to-enable-repro.patch new file mode 100644 index 0000000..e02a741 --- /dev/null +++ b/0008-Strip-build-date-from-version-string-to-enable-repro.patch @@ -0,0 +1,21 @@ +From: Reiner Herrmann +Date: Fri, 22 Dec 2017 10:40:03 +0800 +Subject: Strip build date from version string to enable reproducible building + +--- + Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index 6f5542c..db0ba38 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -110,7 +110,7 @@ $(RPMSPEC) : $(RPMSPEC:.spec=.spec.tpl) + + + version.h : force +- echo '#define ZSSH_VERSION "' `cat VERSION` ', built' `date` '"' > version.h ++ echo '#define ZSSH_VERSION "' `cat VERSION` '"' > version.h + + fun.h : $(SRC) + protos -o fun.h $(SRC) diff --git a/zssh.spec b/zssh.spec index d418f69..8883ae4 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,39 +1,54 @@ Name: zssh Version: 1.5c -Release: 3%{?dist} +Release: 4%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/zssh/zssh/1.5/%{name}-%{version}.tgz +# patches from https://sources.debian.org/patches/zssh/1.5c.debian.1-7/ +Patch0: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0001-Remove-build-instruction-about-lrzsz.patch +Patch1: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0002-Install-files-into-under-DESTDIR.patch +Patch2: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0003-Do-not-symlink-zssh-to-ztelnet.patch +Patch3: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0004-Use-GNU-openpty-library-for-pty.h.patch +Patch4: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0005-Do-not-call-strip-in-build-process.patch +Patch5: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0006-replace-CPPFunction-call-with-rl_completion_func_t.patch +Patch6: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0007-Fix-typo-in-man-page-zssh.1.patch +Patch7: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0008-Strip-build-date-from-version-string-to-enable-repro.patch BuildRequires: gcc BuildRequires: readline-devel BuildRequires: libtermcap-devel +BuildRequires: autoconf +Requires: lrzsz %description %{summary}. %prep -%setup -q +%autosetup -p1 +# remove bundled lrzsz +rm -fr lrzsz-0.12.20 %build +autoconf %configure %make_build %install -install -Dm 0755 %{name} %{buildroot}%{_bindir}/%{name} -ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/ztelnet -install -Dm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 -install -Dm 0644 ztelnet.1 %{buildroot}%{_mandir}/man1/ztelnet.1 +mkdir -p %{buildroot}%{_bindir}/ %{buildroot}%{_mandir}/man1/ +%make_install +rm %{buildroot}%{_mandir}/man1/ztelnet.1* %files %doc README %license COPYING %{_bindir}/%{name} -%{_bindir}/ztelnet %{_mandir}/man1/%{name}.1.* -%{_mandir}/man1/ztelnet.1.* %changelog +* Thu Jun 13 2019 Robin Lee - 1.5c-4 +- Port patches from Debian (BZ#1716106) +- Requires lrzsz + * Sun Feb 17 2019 Igor Gnatenko - 1.5c-3 - Rebuild for readline 8.0 From 63d91d759048018751083f22010e6ba169f0accc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 05:05:26 +0000 Subject: [PATCH 04/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index 8883ae4..06beb87 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 4%{?dist} +Release: 5%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -45,6 +45,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 1.5c-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Jun 13 2019 Robin Lee - 1.5c-4 - Port patches from Debian (BZ#1716106) - Requires lrzsz From b328ea7403ce629718afc19928b09f5c22e94c51 Mon Sep 17 00:00:00 2001 From: Robin Lee Date: Sat, 30 Nov 2019 09:31:23 +0800 Subject: [PATCH 05/22] Fix BR --- zssh.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zssh.spec b/zssh.spec index 06beb87..ef9cc94 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 5%{?dist} +Release: 6%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -16,7 +16,7 @@ Patch6: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debi Patch7: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0008-Strip-build-date-from-version-string-to-enable-repro.patch BuildRequires: gcc BuildRequires: readline-devel -BuildRequires: libtermcap-devel +BuildRequires: ncurses-devel BuildRequires: autoconf Requires: lrzsz @@ -45,6 +45,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Sat Nov 30 2019 Robin Lee - 1.5c-6 +- Fix BR + * Sat Jul 27 2019 Fedora Release Engineering - 1.5c-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From bb4c5fd3fffc54f1c8b16c86d31b66ba791b5cde Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 05:24:12 +0000 Subject: [PATCH 06/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index ef9cc94..98fe296 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 6%{?dist} +Release: 7%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -45,6 +45,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 1.5c-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Nov 30 2019 Robin Lee - 1.5c-6 - Fix BR From ca3186efd01ac28a7a753f8428257c6213be36ef Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 15:27:52 +0000 Subject: [PATCH 07/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index 98fe296..deb71d0 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 7%{?dist} +Release: 8%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -45,6 +45,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 1.5c-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jan 31 2020 Fedora Release Engineering - 1.5c-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 1729253941ab7557620eae7eb5da26deaf017ca6 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 9 Jan 2021 01:56:25 +0000 Subject: [PATCH 08/22] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- zssh.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/zssh.spec b/zssh.spec index deb71d0..9e11f71 100644 --- a/zssh.spec +++ b/zssh.spec @@ -14,6 +14,7 @@ Patch4: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debi Patch5: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0006-replace-CPPFunction-call-with-rl_completion_func_t.patch Patch6: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0007-Fix-typo-in-man-page-zssh.1.patch Patch7: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0008-Strip-build-date-from-version-string-to-enable-repro.patch +BuildRequires: make BuildRequires: gcc BuildRequires: readline-devel BuildRequires: ncurses-devel From 36fe76c5559215eb24e1b67e9d43e2ae77bdc934 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 28 Jan 2021 00:46:25 +0000 Subject: [PATCH 09/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index 9e11f71..315e1c7 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 8%{?dist} +Release: 9%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -46,6 +46,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Thu Jan 28 2021 Fedora Release Engineering - 1.5c-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 1.5c-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 1124a88da5047bcf2d182b2d47bf84240f432c1b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 22:23:14 +0000 Subject: [PATCH 10/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index 315e1c7..82ed9f3 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 9%{?dist} +Release: 10%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -46,6 +46,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 1.5c-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Thu Jan 28 2021 Fedora Release Engineering - 1.5c-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From dc0d5cfc420a539a81d3abb6ee02c7650fbac50c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 05:57:03 +0000 Subject: [PATCH 11/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index 82ed9f3..0dcf75e 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 10%{?dist} +Release: 11%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -46,6 +46,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 1.5c-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 1.5c-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From dfe1e7479fadeae88ff0527e16254b1e9ba372bc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 14:01:05 +0000 Subject: [PATCH 12/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index 0dcf75e..fa9027f 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 11%{?dist} +Release: 12%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -46,6 +46,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 1.5c-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 22 2022 Fedora Release Engineering - 1.5c-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 7e7234312c3be4122c455189c71b334d957562c5 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sat, 17 Dec 2022 15:52:51 +0100 Subject: [PATCH 13/22] Improve C99 compatibility Related to: --- zssh-c99.patch | 22 ++++++++++++++++++++++ zssh.spec | 6 +++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 zssh-c99.patch diff --git a/zssh-c99.patch b/zssh-c99.patch new file mode 100644 index 0000000..a051ba3 --- /dev/null +++ b/zssh-c99.patch @@ -0,0 +1,22 @@ +Add missing entry for HAVE_PTY_H in config.h. Without it, the +generated config.h will not define HAVE_PTY_H, and is not +included in openpty.c. This leads to an implicit declaration of the +openpty function, causing a C99 compatibility problem. + +This should go away on its own if upstream ever does a new upstream +release, as config.h.in is usually generated by autoheader. + +diff --git a/config.h.in b/config.h.in +index 2d863e29d64848bf..c2e0cc979dc0fa56 100644 +--- a/config.h.in ++++ b/config.h.in +@@ -79,6 +79,9 @@ + /* Define if you have the header file. */ + #undef HAVE_PATHS_H + ++/* Define if you have the header file. */ ++#undef HAVE_PTY_H ++ + /* Define if you have the header file. */ + #undef HAVE_READLINE_HISTORY_H + diff --git a/zssh.spec b/zssh.spec index fa9027f..734d488 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 12%{?dist} +Release: 13%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -14,6 +14,7 @@ Patch4: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debi Patch5: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0006-replace-CPPFunction-call-with-rl_completion_func_t.patch Patch6: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0007-Fix-typo-in-man-page-zssh.1.patch Patch7: https://sources.debian.org/data/main/z/zssh/1.5c.debian.1-7/debian/patches/0008-Strip-build-date-from-version-string-to-enable-repro.patch +Patch8: zssh-c99.patch BuildRequires: make BuildRequires: gcc BuildRequires: readline-devel @@ -46,6 +47,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Sat Dec 17 2022 Florian Weimer - 1.5c-13 +- Improve C99 compatibility + * Sat Jul 23 2022 Fedora Release Engineering - 1.5c-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 73f5e1bdf0b72277034a721543bd8128cde9747b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 08:21:47 +0000 Subject: [PATCH 14/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index 734d488..7a0a861 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 13%{?dist} +Release: 14%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -47,6 +47,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 1.5c-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Dec 17 2022 Florian Weimer - 1.5c-13 - Improve C99 compatibility From fe1fe6dd0f470d4d0fd1888eb7fef218e69b0b0f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 19:48:02 +0000 Subject: [PATCH 15/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index 7a0a861..d15d275 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 14%{?dist} +Release: 15%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -47,6 +47,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 1.5c-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 1.5c-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 9d891d68d381d0d38f5717aac59bf28da009dbe7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 11:18:42 +0000 Subject: [PATCH 16/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index d15d275..617313e 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 15%{?dist} +Release: 16%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -47,6 +47,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 1.5c-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 1.5c-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 694bf73f252896d5b9199efaae1964cfe780320e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 10:57:52 +0000 Subject: [PATCH 17/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index 617313e..28adf2a 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 16%{?dist} +Release: 17%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability License: GPLv3 URL: http://zssh.sourceforge.net/ @@ -47,6 +47,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 1.5c-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Jan 27 2024 Fedora Release Engineering - 1.5c-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 8073d20e4fae74758820c236424d8dac5965d142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 29 Jul 2024 14:48:16 +0200 Subject: [PATCH 18/22] convert GPLv3 license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- zssh.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/zssh.spec b/zssh.spec index 28adf2a..ebc4de2 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,8 +1,9 @@ Name: zssh Version: 1.5c -Release: 17%{?dist} +Release: 18%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability -License: GPLv3 +# Automatically converted from old format: GPLv3 - review is highly recommended. +License: GPL-3.0-only URL: http://zssh.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/zssh/zssh/1.5/%{name}-%{version}.tgz # patches from https://sources.debian.org/patches/zssh/1.5c.debian.1-7/ @@ -47,6 +48,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Mon Jul 29 2024 Miroslav Suchý - 1.5c-18 +- convert license to SPDX + * Sat Jul 20 2024 Fedora Release Engineering - 1.5c-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 294378d202b459e51992de2a9fa8f4f92c7b06f8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 16:53:18 +0000 Subject: [PATCH 19/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index ebc4de2..0e3b1dc 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 18%{?dist} +Release: 19%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability # Automatically converted from old format: GPLv3 - review is highly recommended. License: GPL-3.0-only @@ -48,6 +48,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 1.5c-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Mon Jul 29 2024 Miroslav Suchý - 1.5c-18 - convert license to SPDX From 3fdd4f256b4fe412bbe56418669439b818ae6293 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 21:21:13 +0000 Subject: [PATCH 20/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index 0e3b1dc..aa05bfe 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 19%{?dist} +Release: 20%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability # Automatically converted from old format: GPLv3 - review is highly recommended. License: GPL-3.0-only @@ -48,6 +48,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 1.5c-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jan 19 2025 Fedora Release Engineering - 1.5c-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 12fb349becf4afcd55cc275cefbc6d31b9fc726d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 20 Jan 2026 03:32:00 +0000 Subject: [PATCH 21/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index aa05bfe..c72c0bd 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 20%{?dist} +Release: 21%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability # Automatically converted from old format: GPLv3 - review is highly recommended. License: GPL-3.0-only @@ -48,6 +48,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Tue Jan 20 2026 Fedora Release Engineering - 1.5c-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Jul 25 2025 Fedora Release Engineering - 1.5c-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From c5e3f239a9cb7ad4982316eefdefa6aa48a05d8a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 09:43:57 +0000 Subject: [PATCH 22/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- zssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zssh.spec b/zssh.spec index c72c0bd..578d5ec 100644 --- a/zssh.spec +++ b/zssh.spec @@ -1,6 +1,6 @@ Name: zssh Version: 1.5c -Release: 21%{?dist} +Release: 22%{?dist} Summary: SSH and Telnet client with ZMODEM file transfer capability # Automatically converted from old format: GPLv3 - review is highly recommended. License: GPL-3.0-only @@ -48,6 +48,9 @@ rm %{buildroot}%{_mandir}/man1/ztelnet.1* %{_mandir}/man1/%{name}.1.* %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 1.5c-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Tue Jan 20 2026 Fedora Release Engineering - 1.5c-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild