From d0d507c9491dbab6b88187ec0fad5c9eaa7a47fa Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Fri, 13 Dec 2019 10:01:29 -0600 Subject: [PATCH 1/6] "Adding package.cfg file" --- package.cfg | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 package.cfg diff --git a/package.cfg b/package.cfg new file mode 100644 index 0000000..66ea79d --- /dev/null +++ b/package.cfg @@ -0,0 +1,2 @@ +[koji] +targets = epel8 epel8-playground \ No newline at end of file From 943688bed4985f54f10eeea91a74d9ace2b55e65 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 24 Sep 2020 18:32:53 +0000 Subject: [PATCH 2/6] remove package.cfg per new epel-playground policy --- package.cfg | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 package.cfg diff --git a/package.cfg b/package.cfg deleted file mode 100644 index 66ea79d..0000000 --- a/package.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[koji] -targets = epel8 epel8-playground \ No newline at end of file From 40183f3d9951e1d682bc3edc911befef945380bf Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Mon, 8 Mar 2021 09:15:30 +0100 Subject: [PATCH 3/6] Upstream changed to gridcf.org --- sources | 2 +- uberftp.spec | 13 ++++--------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/sources b/sources index f48c7dc..c3c2272 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -57bbba5ed76f2c41ef992072059f32d7 UberFTP-012788f5430c9f7eb03e65b7aa8bcb106f472518.tar.gz +SHA512 (uberftp-2.8.tar.gz) = 8be3fe1767656e43ccac2a2932028247a4314d86112806e604a31718c8a1a4d384c7b8f87222d9757e479f4d4a2f9db809d1edb98faada797ec85ab0fdecdf75 diff --git a/uberftp.spec b/uberftp.spec index 26f6cf6..e1a2895 100644 --- a/uberftp.spec +++ b/uberftp.spec @@ -1,18 +1,13 @@ -# $ git rev-parse Version_2_8 -# 012788f5430c9f7eb03e65b7aa8bcb106f472518 - -%global commit 012788f5430c9f7eb03e65b7aa8bcb106f472518 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global gittag Version_2_8 Name: uberftp Version: 2.8 Release: 12%{?dist} Summary: GridFTP-enabled ftp client - License: NCSA -URL: https://github.com/JasonAlt/UberFTP -Source0: https://github.com/JasonAlt/UberFTP/archive/%{commit}/UberFTP-%{commit}.tar.gz +URL: https://gridcf.org/ +Source0: https://github.com/gridcf/UberFTP/archive/%{gittag}/%{name}-%{version}.tar.gz # https://github.com/JasonAlt/UberFTP/pull/6 Patch0: uberftp-32bit-pkg-config.patch # Current upstream is now archived but hopefully a new one will appear soon. @@ -29,7 +24,7 @@ It supports GSI authentication, parallel data channels and third party transfers. %prep -%setup -q -n UberFTP-%{commit} +%setup -q -n UberFTP-%{gittag} iconv -f iso8859-1 -t utf-8 copyright > copyright.conv && mv -f copyright.conv copyright touch -r configure.ac x %patch0 -p1 From bb3d0962253f753ed9925f42d71d39622e610ebc Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Mon, 8 Mar 2021 09:39:57 +0100 Subject: [PATCH 4/6] Release 2.8-13 --- uberftp.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/uberftp.spec b/uberftp.spec index e1a2895..78f4416 100644 --- a/uberftp.spec +++ b/uberftp.spec @@ -2,7 +2,7 @@ Name: uberftp Version: 2.8 -Release: 12%{?dist} +Release: 13%{?dist} Summary: GridFTP-enabled ftp client License: NCSA @@ -45,6 +45,10 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc Changelog.mssftp Changelog copyright %changelog +* Mon Mar 8 2021 Steve Traylen - 2.8-13 +- Upstream is now GridCF project + https://mailman.egi.eu/pipermail/discuss/2019-March/000273.html + * Thu Jan 9 2020 Mátyás Selmeci - 2.8-12 - Add patch to prevent hanging when command socket closes From f5c537e03af15c68a2cc6ee21c721b145460cd9c Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Thu, 20 Jan 2022 11:23:39 +0000 Subject: [PATCH 5/6] Upstream to 2.9 --- disconnected_server.patch | 31 ------------------------------- sources | 2 +- uberftp-32bit-pkg-config.patch | 24 ------------------------ uberftp.spec | 29 ++++++++++------------------- 4 files changed, 11 insertions(+), 75 deletions(-) delete mode 100644 disconnected_server.patch delete mode 100644 uberftp-32bit-pkg-config.patch diff --git a/disconnected_server.patch b/disconnected_server.patch deleted file mode 100644 index 12c284b..0000000 --- a/disconnected_server.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 4c1cb01d712923c63f23a975eec13170aa57d992 Mon Sep 17 00:00:00 2001 -From: Brian Bockelman -Date: Thu, 26 Dec 2019 13:34:02 -0600 -Subject: [PATCH] Prevent uberftp from hanging when the command socket closes - ---- - ftp.c | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/ftp.c b/ftp.c -index 3c65d18..dfd4739 100644 ---- a/ftp.c -+++ b/ftp.c -@@ -2742,6 +2742,14 @@ _f_get_resp(fh_t * fh, int * code, char ** resp) - FREE(cptr); - } - -+ /* There was no command sent and the server side closed the socket. */ -+ if (!nl && fh->cc.eof) -+ { -+ ec = ec_create(EC_GSI_SUCCESS, -+ EC_GSI_SUCCESS, -+ "Server unexpectedly closed the socket."); -+ } -+ - if (!ec && *code == 421) - { - ec = ec_create(EC_GSI_SUCCESS, --- -2.21.0 - diff --git a/sources b/sources index c3c2272..d717387 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uberftp-2.8.tar.gz) = 8be3fe1767656e43ccac2a2932028247a4314d86112806e604a31718c8a1a4d384c7b8f87222d9757e479f4d4a2f9db809d1edb98faada797ec85ab0fdecdf75 +SHA512 (uberftp-2.9.tar.gz) = 1ff2573649b2e2b28aed2f31af66196ad7bc677a7944a423cf92cfc18f12e93d3f27f8a10c002ad87c03b226850c9da5950fc4a920b3087e78c4b45ed4cbf95e diff --git a/uberftp-32bit-pkg-config.patch b/uberftp-32bit-pkg-config.patch deleted file mode 100644 index 96062e0..0000000 --- a/uberftp-32bit-pkg-config.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ur UberFTP.orig/configure UberFTP/configure ---- UberFTP.orig/configure 2014-02-11 19:35:56.000000000 +0100 -+++ UberFTP/configure 2014-09-29 10:10:45.282934507 +0200 -@@ -3812,7 +3812,7 @@ - - if test "x$globus_location" == "x/usr" ; then - # RPM installation -- CPPFLAGS=-I$globus_location/lib64/globus/include -+ CPPFLAGS="-I$globus_location/lib64/globus/include -I$globus_location/lib/globus/include -I$globus_location/include/globus" - ac_ext=c - ac_cpp='$CPP $CPPFLAGS' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -diff -ur UberFTP.orig/configure.ac UberFTP/configure.ac ---- UberFTP.orig/configure.ac 2014-02-11 19:35:56.000000000 +0100 -+++ UberFTP/configure.ac 2014-09-29 10:09:35.848741840 +0200 -@@ -109,7 +109,7 @@ - - if test "x$globus_location" == "x/usr" ; then - # RPM installation -- CPPFLAGS=-I$globus_location/lib64/globus/include -+ CPPFLAGS="-I$globus_location/lib64/globus/include -I$globus_location/lib/globus/include -I$globus_location/include/globus" - AC_CHECK_HEADERS([globus_config.h], - [GLOBUS_CONFIG_CPPFLAGS="$CPPFLAGS"], - [AC_MSG_ERROR(globus_config.h not found, install globus-core)]) diff --git a/uberftp.spec b/uberftp.spec index 78f4416..8bd942e 100644 --- a/uberftp.spec +++ b/uberftp.spec @@ -1,19 +1,11 @@ -%global gittag Version_2_8 - Name: uberftp -Version: 2.8 -Release: 13%{?dist} +Version: 2.9 +Release: 1%{?dist} Summary: GridFTP-enabled ftp client License: NCSA URL: https://gridcf.org/ -Source0: https://github.com/gridcf/UberFTP/archive/%{gittag}/%{name}-%{version}.tar.gz -# https://github.com/JasonAlt/UberFTP/pull/6 -Patch0: uberftp-32bit-pkg-config.patch -# Current upstream is now archived but hopefully a new one will appear soon. -# https://mailman.egi.eu/pipermail/discuss/2019-March/000273.html -Patch1: disconnected_server.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: https://repo.gridcf.org/uberftp/sources/uberftp-%{version}.tar.gz BuildRequires: gcc BuildRequires: globus-gssapi-gsi-devel @@ -24,15 +16,10 @@ It supports GSI authentication, parallel data channels and third party transfers. %prep -%setup -q -n UberFTP-%{gittag} -iconv -f iso8859-1 -t utf-8 copyright > copyright.conv && mv -f copyright.conv copyright -touch -r configure.ac x -%patch0 -p1 -%patch1 -p1 -touch -r x configure.ac +%setup -q %build -%configure --with-globus=%{_usr} +%configure make %{?_smp_mflags} %install @@ -42,9 +29,13 @@ make install DESTDIR=$RPM_BUILD_ROOT %files %{_bindir}/uberftp %{_mandir}/man1/uberftp.1* -%doc Changelog.mssftp Changelog copyright +%doc Changelog.mssftp ChangeLog +%license COPYING %changelog +* Thu Jan 20 2022 Steve Traylen - 2.9-1 +- Upstream to 2.9 + * Mon Mar 8 2021 Steve Traylen - 2.8-13 - Upstream is now GridCF project https://mailman.egi.eu/pipermail/discuss/2019-March/000273.html From 10137b9665e4f36329e8ad3c5eb4f706b1a0586a Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Thu, 20 Oct 2022 12:47:59 +0000 Subject: [PATCH 6/6] Upstream to 2.9.1 --- sources | 2 +- uberftp.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sources b/sources index d717387..5e84d3a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uberftp-2.9.tar.gz) = 1ff2573649b2e2b28aed2f31af66196ad7bc677a7944a423cf92cfc18f12e93d3f27f8a10c002ad87c03b226850c9da5950fc4a920b3087e78c4b45ed4cbf95e +SHA512 (uberftp-2.9.1.tar.gz) = adb0161d0959fd819ef31c9ad36719e51ca1baa4ac9ca33b844078315d7253658d02e707b91867d889faa6b889a802b844325f4081ec55ca7b2f88bbc3d71a95 diff --git a/uberftp.spec b/uberftp.spec index 8bd942e..bd8aa48 100644 --- a/uberftp.spec +++ b/uberftp.spec @@ -1,5 +1,5 @@ Name: uberftp -Version: 2.9 +Version: 2.9.1 Release: 1%{?dist} Summary: GridFTP-enabled ftp client @@ -33,6 +33,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %license COPYING %changelog +* Thu Oct 20 2022 Steve Traylen - 2.9.1-1 +- Upstream to 2.9.1 + * Thu Jan 20 2022 Steve Traylen - 2.9-1 - Upstream to 2.9