webbuilder_pel7ppc64lebuilder0
3 months ago
22 changed files with 56972 additions and 817 deletions
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
diff -up fcgi-2.4.0/libfcgi/fcgio.cpp.gcc44_fixes fcgi-2.4.0/libfcgi/fcgio.cpp |
||||
--- fcgi-2.4.0/libfcgi/fcgio.cpp.gcc44_fixes 2002-02-24 21:12:22.000000000 +0100 |
||||
+++ fcgi-2.4.0/libfcgi/fcgio.cpp 2009-02-15 11:35:18.000000000 +0100 |
||||
@@ -23,6 +23,7 @@ |
||||
#endif |
||||
|
||||
#include <limits.h> |
||||
+#include <cstdio> |
||||
#include "fcgio.h" |
||||
|
||||
using std::streambuf; |
@ -0,0 +1,86 @@
@@ -0,0 +1,86 @@
|
||||
Author: Anton Kortunov <toshic.toshic@gmail.com> |
||||
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libfcgi/+bug/933417 |
||||
Description: use poll in os_unix.c instead of select to avoid problem with > 1024 connections |
||||
Forwarded: yes, fastcgi-developers@mailman.fastcgi.com |
||||
|
||||
diff --git a/libfcgi/os_unix.c b/libfcgi/os_unix.c |
||||
index 73e6a7f..af35aee 100755 |
||||
--- a/libfcgi/os_unix.c |
||||
+++ b/libfcgi/os_unix.c |
||||
@@ -42,6 +42,7 @@ static const char rcsid[] = "$Id: os_unix.c,v 1.37 2002/03/05 19:14:49 robs Exp |
||||
#include <sys/time.h> |
||||
#include <sys/un.h> |
||||
#include <signal.h> |
||||
+#include <poll.h> |
||||
|
||||
#ifdef HAVE_NETDB_H |
||||
#include <netdb.h> |
||||
@@ -103,6 +104,9 @@ static int volatile maxFd = -1; |
||||
static int shutdownPending = FALSE; |
||||
static int shutdownNow = FALSE; |
||||
|
||||
+static int libfcgiOsClosePollTimeout = 2000; |
||||
+static int libfcgiIsAfUnixKeeperPollTimeout = 2000; |
||||
+ |
||||
void OS_ShutdownPending() |
||||
{ |
||||
shutdownPending = TRUE; |
||||
@@ -168,6 +172,16 @@ int OS_LibInit(int stdioFds[3]) |
||||
if(libInitialized) |
||||
return 0; |
||||
|
||||
+ char *libfcgiOsClosePollTimeoutStr = getenv( "LIBFCGI_OS_CLOSE_POLL_TIMEOUT" ); |
||||
+ if(libfcgiOsClosePollTimeoutStr) { |
||||
+ libfcgiOsClosePollTimeout = atoi(libfcgiOsClosePollTimeoutStr); |
||||
+ } |
||||
+ |
||||
+ char *libfcgiIsAfUnixKeeperPollTimeoutStr = getenv( "LIBFCGI_IS_AF_UNIX_KEEPER_POLL_TIMEOUT" ); |
||||
+ if(libfcgiIsAfUnixKeeperPollTimeoutStr) { |
||||
+ libfcgiIsAfUnixKeeperPollTimeout = atoi(libfcgiIsAfUnixKeeperPollTimeoutStr); |
||||
+ } |
||||
+ |
||||
asyncIoTable = (AioInfo *)malloc(asyncIoTableSize * sizeof(AioInfo)); |
||||
if(asyncIoTable == NULL) { |
||||
errno = ENOMEM; |
||||
@@ -755,19 +769,16 @@ int OS_Close(int fd) |
||||
|
||||
if (shutdown(fd, 1) == 0) |
||||
{ |
||||
- struct timeval tv; |
||||
- fd_set rfds; |
||||
+ struct pollfd pfd; |
||||
int rv; |
||||
char trash[1024]; |
||||
|
||||
- FD_ZERO(&rfds); |
||||
+ pfd.fd = fd; |
||||
+ pfd.events = POLLIN; |
||||
|
||||
do |
||||
{ |
||||
- FD_SET(fd, &rfds); |
||||
- tv.tv_sec = 2; |
||||
- tv.tv_usec = 0; |
||||
- rv = select(fd + 1, &rfds, NULL, NULL, &tv); |
||||
+ rv = poll(&pfd, 1, libfcgiOsClosePollTimeout); |
||||
} |
||||
while (rv > 0 && read(fd, trash, sizeof(trash)) > 0); |
||||
} |
||||
@@ -1116,13 +1127,11 @@ static int is_reasonable_accept_errno (const int error) |
||||
*/ |
||||
static int is_af_unix_keeper(const int fd) |
||||
{ |
||||
- struct timeval tval = { READABLE_UNIX_FD_DROP_DEAD_TIMEVAL }; |
||||
- fd_set read_fds; |
||||
- |
||||
- FD_ZERO(&read_fds); |
||||
- FD_SET(fd, &read_fds); |
||||
+ struct pollfd pfd; |
||||
+ pfd.fd = fd; |
||||
+ pfd.events = POLLIN; |
||||
|
||||
- return select(fd + 1, &read_fds, NULL, NULL, &tval) >= 0 && FD_ISSET(fd, &read_fds); |
||||
+ return poll(&pfd, 1, libfcgiIsAfUnixKeeperPollTimeout) >= 0 && (pfd.revents & POLLIN); |
||||
} |
||||
|
||||
/* |
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
--- mod_perl-2.0.4/src/modules/perl/modperl_common_util.h.inline |
||||
+++ mod_perl-2.0.4/src/modules/perl/modperl_common_util.h |
||||
@@ -22,7 +22,7 @@ |
||||
#ifdef MP_DEBUG |
||||
#define MP_INLINE |
||||
#else |
||||
-#define MP_INLINE APR_INLINE |
||||
+#define MP_INLINE |
||||
#endif |
||||
|
||||
#ifdef CYGWIN |
@ -0,0 +1,208 @@
@@ -0,0 +1,208 @@
|
||||
Name: fcgi |
||||
Version: 2.4.0 |
||||
Release: 42%{?dist} |
||||
Summary: FastCGI development kit |
||||
|
||||
License: OML |
||||
URL: http://www.fastcgi.com/#TheDevKit |
||||
Source0: http://fastcgi.com/dist/fcgi-%{version}.tar.gz |
||||
|
||||
Patch1: fcgi-2.4.0-autotools.patch |
||||
Patch2: fcgi-2.4.0-gcc44_fixes.patch |
||||
# CVE-2012-6687 |
||||
Patch3: fcgi-2.4.0-poll.patch |
||||
|
||||
BuildRequires: gcc |
||||
BuildRequires: gcc-c++ |
||||
BuildRequires: sed |
||||
BuildRequires: coreutils |
||||
BuildRequires: make |
||||
|
||||
%description |
||||
FastCGI is a language independent, scalable, open extension to CGI that |
||||
provides high performance without the limitations of server specific APIs. |
||||
|
||||
%package devel |
||||
Summary: Development files for %{name} |
||||
Requires: %{name} = %{version}-%{release} |
||||
|
||||
%description devel |
||||
The %{name}-devel package contains libraries and header files for |
||||
developing applications that use %{name}. |
||||
|
||||
%prep |
||||
%autosetup -p 1 |
||||
|
||||
# remove DOS End Of Line Encoding |
||||
sed -i 's/\r//' doc/fastcgi-prog-guide/ch2c.htm |
||||
|
||||
# fix file permissions |
||||
chmod a-x include/fcgios.h libfcgi/os_unix.c LICENSE.TERMS doc/fastcgi-prog-guide/* |
||||
|
||||
%build |
||||
%configure |
||||
# fix bz1987468 |
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
||||
|
||||
%make_build -j1 |
||||
|
||||
%install |
||||
%make_install |
||||
|
||||
rm %{buildroot}%{_libdir}/libfcgi{++,}.{l,}a |
||||
|
||||
install -p -m 0644 -D doc/cgi-fcgi.1 %{buildroot}%{_mandir}/man1/cgi-fcgi.1 |
||||
|
||||
for manpage in doc/*.3 |
||||
do |
||||
install -p -m 0644 -D $manpage %{buildroot}%{_mandir}/man3/$(basename $manpage) |
||||
done |
||||
|
||||
rm -f -- doc/*.1 |
||||
rm -f -- doc/*.3 |
||||
|
||||
%files |
||||
%{_bindir}/cgi-fcgi |
||||
%{_libdir}/libfcgi.so.* |
||||
%{_libdir}/libfcgi++.so.* |
||||
%{_mandir}/man1/* |
||||
%license LICENSE.TERMS |
||||
%doc LICENSE.TERMS |
||||
|
||||
%files devel |
||||
%{_includedir}/* |
||||
%{_libdir}/libfcgi.so |
||||
%{_libdir}/libfcgi++.so |
||||
%{_mandir}/man3/* |
||||
%doc doc/ |
||||
|
||||
%changelog |
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-42 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild |
||||
|
||||
* Wed Jul 29 2021 Andrew Bauer <zonexpertconsulting@outlook.com> - 2.4.0-41 |
||||
- Disable rpath bz1987468 |
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-40 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild |
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-39 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild |
||||
|
||||
* Tue Jul 28 2020 Andrew Bauer <zonexpertconsulting@outlook.com> - 2.4.0-38 |
||||
- Modernize specfile |
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-37 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-36 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-35 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-34 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-33 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-32 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-31 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-30 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-29 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-28 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
||||
|
||||
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.4.0-27 |
||||
- Rebuilt for GCC 5 C++11 ABI change |
||||
|
||||
* Fri Feb 06 2015 Till Maas <opensource@till.name> - 2.4.0-26 |
||||
- Use %%license |
||||
|
||||
* Fri Feb 06 2015 Till Maas <opensource@till.name> - 2.4.0-25 |
||||
- Fix crash when too many connections are used (CVE-2012-6687) |
||||
- Make gcc build dependencies obvious for local builds |
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-24 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-23 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
||||
|
||||
* Mon Feb 03 2014 Till Maas <opensource@till.name> - 2.4.0-22 |
||||
- Harden build |
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-21 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-20 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-19 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-18 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Fri Sep 09 2011 Iain Arnell <iarnell@gmail.com> 2.4.0-17 |
||||
- drop perl sub-package; it's been replaced by perl-FCGI (rhbz#736612) |
||||
|
||||
* Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.4.0-16 |
||||
- Perl mass rebuild & clean spec & clean Makefile.PL |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-15 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.4.0-14 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Sun May 16 2010 Till Maas <opensource@till.name> - 2.4.0-13 |
||||
- Fix license tag. It's OML instead of BSD |
||||
|
||||
* Mon Jan 18 2010 Chris Weyl <cweyl@alumni.drew.edu> - 2.4.0-12 |
||||
- drop perl .so provides filtering, as it may have multiarch rpm implications |
||||
|
||||
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 2.4.0-11 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-10 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Sun Mar 01 2009 Chris Weyl <cweyl@alumni.drew.edu> - 2.4.0-9 |
||||
- Stripping bad provides of private Perl extension libs |
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-8 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Sun Feb 15 2009 Till Maas <opensource@till.name> - 2.4.0-7 |
||||
- Add missing #include <cstdio> to make it compile with gcc 4.4 |
||||
|
||||
* Tue Oct 14 2008 Chris Weyl <cweyl@alumni.drew.edu> - 2.4.0-6 |
||||
- package up the perl bindings in their own subpackage |
||||
|
||||
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.4.0-5 |
||||
- Autorebuild for GCC 4.3 |
||||
|
||||
* Thu Aug 23 2007 Till Maas <opensource till name> - 2.4.0-4 |
||||
- bump release for rebuild |
||||
|
||||
* Wed Jul 11 2007 Till Maas <opensource till name> - 2.4.0-3 |
||||
- remove parallel make flags |
||||
|
||||
* Tue Apr 17 2007 Till Maas <opensource till name> - 2.4.0-2 |
||||
- add some documentation |
||||
- add mkdir ${RPM_BUILD_ROOT} to %%install |
||||
- install man-pages |
||||
|
||||
* Mon Mar 5 2007 Till Maas <opensource till name> - 2.4.0-1 |
||||
- Initial spec for fedora |
@ -0,0 +1,522 @@
@@ -0,0 +1,522 @@
|
||||
%{!?_httpd_apxs: %{expand: %%global _httpd_apxs %%{_sbindir}/apxs}} |
||||
%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}} |
||||
%{!?_httpd_confdir: %{expand: %%global _httpd_confdir %%{_sysconfdir}/httpd/conf.d}} |
||||
# /etc/httpd/conf.d with httpd < 2.4 and defined as /etc/httpd/conf.modules.d with httpd >= 2.4 |
||||
%{!?_httpd_modconfdir: %{expand: %%global _httpd_modconfdir %%{_sysconfdir}/httpd/conf.d}} |
||||
%{!?_httpd_moddir: %{expand: %%global _httpd_moddir %%{_libdir}/httpd/modules}} |
||||
|
||||
%global regenerate_xs 0 |
||||
|
||||
Name: mod_perl |
||||
Version: 2.0.11 |
||||
Release: 1%{?dist} |
||||
Summary: An embedded Perl interpreter for the Apache HTTP Server |
||||
# other files: ASL 2.0 |
||||
## Not in binary packages |
||||
# docs/os/win32/distinstall: GPL+ or Artistic |
||||
# docs/os/win32/mpinstall: GPL+ or Artistic |
||||
License: ASL 2.0 |
||||
Group: System Environment/Daemons |
||||
URL: http://perl.apache.org/ |
||||
Source0: http://www.apache.org/dist/perl/mod_perl-%{version}.tar.gz |
||||
Source1: perl.conf |
||||
Source2: perl.module.conf |
||||
# Normalize documentation encoding |
||||
Patch0: mod_perl-2.0.10-Convert-documentation-to-UTF-8.patch |
||||
Patch1: mod_perl-2.0.4-inline.patch |
||||
BuildRequires: apr-devel >= 1.2.0 |
||||
BuildRequires: apr-util-devel |
||||
BuildRequires: coreutils |
||||
BuildRequires: findutils |
||||
BuildRequires: gcc |
||||
BuildRequires: gdbm-devel |
||||
BuildRequires: httpd |
||||
BuildRequires: httpd-devel >= 2.4.0 |
||||
BuildRequires: make |
||||
BuildRequires: perl |
||||
BuildRequires: perl-devel |
||||
#BuildRequires: perl-generators |
||||
BuildRequires: perl(AutoLoader) |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(Config) |
||||
BuildRequires: perl(constant) |
||||
BuildRequires: perl(Cwd) |
||||
BuildRequires: perl(Data::Dumper) |
||||
BuildRequires: perl(DirHandle) |
||||
BuildRequires: perl(DynaLoader) |
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(ExtUtils::Embed) |
||||
BuildRequires: perl(ExtUtils::Install) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(File::Basename) |
||||
BuildRequires: perl(File::Copy) |
||||
BuildRequires: perl(File::Find) |
||||
BuildRequires: perl(File::Path) |
||||
BuildRequires: perl(File::Spec) |
||||
BuildRequires: perl(File::Spec::Functions) |
||||
BuildRequires: perl(FindBin) |
||||
BuildRequires: perl(lib) |
||||
# Module::CoreList not helpful |
||||
BuildRequires: perl(strict) |
||||
BuildRequires: perl(Symbol) |
||||
BuildRequires: perl(Test) |
||||
BuildRequires: perl(vars) |
||||
BuildRequires: perl(warnings) |
||||
# Win32 not used |
||||
BuildRequires: sed |
||||
%if %{regenerate_xs}0 |
||||
BuildRequires: perl(Data::Flow) >= 0.05 |
||||
BuildRequires: perl(Tie::IxHash) |
||||
%endif |
||||
# Run-time: |
||||
BuildRequires: perl(base) |
||||
BuildRequires: perl(BSD::Resource) |
||||
BuildRequires: perl(Carp::Heavy) |
||||
BuildRequires: perl(Fcntl) |
||||
BuildRequires: perl(Getopt::Long) |
||||
# IO::Dir not used at tests |
||||
BuildRequires: perl(Linux::Pid) |
||||
BuildRequires: perl(overload) |
||||
BuildRequires: perl(POSIX) |
||||
BuildRequires: perl(Socket) |
||||
BuildRequires: perl(subs) |
||||
# TAP::Formatter::Console not use at tests |
||||
# TAP::Harness not used at tests |
||||
BuildRequires: perl(Test) |
||||
BuildRequires: perl(Test::Harness) |
||||
# Tests: |
||||
BuildRequires: perl(Compress::Zlib) |
||||
BuildRequires: perl(Encode) |
||||
BuildRequires: perl(ExtUtils::testlib) |
||||
BuildRequires: perl(IO::Select) |
||||
BuildRequires: perl(locale) |
||||
BuildRequires: perl(Math::BigInt) |
||||
BuildRequires: perl(threads) |
||||
BuildRequires: perl(Test::More) |
||||
# Optional tests: |
||||
BuildRequires: perl(CGI) >= 2.93 |
||||
BuildRequires: perl(HTTP::Request::Common) |
||||
BuildRequires: perl(LWP::UserAgent) |
||||
Requires: httpd-mmn = %{_httpd_mmn} |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
# For Apache::SizeLimit::Core |
||||
Requires: perl(Linux::Pid) |
||||
|
||||
%{?perl_default_filter} |
||||
|
||||
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(Apache2::Connection\\)$ |
||||
%global __provides_exclude %__provides_exclude|perl\\(Apache2::RequestRec\\)$ |
||||
%global __provides_exclude %__provides_exclude|perl\\(warnings\\)$ |
||||
%global __provides_exclude %__provides_exclude|perl\\(HTTP::Request::Common\\)$ |
||||
%global __provides_exclude %__provides_exclude|mod_perl\\.so\\(.*$ |
||||
%global __provides_exclude %__provides_exclude|mod_perl\\.so$ |
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Apache::Test.*\\) |
||||
%global __requires_exclude %__requires_exclude|perl\\(Data::Flow\\) |
||||
%global __requires_exclude %__requires_exclude|perl\\(Apache2::FunctionTable\\) |
||||
%global __requires_exclude %__requires_exclude|perl\\(Apache2::StructureTable\\) |
||||
|
||||
# Hide dependencies on broken provides |
||||
%global __requires_exclude %__requires_exclude|^perl\\(Apache2::MPM\\) |
||||
|
||||
%description |
||||
Mod_perl incorporates a Perl interpreter into the Apache web server, |
||||
so that the Apache web server can directly execute Perl code. |
||||
Mod_perl links the Perl run-time library into the Apache web server and |
||||
provides an object-oriented Perl interface for Apache's C language |
||||
API. The end result is a quicker CGI script turnaround process, since |
||||
no external Perl interpreter has to be started. |
||||
|
||||
Install mod_perl if you're installing the Apache web server and you'd |
||||
like for it to directly incorporate a Perl interpreter. |
||||
|
||||
|
||||
%package devel |
||||
Summary: Files needed for building XS modules that use mod_perl |
||||
Group: Development/Libraries |
||||
Requires: %{name}%{?_isa} = %{version}-%{release} |
||||
Requires: httpd-devel%{?_isa} |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
Requires: perl(IO::Dir) |
||||
|
||||
%description devel |
||||
The mod_perl-devel package contains the files needed for building XS |
||||
modules that use mod_perl. |
||||
|
||||
|
||||
%prep |
||||
%setup -q |
||||
%patch0 -p1 |
||||
%patch1 -p1 |
||||
# Remove docs/os. It's only win32 info with non-ASL-2.0 license. Bug #1199044. |
||||
rm -rf docs/os |
||||
# Remove a failing test that's not a regression, CPAN RT#118919 |
||||
for F in t/filter/in_bbs_inject_header.t \ |
||||
t/filter/TestFilter/in_bbs_inject_header.pm; do |
||||
rm "$F" |
||||
sed -i -e '\,^'"$F"',d' MANIFEST |
||||
done |
||||
|
||||
%build |
||||
CFLAGS="$RPM_OPT_FLAGS -fpic" perl Makefile.PL </dev/null \ |
||||
PREFIX=$RPM_BUILD_ROOT/%{_prefix} \ |
||||
INSTALLDIRS=vendor \ |
||||
MP_APXS=%{_httpd_apxs} \ |
||||
MP_APR_CONFIG=%{_bindir}/apr-1-config |
||||
|
||||
# This is not needed now when we are using httpd24 branch, but I will keep |
||||
# it here in case someone will have to regenerate *.xs files again. |
||||
%if %{regenerate_xs}0 |
||||
make source_scan |
||||
make xs_generate |
||||
CFLAGS="$RPM_OPT_FLAGS -fpic" perl Makefile.PL </dev/null \ |
||||
PREFIX=$RPM_BUILD_ROOT/%{_prefix} \ |
||||
INSTALLDIRS=vendor \ |
||||
MP_APXS=%{_httpd_apxs} \ |
||||
MP_APR_CONFIG=%{_bindir}/apr-1-config |
||||
%endif |
||||
|
||||
make -C src/modules/perl %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS -fpic" |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
install -d -m 755 $RPM_BUILD_ROOT%{_httpd_moddir} |
||||
make install \ |
||||
MODPERL_AP_LIBEXECDIR=$RPM_BUILD_ROOT%{_httpd_moddir} \ |
||||
MODPERL_AP_INCLUDEDIR=$RPM_BUILD_ROOT%{_includedir}/httpd |
||||
|
||||
# Remove files not suitable for distribution. |
||||
find $RPM_BUILD_ROOT -type f -name .packlist -delete |
||||
find $RPM_BUILD_ROOT -type f -name perllocal.pod -delete |
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -delete |
||||
# Remove empty vendor_perl/auto/mod_perl2 directory. |
||||
find $RPM_BUILD_ROOT -depth -type d -empty -delete |
||||
|
||||
# Fix permissions to avoid strip failures on non-root builds. |
||||
%{_fixperms} $RPM_BUILD_ROOT/* |
||||
|
||||
# Install the config file |
||||
install -d -m 755 $RPM_BUILD_ROOT%{_httpd_confdir} |
||||
install -d -m 755 $RPM_BUILD_ROOT%{_httpd_modconfdir} |
||||
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_httpd_confdir} |
||||
install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_httpd_modconfdir}/02-perl.conf |
||||
|
||||
# Move set of modules to -devel |
||||
devmods="ModPerl::Code ModPerl::BuildMM ModPerl::CScan \ |
||||
ModPerl::TestRun ModPerl::Config ModPerl::WrapXS \ |
||||
ModPerl::BuildOptions ModPerl::Manifest \ |
||||
ModPerl::MapUtil ModPerl::StructureMap \ |
||||
ModPerl::TypeMap ModPerl::FunctionMap \ |
||||
ModPerl::ParseSource ModPerl::MM \ |
||||
Apache2::Build Apache2::ParseSource Apache2::BuildConfig \ |
||||
Bundle::ApacheTest" |
||||
for m in $devmods; do |
||||
test -f $RPM_BUILD_ROOT%{_mandir}/man3/${m}.3pm && |
||||
echo "%{_mandir}/man3/${m}.3pm*" |
||||
fn=${m//::/\/} |
||||
test -f $RPM_BUILD_ROOT%{perl_vendorarch}/${fn}.pm && |
||||
echo %{perl_vendorarch}/${fn}.pm |
||||
test -d $RPM_BUILD_ROOT%{perl_vendorarch}/${fn} && |
||||
echo %{perl_vendorarch}/${fn} |
||||
test -d $RPM_BUILD_ROOT%{perl_vendorarch}/auto/${fn} && |
||||
echo %{perl_vendorarch}/auto/${fn} |
||||
done | tee devel.files | sed 's/^/%%exclude /' > exclude.files |
||||
echo "%%exclude %{_mandir}/man3/Apache::Test*.3pm*" >> exclude.files |
||||
|
||||
# perl build script generates *.orig files, they get installed and later they |
||||
# break provides so mod_perl requires mod_perl-devel. We remove them here. |
||||
find "$RPM_BUILD_ROOT" -type f -name *.orig -delete |
||||
|
||||
%check |
||||
make test TEST_VERBOSE=1 && RETVAL=$? |
||||
if test "$RETVAL" != 0; then |
||||
cat t/logs/error_log |
||||
exit 1 |
||||
fi |
||||
|
||||
%files -f exclude.files |
||||
%license LICENSE |
||||
%doc Changes NOTICE README* STATUS SVN-MOVE docs/ |
||||
%config(noreplace) %{_httpd_confdir}/perl.conf |
||||
%config(noreplace) %{_httpd_modconfdir}/02-perl.conf |
||||
%{_bindir}/* |
||||
%{_httpd_moddir}/mod_perl.so |
||||
%{perl_vendorarch}/auto/* |
||||
%dir %{perl_vendorarch}/Apache/ |
||||
%{perl_vendorarch}/Apache/Reload.pm |
||||
%{perl_vendorarch}/Apache/SizeLimit* |
||||
%{perl_vendorarch}/Apache2/ |
||||
%{perl_vendorarch}/Bundle/ |
||||
%{perl_vendorarch}/APR/ |
||||
%{perl_vendorarch}/ModPerl/ |
||||
%{perl_vendorarch}/*.pm |
||||
%{_mandir}/man3/*.3* |
||||
|
||||
%files devel -f devel.files |
||||
%{_includedir}/httpd/* |
||||
%{perl_vendorarch}/Apache/Test*.pm |
||||
%{_mandir}/man3/Apache::Test*.3pm* |
||||
|
||||
%changelog |
||||
* Mon Oct 07 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.0.11-1 |
||||
- 2.0.11 bump |
||||
|
||||
* Wed Aug 29 2018 Petr Pisar <ppisar@redhat.com> - 2.0.10-3 |
||||
- Fix CVE-2011-2767 (arbitrary Perl code execution in the context of the user |
||||
account via a user-owned .htaccess) (bug #1623268) |
||||
|
||||
* Wed Jan 04 2017 Petr Pisar <ppisar@redhat.com> - 2.0.10-2 |
||||
- Adapt tests to httpd-2.4.25 (bug #1409610) |
||||
|
||||
* Tue Nov 22 2016 Petr Pisar <ppisar@redhat.com> - 2.0.10-1 |
||||
- 2.0.10 bump |
||||
|
||||
* Mon Oct 19 2015 Jan Kaluza <jkaluza@redhat.com> - 2.0.9-2 |
||||
- fix #1272901 - add perl(Test) to BuildRequires |
||||
|
||||
* Fri Jun 19 2015 Jan Kaluza <jkaluza@redhat.com> - 2.0.9-1 |
||||
- update to 2.0.9 |
||||
|
||||
* Wed Mar 11 2015 Jan Kaluza <jkaluza@redhat.com> - 2.0.8-12.20150311svn1665777 |
||||
- update to latest revision from trunk to backport latest upstream fixes |
||||
|
||||
* Fri Mar 06 2015 Jan Kaluza <jkaluza@redhat.com> - 2.0.8-11.20140624svn1602105 |
||||
- remove docs/os from documentation because of its license (#1199044) |
||||
|
||||
* Wed Sep 17 2014 Jan Kaluza <jkaluza@redhat.com> - 2.0.8-10.20140624svn1602105 |
||||
- update to latest revision of httpd24threading branch to backport latest upstream fixes |
||||
|
||||
* Thu Jan 16 2014 Jan Kaluza <jkaluza@redhat.com> - 2.0.8-5.20131031svn1537408 |
||||
- do not depend on perl-Data-Flow, it is not needed in newer versions |
||||
|
||||
* Thu Oct 31 2013 Jan Kaluza <jkaluza@redhat.com> - 2.0.8-4.20131031svn1537408 |
||||
- update to latest revision of httpd24 branch to backport new upstream fixes |
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.8-3.20130709svn1498417 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
||||
|
||||
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 2.0.8-2.20130709svn1498417 |
||||
- Perl 5.18 rebuild |
||||
|
||||
* Tue Jul 09 2013 Jan Kaluza <jkaluza@redhat.com> - 2.0.8-1.20130709svn1498417 |
||||
- update to latest revision of httpd24 branch to backport important fixes |
||||
in httpd-2.4 compatibility |
||||
|
||||
* Thu Feb 21 2013 Jan Kaluza <jkaluza@redhat.com> - 2.0.7-12.20130221svn1448242 |
||||
- update to httpd24 svn branch which provides much more better compatibility |
||||
with httpd-2.4 |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.7-11 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Tue Nov 20 2012 Jan Kaluza <jkaluza@redhat.com> - 2.0.7-10 |
||||
- do not install .orig file generated by make xs_generate |
||||
- filter unversioned mod_perl.so from provides |
||||
|
||||
* Mon Nov 19 2012 Jan Kaluza <jkaluza@redhat.com> - 2.0.7-9 |
||||
- clean up spec file |
||||
- do not require -devel when installing main package |
||||
|
||||
* Mon Nov 19 2012 Jan Kaluza <jkaluza@redhat.com> - 2.0.7-8 |
||||
- add wrappers for new fields added in httpd-2.4 structures |
||||
|
||||
* Wed Jul 25 2012 Jan Kaluza <jkaluza@redhat.com> - 2.0.7-7 |
||||
- updated httpd-2.4 patch |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.7-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 2.0.7-5 |
||||
- Hide dependencies on broken provides |
||||
|
||||
* Mon Jul 09 2012 Petr Pisar <ppisar@redhat.com> - 2.0.7-4 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Mon Jul 09 2012 Petr Pisar <ppisar@redhat.com> - 2.0.7-3 |
||||
- Rebuild to fix Apache2::MPM dependency on i686 |
||||
|
||||
* Fri Jun 29 2012 Petr Pisar <ppisar@redhat.com> - 2.0.7-2 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Fri Jun 29 2012 Jan Kaluza <jkaluza@redhat.com> - 2.0.7-1 |
||||
- update to 2.0.7 (#830501) |
||||
|
||||
* Sun Jun 10 2012 Petr Pisar <ppisar@redhat.com> - 2.0.5-11 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Thu Apr 19 2012 Petr Pisar <ppisar@redhat.com> - 2.0.5-10 |
||||
- Fix dependency declaration on Data::Dumper |
||||
|
||||
* Wed Apr 18 2012 Jan Kaluza <jkaluza@redhat.com> - 2.0.5-9 |
||||
- fix compilation with httpd-2.4 (#809142) |
||||
|
||||
* Tue Mar 06 2012 Jan Kaluza <jkaluza@redhat.com> - 2.0.5-8 |
||||
- filter perl(HTTP::Request::Common) Provide from -devel (#247250) |
||||
- use short_name as argv[0] (#782369) |
||||
|
||||
* Thu Jan 5 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.0.5-7 |
||||
- Ship Apache::Reload and Apache::SizeLimit in main package (#748362). |
||||
- Require Linux::Pid for Apache::SizeLimit (#766568). |
||||
- Move Apache::Test* man pages to -devel. |
||||
- Don't filter Module::Build dependency. |
||||
|
||||
* Wed Nov 9 2011 Joe Orton <jorton@redhat.com> - 2.0.5-6 |
||||
- fudge the LFS test (#730832) |
||||
|
||||
* Fri Jul 22 2011 Petr Pisar <ppisar@redhat.com> - 2.0.5-5 |
||||
- RPM 4.9 dependency filtering added |
||||
|
||||
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.0.5-4 |
||||
- Perl mass rebuild |
||||
|
||||
* Mon Apr 11 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.0.5-3 |
||||
- filter warnings from provides |
||||
|
||||
* Sat Mar 26 2011 Joe Orton <jorton@redhat.com> - 2.0.5-2 |
||||
- ship NOTICE file |
||||
|
||||
* Sat Mar 26 2011 Joe Orton <jorton@redhat.com> - 2.0.5-1 |
||||
- update to 2.0.5 |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.4-14 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Thu Nov 11 2010 Marcela Mašláňová <mmaslano@redhat.com> - 2.0.4-13 |
||||
- fix missing requirements, add filter_setup macro, remove double provides |
||||
|
||||
* Thu Nov 04 2010 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 2.0.4-12 |
||||
- Spec cleanup for the merge review |
||||
|
||||
* Fri May 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.0.4-11 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Tue Dec 8 2009 Joe Orton <jorton@redhat.com> - 2.0.4-10 |
||||
- add security fix for CVE-2009-0796 (#544455) |
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.4-9 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.4-8 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Fri Oct 17 2008 Joe Orton <jorton@redhat.com> 2.0.4-7 |
||||
- fix inline abuse (#459351) |
||||
|
||||
* Wed Aug 6 2008 Joe Orton <jorton@redhat.com> 2.0.4-5 |
||||
- rebuild to fix patch fuzz (#427758) |
||||
|
||||
* Mon Jul 14 2008 Joe Orton <jorton@redhat.com> 2.0.4-4 |
||||
- rebuild for new BDB |
||||
|
||||
* Tue May 13 2008 Joe Orton <jorton@redhat.com> 2.0.4-3 |
||||
- trim changelog; rebuild |
||||
|
||||
* Fri Apr 18 2008 Joe Orton <jorton@redhat.com> 2.0.4-2 |
||||
- update to 2.0.4 |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.3-21 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.3-20 |
||||
- Autorebuild for GCC 4.3 |
||||
|
||||
* Wed Jan 30 2008 Joe Orton <jorton@redhat.com> 2.0.3-19 |
||||
- further fixes for perl 5.10 (upstream r480903, r615751) |
||||
|
||||
* Wed Jan 30 2008 Joe Orton <jorton@redhat.com> 2.0.3-18 |
||||
- fix build with perl 5.10 (upstream r480890) |
||||
|
||||
* Tue Jan 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.3-17 |
||||
- fix perl BR |
||||
|
||||
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.3-16 |
||||
- rebuild for new perl |
||||
|
||||
* Thu Dec 6 2007 Joe Orton <jorton@redhat.com> 2.0.3-15 |
||||
- rebuild for new OpenLDAP |
||||
|
||||
* Wed Sep 5 2007 Joe Orton <jorton@redhat.com> 2.0.3-14 |
||||
- filter perl(HTTP::Request::Common) Provide from -devel (#247250) |
||||
|
||||
* Sun Sep 2 2007 Joe Orton <jorton@redhat.com> 2.0.3-13 |
||||
- rebuild for fixed 32-bit APR |
||||
|
||||
* Thu Aug 23 2007 Joe Orton <jorton@redhat.com> 2.0.3-12 |
||||
- rebuild for expat soname bump |
||||
|
||||
* Tue Aug 21 2007 Joe Orton <jorton@redhat.com> 2.0.3-11 |
||||
- rebuild for libdb soname bump |
||||
|
||||
* Mon Aug 20 2007 Joe Orton <jorton@redhat.com> 2.0.3-10 |
||||
- fix License |
||||
|
||||
* Fri Apr 20 2007 Joe Orton <jorton@redhat.com> 2.0.3-8 |
||||
- filter provide of perl(warnings) (#228429) |
||||
|
||||
* Wed Feb 28 2007 Joe Orton <jorton@redhat.com> 2.0.3-7 |
||||
- also restore Apache::Test to devel |
||||
- add BR for perl-devel |
||||
|
||||
* Tue Feb 27 2007 Joe Orton <jorton@redhat.com> 2.0.3-6 |
||||
- filter more Apache::Test requirements |
||||
|
||||
* Mon Feb 26 2007 Joe Orton <jorton@redhat.com> 2.0.3-5 |
||||
- repackage set of trimmed modules, but only in -devel |
||||
|
||||
* Wed Jan 31 2007 Joe Orton <jorton@redhat.com> 2.0.3-4 |
||||
- restore ModPerl::MM |
||||
|
||||
* Tue Dec 5 2006 Joe Orton <jorton@redhat.com> 2.0.3-3 |
||||
- trim modules even more aggressively (#197841) |
||||
|
||||
* Mon Dec 4 2006 Joe Orton <jorton@redhat.com> 2.0.3-2 |
||||
- update to 2.0.3 |
||||
- remove droplet in buildroot from multilib patch |
||||
- drop build-related ModPerl:: modules and Apache::Test (#197841) |
||||
- spec file cleanups |
||||
|
||||
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control |
||||
- rebuild |
||||
|
||||
* Thu Jun 15 2006 Joe Orton <jorton@redhat.com> 2.0.2-6 |
||||
- fix multilib conflicts in -devel (#192733) |
||||
|
||||
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.0.2-5.1 |
||||
- bump again for double-long bug on ppc(64) |
||||
|
||||
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.0.2-3.2 |
||||
- rebuilt for new gcc4.1 snapshot and glibc changes |
||||
|
||||
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
||||
- rebuilt |
||||
|
||||
* Fri Dec 2 2005 Joe Orton <jorton@redhat.com> 2.0.2-3 |
||||
- rebuild for httpd 2.2 |
||||
|
||||
* Wed Oct 26 2005 Joe Orton <jorton@redhat.com> 2.0.2-2 |
||||
- update to 2.0.2 |
||||
|
||||
* Thu Oct 20 2005 Joe Orton <jorton@redhat.com> 2.0.1-2 |
||||
- rebuild |
||||
|
||||
* Fri Jun 17 2005 Warren Togami <wtogami@redhat.com> 2.0.1-1 |
||||
- 2.0.1 |
||||
|
||||
* Fri May 20 2005 Warren Togami <wtogami@redhat.com> 2.0.0-3 |
||||
- dep changes (#114651 jpo and ville) |
||||
|
||||
* Fri May 20 2005 Joe Orton <jorton@redhat.com> 2.0.0-1 |
||||
- update to 2.0.0 final |
||||
|
||||
* Mon Apr 18 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.0.0-0.rc5.3 |
||||
- Fix sample configuration. |
||||
- Explicitly disable the test suite. (#112563) |
||||
|
||||
* Mon Apr 18 2005 Joe Orton <jorton@redhat.com> 2.0.0-0.rc5.2 |
||||
- fix filter-requires for new Apache2:: modules |
||||
|
||||
* Sat Apr 16 2005 Warren Togami <wtogami@redhat.com> - 2.0.0-0.rc5.1 |
||||
- 2.0.0-RC5 |
||||
|
||||
* Sun Apr 03 2005 Jose Pedro Oliveira <jpo@di.uminho.pt> - 2.0.0-0.rc4.1 |
||||
- Update to 2.0.0-RC4. |
||||
- Specfile cleanup. (#153236) |
@ -0,0 +1,119 @@
@@ -0,0 +1,119 @@
|
||||
Name: perl-Crypt-X509 |
||||
Version: 0.53 |
||||
Release: 1%{?dist} |
||||
Summary: Parse a X.509 certificate |
||||
License: GPL+ or Artistic |
||||
URL: https://metacpan.org/release/Crypt-X509 |
||||
Source0: https://cpan.metacpan.org/authors/id/M/MR/MRSCOTTY/Crypt-X509-%{version}.tar.gz |
||||
BuildArch: noarch |
||||
BuildRequires: coreutils |
||||
BuildRequires: findutils |
||||
BuildRequires: %{__make} |
||||
#BuildRequires: perl-interpreter |
||||
#BuildRequires: perl-generators |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(Convert::ASN1) >= 0.19 |
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(Math::BigInt) |
||||
BuildRequires: perl(Test::More) |
||||
BuildRequires: perl(strict) |
||||
BuildRequires: perl(warnings) |
||||
|
||||
Requires: perl(Convert::ASN1) >= 0.19 |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
||||
|
||||
# Filter out unversioned R: perl(Convert::ASN1) |
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Convert::ASN1\\) |
||||
|
||||
%description |
||||
Crypt::X509 parses X.509 certificates. Methods are provided for accessing |
||||
most certificate elements. |
||||
|
||||
%prep |
||||
%setup -q -n Crypt-X509-%{version} |
||||
|
||||
%build |
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 |
||||
%{__make} %{?_smp_mflags} |
||||
|
||||
%install |
||||
%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
||||
%{_fixperms} $RPM_BUILD_ROOT/* |
||||
|
||||
%check |
||||
%{__make} test |
||||
|
||||
%files |
||||
%doc Changes README |
||||
%{perl_vendorlib}/* |
||||
%{_mandir}/man3/* |
||||
%exclude /usr/lib64/perl5/vendor_perl/auto/Crypt/X509/.packlist |
||||
|
||||
%changelog |
||||
* Thu Nov 12 2020 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.53-1 |
||||
- Update to 0.53. |
||||
- Reflect Source0: having changed. |
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.51-21 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild |
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.51-20 |
||||
- Perl 5.32 rebuild |
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.51-19 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.51-18 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.51-17 |
||||
- Perl 5.30 rebuild |
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.51-16 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.51-15 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
||||
|
||||
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.51-14 |
||||
- Perl 5.28 rebuild |
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.51-13 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.51-12 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
||||
|
||||
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.51-11 |
||||
- Perl 5.26 rebuild |
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.51-10 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
||||
|
||||
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.51-9 |
||||
- Perl 5.24 rebuild |
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.51-8 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
||||
|
||||
* Sat Jan 30 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.51-7 |
||||
- Modernize spec. |
||||
|
||||
* Mon Jul 20 2015 Petr Pisar <ppisar@redhat.com> - 0.51-6 |
||||
- Specify all dependencies (bug #1243863) |
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.51-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
||||
|
||||
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.51-4 |
||||
- Perl 5.22 rebuild |
||||
|
||||
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.51-3 |
||||
- Perl 5.20 rebuild |
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.51-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
||||
|
||||
* Thu Dec 19 2013 Ralf Corsépius <corsepiu@fedoraproject.org> 0.51-1 |
||||
- Initial Fedora package. |
Loading…
Reference in new issue