123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973 |
- %define _noVersionedDependencies 1
- %define threading 1
- %define largefiles 1
- %define suidperl 1
- %define multilib_64_archs x86_64 s390x ppc64 sparc64
- %define perl_archname %{_arch}-%{_os}-thread-multi
- %define new_perl_lib $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}:$RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version}
- %define comp_perl_lib $RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version}:$RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version}
- %define new_arch_lib $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}/%{perl_archname}
- %define comp_arch_lib $RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version}/%{perl_archname}
- %define new_perl_flags LD_PRELOAD=/%{new_arch_lib}/CORE/libperl.so LD_LIBRARY_PATH=%{new_arch_lib}/CORE PERL5LIB=%{new_perl_lib}:%{comp_perl_lib}
- %define new_perl %{new_perl_flags} $RPM_BUILD_ROOT/%{_bindir}/perl
- %define perl_version 5.10.0
- %define perlrel 9
- %define perl_epoch 2
- Provides: perl(:WITH_PERLIO)
- %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_THREADS)
- %endif
- %if %{largefiles}
- Provides: perl(:WITH_LARGEFILES)
- %else
- Provides: perl(:WITHOUT_LARGEFILES)
- %endif
- Summary: The Perl programming language.
- Summary(ja): Perl プログラミング 言語
- Name: perl
- Version: %{perl_version}
- Release: %{perlrel}%{?_dist_release}
- Epoch: %{perl_epoch}
- License: Artistic or GPL
- Group: Development/Languages
- Url: http://www.perl.org/
- Source0: ftp://ftp.perl.org/pub/perl/CPAN/src/perl-%{perl_version}.tar.gz
- Source1: clean-manifest.pl
- Source5: MANIFEST.CPAN
- Source6: MANIFEST.CGI
- Source7: MANIFEST.DB_File
- Source9: MANIFEST.suidperl
- Source10: system-owned-directories
- Source11: filter-depends.sh
- Source12: perl-5.8.0-libnet.cfg
- # Patch1: perl-5.6.0-installman.patch
- # Patch2: perl5.005_03-db1.patch
- # Patch3: perl-5.6.0-nodb.patch
- Patch4: perl-5.6.1-prereq.patch
- Patch5: perl-5.8.1-root.patch
- Patch6: perl-5.8.0-fhs.patch
- Patch7: perl-5.6.0-buildroot.patch
- #Patch8: perl-5.8.0-errno.patch
- Patch9: perl-5.7.3-syslog.patch
- ## from Fedora Core perl-5.8.5-9
- Patch13: perl-5.8.3-perlbug-tag.patch
- %define __find_requires %{SOURCE11}
- Conflicts: perl-NDBM_File <= 1:1.75-34.99.6
- Obsoletes: perl-Digest-MD5
- Obsoletes: perl-MIME-Base64
- Obsoletes: perl-libnet
- Obsoletes: perl-Storable
- Obsoletes: perl-MD5
- Obsoletes: perl-Filter
- Obsoletes: perl-Filter-Simple
- Obsoletes: perl-Time-HiRes
- Provides: perl-MIME-Base64
- Provides: perl-libnet
- ## perl-5.10.0
- Obsoletes: perl-Module-Build <= 0.2806-0vl1
- Obsoletes: perl-Archive-Tar <= 1.38-0vl2
- Obsoletes: perl-IO-Compress-Base <= 2.008-0vl1
- Obsoletes: perl-Compress-Raw-Zlib <= 2.008-0vl1
- Obsoletes: perl-IO-Compress-Zlib <= 2.008-0vl1
- Obsoletes: perl-Compress-Zlib <= 2.008-0vl1
- Obsoletes: perl-IO-Zlib <= 1.09-0vl1
- Obsoletes: perl-version <= 0.42-0vl3
- Provides: perl-Module-Build
- Provides: perl-Archive-Tar
- Provides: perl-IO-Compress-Base
- Provides: perl-Compress-Raw-Zlib
- Provides: perl-IO-Compress-Zlib
- Provides: perl-Compress-Zlib
- Provides: perl-IO-Zlib
- Provides: perl-version
- # Vine: provide archlibdir itself since Vine's aptdata don't have filelists
- Provides: %{_libdir}/perl5/%{perl_version}/%{_arch}-%{_os}%{thread_arch}
- # Configure doesn't listen well when we say no ndbm. When it links in, it then conflicts with berkeley db. oops.
- Patch16: perl-5.8.0-nondbm.patch
- # make sure we get the proper ldflags on libperl.so
- Patch17: perl-5.8.0-sharedlinker.patch
- # work around annoying rpath issue
- Patch21: perl-5.8.0-rpath-make.patch
- # bugzilla 101767, make sure threads.so links directly to -lpthread
- Patch22: perl-5.8.1-lpthread-link.patch
- # arch-specific patches
- Patch101: perl-5.8.0-libdir64.patch
- ## patches from Fedora
- # Fedora/RHEL specific (use libresolv instead of libbind)
- Patch1006: perl-5.8.6-libresolv.patch
- # FIXME: May need the "Fedora" references removed before upstreaming
- Patch1007: perl-5.10.0-USE_MM_LD_RUN_PATH.patch
- # Skip hostname tests, since hostname lookup isn't available in Fedora
- # buildroots by design.
- Patch1008: perl-5.10.0-disable_test_hosts.patch
- # Bump Sys::Syslog to 0.27 to fix select timeout bug
- # https://bugzilla.redhat.com/show_bug.cgi?id=492422
- Patch1009: perl-5.10.0-SysSyslog-0.27.patch
- # The Fedora builders started randomly failing this futime test
- # only on x86_64, so we just don't run it. Works fine on normal
- # systems.
- Patch1010: perl-5.10.0-x86_64-io-test-failure.patch
- # http://public.activestate.com/cgi-bin/perlbrowse/p/32891
- Patch1011: 32891.patch
- # Update Module::Load::Conditional to 0.24 for clean upgrade
- Patch1012: perl-5.10.0-Module-Load-Conditional-0.24.patch
- # Upgrade Module::CoreList to 2.14
- Patch1013: perl-5.10.0-Module-CoreList2.14.patch
- # Fix from Archive::Extract maintainer to only look at stdout
- # We need this because we're using tar >= 1.21
- # included upstream in 0.31_03
- Patch1014: perl-5.10.0-Archive-Extract-onlystdout.patch
- # Update Module:Compress::Raw::Zlib (CVE-2009-1391)
- Patch1015: perl-update-Compress_Raw_Zlib.patch
- Buildroot: %{_tmppath}/%{name}-%{version}-root
- BuildPreReq: gawk, grep, tcsh, gdbm-devel, db4-devel
- BuildPreReq: rpm-devel, gpm-devel, ncurses-devel, zlib-devel, netpbm-devel
- BuildPreReq: libpng-devel, libtiff-devel, libelf, libjpeg-devel
- BuildPreReq: netpbm-devel, e2fsprogs-devel
- # without man installed, the variables installman[13]dir
- # in Config.pm will be undefined. This BuildPreReq will fix it.
- BuildPreReq: man
- Vendor: Project Vine
- Distribution: Vine Linux
- # The long line of Perl provides.
- # These provides are needed by the perl pkg itself with auto-generated perl.req
- Provides: perl(VMS::Filespec)
- Provides: perl(VMS::Stdio)
- # Compat provides
- Provides: perl(:MODULE_COMPAT_5.10.0)
- # Threading provides
- Provides: perl(:WITH_ITHREADS)
- Provides: perl(:WITH_THREADS)
- # Largefile provides
- Provides: perl(:WITH_LARGEFILES)
- # PerlIO provides
- Provides: perl(:WITH_PERLIO)
- # File provides
- Provides: perl(abbrev.pl)
- Provides: perl(assert.pl)
- Provides: perl(bigfloat.pl)
- Provides: perl(bigint.pl)
- Provides: perl(bigrat.pl)
- Provides: perl(bytes_heavy.pl)
- Provides: perl(cacheout.pl)
- Provides: perl(complete.pl)
- Provides: perl(ctime.pl)
- Provides: perl(dotsh.pl)
- Provides: perl(dumpvar.pl)
- Provides: perl(exceptions.pl)
- Provides: perl(fastcwd.pl)
- Provides: perl(find.pl)
- Provides: perl(finddepth.pl)
- Provides: perl(flush.pl)
- Provides: perl(ftp.pl)
- Provides: perl(getcwd.pl)
- Provides: perl(getopt.pl)
- Provides: perl(getopts.pl)
- Provides: perl(hostname.pl)
- Provides: perl(importenv.pl)
- Provides: perl(look.pl)
- Provides: perl(newgetopt.pl)
- Provides: perl(open2.pl)
- Provides: perl(open3.pl)
- Provides: perl(perl5db.pl)
- Provides: perl(pwd.pl)
- Provides: perl(shellwords.pl)
- Provides: perl(stat.pl)
- Provides: perl(syslog.pl)
- Provides: perl(tainted.pl)
- Provides: perl(termcap.pl)
- Provides: perl(timelocal.pl)
- Provides: perl(utf8_heavy.pl)
- Provides: perl(validate.pl)
- Provides: perl(Carp::Heavy)
- ## Requires
- # fix <BTS:VineLinux:1008>
- Requires: nss
- %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.
- %description -l ja
- Perl は高レベルなプログラミング言語です.Perl では,プロセス処理や
- ファイル処理が容易に行え,特にテキスト処理においてその威力を発揮します.
- Perl が実用的かつ効率的であることは既に折紙付きです.Perl は様々な用途に
- 用いられていますが,最も一般的にはシステム管理ユーティリティやウェブ
- プログラミングに用いられています.実際 Web 上の CGI スクリプトの多くは
- Perl で書かれています.
- あなたのシステムで Perl スクリプトを扱える様にするには,このパッケージを
- インストールして下さい.
- %package localdirs
- Summary: Perl library directories in /usr/local
- Group: Development/Languages
- License: Artistic or GPL
- Requires: perl = %{perl_epoch}:%{perl_version}-%{release}
- Obsoletes: perl < 5.10.0
- %description localdirs
- Perl library directories in /usr/local
- %prep
- %setup -q
- %patch5 -p1 -b .root
- %patch13 -p1
- %patch17 -p1 -b .sharedlinker
- %patch21 -p1 -b .rpathmake
- %ifarch %{multilib_64_archs}
- %patch101 -p1 -b .libdir64
- %endif
- ## patch from Fedora
- %patch1006 -p1
- %patch1007 -p1
- %patch1008 -p1
- %patch1009 -p1
- %patch1010 -p1
- %patch1011 -p1
- %patch1012 -p1
- %patch1013 -p1
- %patch1014 -p1
- %patch1015 -p1 -b .CVE-2009-1391
- #
- # Candidates for doc recoding (need case by case review):
- # find . -name "*.pod" -o -name "README*" -o -name "*.pm" | xargs file -i | grep charset= | grep -v '\(us-ascii\|utf-8\)'
- recode()
- {
- iconv -f "$2" -t utf-8 < "$1" > "${1}_"
- mv -f "${1}_" "$1"
- }
- recode README.cn euc-cn
- recode README.jp euc-jp
- recode README.ko euc-kr
- recode README.tw big5
- recode pod/perlebcdic.pod iso-8859-1
- recode pod/perlhack.pod iso-8859-1
- recode pod/perlhist.pod iso-8859-1
- recode pod/perlothrtut.pod iso-8859-1
- recode pod/perlthrtut.pod iso-8859-1
- recode lib/Unicode/Collate.pm iso-8859-1
- for i in Changes*; do
- recode $i iso-8859-1
- done
- recode AUTHORS iso-8859-1
- find . -name \*.orig -exec rm -fv {} \;
- # Oh, the irony. Perl generates some non-versioned provides we don't need.
- # Each of these has a versioned provide, which we keep.
- cat << EOF > perl-prov
- #!/bin/sh
- %{__perl_provides} $* |\
- sed -e '/^perl(Carp)$/d' |\
- sed -e '/^perl(DynaLoader)$/d' |\
- sed -e '/^perl(Locale::Maketext)$/d' |\
- sed -e '/^perl(Log::Message::Handlers)$/d' |\
- sed -e '/^perl(Math::BigInt)$/d' |\
- sed -e '/^perl(Net::Config)$/d' |\
- sed -e '/^perl(Tie::Hash)$/d' |\
- sed -e '/^perl(bigint)$/d' |\
- sed -e '/^perl(bigrat)$/d' |\
- sed -e '/^perl(bytes)$/d' |\
- sed -e '/^perl(utf8)$/d' |\
- sed -e '/^perl(DB)$/d'
- EOF
- %define __perl_provides %{_builddir}/%{name}-%{perl_version}/perl-prov
- chmod +x %{__perl_provides}
- # Configure Compress::Zlib to use system zlib
- sed -i "s|BUILD_ZLIB = True|BUILD_ZLIB = False|" ext/Compress/Raw/Zlib/config.in
- sed -i "s|INCLUDE = ./zlib-src|INCLUDE = %{_includedir}|" ext/Compress/Raw/Zlib/config.in
- sed -i "s|LIB = ./zlib-src|LIB = %{_libdir}|" ext/Compress/Raw/Zlib/config.in
- %build
- # for generating makefiles
- export LANG=C
- export LANGUAGE=C
- export LC_ALL=C
- echo "RPM Build arch: %{_arch}"
- [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
- # yes; don't use %_libdir so that noarch packages from other OSs
- # arches work correctly :\ the Configure lines below hardcode lib for
- # similar reasons.
- /bin/sh Configure -des -Doptimize="$RPM_OPT_FLAGS" \
- -Dversion=%{perl_version} \
- -Dmyhostname=localhost \
- -Dperladmin=root@localhost \
- -Dcc='%{__cc}' \
- -Dcf_by='Vine Linux' \
- -Dinstallprefix=%{_prefix} \
- -Dprefix=%{_prefix} \
- %ifarch %{multilib_64_archs}
- -Dlibpth="/lib64 %{_prefix}/lib64" \
- -Dprivlib="%{_libdir}/perl5/%{perl_version}" \
- -Dsitelib="%{_libdir}/perl5/site_perl/%{perl_version}" \
- -Dvendorlib="%{_libdir}/perl5/vendor_perl/%{perl_version}" \
- -Darchlib="%{_libdir}/perl5/%{perl_version}/%{perl_archname}" \
- -Dsitearch="%{_libdir}/perl5/site_perl/%{perl_version}/%{perl_archname}" \
- -Dvendorarch="%{_libdir}/perl5/vendor_perl/%{perl_version}/%{perl_archname}" \
- %endif
- -Darchname=%{_arch}-%{_os} \
- %ifarch sparc sparcv9
- -Ud_longdbl \
- %endif
- -Dvendorprefix=%{_prefix} \
- -Dsiteprefix=%{_prefix} \
- -Duseshrplib \
- -Dusethreads \
- -Duseithreads \
- -Duselargefiles \
- -Dd_dosuid \
- -Dd_semctl_semun \
- -Di_db \
- -Ui_ndbm \
- -Di_gdbm \
- -Di_shadow \
- -Di_syslog \
- -Dman3ext=3pm \
- -Duseperlio \
- -Dinstallusrbinperl=n \
- -Ubincompat5005 \
- -Uversiononly \
- -Dpager='/usr/bin/less -isr' \
- -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto \
- -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto \
- -Ud_endservent_r_proto -Ud_setservent_r_proto \
- %ifarch %{multilib_64_archs}
- -Dotherlibdirs="%{_prefix}/lib/perl5/%{perl_version}:%{_prefix}/lib/perl5/vendor_perl/%{perl_version}:%{_prefix}/lib/perl5/vendor_perl:%{_prefix}/lib/perl5/site_perl/%{perl_version}:%{_prefix}/lib/perl5/site_perl:%{_prefix}/local/lib/site_perl:%{_prefix}/local/lib64/site_perl" \
- %else
- -Dotherlibdirs="%{_prefix}/local/lib/site_perl" \
- %endif
- -Dscriptdir='%{_bindir}'
- make %{?_smp_mflags}
- %install
- [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- %ifarch %{multilib_64_archs}
- mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{perl_version}
- mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/auto
- %ifarch x86_64
- mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/i386-linux-thread-multi/auto
- %endif
- %ifarch s390x
- mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/s390-linux-thread-multi/auto
- %endif
- %ifarch ppc64
- mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/ppc-linux-thread-multi/auto
- %endif
- %ifarch sparc64
- mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/sparc-linux-thread-multi/auto
- %endif
- %endif
- %ifarch %{multilib_64_archs}
- mkdir -p -m 755 ${RPM_BUILD_ROOT}%{_prefix}/lib64/perl5/vendor_perl/%{perl_version}/%{_arch}-%{_os}
- %endif
- # perl doesn't create this module, but modules put things in it, so we need to own it.
- mkdir -p -m 755 ${RPM_BUILD_ROOT}%{_libdir}/perl5/vendor_perl/%{perl_version}/%{perl_archname}/auto
- install -p -m 755 utils/pl2pm ${RPM_BUILD_ROOT}%{_bindir}/pl2pm
- for i in asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h sys/socket.h sys/time.h wait.h
- do
- %{new_perl} $RPM_BUILD_ROOT/%{_bindir}/h2ph -a \
- -d $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname} $i || /bin/true
- done
- for dir in $(%{new_perl} -le 'print join("\n", @INC)' | grep '^%{_prefix}/lib')
- do
- mkdir -p $RPM_BUILD_ROOT/$dir
- done
- for dir in $(%{new_perl} -le 'print join("\n", @INC)' | grep '^%{_libdir}')
- do
- mkdir -p $RPM_BUILD_ROOT/$dir
- done
- #
- # libnet configuration file
- #
- mkdir -p -m 755 $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/Net
- install -p -m 644 %{SOURCE12} $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/Net/libnet.cfg
- #
- # Core modules removal
- #
- find $RPM_BUILD_ROOT -name '*NDBM*' | xargs rm -rfv
- find $RPM_BUILD_ROOT -type f -name '*.bs' -a -empty -exec rm -f {} ';'
- # Install sample cgi scripts (this used to happen automatically?)
- mkdir -p $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/CGI/eg/
- cp -a lib/CGI/eg/* $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/CGI/eg/
- # Cleanup binary paths and make cgi files executable
- pushd $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/CGI/eg/
- for i in *.cgi make_links.pl RunMeFirst ; do
- sed -i 's|/usr/local/bin/perl|%{_bindir}/perl|g' $i
- chmod +x $i
- done
- popd
- # miniperl? As an interpreter? How odd.
- sed -i 's|./miniperl|%{_bindir}/perl|' $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/ExtUtils/xsubpp
- chmod +x $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/ExtUtils/xsubpp
- # Don't need the .packlist
- rm -f $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname}/.packlist
- # Fix some manpages to be UTF-8
- pushd $RPM_BUILD_ROOT%{_mandir}/man1/
- for i in perl588delta.1 perldelta.1 ; do
- iconv -f MS-ANSI -t UTF-8 $i --output new-$i
- rm -rf $i
- mv new-$i $i
- done
- popd
- chmod -R u+w $RPM_BUILD_ROOT/*
- # Compress Changes* to save space
- %{__gzip} Changes*
- # for localdirs
- %{__mkdir_p} %{buildroot}%{_prefix}/local/lib/site_perl/%{perl_version}/%{_arch}-%{_os}%{thread_arch}
- # Local patch tracking
- # cd $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/
- # perl -x patchlevel.h 'Fedora Patch1: Permit suidperl to install as nonroot'
- # perl -x patchlevel.h 'Fedora Patch2: Removes date check, Fedora/RHEL specific'
- # perl -x patchlevel.h 'Fedora Patch3: Fedora/RHEL use links instead of lynx'
- # perl -x patchlevel.h 'Fedora Patch4: Work around annoying rpath issue'
- # %ifarch %{multilib_64_archs}
- # perl -x patchlevel.h 'Fedora Patch5: support for libdir64'
- # %endif
- # perl -x patchlevel.h 'Fedora Patch6: use libresolv instead of libbind'
- # perl -x patchlevel.h 'Fedora Patch7: USE_MM_LD_RUN_PATH'
- # perl -x patchlevel.h 'Fedora Patch8: Skip hostname tests, due to builders not being network capable'
- # perl -x patchlevel.h 'Fedora Patch9: Update Sys::Syslog to 0.24'
- # perl -x patchlevel.h 'Fedora Patch10: Dont run one io test due to random builder failures'
- # perl -x patchlevel.h '32891 fix big slowdown in 5.10 @_ parameter passing'
- # perl -x patchlevel.h 'Fedora Patch12: Update Module::Load::Conditional to 0.24'
- # perl -x patchlevel.h 'Fedora Patch13: Upgrade Module::CoreList to 2.14'
- %clean
- [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
- %check
- make test
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %defattr(-,root,root)
- %doc Artistic AUTHORS Changes* Copying README
- %{_mandir}/man1/*.1*
- %{_mandir}/man3/*.3*
- %{_bindir}/*
- %{_libdir}/perl5
- %ifarch %{multilib_64_archs}
- %{_prefix}/lib/perl5
- %endif
- %files localdirs
- %defattr(-,root,root)
- %dir %{_prefix}/local/lib/site_perl
- %dir %{_prefix}/local/lib/site_perl/%{perl_version}
- %dir %{_prefix}/local/lib/site_perl/%{perl_version}/%{_arch}-%{_os}%{thread_arch}
- %changelog
- * Sun Jun 27 2010 IWAI, Masaharu <iwai@alib.jp> 5.10.0-9
- - add Requires: nss: fix <BTS:VineLinux:1008>
- * Wed Feb 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 5.10.0-8
- - rebuild with db4-4.8
- * Sun Aug 16 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 5.10.0-7
- - fix installsitearch/installsitelib variables @ x86_64 env.
- - fix libdir location @ x86_64 env.
- * Sun Jun 14 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 5.10.0-6
- - add patch1015 to Update Module:Compress::Raw::Zlib (CVE-2009-1391)
- * Thu Apr 30 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.10.0-5
- - add Patch1014 fix Archive::Extract to fix test failure caused by tar >= 1.21
- - fix Patch1009 to fix select timeout bug (RHBZ #492422)
- * Wed Apr 29 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 5.10.0-4
- - spec in UTF-8
- * Fri Jun 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.10.0-3
- - rebuilt with db4-4.6.21
- * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.10.0-2
- - added more macros
- - fixed Provides
- * Wed Apr 23 2008 IWAI, Masaharu <iwaim@cc.mbn.or.jp> 5.10.0-1
- - new upstream release
- - sync Fedora perl-5.10.0-20.fc9
- - drop obsolete patches
- - perl-5.8.3-fullinc.patch (Patch11)
- - perl-5.8.5-incpush.patch (Patch12)
- - perl-5.8.5-dashI.patch (Patch14)
- - perl-5.8.3-findbin-selinux.patch (Patch23)
- - perl-5.8.3-empty-rpath.patch (Patch24)
- - perl-5.8.1-s390.patch (Patch100)
- - add some patches from Fedora perl-5.10.0-20.fc9
- - perl-5.8.6-libresolv.patch (Patch1006)
- - perl-5.10.0-USE_MM_LD_RUN_PATH.patch (Patch1007)
- - perl-5.10.0-disable_test_hosts.patch (Patch1008)
- - perl-5.10.0-SysSyslog-0.24.patch (Patch1009)
- - perl-5.10.0-x86_64-io-test-failure.patch (Patch1010)
- - 32891.patch (Patch1011)
- - perl-5.10.0-Module-Load-Conditional-0.24.patch (Patch1012)
- - perl-5.10.0-Module-CoreList2.14.patch (Patch1013)
- - update %%make, %%build and %%install, %%files sections (sync Fedora)
- - add %%check, %%post and %%postun sections (sync Fedora)
- - update Provides (sync Fedora)
- - create new package 'perl-localdirs': perl library directories in /usr/local
- - update filter-depends.sh (Source11)
- - update Obsoletes and Provides for old packages
- * Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.6-0vl5
- - BuildPreReq: man (without it, installman[13] will get undefined
- * Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.6-0vl4
- - rebuilt with new toolchain and db4-4.3.x
- * Wed Jun 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 5.8.6-0vl3
- - use filter to find-requires instead of perl-req (rpm's bug?)
- - don't remove core modules (FIlter::Util::Call, Filter::Simple, Time::HiRes)
- * Sun Jan 09 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.6-0vl2
- - force gcc optimization level to -O1 on ppc
- * Mon Nov 29 2004 IWAI, Masaharu <iwai@alib.jp> 5.8.6-0vl1
- - new upstream release
- - drop obsolete patches
- - drop errno patch ( Patch8 )
- - drop manext patch ( Patch18 )
- - drop suidperl security fix patch ( Patch501 )
- - add some patches from Fedora Core perl-5.8.5-9
- - add fullinc patch ( Patch11 )
- - add incpush patch ( Patch12 )
- - add perkbug tag patch ( Patch13 )
- - add dashI patch ( Patch14 )
- - add findbin selinux patch ( Patch23 )
- - add empty rpath patch ( Patch24 )
- - include lpthread link patch ( Patch22 )
- - drop unnecessary macros: cpanver, dbfilever and cgiver
- * Wed Oct 27 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.2-0vl4
- - provide archlibdir (for some applications such as xchat)
- * Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.2-0vl3
- - rebuilt with db4-4.2.52
- * Fri Jul 2 2004 IWAI, Masaharu <iwai@alib.jp> 5.8.2-0vl2
- - SECURITY: fix CAN-2003-0618: suidperl
- add 06_fix_suidperl patch (Patch501) from Debian Sarge perl 5.8.3-3
- * Fri Nov 7 2003 IWAI, Masaharu <iwai@alib.jp> 5.8.2-0vl1
- - new upstream release
- * Fri Sep 26 2003 IWAI, Masaharu <iwai@alib.jp> 5.8.1-0vl1
- - new upstream release
- - update some patches:
- - root patch (Patch5)
- - s390 patch (Patch100)
- - stop patching fhs patch (Patch6)
- - stop patching syslog patch (Patch9)
- - stop patching manext patch (Patch18)
- - stop patching links patch (Patch19): Vine doesn't have links package.
- - drop obsolete module update patches:
- - perl-5.8.0-Safe2.09.patch (Patch202)
- - perl-5.8.0-CGI2.89.patch (Patch203)
- - perl-5.8.0-CGI_XSS.patch (Patch20002)
- - drop obsolete patches:
- - protofix patch (Patch32000)
- - pagerfix patch (Patch32001)
- - upstream patches
- - Patch17649: perl-5.8.0-upstream-17649.patch
- - Patch18079: perl-5.8.0-upstream-18079.patch
- - Patch18080: perl-5.8.0-upstream-18080.patch
- - Patch18081: perl-5.8.0-upstream-18081.patch
- - Patch18082: perl-5.8.0-upstream-18082.patch
- - Patch18087: perl-5.8.0-upstream-18087.patch
- - Patch18089: perl-5.8.0-upstream-18089.patch
- - Patch18095: perl-5.8.0-upstream-18095.patch
- - Patch18096: perl-5.8.0-upstream-18096.patch
- - Patch18097: perl-5.8.0-upstream-18097.patch
- - Patch18098: perl-5.8.0-upstream-18098.patch
- - Patch18100: perl-5.8.0-upstream-18100.patch
- - Patch18101: perl-5.8.0-upstream-18101.patch
- - Patch18103: perl-5.8.0-upstream-18103.patch
- - Patch18104: perl-5.8.0-upstream-18104.patch
- - Patch18110: perl-5.8.0-upstream-18110.patch
- - Patch18111: perl-5.8.0-upstream-18111.patch
- - Patch18112: perl-5.8.0-upstream-18112.patch
- - Patch18126: perl-5.8.0-upstream-18126.patch
- - Patch18127: perl-5.8.0-upstream-18127.patch
- - Patch18128: perl-5.8.0-upstream-18128.patch
- - Patch18129: perl-5.8.0-upstream-18129.patch
- - Patch18130: perl-5.8.0-upstream-18130.patch
- - Patch18131: perl-5.8.0-upstream-18131.patch
- - Patch18132: perl-5.8.0-upstream-18132.patch
- - Patch18133: perl-5.8.0-upstream-18133.patch
- - Patch18134: perl-5.8.0-upstream-18134.patch
- - Patch18143: perl-5.8.0-upstream-18143.patch
- - Patch18144: perl-5.8.0-upstream-18144.patch
- - Patch18145: perl-5.8.0-upstream-18145.patch
- - Patch18146: perl-5.8.0-upstream-18146.patch
- - Patch18153: perl-5.8.0-upstream-18153.patch
- - Patch18155: perl-5.8.0-upstream-18155.patch
- - Patch18156: perl-5.8.0-upstream-18156.patch
- - Patch18173: perl-5.8.0-upstream-18173.patch
- - Patch18174: perl-5.8.0-upstream-18174.patch
- - Patch18187: perl-5.8.0-upstream-18187.patch
- - Patch18189: perl-5.8.0-upstream-18189.patch
- - Patch18190: perl-5.8.0-upstream-18190.patch
- - Patch18191: perl-5.8.0-upstream-18191.patch
- - Patch18192: perl-5.8.0-upstream-18192.patch
- - Patch18197: perl-5.8.0-upstream-18197.patch
- - Patch18202: perl-5.8.0-upstream-18202.patch
- - Patch18204: perl-5.8.0-upstream-18204.patch
- - Patch18205: perl-5.8.0-upstream-18205.patch
- - Patch18206: perl-5.8.0-upstream-18206.patch
- - Patch18207: perl-5.8.0-upstream-18207.patch
- - Patch18208: perl-5.8.0-upstream-18208.patch
- - Patch18209: perl-5.8.0-upstream-18209.patch
- - Patch18210: perl-5.8.0-upstream-18210.patch
- - Patch18211: perl-5.8.0-upstream-18211.patch
- - Patch18214: perl-5.8.0-upstream-18214.patch
- - Patch18215: perl-5.8.0-upstream-18215.patch
- - Patch18218: perl-5.8.0-upstream-18218.patch
- - Patch18219: perl-5.8.0-upstream-18219.patch
- - Patch18227: perl-5.8.0-upstream-18227.patch
- - Patch18234: perl-5.8.0-upstream-18234.patch
- - Patch18235: perl-5.8.0-upstream-18235.patch
- - Patch18236: perl-5.8.0-upstream-18236.patch
- - Patch18241: perl-5.8.0-upstream-18241.patch
- - Patch18242: perl-5.8.0-upstream-18242.patch
- - Patch18243: perl-5.8.0-upstream-18243.patch
- - Patch18247: perl-5.8.0-upstream-18247.patch
- - Patch18248: perl-5.8.0-upstream-18248.patch
- - Patch18252: perl-5.8.0-upstream-18252.patch
- - Patch18253: perl-5.8.0-upstream-18253.patch
- - Patch18254: perl-5.8.0-upstream-18254.patch
- - Patch18255: perl-5.8.0-upstream-18255.patch
- - Patch18256: perl-5.8.0-upstream-18256.patch
- - Patch18257: perl-5.8.0-upstream-18257.patch
- - Patch18258: perl-5.8.0-upstream-18258.patch
- - Patch18271: perl-5.8.0-upstream-18271.patch
- - Patch18273: perl-5.8.0-upstream-18273.patch
- - Patch18274: perl-5.8.0-upstream-18274.patch
- - Patch18275: perl-5.8.0-upstream-18275.patch
- - Patch18276: perl-5.8.0-upstream-18276.patch
- - Patch18286: perl-5.8.0-upstream-18286.patch
- - Patch18289: perl-5.8.0-upstream-18289.patch
- - Patch18290: perl-5.8.0-upstream-18290.patch
- - Patch18291: perl-5.8.0-upstream-18291.patch
- - Patch18293: perl-5.8.0-upstream-18293.patch
- - Patch18294: perl-5.8.0-upstream-18294.patch
- - Patch18295: perl-5.8.0-upstream-18295.patch
- - Patch18296: perl-5.8.0-upstream-18296.patch
- - Patch18297: perl-5.8.0-upstream-18297.patch
- - Patch18301: perl-5.8.0-upstream-18301.patch
- - Patch18322: perl-5.8.0-upstream-18322.patch
- - Patch18347: perl-5.8.0-upstream-18347.patch
- - Patch18348: perl-5.8.0-upstream-18348.patch
- - Patch18349: perl-5.8.0-upstream-18349.patch
- - Patch18352: perl-5.8.0-upstream-18352.patch
- - Patch18353: perl-5.8.0-upstream-18353.patch
- - Patch18359: perl-5.8.0-upstream-18359.patch
- - Patch18360: perl-5.8.0-upstream-18360.patch
- - Patch18361: perl-5.8.0-upstream-18361.patch
- - Patch18362: perl-5.8.0-upstream-18362.patch
- - Patch18363: perl-5.8.0-upstream-18363.patch
- - Patch18364: perl-5.8.0-upstream-18364.patch
- - Patch18365: perl-5.8.0-upstream-18365.patch
- - Patch18366: perl-5.8.0-upstream-18366.patch
- - Patch18367: perl-5.8.0-upstream-18367.patch
- - Patch18368: perl-5.8.0-upstream-18368.patch
- - Patch18369: perl-5.8.0-upstream-18369.patch
- - Patch18370: perl-5.8.0-upstream-18370.patch
- - Patch18375: perl-5.8.0-upstream-18375.patch
- - Patch18379: perl-5.8.0-upstream-18379.patch
- - Patch18380: perl-5.8.0-upstream-18380.patch
- - Patch20001: perl-5.8.0-upstream-20475.patch
- * Wed Jul 23 2003 IWAI Masaharu <iwai@alib.jp> 5.8.0-88vl4
- - SECURITY: fix CGI.pm XSS
- add CGI_XSS.patch (Patch20002)
- * Wed May 14 2003 IWAI Masaharu <iwai@alib.jp> 5.8.0-88vl3
- - add open.pm patch from perl5-porters #20475
- * Thu Apr 24 2003 IWAI Masaharu <iwai@alib.jp> 5.8.0-88vl2
- - added library search path ( otherlibdirs ) in /usr/local/lib
- - add Provides: perl-{MIME-Base64,libnet} ([VineSeed:07701])
- * Tue Apr 15 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 5.8.0-88vl1
- - synced with Rawhide 5.8.0-88
- * Fri Apr 12 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 5.6.1-0vl9
- - added library search path ( otherlibdirs ) in /usr/local/lib
- * Fri Mar 29 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.6.1-0vl8
- - changed Patch3 (now use gdbm-ndbm)
- * Sat Jan 19 2002 Yoshihiro Ota <ota@j.email.ne.jp>
- - 5.6.1-0vl7
- - added db3-devel BuildPreReq
- * Sat Jan 19 2002 Yoshihiro Ota <ota@j.email.ne.jp>
- - 5.6.1-0vl6
- - added BuildPreReq entires
- * Tue Jun 19 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
- - 5.6.1-0vl4
- - removed NASTY Provides: perl <= %%{version} line :-P
- * Sun Jun 17 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
- - 5.6.1-0vl3
- - put %%install sentence back
- * Sun Jun 17 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
- - 5.6.1-0vl2
- - use %%config for perllocal.pod
- - removed MAINTAIN from %%doc
- * Sat Jun 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
- - 5.6.1-0vl1
- - updated to 5.6.1 newest (at the moment) stable release
- (most of the works/tests done by Machino-san. Thanks)
- - fix Source[01] URLs
- - Copyright: GPL -> License: Artistic
- - Patch4 modified for 5.6.1, as well as removed Patch8 and Patch9
- * Fri Jun 15 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
- - 5.6.0-10vl6
- - modified %%{SOURCE3} & %%{SOURCE4} to remove libsafe.so dependencies
- * Thu Jun 14 2001 <sagami@vinelinux.org>
- - 5.6.0-10vl5: I think define is still valid even if commented out
- * Thu Jun 14 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
- - 5.6.0-10vl4
- - added Japanese description
- - all archs should use %%{SOURCE3} for find_requires at the moment
- - %%define _noVersionedDependencies 1
- - libgr-devel -> netpbm-devel in %%install section
- * Wed Jun 13 2001 Jun Nishii <jun@vinelinux.org> perl-5.6.0-10vl3
- - added %doc
- * Mon Mar 12 2001 net_hal <net_hal@cwa.bai.ne.jp>
- - Package name changed(perl -> perl56)
- * Fri Mar 2 2001 net_hal <net_hal@cwa.bai.ne.jp>
- - first build for Vine2.1
- * Tue Sep 12 2000 Bill Nottingham <notting@redhat.com>
- - fix dependencies on ia64/sparc64
- * Mon Aug 7 2000 Nalin Dahyabhai <nalin@redhat.com>
- - 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 <nalin@redhat.com>
- - 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 <nalin@redhat.com>
- - strip buildroot from perl pods (#14040)
- - release 6
- * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- - automatic rebuild (release 5)
- * Wed Jun 21 2000 Preston Brown <pbrown@redhat.com>
- - don't require tcsh to install, only to build
- - release 4
- * Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com>
- - rebuild against new db3 package
- - release 3
- * Sat Jun 17 2000 Nalin Dahyabhai <nalin@redhat.com>
- - 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 <bero@redhat.com>
- - 2.6.0
- * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
- - fix description
- * Fri Jan 14 2000 Jeff Johnson <jbj@redhat.com>
- - add provides for perl modules (from kestes@staff.mail.com).
- * Mon Oct 04 1999 Cristian Gafton <gafton@redhat.com>
- - fix the %install so that the MD5 module gets actually installed correctly
- * Mon Aug 30 1999 Cristian Gafton <gafton@redhat.com>
- - make sure the package builds even when we don't have perl installed on the
- system
- * Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com>
- - merged with perl-MD5
- - get rid of the annoying $RPM_BUILD_ROOT paths in the installed tree
- * Mon Jul 26 1999 Cristian Gafton <gafton@redhat.com>
- - 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 <gafton@redhat.com>
- - use wildcards for files in /usr/bin and /usr/man
- * Tue Apr 06 1999 Cristian Gafton <gafton@redhat.com>
- - 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 <gafton@redhat.com>
- - auto rebuild in the new build environment (release 3)
- * Thu Jan 07 1999 Cristian Gafton <gafton@redhat.com>
- - guilty of the inlined Makefile in the spec file
- - adapted for the arm build
- * Wed Sep 09 1998 Preston Brown <pbrown@redhat.com>
- - added newer CGI.pm to the build
- - changed the version naming scheme around to work with RPM
- * Sun Jul 19 1998 Jeff Johnson <jbj@redhat.com>
- - attempt to generate *.ph files reproducibly
- * Mon Jun 15 1998 Jeff Johnson <jbj@redhat.com>
- - update to 5.004_04-m4 (pre-5.005 maintenance release)
- * Tue Jun 12 1998 Christopher McCrory <chrismcc@netus.com
- - need stdarg.h from gcc shadow to fix "use Sys::Syslog" (problem #635)
- * Fri May 08 1998 Cristian Gafton <gafton@redhat.com>
- - added a patch to correct the .ph constructs unless defined (foo) to read
- unless(defined(foo))
- * Thu May 07 1998 Prospector System <bugs@redhat.com>
- - translations modified for de, fr, tr
- * Tue Mar 10 1998 Cristian Gafton <gafton@redhat.com>
- - fixed strftime problem
- * Sun Mar 08 1998 Cristian Gafton <gafton@redhat.com>
- - 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 <gafton@redhat.com>
- - 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 <ewt@redhat.com>
- - Config.pm wasn't right do to the builtrooting
- * Mon Oct 20 1997 Erik Troan <ewt@redhat.com>
- - fixed arch-specfic part of spec file
- * Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
- - updated to perl 5.004_01
- - users a build root
- * Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
- - built against glibc
- * Tue Apr 22 1997 Erik Troan <ewt@redhat.com>
- - Incorporated security patch from Chip Salzenberg <salzench@nielsenmedia.com>
- * Fri Feb 07 1997 Erik Troan <ewt@redhat.com>
- - Use -Darchname=i386-linux
- - Require csh (for glob)
- - Use RPM_ARCH during configuration and installation for arch independence
|