https://bugzilla.redhat.com/show_bug.cgi?id=1238375
Robert-André Mauchin zebob.m@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |zebob.m@gmail.com Assignee|nobody@fedoraproject.org |zebob.m@gmail.com Flags| |fedora-review?
--- Comment #4 from Robert-André Mauchin zebob.m@gmail.com --- Hello,
- The fastcgi website seems closed, according to wikipedia, the following site is replacing it: https://fastcgi-archives.github.io/
- The latest version seems to be 2.4.1 https://github.com/FastCGI-Archives/fcgi2/releases
URL: https://fastcgi-archives.github.io/ Source0: https://github.com/FastCGI-Archives/fcgi2/archive/%%7Bversion%7D/%%7Bname%7D...
And:
%prep %setup -q -n %{pkgname}2-%{version}
- The configure patch needs to be tweaked a bit:
diff -rupN fcgi-2.4.0/configure.in fcgi-2.4.0-new/configure.in --- fcgi-2.4.0/configure.in 2003-01-19 18:19:41.000000000 +0100 +++ fcgi-2.4.0-new/configure.in 2015-06-24 14:43:58.618279032 +0200 @@ -4,8 +4,8 @@ dnl This file is an input file used dnl generate the file "configure", which is run during the build dnl to configure the system for the local environment.
-AC_INIT -AM_INIT_AUTOMAKE(fcgi, 2.4.1-SNAP-0910052249) +AC_INIT(fcgi, 2.4.1) +AM_INIT_AUTOMAKE(1.9 foreign)
AM_CONFIG_HEADER(fcgi_config.h)
- The configure script uses obsolete macros:
AutoTools: Obsoleted m4s found ------------------------------ AC_PROG_LIBTOOL found in: fcgi2-2.4.1/configure.in:15 AM_CONFIG_HEADER found in: fcgi2-2.4.1/configure.in:10, fcgi2-2.4.1/perl/configure.in:9
You should patch it to fix this:
diff -up fcgi2-2.4.1/configure.in.fix_obsolete_m4s fcgi2-2.4.1/configure.in --- fcgi2-2.4.1/configure.in.fix_obsolete_m4s 2017-08-31 21:20:30.149464025 +0200 +++ fcgi2-2.4.1/configure.in 2017-08-31 21:20:46.563424585 +0200 @@ -7,12 +7,12 @@ dnl to configure the system for the AC_INIT(fcgi, 2.4.1) AM_INIT_AUTOMAKE(1.9 foreign)
-AM_CONFIG_HEADER(fcgi_config.h) +AC_CONFIG_HEADERS(fcgi_config.h)
AC_PROG_CC AC_PROG_CPP AC_PROG_INSTALL -AC_PROG_LIBTOOL +LT_INIT
AC_PROG_CXX
diff -up fcgi2-2.4.1/perl/configure.in.fix_obsolete_m4s fcgi2-2.4.1/perl/configure.in --- fcgi2-2.4.1/perl/configure.in.fix_obsolete_m4s 2017-03-28 02:44:54.000000000 +0200 +++ fcgi2-2.4.1/perl/configure.in 2017-08-31 21:27:59.870387055 +0200 @@ -6,7 +6,7 @@ dnl to configure the system for the
AC_INIT
-AM_CONFIG_HEADER([fcgi_config.h]) +AC_CONFIG_HEADERS([fcgi_config.h])
AC_PROG_CC AC_PROG_CPP