[packages/bareftp] Rel 5

arekm arekm at pld-linux.org
Wed May 20 11:36:10 CEST 2026


commit fd8efa86da9d341f94be621e2126620172f86d70
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed May 20 11:35:54 2026 +0200

    Rel 5

 bareftp-mono-4.5.patch | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++
 bareftp.spec           |  6 +++++-
 2 files changed, 60 insertions(+), 1 deletion(-)
---
diff --git a/bareftp.spec b/bareftp.spec
index 3411dbc..0e644e6 100644
--- a/bareftp.spec
+++ b/bareftp.spec
@@ -6,13 +6,15 @@ Summary:	File transfer client supporting the FTP, FTPS and SFTP
 Summary(pl.UTF-8):	Program do transferu plików z użyciem FTP, FTPS oraz SFTP
 Name:		bareftp
 Version:	0.3.9
-Release:	2
+Release:	5
 License:	GPL v2+
 Group:		Applications/Networking
 Source0:	http://www.bareftp.org/release/%{name}-%{version}.tar.gz
 # Source0-md5:	cd41a4ed4082f60875a1720cfc1e4db2
+Patch0:		%{name}-mono-4.5.patch
 URL:		http://www.bareftp.org/
 %{?with_gnome_keyring:BuildRequires:	dotnet-gnome-keyring-sharp-devel}
+BuildRequires:	dotnet-gconf-sharp-devel
 BuildRequires:	dotnet-gnome-sharp-devel
 BuildRequires:	dotnet-gtk-sharp2-devel
 BuildRequires:	gettext-tools
@@ -32,9 +34,11 @@ protokoły FTP, FTP z obsługą SSL/TLS (FTPS) oraz SSH (SFTP).
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %build
 %configure \
+	CPPFLAGS="%{rpmcppflags} -D_GNU_SOURCE" \
 	%{!?with_gnome_keyring:--without-gnomekeyring}
 %{__make}
 
diff --git a/bareftp-mono-4.5.patch b/bareftp-mono-4.5.patch
new file mode 100644
index 0000000..82b5f99
--- /dev/null
+++ b/bareftp-mono-4.5.patch
@@ -0,0 +1,55 @@
+--- bareftp-0.3.9/m4/shamrock/mono.m4	2026-05-20 11:06:16.587293541 +0200
++++ bareftp-0.3.9.new/m4/shamrock/mono.m4	2026-05-20 11:06:37.969561991 +0200
+@@ -5,7 +5,7 @@
+ 
+ AC_DEFUN([SHAMROCK_FIND_MONO_2_0_COMPILER],
+ [
+-	SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, gmcs)
++	SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, mcs)
+ ])
+ 
+ AC_DEFUN([SHAMROCK_FIND_MONO_RUNTIME],
+@@ -25,7 +25,9 @@
+ 		AC_MSG_CHECKING([for Mono $1 GAC for $asm.dll])
+ 		if test \
+ 			-e "$($PKG_CONFIG --variable=libdir mono)/mono/$1/$asm.dll" -o \
+-			-e "$($PKG_CONFIG --variable=prefix mono)/lib/mono/$1/$asm.dll"; \
++			-e "$($PKG_CONFIG --variable=prefix mono)/lib/mono/$1/$asm.dll" -o \
++			-e "$($PKG_CONFIG --variable=libdir mono)/mono/4.5/$asm.dll" -o \
++			-e "$($PKG_CONFIG --variable=prefix mono)/lib/mono/4.5/$asm.dll"; \
+ 			then \
+ 			AC_MSG_RESULT([found])
+ 		else
+--- bareftp-0.3.9/configure	2026-05-20 11:06:16.593555624 +0200
++++ bareftp-0.3.9.new/configure	2026-05-20 11:07:38.339561979 +0200
+@@ -14605,8 +14605,8 @@
+ 
+ 
+ 
+-	# Extract the first word of "gmcs", so it can be a program name with args.
+-set dummy gmcs; ac_word=$2
++	# Extract the first word of "mcs", so it can be a program name with args.
++set dummy mcs; ac_word=$2
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+ $as_echo_n "checking for $ac_word... " >&6; }
+ if ${ac_cv_path_MCS+:} false; then :
+@@ -14649,7 +14649,7 @@
+ 
+ 
+ 	if test "xMCS" = "xno"; then
+-		as_fn_error $? "You need to install 'gmcs'" "$LINENO" 5
++		as_fn_error $? "You need to install 'mcs'" "$LINENO" 5
+ 	fi
+ 
+ 
+@@ -14715,7 +14715,9 @@
+ $as_echo_n "checking for Mono 2.0 GAC for $asm.dll... " >&6; }
+ 		if test \
+ 			-e "$($PKG_CONFIG --variable=libdir mono)/mono/2.0/$asm.dll" -o \
+-			-e "$($PKG_CONFIG --variable=prefix mono)/lib/mono/2.0/$asm.dll"; \
++			-e "$($PKG_CONFIG --variable=prefix mono)/lib/mono/2.0/$asm.dll" -o \
++			-e "$($PKG_CONFIG --variable=libdir mono)/mono/4.5/$asm.dll" -o \
++			-e "$($PKG_CONFIG --variable=prefix mono)/lib/mono/4.5/$asm.dll"; \
+ 			then \
+ 			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
+ $as_echo "found" >&6; }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bareftp.git/commitdiff/fd8efa86da9d341f94be621e2126620172f86d70



More information about the pld-cvs-commit mailing list