From 8499950af19ba2ee785d47f0a3cf2351dc49475c Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 08:39:42 +0000 Subject: auto-import changelog data from mod_perl-1.24-4.src.rpm Mon Jul 17 2000 Nalin Dahyabhai - remove backup files from docs (#14174) Wed Jul 12 2000 Prospector - automatic rebuild Sat Jun 17 2000 Nalin Dahyabhai - remove workarounds for broken Perl Mon Jun 05 2000 Nalin Dahyabhai - get rid of multiple prefixes Wed May 31 2000 Nalin Dahyabhai - update to 1.24 - remove pre- and post-install scripts and triggers Thu May 11 2000 Nalin Dahyabhai - work around weird Perl version reporting problems with a suitably weird check Fri Apr 28 2000 Nalin Dahyabhai - modify to be able to rebuild on both 5.003 and 5.6.0 - update to 1.23 Thu Mar 30 2000 Bernhard Rosenkraenzer - rebuild with perl 5.6.0 - add perlver macro to spec file to make handling of other perl versions easier Thu Mar 23 2000 Nalin Dahyabhai - update to 1.22 Fri Mar 03 2000 Cristian Gafton - fixed the postun script to check for upgrades. doh - add triggerpostun to fix older versions of the package Mon Feb 28 2000 Nalin Dahyabhai - make perl a prereq because it's used in %post Fri Feb 25 2000 Nalin Dahyabhai - rebuild against Apache 1.3.12 and EAPI (release 8) Mon Feb 21 2000 Preston Brown - incorporate fixes from Markus Pilzecker : - Prefix: /usr - find apxs binary and package directories automatically Thu Feb 17 2000 Preston Brown - automatically enable/disable in httpd.conf in post/postun. Thu Feb 10 2000 Preston Brown - fix up some strange permissions Sun Feb 06 2000 Preston Brown - rebuild to pick up gzipped man pages, new descr. Fri Aug 27 1999 Preston Brown - changed paths for perl 5.00503 (RHL 6.1 version) Fri Jul 09 1999 Preston Brown - added -fPIC to correct functionality on SPARC - upgrade to 1.21, removed build cruft from old buggy mod_perl days - added extra documentation that was missing Fri Apr 16 1999 Preston Brown - bump ver. # so SWS mod_perl gets auto-upgraded Wed Apr 07 1999 Preston Brown - bugfix 1.19 release from Doug Wed Mar 24 1999 Preston Brown - experimental patch from Doug MacEachern to fix segfault - rebuilt against apache 1.3.6 Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 3) Wed Feb 24 1999 Preston Brown - Injected new description and group. Sun Feb 07 1999 Preston Brown - upgraded to mod_perl 1.18. Mon Dec 21 1998 Preston Brown - Upgraded to mod_perl 1.16. Thu Sep 03 1998 Preston Brown - disabled stacked_handlers. They still seem busted! - minor updates so no conflicts with either apache / secureweb - fixed bug building on multiple architectures Wed Sep 02 1998 Preston Brown - Updates for apache 1.3.x, and mod_perl 1.15 Fri Feb 27 1998 Cristian Gafton - added a patch to compile it as a shared object for the apache/ssl (and future revisions of apache) --- diff --git a/.cvsignore b/.cvsignore index e69de29..8696981 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +mod_perl-1.24.tar.gz diff --git a/mod_perl.spec b/mod_perl.spec new file mode 100644 index 0000000..4d6c25a --- /dev/null +++ b/mod_perl.spec @@ -0,0 +1,172 @@ +%define defperlver 5.6.0 +%define perlver %(rpm -q perl --queryformat '%%{version}' 2> /dev/null || echo %{defperlver}) +%define perlmajor %(echo %{perlver} | cut -f1 -d.) +%define contentdir /var/www + +Summary: An embedded Perl interpreter for the Apache Web server. +Name: mod_perl +Version: 1.24 +Release: 4 +Group: System Environment/Daemons +Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Apache/%{name}-%{version}.tar.gz +Patch0: %{name}-1.22-rh.patch +License: GPL +BuildRoot: %{_tmppath}/%{name}-root +Requires: webserver, perl = %{perlver} +BuildPrereq: apache-devel, perl +Prereq: perl + +%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 runtime 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. + +%prep +%setup -q +%patch -p1 -b .rh + +%build +perl Makefile.PL USE_APXS=1 WITH_APXS=%{_sbindir}/apxs EVERYTHING=1 +make + +# Run the test suite. +make test + +%install +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +make pure_install PREFIX=$RPM_BUILD_ROOT%{_prefix} + +# Install the module itself. +mkdir -p $RPM_BUILD_ROOT%{_libdir}/apache +install -c -m 755 apaci/libperl.so $RPM_BUILD_ROOT%{_libdir}/apache/ + +# Install its manual. +mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/manual/mod/mod_perl +install -c -m 644 htdocs/manual/mod/mod_perl.html \ + $RPM_BUILD_ROOT%{contentdir}/html/manual/mod + +make -C faq +rm faq/pod2htm* +install -m644 faq/*.html $RPM_BUILD_ROOT%{contentdir}/html/manual/mod/mod_perl/ + +%clean +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc CREDITS Changes README SUPPORT ToDo cgi_to_mod_perl.pod mod_perl.pod +%doc mod_perl_method_handlers.pod mod_perl_traps.pod mod_perl_tuning.pod +%doc INSTALL faq/*.html eg faq +%doc ToDo apache-modlist.html +%{contentdir}/html/manual/mod/* +%{_libdir}/apache/libperl.so +%{_libdir}/perl?/site_perl/*/*/auto/* +%{_libdir}/perl?/site_perl/*/*/Apache* +%{_libdir}/perl?/site_perl/*/*/Bundle/* +%{_libdir}/perl?/site_perl/*/*/cgi* +%{_libdir}/perl?/site_perl/*/*/mod_perl* +%{_mandir}/man3/*.3* + +%changelog +* Mon Jul 17 2000 Nalin Dahyabhai +- remove backup files from docs (#14174) + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Sat Jun 17 2000 Nalin Dahyabhai +- remove workarounds for broken Perl + +* Mon Jun 5 2000 Nalin Dahyabhai +- get rid of multiple prefixes + +* Wed May 31 2000 Nalin Dahyabhai +- update to 1.24 +- remove pre- and post-install scripts and triggers + +* Thu May 11 2000 Nalin Dahyabhai +- work around weird Perl version reporting problems with a suitably weird check + +* Fri Apr 28 2000 Nalin Dahyabhai +- modify to be able to rebuild on both 5.003 and 5.6.0 +- update to 1.23 + +* Thu Mar 30 2000 Bernhard Rosenkraenzer +- rebuild with perl 5.6.0 +- add perlver macro to spec file to make handling of other perl versions easier + +* Thu Mar 23 2000 Nalin Dahyabhai +- update to 1.22 + +* Fri Mar 03 2000 Cristian Gafton +- fixed the postun script to check for upgrades. doh +- add triggerpostun to fix older versions of the package + +* Mon Feb 28 2000 Nalin Dahyabhai +- make perl a prereq because it's used in %post + +* Fri Feb 25 2000 Nalin Dahyabhai +- rebuild against Apache 1.3.12 and EAPI (release 8) + +* Mon Feb 21 2000 Preston Brown +- incorporate fixes from Markus Pilzecker : +- Prefix: /usr +- find apxs binary and package directories automatically + +* Thu Feb 17 2000 Preston Brown +- automatically enable/disable in httpd.conf in post/postun. + +* Thu Feb 10 2000 Preston Brown +- fix up some strange permissions + +* Sun Feb 06 2000 Preston Brown +- rebuild to pick up gzipped man pages, new descr. + +* Fri Aug 27 1999 Preston Brown +- changed paths for perl 5.00503 (RHL 6.1 version) + +* Fri Jul 09 1999 Preston Brown +- added -fPIC to correct functionality on SPARC +- upgrade to 1.21, removed build cruft from old buggy mod_perl days +- added extra documentation that was missing + +* Fri Apr 16 1999 Preston Brown +- bump ver. # so SWS mod_perl gets auto-upgraded + +* Wed Apr 07 1999 Preston Brown +- bugfix 1.19 release from Doug + +* Wed Mar 24 1999 Preston Brown +- experimental patch from Doug MacEachern to fix segfault +- rebuilt against apache 1.3.6 + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 3) + +* Wed Feb 24 1999 Preston Brown +- Injected new description and group. + +* Sun Feb 07 1999 Preston Brown +- upgraded to mod_perl 1.18. + +* Mon Dec 21 1998 Preston Brown +- Upgraded to mod_perl 1.16. + +* Thu Sep 03 1998 Preston Brown +- disabled stacked_handlers. They still seem busted! +- minor updates so no conflicts with either apache / secureweb +- fixed bug building on multiple architectures + +* Wed Sep 02 1998 Preston Brown +- Updates for apache 1.3.x, and mod_perl 1.15 + +* Fri Feb 27 1998 Cristian Gafton +- added a patch to compile it as a shared object for the apache/ssl (and + future revisions of apache) + diff --git a/sources b/sources index e69de29..3691ecf 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +08d0ac4c9e2436fdb038021ae8826a8c mod_perl-1.24.tar.gz