[packages/ftp] Rel 32

arekm arekm at pld-linux.org
Sat Mar 14 13:35:25 CET 2026


commit b32f54995720451dec750aa7a03eaa9d901f6236
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Mar 14 13:35:18 2026 +0100

    Rel 32

 ftp.spec                         |  4 +++-
 netkit-ftp-c23-debugsource.patch | 25 +++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletion(-)
---
diff --git a/ftp.spec b/ftp.spec
index e0be9ca..4e34bbe 100644
--- a/ftp.spec
+++ b/ftp.spec
@@ -9,7 +9,7 @@ Summary(tr.UTF-8):	Standart UN*X FTP istemcisi
 Summary(uk.UTF-8):	Стандартний FTP (file transfer protocol) клієнт Unix
 Name:		ftp
 Version:	0.17
-Release:	31
+Release:	32
 License:	BSD
 Group:		Applications/Networking
 Source0:	ftp://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-%{name}-%{version}.tar.gz
@@ -23,6 +23,7 @@ Patch1:		netkit-%{name}-acct.patch
 Patch2:		netkit-%{name}-usagi-ipv6.patch
 Patch3:		netkit-%{name}-input_line.patch
 Patch4:		netkit-%{name}-arg_max.patch
+Patch5:		netkit-%{name}-c23-debugsource.patch
 BuildRequires:	readline-devel >= 4.2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:	inetutils-ftp
@@ -102,6 +103,7 @@ pasywnym.
 %patch -P2 -p1
 %patch -P3 -p1
 %patch -P4 -p1
+%patch -P5 -p1
 
 %build
 CFLAGS="%{rpmcflags}" \
diff --git a/netkit-ftp-c23-debugsource.patch b/netkit-ftp-c23-debugsource.patch
new file mode 100644
index 0000000..05ebf8b
--- /dev/null
+++ b/netkit-ftp-c23-debugsource.patch
@@ -0,0 +1,25 @@
+--- netkit-ftp-0.17/ftp/Makefile.orig	2001-01-27 07:57:08.000000000 +0100
++++ netkit-ftp-0.17/ftp/Makefile	2026-03-14 13:29:00.000000000 +0100
+@@ -17,7 +17,7 @@
+ 
+ install: ftp
+ 	install -d $(INSTALLROOT)$(BINDIR)
+-	install -s -m$(BINMODE) ftp $(INSTALLROOT)$(BINDIR)
++	install -m$(BINMODE) ftp $(INSTALLROOT)$(BINDIR)
+ 	ln -sf ftp $(INSTALLROOT)$(BINDIR)/pftp
+ 	install -d $(INSTALLROOT)$(MANDIR)/man1
+ 	install -m$(MANMODE) ftp.1 $(INSTALLROOT)$(MANDIR)/man1
+--- netkit-ftp-0.17/ftp/cmds.c.orig	2001-01-13 12:09:44.000000000 +0100
++++ netkit-ftp-0.17/ftp/cmds.c	2026-03-14 13:29:00.000000000 +0100
+@@ -1045,9 +1045,9 @@
+ }
+ 
+ static const char *
+-onoff(int bool)
++onoff(int enabled)
+ {
+-	return (bool ? "on" : "off");
++	return (enabled ? "on" : "off");
+ }
+ 
+ /*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ftp.git/commitdiff/b32f54995720451dec750aa7a03eaa9d901f6236



More information about the pld-cvs-commit mailing list