auto-import changelog data from perl-5.6.1-36.1.73.src.rpm
5.6.1-35.4 - integrate tmpfile patch from solar designer 5.6.1-35 - integrate fix for CAN-2003-0615, CAN-2002-1323
This commit is contained in:
parent
0725d744d1
commit
a621ff74ec
118
perl.spec
118
perl.spec
@ -1,41 +1,15 @@
|
|||||||
%define build_rawhide 1
|
%define thread_arch %{nil}
|
||||||
|
|
||||||
%if %{build_rawhide}
|
|
||||||
%define threading 0
|
|
||||||
%define largefiles 0
|
|
||||||
%define suidperl 1
|
|
||||||
%define ndbm 1
|
|
||||||
%define rhrelease .99.6a
|
|
||||||
%else
|
|
||||||
%define threading 0
|
|
||||||
%define largefiles 0
|
|
||||||
%define suidperl 0
|
|
||||||
%define ndbm 1
|
|
||||||
%define rhrelease .72.6
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%define perlver 5.6.1
|
%define perlver 5.6.1
|
||||||
%define perlrel 34%{rhrelease}
|
%define perlrel 36.1.73
|
||||||
%define perlepoch 1
|
%define perlepoch 1
|
||||||
%define cpanver 1.59_54
|
%define cpanver 1.59_54
|
||||||
%define dbfilever 1.75
|
%define dbfilever 1.75
|
||||||
%define cgiver 2.752
|
%define cgiver 2.752
|
||||||
|
|
||||||
%if %{threading}
|
|
||||||
%define thread_arch -thread-multi
|
|
||||||
Provides: perl(:WITH_ITHREADS)
|
|
||||||
Provides: perl(:WITH_THREADS)
|
|
||||||
%else
|
|
||||||
%define thread_arch %{nil}
|
|
||||||
Provides: perl(:WITHOUT_ITHREADS)
|
Provides: perl(:WITHOUT_ITHREADS)
|
||||||
Provides: perl(:WITHOUT_THREADS)
|
Provides: perl(:WITHOUT_THREADS)
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{largefiles}
|
|
||||||
Provides: perl(:WITH_LARGEFILES)
|
|
||||||
%else
|
|
||||||
Provides: perl(:WITHOUT_LARGEFILES)
|
Provides: perl(:WITHOUT_LARGEFILES)
|
||||||
%endif
|
|
||||||
|
|
||||||
Summary: The Perl programming language.
|
Summary: The Perl programming language.
|
||||||
Name: perl
|
Name: perl
|
||||||
@ -72,14 +46,7 @@ Patch9: perl-5.6.1-syslog.patch
|
|||||||
# hard requirements, but if you want to function like the previous
|
# hard requirements, but if you want to function like the previous
|
||||||
# perl rpm, you gotta do this. price of doing business. note this
|
# perl rpm, you gotta do this. price of doing business. note this
|
||||||
# still allows those subpackages to be upgraded.
|
# still allows those subpackages to be upgraded.
|
||||||
%if !%{build_rawhide}
|
Requires: perl-CPAN, perl-CGI, perl-DB_File, perl-NDBM_File, perl-suidperl
|
||||||
Requires: perl-CPAN, perl-CGI, perl-DB_File, perl-NDBM_File
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if !%ndbm
|
|
||||||
# obsolete NDBM_File in case people had an interim rawhide release
|
|
||||||
Obsoletes: perl-NDBM_File
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# for some reason, sys/types.h and sys/socket.h need to be included
|
# for some reason, sys/types.h and sys/socket.h need to be included
|
||||||
# BEFORE perl.h when the types are used. TODO: clean this.
|
# BEFORE perl.h when the types are used. TODO: clean this.
|
||||||
@ -104,6 +71,11 @@ Patch13: perl-5.6.1-homeglobtest.patch
|
|||||||
# let's add INSTALLDIRS=vendor support to MakeMaker
|
# let's add INSTALLDIRS=vendor support to MakeMaker
|
||||||
Patch14: perl-5.6.1-makemaker.patch
|
Patch14: perl-5.6.1-makemaker.patch
|
||||||
|
|
||||||
|
# security patches
|
||||||
|
Patch1000: perl-5.6.1-cssfix.patch
|
||||||
|
Patch1001: perl-5.6.1-safe.patch
|
||||||
|
Patch1002: perl-5.6.1-solartmp.patch
|
||||||
|
|
||||||
Buildroot: %{_tmppath}/%{name}-root
|
Buildroot: %{_tmppath}/%{name}-root
|
||||||
BuildRequires: gawk, grep, tcsh
|
BuildRequires: gawk, grep, tcsh
|
||||||
|
|
||||||
@ -197,7 +169,6 @@ Requires: perl >= %{perlepoch}:%{perlver}-%{perlrel}
|
|||||||
%description NDBM_File
|
%description NDBM_File
|
||||||
NDBM_File modules for Perl
|
NDBM_File modules for Perl
|
||||||
|
|
||||||
%if %{suidperl}
|
|
||||||
%package suidperl
|
%package suidperl
|
||||||
Version: %{perlver}
|
Version: %{perlver}
|
||||||
Release: %{perlrel}
|
Release: %{perlrel}
|
||||||
@ -208,31 +179,34 @@ Requires: perl = %{perlepoch}:%{perlver}-%{perlrel}
|
|||||||
%description suidperl
|
%description suidperl
|
||||||
suidperl is a setuid binary copy of perl that allows for (hopefully)
|
suidperl is a setuid binary copy of perl that allows for (hopefully)
|
||||||
more secure running of setuid perl scripts.
|
more secure running of setuid perl scripts.
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1 -b .instman
|
%patch1 -p1
|
||||||
# Perl does not have a single entry point to define what db library to use
|
# Perl does not have a single entry point to define what db library to use
|
||||||
# so the patch below is mostly broken...
|
# so the patch below is mostly broken...
|
||||||
#%patch2 -p1
|
#%patch2 -p1
|
||||||
%patch3 -p1 -b .nodb
|
%patch3 -p1
|
||||||
%patch4 -p1 -b .prereq
|
%patch4 -p1
|
||||||
%patch5 -p1 -b .root
|
%patch5 -p1
|
||||||
%patch6 -p1 -b .fhs
|
%patch6 -p1
|
||||||
%patch7 -p1 -b .buildroot
|
%patch7 -p1
|
||||||
%patch8 -p1 -b .errno
|
%patch8 -p1
|
||||||
%patch9 -p1 -b .syslog
|
%patch9 -p1
|
||||||
%patch10 -p1 -b .incs
|
%patch10 -p1
|
||||||
%patch11 -p1 -b .gcc31
|
%patch11 -p1
|
||||||
|
|
||||||
%ifarch ia64
|
%ifarch ia64
|
||||||
%patch12 -p1 -b .ia64pagesize
|
%patch12 -p1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%patch13 -p1 -b .globtest
|
%patch13 -p1
|
||||||
|
|
||||||
%patch14 -p1 -b .makemaker
|
%patch14 -p1
|
||||||
|
|
||||||
|
%patch1000 -p1
|
||||||
|
%patch1001 -p1
|
||||||
|
%patch1002 -p1
|
||||||
|
|
||||||
find . -name \*.orig -exec rm -fv {} \;
|
find . -name \*.orig -exec rm -fv {} \;
|
||||||
|
|
||||||
@ -250,35 +224,18 @@ sh Configure -des -Doptimize="$RPM_OPT_FLAGS" \
|
|||||||
%endif
|
%endif
|
||||||
-Dvendorprefix=%{_prefix} \
|
-Dvendorprefix=%{_prefix} \
|
||||||
-Dsiteprefix=%{_prefix} \
|
-Dsiteprefix=%{_prefix} \
|
||||||
%if %threading
|
|
||||||
-Dusethreads \
|
|
||||||
-Duseithreads \
|
|
||||||
%else
|
|
||||||
-Uusethreads \
|
-Uusethreads \
|
||||||
-Uuseithreads \
|
-Uuseithreads \
|
||||||
%endif
|
|
||||||
%if %largefiles
|
|
||||||
-Duselargefiles \
|
|
||||||
%else
|
|
||||||
-Uuselargefiles \
|
-Uuselargefiles \
|
||||||
%endif
|
|
||||||
-Dd_dosuid \
|
-Dd_dosuid \
|
||||||
-Dd_semctl_semun \
|
-Dd_semctl_semun \
|
||||||
-Di_db \
|
-Di_db \
|
||||||
%if %ndbm
|
|
||||||
-Di_ndbm \
|
-Di_ndbm \
|
||||||
%else
|
|
||||||
-Ui_ndbm \
|
|
||||||
%endif
|
|
||||||
-Di_gdbm \
|
-Di_gdbm \
|
||||||
-Di_shadow \
|
-Di_shadow \
|
||||||
-Di_syslog \
|
-Di_syslog \
|
||||||
-Dman3ext=3pm \
|
-Dman3ext=3pm \
|
||||||
%if %{build_rawhide}
|
|
||||||
# -Dlocincpth=""
|
|
||||||
%else
|
|
||||||
-Dinc_version_list='5.6.0/%{_arch}-%{_os} 5.6.0'
|
-Dinc_version_list='5.6.0/%{_arch}-%{_os} 5.6.0'
|
||||||
%endif
|
|
||||||
# -Dotherlibdirs=/usr/lib/perl5/5.6.0/%{_arch}-linux:/usr/lib/perl5/5.6.0:/usr/lib/perl5/vendor_perl/5.6.0/%{_arch}-linux:/usr/lib/perl5/vendor_perl/5.6.0
|
# -Dotherlibdirs=/usr/lib/perl5/5.6.0/%{_arch}-linux:/usr/lib/perl5/5.6.0:/usr/lib/perl5/vendor_perl/5.6.0/%{_arch}-linux:/usr/lib/perl5/vendor_perl/5.6.0
|
||||||
|
|
||||||
# temp fix for ugly makefile problems; perl's makedepend adds broken
|
# temp fix for ugly makefile problems; perl's makedepend adds broken
|
||||||
@ -290,9 +247,7 @@ find . -type f -name Makefile | xargs perl -p -i -e 's/<(builtin|command line)>/
|
|||||||
|
|
||||||
make -f Makefile
|
make -f Makefile
|
||||||
|
|
||||||
%ifnarch ia64 s390 s390x
|
make -f Makefile test || /bin/true
|
||||||
make -f Makefile test
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
@ -347,15 +302,12 @@ cp MANIFEST.all /tmp
|
|||||||
|
|
||||||
for i in %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE10}
|
for i in %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE10}
|
||||||
do
|
do
|
||||||
./perl -I lib/ %{SOURCE1} %{_arch} $i MANIFEST.all MANIFEST.all.tmp %{thread_arch}
|
./perl -I lib/ %{SOURCE1} %{_arch} $i MANIFEST.all MANIFEST.all.tmp %{thread_arch}
|
||||||
mv MANIFEST.all.tmp MANIFEST.all
|
mv MANIFEST.all.tmp MANIFEST.all
|
||||||
done
|
done
|
||||||
|
|
||||||
# rawhide? if so, split out suidperl
|
./perl -I lib/ %{SOURCE1} %{_arch} %{SOURCE9} MANIFEST.all MANIFEST.all.tmp %{thread_arch}
|
||||||
%if %{suidperl}
|
mv MANIFEST.all.tmp MANIFEST.all
|
||||||
./perl -I lib/ %{SOURCE1} %{_arch} %{SOURCE9} MANIFEST.all MANIFEST.all.tmp %{thread_arch}
|
|
||||||
mv MANIFEST.all.tmp MANIFEST.all
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
# fix the rest of the stuff
|
# fix the rest of the stuff
|
||||||
@ -377,17 +329,19 @@ xargs ./perl -I lib/ -i -p -e "s|$RPM_BUILD_ROOT||g;" MANIFEST.all
|
|||||||
%files -f %{SOURCE7} DB_File
|
%files -f %{SOURCE7} DB_File
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%if %ndbm
|
|
||||||
%files -f %{SOURCE8} NDBM_File
|
%files -f %{SOURCE8} NDBM_File
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{suidperl}
|
|
||||||
%files -f %{SOURCE9} suidperl
|
%files -f %{SOURCE9} suidperl
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 12 2003 Chip Turner <cturner@redhat.com> 1:5.6.1-35.4
|
||||||
|
- integrate tmpfile patch from solar designer
|
||||||
|
|
||||||
|
* Tue Aug 12 2003 Chip Turner <cturner@redhat.com> 1:5.6.1-35
|
||||||
|
- integrate fix for CAN-2003-0615, CAN-2002-1323
|
||||||
|
|
||||||
* Sun Mar 31 2002 Chip Turner <cturner@redhat.com>
|
* Sun Mar 31 2002 Chip Turner <cturner@redhat.com>
|
||||||
- split suidperl back out (bug #62215)
|
- split suidperl back out (bug #62215)
|
||||||
|
|
||||||
@ -466,7 +420,7 @@ xargs ./perl -I lib/ -i -p -e "s|$RPM_BUILD_ROOT||g;" MANIFEST.all
|
|||||||
- add provides for perl modules (from kestes@staff.mail.com).
|
- add provides for perl modules (from kestes@staff.mail.com).
|
||||||
|
|
||||||
* Mon Oct 04 1999 Cristian Gafton <gafton@redhat.com>
|
* Mon Oct 04 1999 Cristian Gafton <gafton@redhat.com>
|
||||||
- fix the %install so that the MD5 module gets actually installed correctly
|
- fix the %%install so that the MD5 module gets actually installed correctly
|
||||||
|
|
||||||
* Mon Aug 30 1999 Cristian Gafton <gafton@redhat.com>
|
* Mon Aug 30 1999 Cristian Gafton <gafton@redhat.com>
|
||||||
- make sure the package builds even when we don't have perl installed on the
|
- make sure the package builds even when we don't have perl installed on the
|
||||||
|
Loading…
Reference in New Issue
Block a user