From c736738d48f5d5ae486e4f0de656290666d02a1e Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 09:58:47 +0000 Subject: [PATCH] auto-import changelog data from perl-5.6.0-9.src.rpm Mon Aug 07 2000 Nalin Dahyabhai - replace the deprecated MD5 with Digest::MD5 (has to be here for cleanfeed) - obsolete: perl-Digest-MD5 - use syslog instead of mail to report possible attempts to break into suidperl - force syslog on at build-time Mon Jul 31 2000 Nalin Dahyabhai - add Owen's fix for #14779/#14863 - specify cc=gcc; continue to let cpp sort itself out - switch shadow support on (#8646) - release 7 Tue Jul 18 2000 Nalin Dahyabhai - strip buildroot from perl pods (#14040) - release 6 Wed Jul 12 2000 Prospector - automatic rebuild (release 5) Wed Jun 21 2000 Preston Brown - don't require tcsh to install, only to build - release 4 Mon Jun 19 2000 Nalin Dahyabhai - rebuild against new db3 package - release 3 Sat Jun 17 2000 Nalin Dahyabhai - disable 64-bit file support - change name of package that Perl expects gcc to be in from "egcs" to "gcc" - move man pages to /usr/share via hints/linux.sh and MM_Unix.pm - fix problems prefixifying with empty prefixes - disable long doubles on sparc (they're the same as doubles anyway) - add an Epoch to make sure we can upgrade from perl-5.00503 - release 2 Thu Mar 23 2000 Bernhard Rosenkraenzer - 2.6.0 Wed Feb 02 2000 Cristian Gafton - fix description Fri Jan 14 2000 Jeff Johnson - add provides for perl modules (from kestes@staff.mail.com). Mon Oct 04 1999 Cristian Gafton - fix the %install so that the MD5 module gets actually installed correctly Mon Aug 30 1999 Cristian Gafton - make sure the package builds even when we don't have perl installed on the system Fri Aug 06 1999 Cristian Gafton - merged with perl-MD5 - get rid of the annoying $RPM_BUILD_ROOT paths in the installed tree Mon Jul 26 1999 Cristian Gafton - do not link anymore against the system db library (and make each module link against it separately, so that we can have Berkeley db1 and db2 mixed up) Wed Jun 16 1999 Cristian Gafton - use wildcards for files in /usr/bin and /usr/man Tue Apr 06 1999 Cristian Gafton - version 5.00503 - make the default man3 install dir be release independent - try to link against db1 to preserve compatibility with older databases; abandoned idea because perl is too broken to allow such an easy change (hardcoded names *everywhere* !!!) Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 3) Thu Jan 07 1999 Cristian Gafton - guilty of the inlined Makefile in the spec file - adapted for the arm build Wed Sep 09 1998 Preston Brown - added newer CGI.pm to the build - changed the version naming scheme around to work with RPM Sun Jul 19 1998 Jeff Johnson - attempt to generate *.ph files reproducibly Mon Jun 15 1998 Jeff Johnson - update to 5.004_04-m4 (pre-5.005 maintenance release) Fri Jun 12 1998 Christopher McCrory - added a patch to correct the .ph constructs unless defined (foo) to read unless(defined(foo)) Thu May 07 1998 Prospector System - translations modified for de, fr, tr Tue Mar 10 1998 Cristian Gafton - fixed strftime problem Sun Mar 08 1998 Cristian Gafton - added a patch to fix a security race - do not use setres[ug]id - those are not implemented on 2.0.3x kernels Mon Mar 02 1998 Cristian Gafton - upgraded to 5.004_04 - 5.004_01 had some nasty memory leaks. - fixed the spec file to be version-independent Fri Dec 05 1997 Erik Troan - Config.pm wasn't right do to the builtrooting Mon Oct 20 1997 Erik Troan - fixed arch-specfic part of spec file Sun Oct 19 1997 Erik Troan - updated to perl 5.004_01 - users a build root Thu Jun 12 1997 Erik Troan - built against glibc Tue Apr 22 1997 Erik Troan - Incorporated security patch from Chip Salzenberg Fri Feb 07 1997 Erik Troan - Use -Darchname=i386-linux - Require csh (for glob) - Use RPM_ARCH during configuration and installation for arch independence --- .cvsignore | 2 + perl-5.6.0-buildroot.patch | 14 ++ perl.spec | 309 +++++++++++++++++++++++++++++++++++++ sources | 2 + 4 files changed, 327 insertions(+) create mode 100644 perl-5.6.0-buildroot.patch create mode 100644 perl.spec diff --git a/.cvsignore b/.cvsignore index e69de29..c82e619 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1,2 @@ +Digest-MD5-2.09.tar.gz +perl-5.6.0.tar.gz diff --git a/perl-5.6.0-buildroot.patch b/perl-5.6.0-buildroot.patch new file mode 100644 index 0000000..dfe2ffc --- /dev/null +++ b/perl-5.6.0-buildroot.patch @@ -0,0 +1,14 @@ +Without this patch, you see weird things like substitutions that turn +/var/tmp/nstroot/usr/share/man/man1 to /var/tmp/ntsroot/usr/share/man/$(PREFIX), +which is bad. + +--- perl-5.6.0/lib/ExtUtils/MM_Unix.pm Sat Jun 17 16:57:55 2000 ++++ perl-5.6.0/lib/ExtUtils/MM_Unix.pm Sat Jun 17 16:57:43 2000 +@@ -3097,6 +3097,7 @@ + + sub prefixify { + my($self,$var,$sprefix,$rprefix) = @_; ++ return if (length($sprefix) <= 0); + $self->{uc $var} ||= $Config{lc $var}; + $self->{uc $var} = VMS::Filespec::unixpath($self->{uc $var}) if $Is_VMS; + $self->{uc $var} =~ s/\Q$sprefix\E/$rprefix/s; diff --git a/perl.spec b/perl.spec new file mode 100644 index 0000000..7deba3f --- /dev/null +++ b/perl.spec @@ -0,0 +1,309 @@ +Summary: The Perl programming language. +Name: perl +%define perlver 5.6.0 +Version: %{perlver} +Release: 9 +Copyright: GPL +Group: Development/Languages +Source0: ftp://ftp.perl.org/pub/perl/CPAN/src/perl-%{perlver}.tar.gz +Source1: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Digest/Digest-MD5-2.09.tar.gz +Source2: find-provides +Source3: find-requires +Patch0: perl5.005_02-buildsys.patch +Patch1: perl-5.6.0-installman.patch +Patch2: perl5.005_03-db1.patch +Patch3: perl-5.6.0-nodb.patch +Patch4: perl-5.6.0-prereq.patch +Patch5: perl-5.6.0-root.patch +Patch6: perl-5.6.0-fhs.patch +Patch7: perl-5.6.0-buildroot.patch +Patch8: perl-5.6.0-errno.patch +Patch9: perl-5.6.0-syslog.patch +Obsoletes: perl-MD5, perl-Digest-MD5 +Buildroot: %{_tmppath}/%{name}-root +BuildPreReq: gawk, grep, tcsh +Epoch: 1 + +# ----- Perl module dependencies. +# +# Provide perl-specific find-{provides,requires} until rpm-3.0.4 catches up. +%define __find_provides %{SOURCE2} +%define __find_requires %{SOURCE3} + +# By definition of 'do' (see 'man perlfunc') this package provides all +# versions of perl previous to it. +Provides: perl <= %{version} + +# These modules appear to be missing or break assumptions made by the +# dependency analysis tools. Typical problems include refering to +# CGI::Apache as Apache and having no package line in CPAN::Nox.pm. I +# hope that the perl people fix these to work with our dependency +# engine or give us better dependency tools. +# +# Provides: perl(Apache) +# Provides: perl(ExtUtils::MM_Mac) +# Provides: perl(ExtUtils::XSSymSet) +# Provides: perl(FCGI) +# Provides: perl(LWP::UserAgent) +# Provides: perl(Mac::Files) +# Provides: perl(URI::URL) +# Provides: perl(VMS::Filespec) + +%description +Perl is a high-level programming language with roots in C, sed, awk +and shell scripting. Perl is good at handling processes and files, +and is especially good at handling text. Perl's hallmarks are +practicality and efficiency. While it is used to do a lot of +different things, Perl's most common applications are system +administration utilities and web programming. A large proportion of +the CGI scripts on the web are written in Perl. You need the perl +package installed on your system so that your system can handle Perl +scripts. + +Install this package if you want to program in Perl or enable your +system to handle Perl scripts. + +%prep +%setup -q +mkdir modules +tar xzf %{SOURCE1} -C modules +%patch0 -p1 -b .buildsys +%patch1 -p1 -b .instman +# Perl does not have a single entry point to define what db library to use +# so the patch below is mostly broken... +#%patch2 -p1 +%patch3 -p1 -b .nodb +%patch4 -p1 -b .prereq +%patch5 -p1 -b .root +%patch6 -p1 -b .fhs +%patch7 -p1 -b .buildroot +%patch8 -p1 -b .errno +%patch9 -p1 -b .syslog + +find . -name \*.orig -exec rm -fv {} \; + +%build +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +sh Configure -des -Doptimize="$RPM_OPT_FLAGS" \ + -Dcc='%{__cc}' \ + -Dcccdlflags='-fPIC' \ + -Dinstallprefix=$RPM_BUILD_ROOT%{_prefix} \ + -Dprefix=%{_prefix} \ + -Darchname=%{_arch}-%{_os} \ +%ifarch sparc + -Ud_longdbl \ +%endif + -Dd_dosuid \ + -Dd_semctl_semun \ + -Di_db \ + -Di_ndbm \ + -Di_gdbm \ + -Di_shadow \ + -Di_syslog \ + -Dman3ext=3pm \ + -Uuselargefiles +make -f Makefile + +# Build the modules we have +MainDir=$(pwd) +cd modules +for module in * ; do + cd $module + $MainDir/perl -I$MainDir/lib Makefile.PL + make + cd .. +done +cd $MainDir + +%install +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT + +make install -f Makefile +mkdir -p ${RPM_BUILD_ROOT}%{_bindir} +install -m 755 utils/pl2pm ${RPM_BUILD_ROOT}%{_bindir}/pl2pm + +# Generate *.ph files with a trick. Is this sick or what ? +make all -f - < +- replace the deprecated MD5 with Digest::MD5 (has to be here for cleanfeed) +- obsolete: perl-Digest-MD5 +- use syslog instead of mail to report possible attempts to break into suidperl +- force syslog on at build-time + +* Mon Jul 31 2000 Nalin Dahyabhai +- add Owen's fix for #14779/#14863 +- specify cc=%{__cc}; continue to let cpp sort itself out +- switch shadow support on (#8646) +- release 7 + +* Tue Jul 18 2000 Nalin Dahyabhai +- strip buildroot from perl pods (#14040) +- release 6 + +* Wed Jul 12 2000 Prospector +- automatic rebuild (release 5) + +* Wed Jun 21 2000 Preston Brown +- don't require tcsh to install, only to build +- release 4 + +* Mon Jun 19 2000 Nalin Dahyabhai +- rebuild against new db3 package +- release 3 + +* Sat Jun 17 2000 Nalin Dahyabhai +- disable 64-bit file support +- change name of package that Perl expects gcc to be in from "egcs" to "gcc" +- move man pages to /usr/share via hints/linux.sh and MM_Unix.pm +- fix problems prefixifying with empty prefixes +- disable long doubles on sparc (they're the same as doubles anyway) +- add an Epoch to make sure we can upgrade from perl-5.00503 +- release 2 + +* Thu Mar 23 2000 Bernhard Rosenkraenzer +- 2.6.0 + +* Wed Feb 02 2000 Cristian Gafton +- fix description + +* Fri Jan 14 2000 Jeff Johnson +- add provides for perl modules (from kestes@staff.mail.com). + +* Mon Oct 04 1999 Cristian Gafton +- fix the %install so that the MD5 module gets actually installed correctly + +* Mon Aug 30 1999 Cristian Gafton +- make sure the package builds even when we don't have perl installed on the + system + +* Fri Aug 06 1999 Cristian Gafton +- merged with perl-MD5 +- get rid of the annoying $RPM_BUILD_ROOT paths in the installed tree + +* Mon Jul 26 1999 Cristian Gafton +- do not link anymore against the system db library (and make each module + link against it separately, so that we can have Berkeley db1 and db2 mixed + up) + +* Wed Jun 16 1999 Cristian Gafton +- use wildcards for files in /usr/bin and /usr/man + +* Tue Apr 06 1999 Cristian Gafton +- version 5.00503 +- make the default man3 install dir be release independent +- try to link against db1 to preserve compatibility with older databases; + abandoned idea because perl is too broken to allow such an easy change + (hardcoded names *everywhere* !!!) + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 3) + +* Thu Jan 07 1999 Cristian Gafton +- guilty of the inlined Makefile in the spec file +- adapted for the arm build + +* Wed Sep 09 1998 Preston Brown +- added newer CGI.pm to the build +- changed the version naming scheme around to work with RPM + +* Sun Jul 19 1998 Jeff Johnson +- attempt to generate *.ph files reproducibly + +* Mon Jun 15 1998 Jeff Johnson +- update to 5.004_04-m4 (pre-5.005 maintenance release) + +* Tue Jun 12 1998 Christopher McCrory +- added a patch to correct the .ph constructs unless defined (foo) to read + unless(defined(foo)) + +* Thu May 07 1998 Prospector System +- translations modified for de, fr, tr + +* Tue Mar 10 1998 Cristian Gafton +- fixed strftime problem + +* Sun Mar 08 1998 Cristian Gafton +- added a patch to fix a security race +- do not use setres[ug]id - those are not implemented on 2.0.3x kernels + +* Mon Mar 02 1998 Cristian Gafton +- upgraded to 5.004_04 - 5.004_01 had some nasty memory leaks. +- fixed the spec file to be version-independent + +* Fri Dec 05 1997 Erik Troan +- Config.pm wasn't right do to the builtrooting + +* Mon Oct 20 1997 Erik Troan +- fixed arch-specfic part of spec file + +* Sun Oct 19 1997 Erik Troan +- updated to perl 5.004_01 +- users a build root + +* Thu Jun 12 1997 Erik Troan +- built against glibc + +* Tue Apr 22 1997 Erik Troan +- Incorporated security patch from Chip Salzenberg + +* Fri Feb 07 1997 Erik Troan +- Use -Darchname=i386-linux +- Require csh (for glob) +- Use RPM_ARCH during configuration and installation for arch independence diff --git a/sources b/sources index e69de29..a131d63 100644 --- a/sources +++ b/sources @@ -0,0 +1,2 @@ +8be0b95a2803bb9ddca19eaeefb43bb2 Digest-MD5-2.09.tar.gz +b2940e2cc6312bcfa52355b684e70b9d perl-5.6.0.tar.gz