[packages/ncftp] - updated to 3.3.0

qboosh qboosh at pld-linux.org
Wed May 7 20:23:24 CEST 2025


commit 0b5910b4befd363a72c18f1e0f69042f510aac9d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed May 7 20:10:09 2025 +0200

    - updated to 3.3.0

 ncftp-ac.patch     | 11 +++++++++++
 ncftp-shared.patch | 16 ++++++++--------
 ncftp.spec         | 14 ++++++++------
 3 files changed, 27 insertions(+), 14 deletions(-)
---
diff --git a/ncftp.spec b/ncftp.spec
index 219b4aa..a75b689 100644
--- a/ncftp.spec
+++ b/ncftp.spec
@@ -4,20 +4,21 @@ Summary(es.UTF-8):	Cliente FTP con una interface agradable
 Summary(pl.UTF-8):	Zaawansowany klient FTP
 Summary(pt_BR.UTF-8):	Cliente FTP com uma interface agradável
 Name:		ncftp
-Version:	3.2.6
+Version:	3.3.0
 Release:	1
 Epoch:		2
 License:	The Clarified Artistic License
 Group:		Applications/Networking
-Source0:	ftp://ftp.ncftp.com/ncftp/%{name}-%{version}-src.tar.xz
-# Source0-md5:	42d0f896d69a4d603ec097546444245f
+Source0:	https://www.ncftp.com/public_ftp/ncftp/%{name}-%{version}-src.tar.gz
+# Source0-md5:	43056719c50cae2ed6b614e20c86d37e
 Source1:	%{name}.desktop
 Source2:	%{name}.png
 Source3:	ncftpbookmarks.1
 Patch0:		%{name}-DESTDIR.patch
 Patch1:		%{name}-shared.patch
 Patch2:		%{name}-home_etc.patch
-URL:		http://www.ncftp.com/
+Patch3:		%{name}-ac.patch
+URL:		https://www.ncftp.com/ncftp/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	ncurses-devel >= 5.0
 BuildRequires:	readline-devel >= 4.1
@@ -37,8 +38,8 @@ edición por línea de comando, histórico de comandos, logins
 automáticos, y mucho más.
 
 %description -l pl.UTF-8
-NcFTP jest zaawansowanym klientem FTP. Pozwala na edycję linii poleceń,
-zapamiętuje polecenia, potrafi pobierać całe katalogi wraz z
+NcFTP jest zaawansowanym klientem FTP. Pozwala na edycję linii
+poleceń, zapamiętuje polecenia, potrafi pobierać całe katalogi wraz z
 podkatalogami z serwerów FTP, automatycznie logować się itp. Ta wersja
 dodatkowo wspiera IPv6.
 
@@ -52,6 +53,7 @@ automáticos, e muito mais.
 %patch -P0 -p1
 %patch -P1 -p1
 %patch -P2 -p1
+%patch -P3 -p1
 
 %build
 %{__autoconf} -I autoconf_local
diff --git a/ncftp-ac.patch b/ncftp-ac.patch
new file mode 100644
index 0000000..073ec41
--- /dev/null
+++ b/ncftp-ac.patch
@@ -0,0 +1,11 @@
+--- ncftp-3.3.0/autoconf_local/aclocal.m4.orig	2025-04-19 18:17:38.000000000 +0200
++++ ncftp-3.3.0/autoconf_local/aclocal.m4	2025-05-07 06:25:26.099515663 +0200
+@@ -416,7 +416,7 @@ AC_DEFUN(wi_TRY_RUN_NATIVE,
+ [cat > conftest.$ac_ext <<EOF
+ [#]line __oline__ "configure"
+ #include "confdefs.h"
+-ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus
++ifelse(_AC_LANG, C++, [#ifdef __cplusplus
+ extern "C" void exit(int);
+ #endif
+ ])dnl
diff --git a/ncftp-shared.patch b/ncftp-shared.patch
index 8a60fd8..972f901 100644
--- a/ncftp-shared.patch
+++ b/ncftp-shared.patch
@@ -1,6 +1,6 @@
---- ncftp-3.1.5/Makefile.in.orig	Sun Mar 30 22:16:55 2003
-+++ ncftp-3.1.5/Makefile.in	Sun Mar 30 22:17:22 2003
-@@ -31,7 +31,7 @@
+--- ncftp-3.3.0/Makefile.in.orig	2025-03-15 23:42:22.000000000 +0100
++++ ncftp-3.3.0/Makefile.in	2025-05-07 06:19:34.432967190 +0200
+@@ -31,7 +31,7 @@ all: progs
  libs:
  	@( cd ./Strn ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)" )
  	@( cd ./sio ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)" )
@@ -8,7 +8,7 @@
 +	@( cd ./libncftp ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)" shared )
  
  progs: libs
- 	@[ -d bin ] || mkdir bin
+ 	@test -d bin  || mkdir bin
 --- ncftp-3.1.5/ncftp/Makefile.in.orig	Sun Dec 23 20:44:18 2001
 +++ ncftp-3.1.5/ncftp/Makefile.in	Sun Mar 30 22:18:49 2003
 @@ -30,7 +30,7 @@
@@ -46,9 +46,9 @@
  	@CCDV@$(CC) $(CFLAGS) $(DEFS) $(CPPFLAGS) preffw. at OBJEXT@ util. at OBJEXT@ spoolutil. at OBJEXT@ version. at OBJEXT@ gpshare. at OBJEXT@ bookmark. at OBJEXT@ ncftpbatch.c -o ../bin/ncftpbatch at EXEEXT@ $(LDFLAGS) -lncftp -lStrn -lsio $(LIBS)
  	-@$(STRIP) ../bin/ncftpbatch at EXEEXT@
  	-@( cd ../bin ; rm -f ncftpspooler at EXEEXT@ ; ln -s ncftpbatch at EXEEXT@ ncftpspooler at EXEEXT@ )
---- ncftp-3.1.5/vis/Makefile.in.orig	Sun Dec 23 20:44:25 2001
-+++ ncftp-3.1.5/vis/Makefile.in	Sun Mar 30 22:20:13 2003
-@@ -28,7 +28,7 @@
+--- ncftp-3.3.0/vis/Makefile.in.orig	2008-10-05 23:02:17.000000000 +0200
++++ ncftp-3.3.0/vis/Makefile.in	2025-05-07 06:20:55.155836210 +0200
+@@ -28,7 +28,7 @@ DPROGS=@VIS_DPROGS@
  all: $(DPROGS)
  	- at echo 'Done making NcFTP full-screen utilities.'
  
@@ -56,4 +56,4 @@
 +../bin/ncftpbookmarks at EXEEXT@: bmed.c wgets. at OBJEXT@ wutil. at OBJEXT@ pref. at OBJEXT@ preffw. at OBJEXT@ trace. at OBJEXT@ util. at OBJEXT@ bookmark. at OBJEXT@ version. at OBJEXT@ bmed.h wgets.h syshdrs.h ../libncftp/libncftp.so
  	@CCDV@$(CC) $(CFLAGS) $(DEFS) $(CPPFLAGS) bmed.c wgets. at OBJEXT@ wutil. at OBJEXT@ pref. at OBJEXT@ preffw. at OBJEXT@ trace. at OBJEXT@ util. at OBJEXT@ bookmark. at OBJEXT@ version. at OBJEXT@ -o ../bin/ncftpbookmarks at EXEEXT@ $(LDFLAGS) -lncftp -lStrn -lsio $(LIBS)
  	-@$(STRIP) ../bin/ncftpbookmarks at EXEEXT@
- 
+ 	-@/bin/rm -rf ../bin/ncftpbookmarks.dSYM
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ncftp.git/commitdiff/0b5910b4befd363a72c18f1e0f69042f510aac9d



More information about the pld-cvs-commit mailing list