From 619c603c367c361d47a9c9682a1b5f0545379d71f3d8780c4b428f84d05777b4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 15 May 2023 10:48:28 +0000 Subject: [PATCH] Accepting request 1086782 from home:fcrozat:branches:devel:libraries:c_c++ - Fix url for website and source, upstream is dead for a while. OBS-URL: https://build.opensuse.org/request/show/1086782 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/FastCGI?expand=0&rev=42 --- 2.4.0.tar.gz | 3 +++ FastCGI.changes | 5 +++++ FastCGI.spec | 23 ++++++++++++++++------- fcgi.tar.bz2 | 3 --- 4 files changed, 24 insertions(+), 10 deletions(-) create mode 100644 2.4.0.tar.gz delete mode 100644 fcgi.tar.bz2 diff --git a/2.4.0.tar.gz b/2.4.0.tar.gz new file mode 100644 index 0000000..822104c --- /dev/null +++ b/2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b152df7f301847b2bcf8b65672bfb212ed0cee640a5917aecaa36baa05f6f283 +size 328269 diff --git a/FastCGI.changes b/FastCGI.changes index 0631788..08f2a1c 100644 --- a/FastCGI.changes +++ b/FastCGI.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 11 15:44:16 UTC 2023 - Frederic Crozat + +- Fix url for website and source, upstream is dead for a while. + ------------------------------------------------------------------- Sun Sep 24 08:10:16 UTC 2017 - coolo@suse.com diff --git a/FastCGI.spec b/FastCGI.spec index e9e2e75..cb99a4f 100644 --- a/FastCGI.spec +++ b/FastCGI.spec @@ -1,7 +1,7 @@ # # spec file for package FastCGI # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,8 +23,8 @@ Release: 0 Summary: A Scalable, Open Extension to CGI License: OML Group: Development/Languages/C and C++ -Url: http://www.fastcgi.com -Source: http://www.fastcgi.com/dist/fcgi.tar.bz2 +URL: https://fastcgi-archives.github.io/ +Source: https://github.com/FastCGI-Archives/fcgi2/archive/%{version}.tar.gz Source1: README.supervise Patch0: FastCGI-makefile.am_cppflags.patch Patch1: FastCGI-clientdata_pointer.patch @@ -34,6 +34,7 @@ Patch4: FastCGI-gcc44.patch Patch5: FastCGI-perl514.patch Patch6: FastCGI-fix_deprecated_api.patch Patch7: FastCGI-perl526.patch +BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: perl @@ -70,7 +71,7 @@ APIs. Summary: A scalable, open extension to CGI Group: Development/Languages/C and C++ Requires: %{name} = %{version} -%if 0%{?suse_version} < 1120 +%if 0%{?suse_version} < 1120 Requires: perl >= 5.8.0 %else %{perl_requires} @@ -82,7 +83,7 @@ provides high performance without the limitations of server specific APIs. %prep -%setup -n fcgi-%{version} +%setup -n fcgi2-%{version} %patch0 %patch1 %patch2 @@ -93,12 +94,20 @@ APIs. %patch7 -p1 touch NEWS AUTHORS ChangeLog COPYING find doc/{fastcgi-prog-guide,fastcgi-whitepaper} -type f -print0 | xargs -r0 chmod 0644 +cp include/fcgi_config.h.in . +cp include/fcgi_config.h.in perl %build -autoreconf -fi +libtoolize --force +aclocal +automake --add-missing +autoconf %configure --disable-static --includedir=%{_includedir}/fastcgi make all pushd perl + libtoolize --force + aclocal -I.. + autoconf %configure --disable-static --includedir=%{_includedir}/fastcgi %{__perl} Makefile.PL make %{?_smp_mflags} all diff --git a/fcgi.tar.bz2 b/fcgi.tar.bz2 deleted file mode 100644 index 1dce436..0000000 --- a/fcgi.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b06a3f9e7e693d26bbe85ae3c20b968ad29c0f5db4a21187991d174f17aa56d5 -size 376749