source: projects/specs/trunk/p/perl/perl-vl.spec @ 3103

Revision 3103, 35.1 KB checked in by iwaim, 13 years ago (diff)

perl 5.12.3-2

Line 
1%define       _noVersionedDependencies 1
2%define threading  1
3%define largefiles 1
4
5%define multilib_64_archs x86_64 s390x ppc64 sparc64
6%define perl_archname %{_arch}-%{_os}-thread-multi
7%define new_perl_lib  $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}:$RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version}
8%define comp_perl_lib $RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version}:$RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version}
9%define new_arch_lib  $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}/%{perl_archname}
10%define comp_arch_lib $RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version}/%{perl_archname}
11%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}
12%define new_perl %{new_perl_flags} $RPM_BUILD_ROOT/%{_bindir}/perl
13
14%define perl_version 5.12.3
15%define perlrel 2
16%define perl_epoch 2
17
18Provides: perl(:WITH_PERLIO)
19
20%if %{threading}
21%define thread_arch -thread-multi
22Provides: perl(:WITH_ITHREADS)
23Provides: perl(:WITH_THREADS)
24%else
25%define thread_arch %{nil}
26Provides: perl(:WITHOUT_ITHREADS)
27Provides: perl(:WITHOUT_THREADS)
28%endif
29
30%if %{largefiles}
31Provides: perl(:WITH_LARGEFILES)
32%else
33Provides: perl(:WITHOUT_LARGEFILES)
34%endif
35
36Summary:      The Perl programming language.
37Summary(ja):  Perl プログラミング 言語
38
39Name:         perl
40Version:      %{perl_version}
41Release:      %{perlrel}%{?_dist_release}
42Epoch:        %{perl_epoch}
43License:      Artistic or GPL
44Group:        Development/Languages
45Url:          http://www.perl.org/
46Source0: ftp://ftp.perl.org/pub/perl/CPAN/src/perl-%{perl_version}.tar.gz
47Source10: system-owned-directories
48Source11: filter-depends.sh
49Source12: perl-5.8.0-libnet.cfg
50Patch1: perl-5.12.3-MANIFEST-gziped-Changes.patch
51Patch4: perl-5.6.1-prereq.patch
52Patch6: perl-5.8.0-fhs.patch
53Patch7: perl-5.6.0-buildroot.patch
54#Patch8: perl-5.8.0-errno.patch
55Patch9: perl-5.7.3-syslog.patch
56
57## from Fedora Core perl-5.8.5-9
58Patch13: perl-5.8.3-perlbug-tag.patch
59
60%define __perl_requires %{SOURCE11}
61
62Conflicts: perl-NDBM_File <= 1:1.75-34.99.6
63
64Obsoletes: perl-Digest-MD5
65Obsoletes: perl-MIME-Base64
66Obsoletes: perl-libnet
67Obsoletes: perl-Storable
68Obsoletes: perl-MD5
69Obsoletes: perl-Filter
70Obsoletes: perl-Filter-Simple
71Obsoletes: perl-Time-HiRes
72Provides: perl-MIME-Base64
73Provides: perl-libnet
74## perl-5.10.0
75Obsoletes: perl-Module-Build <= 0.2806-0vl1
76Obsoletes: perl-Archive-Tar <= 1.38-0vl2
77Obsoletes: perl-IO-Compress-Base <= 2.008-0vl1
78Obsoletes: perl-Compress-Raw-Zlib <= 2.008-0vl1
79Obsoletes: perl-IO-Compress-Zlib <= 2.008-0vl1
80Obsoletes: perl-Compress-Zlib <= 2.008-0vl1
81Obsoletes: perl-IO-Zlib <= 1.09-0vl1
82Obsoletes: perl-version <= 0.42-0vl3
83Provides: perl-Module-Build
84Provides: perl-Archive-Tar
85Provides: perl-IO-Compress-Base
86Provides: perl-Compress-Raw-Zlib
87Provides: perl-IO-Compress-Zlib
88Provides: perl-Compress-Zlib
89Provides: perl-IO-Zlib
90Provides: perl-version
91
92# Vine: provide archlibdir itself since Vine's aptdata don't have filelists
93Provides: %{_libdir}/perl5/%{perl_version}/%{_arch}-%{_os}%{thread_arch}
94
95# Configure doesn't listen well when we say no ndbm.  When it links in, it then conflicts with berkeley db.  oops.
96Patch16: perl-5.8.0-nondbm.patch
97
98# make sure we get the proper ldflags on libperl.so
99Patch17: perl-5.8.0-sharedlinker.patch
100
101# work around annoying rpath issue
102Patch21: perl-5.8.0-rpath-make.patch
103
104# bugzilla 101767, make sure threads.so links directly to -lpthread
105Patch22: perl-5.8.1-lpthread-link.patch
106
107# arch-specific patches
108Patch101: perl-5.8.0-libdir64.patch
109
110## patches from Fedora
111# Fedora/RHEL specific (use libresolv instead of libbind)
112Patch1006:         perl-5.8.6-libresolv.patch
113
114# FIXME: May need the "Fedora" references removed before upstreaming
115Patch1007:         perl-5.12.3-USE_MM_LD_RUN_PATH.patch
116
117# Skip hostname tests, since hostname lookup isn't available in Fedora
118# buildroots by design.
119Patch1008:         perl-5.12.3-disable_test_hosts.patch
120
121# The Fedora builders started randomly failing this futime test
122# only on x86_64, so we just don't run it. Works fine on normal
123# systems.
124Patch1010:        perl-5.10.0-x86_64-io-test-failure.patch
125
126## from Fedora 5.12.3-156.fc16
127# Do not leak when destroying thread; RT #77352, RHBZ #630667
128Patch1011: perl-5.12.1-fix_thread_leak.patch
129
130Buildroot:    %{_tmppath}/%{name}-%{version}-root
131BuildRequires:  gawk, grep, tcsh, gdbm-devel, db4-devel
132BuildRequires:  rpm-devel, gpm-devel, ncurses-devel, zlib-devel, netpbm-devel
133BuildRequires:  libpng-devel, libtiff-devel, libelf, libjpeg-devel
134BuildRequires:  netpbm-devel, e2fsprogs-devel
135
136# without man installed, the variables installman[13]dir
137# in Config.pm will be undefined. This BuildPreReq will fix it.
138BuildRequires:  man
139
140Vendor:       Project Vine
141Distribution: Vine Linux
142
143# The long line of Perl provides.
144
145# These provides are needed by the perl pkg itself with auto-generated perl.req
146Provides: perl(VMS::Filespec)
147Provides: perl(VMS::Stdio)
148
149# Compat provides
150Provides: perl(:MODULE_COMPAT_5.12.3)
151Provides: perl(:MODULE_COMPAT_5.12.2)
152Provides: perl(:MODULE_COMPAT_5.12.1)
153Provides: perl(:MODULE_COMPAT_5.12.0)
154
155# Threading provides
156Provides: perl(:WITH_ITHREADS)
157Provides: perl(:WITH_THREADS)
158# Largefile provides
159Provides: perl(:WITH_LARGEFILES)
160# PerlIO provides
161Provides: perl(:WITH_PERLIO)
162# File provides
163Provides: perl(abbrev.pl)
164Provides: perl(assert.pl)
165Provides: perl(bigfloat.pl)
166Provides: perl(bigint.pl)
167Provides: perl(bigrat.pl)
168Provides: perl(bytes_heavy.pl)
169Provides: perl(cacheout.pl)
170Provides: perl(complete.pl)
171Provides: perl(ctime.pl)
172Provides: perl(dotsh.pl)
173Provides: perl(dumpvar.pl)
174Provides: perl(exceptions.pl)
175Provides: perl(fastcwd.pl)
176Provides: perl(find.pl)
177Provides: perl(finddepth.pl)
178Provides: perl(flush.pl)
179Provides: perl(ftp.pl)
180Provides: perl(getcwd.pl)
181Provides: perl(getopt.pl)
182Provides: perl(getopts.pl)
183Provides: perl(hostname.pl)
184Provides: perl(importenv.pl)
185Provides: perl(look.pl)
186Provides: perl(newgetopt.pl)
187Provides: perl(open2.pl)
188Provides: perl(open3.pl)
189Provides: perl(perl5db.pl)
190Provides: perl(pwd.pl)
191Provides: perl(shellwords.pl)
192Provides: perl(stat.pl)
193Provides: perl(syslog.pl)
194Provides: perl(tainted.pl)
195Provides: perl(termcap.pl)
196Provides: perl(timelocal.pl)
197Provides: perl(utf8_heavy.pl)
198Provides: perl(validate.pl)
199Provides: perl(Carp::Heavy)
200
201## Requires
202# fix <BTS:VineLinux:1008>
203Requires: nss
204
205%description
206Perl is a high-level programming language with roots in C, sed, awk
207and shell scripting.  Perl is good at handling processes and files,
208and is especially good at handling text.  Perl's hallmarks are
209practicality and efficiency.  While it is used to do a lot of
210different things, Perl's most common applications are system
211administration utilities and web programming.  A large proportion of
212the CGI scripts on the web are written in Perl.  You need the perl
213package installed on your system so that your system can handle Perl
214scripts.
215
216Install this package if you want to program in Perl or enable your
217system to handle Perl scripts.
218
219%description -l ja
220Perl は高レベルなプログラミング言語です.Perl では,プロセス処理や
221ファイル処理が容易に行え,特にテキスト処理においてその威力を発揮します.
222Perl が実用的かつ効率的であることは既に折紙付きです.Perl は様々な用途に
223用いられていますが,最も一般的にはシステム管理ユーティリティやウェブ
224プログラミングに用いられています.実際 Web 上の CGI スクリプトの多くは
225Perl で書かれています.
226
227あなたのシステムで Perl スクリプトを扱える様にするには,このパッケージを
228インストールして下さい.
229
230%package localdirs
231Summary:      Perl library directories in /usr/local
232Group:        Development/Languages
233License:      Artistic or GPL
234Requires:     perl = %{perl_epoch}:%{perl_version}-%{release}
235Obsoletes:    perl < 5.10.0
236
237%description localdirs
238Perl library directories in /usr/local
239
240%prep
241%setup -q
242%patch1 -p1
243%patch13 -p1
244
245%patch17 -p1 -b .sharedlinker
246
247%patch21 -p1 -b .rpathmake
248
249%ifarch %{multilib_64_archs}
250%patch101 -p1 -b .libdir64
251%endif
252
253## patch from Fedora
254%patch1006 -p1
255%patch1007 -p1
256%patch1008 -p1
257%patch1010 -p1
258%patch1011 -p1
259
260# Compress Changes* to save space
261%{__gzip} Changes*
262
263#
264# Candidates for doc recoding (need case by case review):
265# find . -name "*.pod" -o -name "README*" -o -name "*.pm" | xargs file -i | grep charset= | grep -v '\(us-ascii\|utf-8\)'
266recode()
267{
268        iconv -f "${2:-iso-8859-1}" -t utf-8 < "$1" > "${1}_"
269        touch -r "$1" "${1}_"
270        mv -f "${1}_" "$1"
271}
272recode README.cn euc-cn
273recode README.jp euc-jp
274recode README.ko euc-kr
275recode README.tw big5
276recode pod/perlebcdic.pod
277recode pod/perlhack.pod
278recode pod/perlhist.pod
279recode pod/perlthrtut.pod
280recode AUTHORS
281
282find . -name \*.orig -exec rm -fv {} \;
283
284
285# Oh, the irony. Perl generates some non-versioned provides we don't need.
286# Each of these has a versioned provide, which we keep.
287cat << EOF > perl-prov
288#!/bin/sh
289%{__perl_provides} $* |\
290    sed -e '/^perl(Carp)$/d' |\
291    sed -e '/^perl(DynaLoader)$/d' |\
292    sed -e '/^perl(Locale::Maketext)$/d' |\
293    sed -e '/^perl(Log::Message::Handlers)$/d' |\
294    sed -e '/^perl(Math::BigInt)$/d' |\
295    sed -e '/^perl(Net::Config)$/d' |\
296    sed -e '/^perl(Tie::Hash)$/d' |\
297    sed -e '/^perl(bigint)$/d' |\
298    sed -e '/^perl(bigrat)$/d' |\
299    sed -e '/^perl(bytes)$/d' |\
300    sed -e '/^perl(utf8)$/d' |\
301    sed -e '/^perl(DB)$/d'
302
303EOF
304%define __perl_provides %{_builddir}/%{name}-%{perl_version}/perl-prov
305chmod +x %{__perl_provides}
306
307# Configure Compress::Zlib to use system zlib
308sed -i 's|BUILD_ZLIB      = True|BUILD_ZLIB      = False|
309    s|INCLUDE         = ./zlib-src|INCLUDE         = %{_includedir}|
310    s|LIB             = ./zlib-src|LIB             = %{_libdir}|' \
311    cpan/Compress-Raw-Zlib/config.in
312
313
314%build
315# for generating makefiles
316export LANG=C
317export LANGUAGE=C
318export LC_ALL=C
319
320echo "RPM Build arch: %{_arch}"
321
322[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
323
324# yes; don't use %_libdir so that noarch packages from other OSs
325# arches work correctly :\ the Configure lines below hardcode lib for
326# similar reasons.
327
328/bin/sh Configure -des -Doptimize="$RPM_OPT_FLAGS" \
329        -Dversion=%{perl_version} \
330        -Dmyhostname=localhost \
331        -Dperladmin=root@localhost \
332        -Dcc='%{__cc}' \
333        -Dcf_by='Vine Linux' \
334        -Dinstallprefix=%{_prefix} \
335        -Dprefix=%{_prefix} \
336%ifarch %{multilib_64_archs}
337        -Dlibpth="/lib64 %{_prefix}/lib64" \
338        -Dprivlib="%{_libdir}/perl5/%{perl_version}" \
339        -Dsitelib="%{_libdir}/perl5/site_perl/%{perl_version}" \
340        -Dvendorlib="%{_libdir}/perl5/vendor_perl/%{perl_version}" \
341        -Darchlib="%{_libdir}/perl5/%{perl_version}/%{perl_archname}" \
342        -Dsitearch="%{_libdir}/perl5/site_perl/%{perl_version}/%{perl_archname}" \
343        -Dvendorarch="%{_libdir}/perl5/vendor_perl/%{perl_version}/%{perl_archname}" \
344%endif
345        -Darchname=%{_arch}-%{_os} \
346%ifarch sparc sparcv9
347        -Ud_longdbl \
348%endif
349        -Dvendorprefix=%{_prefix} \
350        -Dsiteprefix=%{_prefix} \
351        -Duseshrplib \
352        -Dusethreads \
353        -Duseithreads \
354        -Duselargefiles \
355        -Dd_semctl_semun \
356        -Di_db \
357        -Ui_ndbm \
358        -Di_gdbm \
359        -Di_shadow \
360        -Di_syslog \
361        -Dman3ext=3pm \
362        -Duseperlio \
363        -Dinstallusrbinperl=n \
364        -Ubincompat5005 \
365        -Uversiononly \
366        -Dpager='/usr/bin/less -isr' \
367        -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto \
368        -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto \
369        -Ud_endservent_r_proto -Ud_setservent_r_proto \
370%ifarch %{multilib_64_archs}
371        -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" \
372%else
373        -Dotherlibdirs="%{_prefix}/local/lib/site_perl" \
374%endif
375        -Dscriptdir='%{_bindir}'
376
377make %{?_smp_mflags}
378
379%install
380[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
381make install DESTDIR=$RPM_BUILD_ROOT
382
383%ifarch %{multilib_64_archs}
384mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{perl_version}
385mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/auto
386%ifarch x86_64
387mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/i386-linux-thread-multi/auto
388%endif
389%ifarch s390x
390mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/s390-linux-thread-multi/auto
391%endif
392%ifarch ppc64
393mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/ppc-linux-thread-multi/auto
394%endif
395%ifarch sparc64
396mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/sparc-linux-thread-multi/auto
397%endif
398%endif
399
400%ifarch %{multilib_64_archs}
401mkdir -p -m 755 ${RPM_BUILD_ROOT}%{_prefix}/lib64/perl5/vendor_perl/%{perl_version}/%{_arch}-%{_os}
402%endif
403
404# perl doesn't create this module, but modules put things in it, so we need to own it.
405mkdir -p -m 755 ${RPM_BUILD_ROOT}%{_libdir}/perl5/vendor_perl/%{perl_version}/%{perl_archname}/auto
406
407install -p -m 755 utils/pl2pm ${RPM_BUILD_ROOT}%{_bindir}/pl2pm
408
409for i in asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h sys/socket.h sys/time.h wait.h
410do
411  %{new_perl} $RPM_BUILD_ROOT/%{_bindir}/h2ph -a \
412              -d $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname} $i || /bin/true
413done
414
415
416for dir in $(%{new_perl} -le 'print join("\n", @INC)' | grep '^%{_prefix}/lib')
417do
418  mkdir -p $RPM_BUILD_ROOT/$dir
419done
420
421for dir in $(%{new_perl} -le 'print join("\n", @INC)' | grep '^%{_libdir}')
422do
423  mkdir -p $RPM_BUILD_ROOT/$dir
424done
425
426#
427# libnet configuration file
428#
429mkdir -p -m 755 $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/Net
430install -p -m 644 %{SOURCE12} $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/Net/libnet.cfg
431
432#
433# Core modules removal
434#
435find $RPM_BUILD_ROOT -name '*NDBM*' | xargs rm -rfv
436
437find $RPM_BUILD_ROOT -type f -name '*.bs' -a -empty -exec rm -f {} ';'
438
439# Install sample cgi scripts (this used to happen automatically?)
440mkdir -p $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/CGI/examples/
441cp -a cpan/CGI/examples/* $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/CGI/examples/
442
443# Cleanup binary paths and make cgi files executable
444pushd $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/CGI/examples/
445  for i in *.cgi make_links.pl ; do
446    sed -i 's|/usr/local/bin/perl|%{_bindir}/perl|g' $i
447    chmod +x $i
448  done
449popd
450
451# miniperl? As an interpreter? How odd.
452sed -i 's|./miniperl|%{_bindir}/perl|' $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/ExtUtils/xsubpp
453chmod +x $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/ExtUtils/xsubpp
454
455# Don't need the .packlist
456rm -f $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname}/.packlist
457
458# Fix some manpages to be UTF-8
459pushd $RPM_BUILD_ROOT%{_mandir}/man1/
460  for i in perl588delta.1 perldelta.1 ; do
461    iconv -f MS-ANSI -t UTF-8 $i --output new-$i
462    rm -rf $i
463    mv new-$i $i
464  done
465popd
466
467chmod -R u+w $RPM_BUILD_ROOT/*
468
469# for localdirs
470%{__mkdir_p} %{buildroot}%{_prefix}/local/lib/site_perl/%{perl_version}/%{_arch}-%{_os}%{thread_arch}
471
472# Local patch tracking
473# cd $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/
474# perl -x patchlevel.h 'Fedora Patch1: Permit suidperl to install as nonroot'
475# perl -x patchlevel.h 'Fedora Patch2: Removes date check, Fedora/RHEL specific'
476# perl -x patchlevel.h 'Fedora Patch3: Fedora/RHEL use links instead of lynx'
477# perl -x patchlevel.h 'Fedora Patch4: Work around annoying rpath issue'
478# %ifarch %{multilib_64_archs}
479# perl -x patchlevel.h 'Fedora Patch5: support for libdir64'
480# %endif
481# perl -x patchlevel.h 'Fedora Patch6: use libresolv instead of libbind'
482# perl -x patchlevel.h 'Fedora Patch7: USE_MM_LD_RUN_PATH'
483# perl -x patchlevel.h 'Fedora Patch8: Skip hostname tests, due to builders not being network capable'
484# perl -x patchlevel.h 'Fedora Patch9: Update Sys::Syslog to 0.24'
485# perl -x patchlevel.h 'Fedora Patch10: Dont run one io test due to random builder failures'
486# perl -x patchlevel.h '32891 fix big slowdown in 5.10 @_ parameter passing'
487# perl -x patchlevel.h 'Fedora Patch12: Update Module::Load::Conditional to 0.24'
488# perl -x patchlevel.h 'Fedora Patch13: Upgrade Module::CoreList to 2.14'
489
490%clean
491[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
492
493%check
494make test
495
496%post -p /sbin/ldconfig
497
498%postun -p /sbin/ldconfig
499
500%files
501%defattr(-,root,root)
502%doc Artistic AUTHORS Changes* Copying README
503%{_mandir}/man1/*.1*
504%{_mandir}/man3/*.3*
505%{_bindir}/*
506%{_libdir}/perl5
507%ifarch %{multilib_64_archs}
508%{_prefix}/lib/perl5
509%endif
510
511%files localdirs
512%defattr(-,root,root)
513%dir %{_prefix}/local/lib/site_perl
514%dir %{_prefix}/local/lib/site_perl/%{perl_version}
515%dir %{_prefix}/local/lib/site_perl/%{perl_version}/%{_arch}-%{_os}%{thread_arch}
516
517%changelog
518* Thu Mar 24 2011 IWAI, Masaharu <iwai@alib.jp> 5.12.3-2
519- fix thread leak patch (Patch1011): from Fedora 5.12.3-156.fc16
520
521* Fri Mar 18 2011 IWAI, Masaharu <iwai@alib.jp> 5.12.3-1
522- new upstream release
523- drop MANIFEST files:
524  - clean-manifest.pl (Source1)
525  - MANIFEST.CPAN (Source5)
526  - MANIFEST.CGI (Source6)
527  - MANIFEST.DB_File (Source7)
528  - MANIFEST.suidperl (Source9)
529- suidperl isn't created by upstream since 5.12.0
530  - update Configure option
531- update Compat provides
532- drop root patch (Patch5)
533- update patches: from Fedora 5.12.3-154.fc16
534  - USE_MM_LD_RUN_PATH patch (Patch1007)
535  - disable_test_hosts patch (Patch1008)
536- update recode script and recode target files: sync Fedora 5.12.3-154.fc16
537- update using system zlib configuration code for Compress::ZLib
538- execute gzip Changes in %%prep: moved in %%build
539- add MANIFEST patch (Patch1): for gziped Changes
540- update installing CGI example scripts routine
541
542* Tue Mar  8 2011 IWAI, Masaharu <iwai@alib.jp> 5.10.1-1
543- new upstream release
544- build with current db4: fix <BTS:VineLinux:1084>
545- replace deprecated tag: BuildPreReq to BuildRequires
546- update root patch (Patch5)
547- update USE_MM_LD_RUN_PATH patch (Patch1007)
548- drop unnecessary patches: upstrem fixed
549  - Sys::Syslog upgrade patch (Patch1009)
550  - Patch1011
551  - Module::Load::Conditional upgrade patch (Patch1012)
552  - Module::CoreList upgrade patch (Patch1013)
553  - Archive::Extract upgrade patch (Patch1014)
554  - Compress::Raw::Zlib upgrade patch (Patch1015)
555- update using system zlib configuration code for Compress::ZLib
556- using __perl_requires for rpm-4.8
557- update filter-depends.sh (Source11)
558  - using __perl_requires
559
560* Sun Jun 27 2010 IWAI, Masaharu <iwai@alib.jp> 5.10.0-9
561- add Requires: nss: fix <BTS:VineLinux:1008>
562
563* Wed Feb 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 5.10.0-8
564- rebuild with db4-4.8
565
566* Sun Aug 16 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 5.10.0-7
567- fix installsitearch/installsitelib variables @ x86_64 env.
568- fix libdir location @ x86_64 env.
569
570* Sun Jun 14 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 5.10.0-6
571- add patch1015 to Update Module:Compress::Raw::Zlib (CVE-2009-1391)
572
573* Thu Apr 30 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.10.0-5
574- add Patch1014 fix Archive::Extract to fix test failure caused by tar >= 1.21
575- fix Patch1009 to fix select timeout bug (RHBZ #492422)
576
577* Wed Apr 29 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 5.10.0-4
578- spec in UTF-8
579
580* Fri Jun 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.10.0-3
581- rebuilt with db4-4.6.21
582
583* Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.10.0-2
584- added more macros
585- fixed Provides
586
587* Wed Apr 23 2008 IWAI, Masaharu <iwaim@cc.mbn.or.jp> 5.10.0-1
588- new upstream release
589- sync Fedora perl-5.10.0-20.fc9
590  - drop obsolete patches
591    - perl-5.8.3-fullinc.patch (Patch11)
592    - perl-5.8.5-incpush.patch (Patch12)
593    - perl-5.8.5-dashI.patch (Patch14)
594    - perl-5.8.3-findbin-selinux.patch (Patch23)
595    - perl-5.8.3-empty-rpath.patch (Patch24)
596    - perl-5.8.1-s390.patch (Patch100)
597  - add some patches from Fedora perl-5.10.0-20.fc9
598    - perl-5.8.6-libresolv.patch (Patch1006)
599    - perl-5.10.0-USE_MM_LD_RUN_PATH.patch (Patch1007)
600    - perl-5.10.0-disable_test_hosts.patch (Patch1008)
601    - perl-5.10.0-SysSyslog-0.24.patch (Patch1009)
602    - perl-5.10.0-x86_64-io-test-failure.patch (Patch1010)
603    - 32891.patch (Patch1011)
604    - perl-5.10.0-Module-Load-Conditional-0.24.patch (Patch1012)
605    - perl-5.10.0-Module-CoreList2.14.patch (Patch1013)
606  - update %%make, %%build and %%install, %%files sections (sync Fedora)
607  - add %%check, %%post and %%postun sections (sync Fedora)
608  - update Provides (sync Fedora)
609- create new package 'perl-localdirs': perl library directories in /usr/local
610- update filter-depends.sh (Source11)
611- update Obsoletes and Provides for old packages
612
613* Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.6-0vl5
614- BuildPreReq: man (without it, installman[13] will get undefined
615
616* Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.6-0vl4
617- rebuilt with new toolchain and db4-4.3.x
618
619* Wed Jun 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 5.8.6-0vl3
620- use filter to find-requires instead of perl-req (rpm's bug?)
621- don't remove core modules (FIlter::Util::Call, Filter::Simple, Time::HiRes)
622
623* Sun Jan 09 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.6-0vl2
624- force gcc optimization level to -O1 on ppc
625
626* Mon Nov 29 2004 IWAI, Masaharu <iwai@alib.jp> 5.8.6-0vl1
627- new upstream release
628- drop obsolete patches
629  - drop errno patch ( Patch8 )
630  - drop manext patch ( Patch18 )
631  - drop suidperl security fix patch ( Patch501 )
632- add some patches from Fedora Core perl-5.8.5-9
633  - add fullinc patch ( Patch11 )
634  - add incpush patch ( Patch12 )
635  - add perkbug tag patch ( Patch13 )
636  - add dashI patch ( Patch14 )
637  - add findbin selinux patch ( Patch23 )
638  - add empty rpath patch ( Patch24 )
639  - include lpthread link patch ( Patch22 )
640- drop unnecessary macros: cpanver, dbfilever and cgiver
641
642* Wed Oct 27 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.2-0vl4
643- provide archlibdir (for some applications such as xchat)
644
645* Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.2-0vl3
646- rebuilt with db4-4.2.52
647
648* Fri Jul  2 2004 IWAI, Masaharu <iwai@alib.jp> 5.8.2-0vl2
649- SECURITY: fix CAN-2003-0618: suidperl
650    add 06_fix_suidperl patch (Patch501) from Debian Sarge perl 5.8.3-3
651
652* Fri Nov  7 2003 IWAI, Masaharu <iwai@alib.jp> 5.8.2-0vl1
653- new upstream release
654
655* Fri Sep 26 2003 IWAI, Masaharu <iwai@alib.jp> 5.8.1-0vl1
656- new upstream release
657- update some patches:
658    - root patch (Patch5)
659    - s390 patch (Patch100)
660- stop patching fhs patch (Patch6)
661- stop patching syslog patch (Patch9)
662- stop patching manext patch (Patch18)
663- stop patching links patch (Patch19): Vine doesn't have links package.
664- drop obsolete  module update patches:
665    - perl-5.8.0-Safe2.09.patch (Patch202)
666    - perl-5.8.0-CGI2.89.patch (Patch203)
667    - perl-5.8.0-CGI_XSS.patch (Patch20002)
668- drop obsolete patches:
669    - protofix patch (Patch32000)
670    - pagerfix patch (Patch32001)
671    - upstream patches
672      - Patch17649: perl-5.8.0-upstream-17649.patch
673      - Patch18079: perl-5.8.0-upstream-18079.patch
674      - Patch18080: perl-5.8.0-upstream-18080.patch
675      - Patch18081: perl-5.8.0-upstream-18081.patch
676      - Patch18082: perl-5.8.0-upstream-18082.patch
677      - Patch18087: perl-5.8.0-upstream-18087.patch
678      - Patch18089: perl-5.8.0-upstream-18089.patch
679      - Patch18095: perl-5.8.0-upstream-18095.patch
680      - Patch18096: perl-5.8.0-upstream-18096.patch
681      - Patch18097: perl-5.8.0-upstream-18097.patch
682      - Patch18098: perl-5.8.0-upstream-18098.patch
683      - Patch18100: perl-5.8.0-upstream-18100.patch
684      - Patch18101: perl-5.8.0-upstream-18101.patch
685      - Patch18103: perl-5.8.0-upstream-18103.patch
686      - Patch18104: perl-5.8.0-upstream-18104.patch
687      - Patch18110: perl-5.8.0-upstream-18110.patch
688      - Patch18111: perl-5.8.0-upstream-18111.patch
689      - Patch18112: perl-5.8.0-upstream-18112.patch
690      - Patch18126: perl-5.8.0-upstream-18126.patch
691      - Patch18127: perl-5.8.0-upstream-18127.patch
692      - Patch18128: perl-5.8.0-upstream-18128.patch
693      - Patch18129: perl-5.8.0-upstream-18129.patch
694      - Patch18130: perl-5.8.0-upstream-18130.patch
695      - Patch18131: perl-5.8.0-upstream-18131.patch
696      - Patch18132: perl-5.8.0-upstream-18132.patch
697      - Patch18133: perl-5.8.0-upstream-18133.patch
698      - Patch18134: perl-5.8.0-upstream-18134.patch
699      - Patch18143: perl-5.8.0-upstream-18143.patch
700      - Patch18144: perl-5.8.0-upstream-18144.patch
701      - Patch18145: perl-5.8.0-upstream-18145.patch
702      - Patch18146: perl-5.8.0-upstream-18146.patch
703      - Patch18153: perl-5.8.0-upstream-18153.patch
704      - Patch18155: perl-5.8.0-upstream-18155.patch
705      - Patch18156: perl-5.8.0-upstream-18156.patch
706      - Patch18173: perl-5.8.0-upstream-18173.patch
707      - Patch18174: perl-5.8.0-upstream-18174.patch
708      - Patch18187: perl-5.8.0-upstream-18187.patch
709      - Patch18189: perl-5.8.0-upstream-18189.patch
710      - Patch18190: perl-5.8.0-upstream-18190.patch
711      - Patch18191: perl-5.8.0-upstream-18191.patch
712      - Patch18192: perl-5.8.0-upstream-18192.patch
713      - Patch18197: perl-5.8.0-upstream-18197.patch
714      - Patch18202: perl-5.8.0-upstream-18202.patch
715      - Patch18204: perl-5.8.0-upstream-18204.patch
716      - Patch18205: perl-5.8.0-upstream-18205.patch
717      - Patch18206: perl-5.8.0-upstream-18206.patch
718      - Patch18207: perl-5.8.0-upstream-18207.patch
719      - Patch18208: perl-5.8.0-upstream-18208.patch
720      - Patch18209: perl-5.8.0-upstream-18209.patch
721      - Patch18210: perl-5.8.0-upstream-18210.patch
722      - Patch18211: perl-5.8.0-upstream-18211.patch
723      - Patch18214: perl-5.8.0-upstream-18214.patch
724      - Patch18215: perl-5.8.0-upstream-18215.patch
725      - Patch18218: perl-5.8.0-upstream-18218.patch
726      - Patch18219: perl-5.8.0-upstream-18219.patch
727      - Patch18227: perl-5.8.0-upstream-18227.patch
728      - Patch18234: perl-5.8.0-upstream-18234.patch
729      - Patch18235: perl-5.8.0-upstream-18235.patch
730      - Patch18236: perl-5.8.0-upstream-18236.patch
731      - Patch18241: perl-5.8.0-upstream-18241.patch
732      - Patch18242: perl-5.8.0-upstream-18242.patch
733      - Patch18243: perl-5.8.0-upstream-18243.patch
734      - Patch18247: perl-5.8.0-upstream-18247.patch
735      - Patch18248: perl-5.8.0-upstream-18248.patch
736      - Patch18252: perl-5.8.0-upstream-18252.patch
737      - Patch18253: perl-5.8.0-upstream-18253.patch
738      - Patch18254: perl-5.8.0-upstream-18254.patch
739      - Patch18255: perl-5.8.0-upstream-18255.patch
740      - Patch18256: perl-5.8.0-upstream-18256.patch
741      - Patch18257: perl-5.8.0-upstream-18257.patch
742      - Patch18258: perl-5.8.0-upstream-18258.patch
743      - Patch18271: perl-5.8.0-upstream-18271.patch
744      - Patch18273: perl-5.8.0-upstream-18273.patch
745      - Patch18274: perl-5.8.0-upstream-18274.patch
746      - Patch18275: perl-5.8.0-upstream-18275.patch
747      - Patch18276: perl-5.8.0-upstream-18276.patch
748      - Patch18286: perl-5.8.0-upstream-18286.patch
749      - Patch18289: perl-5.8.0-upstream-18289.patch
750      - Patch18290: perl-5.8.0-upstream-18290.patch
751      - Patch18291: perl-5.8.0-upstream-18291.patch
752      - Patch18293: perl-5.8.0-upstream-18293.patch
753      - Patch18294: perl-5.8.0-upstream-18294.patch
754      - Patch18295: perl-5.8.0-upstream-18295.patch
755      - Patch18296: perl-5.8.0-upstream-18296.patch
756      - Patch18297: perl-5.8.0-upstream-18297.patch
757      - Patch18301: perl-5.8.0-upstream-18301.patch
758      - Patch18322: perl-5.8.0-upstream-18322.patch
759      - Patch18347: perl-5.8.0-upstream-18347.patch
760      - Patch18348: perl-5.8.0-upstream-18348.patch
761      - Patch18349: perl-5.8.0-upstream-18349.patch
762      - Patch18352: perl-5.8.0-upstream-18352.patch
763      - Patch18353: perl-5.8.0-upstream-18353.patch
764      - Patch18359: perl-5.8.0-upstream-18359.patch
765      - Patch18360: perl-5.8.0-upstream-18360.patch
766      - Patch18361: perl-5.8.0-upstream-18361.patch
767      - Patch18362: perl-5.8.0-upstream-18362.patch
768      - Patch18363: perl-5.8.0-upstream-18363.patch
769      - Patch18364: perl-5.8.0-upstream-18364.patch
770      - Patch18365: perl-5.8.0-upstream-18365.patch
771      - Patch18366: perl-5.8.0-upstream-18366.patch
772      - Patch18367: perl-5.8.0-upstream-18367.patch
773      - Patch18368: perl-5.8.0-upstream-18368.patch
774      - Patch18369: perl-5.8.0-upstream-18369.patch
775      - Patch18370: perl-5.8.0-upstream-18370.patch
776      - Patch18375: perl-5.8.0-upstream-18375.patch
777      - Patch18379: perl-5.8.0-upstream-18379.patch
778      - Patch18380: perl-5.8.0-upstream-18380.patch
779      - Patch20001: perl-5.8.0-upstream-20475.patch
780
781* Wed Jul 23 2003 IWAI Masaharu <iwai@alib.jp> 5.8.0-88vl4
782- SECURITY: fix CGI.pm XSS
783    add CGI_XSS.patch (Patch20002)
784
785* Wed May 14 2003 IWAI Masaharu <iwai@alib.jp> 5.8.0-88vl3
786- add open.pm patch from perl5-porters #20475
787
788* Thu Apr 24 2003 IWAI Masaharu <iwai@alib.jp> 5.8.0-88vl2
789- added library search path ( otherlibdirs ) in /usr/local/lib
790- add Provides: perl-{MIME-Base64,libnet} ([VineSeed:07701])
791
792* Tue Apr 15 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 5.8.0-88vl1
793- synced with Rawhide 5.8.0-88
794
795* Fri Apr 12 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 5.6.1-0vl9
796- added library search path ( otherlibdirs ) in /usr/local/lib
797
798* Fri Mar 29 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.6.1-0vl8
799- changed Patch3 (now use gdbm-ndbm)
800
801* Sat Jan 19 2002 Yoshihiro Ota <ota@j.email.ne.jp>
802- 5.6.1-0vl7
803- added db3-devel BuildPreReq
804
805* Sat Jan 19 2002 Yoshihiro Ota <ota@j.email.ne.jp>
806- 5.6.1-0vl6
807- added BuildPreReq entires
808
809* Tue Jun 19 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
810- 5.6.1-0vl4
811- removed NASTY Provides: perl <= %%{version} line :-P
812
813* Sun Jun 17 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
814- 5.6.1-0vl3
815- put %%install sentence back
816
817* Sun Jun 17 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
818- 5.6.1-0vl2
819- use %%config for perllocal.pod
820- removed MAINTAIN from %%doc
821
822* Sat Jun 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
823- 5.6.1-0vl1
824- updated to 5.6.1 newest (at the moment) stable release
825  (most of the works/tests done by Machino-san. Thanks)
826- fix Source[01] URLs
827- Copyright: GPL -> License: Artistic
828- Patch4 modified for 5.6.1, as well as removed Patch8 and Patch9
829
830* Fri Jun 15 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
831- 5.6.0-10vl6
832- modified %%{SOURCE3} & %%{SOURCE4} to remove libsafe.so dependencies
833
834* Thu Jun 14 2001 <sagami@vinelinux.org>
835- 5.6.0-10vl5: I think define is still valid even if commented out
836
837* Thu Jun 14 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
838- 5.6.0-10vl4
839- added Japanese description
840- all archs should use %%{SOURCE3} for find_requires at the moment
841- %%define _noVersionedDependencies 1
842- libgr-devel -> netpbm-devel in %%install section
843
844* Wed Jun 13 2001 Jun Nishii <jun@vinelinux.org> perl-5.6.0-10vl3
845- added %doc
846
847* Mon Mar 12 2001 net_hal <net_hal@cwa.bai.ne.jp>
848- Package name changed(perl -> perl56)
849
850* Fri Mar  2 2001 net_hal <net_hal@cwa.bai.ne.jp>
851- first build for Vine2.1
852
853* Tue Sep 12 2000 Bill Nottingham <notting@redhat.com>
854- fix dependencies on ia64/sparc64
855
856* Mon Aug  7 2000 Nalin Dahyabhai <nalin@redhat.com>
857- replace the deprecated MD5 with Digest::MD5 (has to be here for cleanfeed)
858- obsolete: perl-Digest-MD5
859- use syslog instead of mail to report possible attempts to break into suidperl
860- force syslog on at build-time
861
862* Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com>
863- add Owen's fix for #14779/#14863
864- specify cc=%{__cc}; continue to let cpp sort itself out
865- switch shadow support on (#8646)
866- release 7
867
868* Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com>
869- strip buildroot from perl pods (#14040)
870- release 6
871
872* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
873- automatic rebuild (release 5)
874
875* Wed Jun 21 2000 Preston Brown <pbrown@redhat.com>
876- don't require tcsh to install, only to build
877- release 4
878
879* Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com>
880- rebuild against new db3 package
881- release 3
882
883* Sat Jun 17 2000 Nalin Dahyabhai <nalin@redhat.com>
884- disable 64-bit file support
885- change name of package that Perl expects gcc to be in from "egcs" to "gcc"
886- move man pages to /usr/share via hints/linux.sh and MM_Unix.pm
887- fix problems prefixifying with empty prefixes
888- disable long doubles on sparc (they're the same as doubles anyway)
889- add an Epoch to make sure we can upgrade from perl-5.00503
890- release 2
891
892* Thu Mar 23 2000 Bernhard Rosenkraenzer <bero@redhat.com>
893- 2.6.0
894
895* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
896- fix description
897
898* Fri Jan 14 2000 Jeff Johnson <jbj@redhat.com>
899- add provides for perl modules (from kestes@staff.mail.com).
900
901* Mon Oct 04 1999 Cristian Gafton <gafton@redhat.com>
902- fix the %install so that the MD5 module gets actually installed correctly
903
904* Mon Aug 30 1999 Cristian Gafton <gafton@redhat.com>
905- make sure the package builds even when we don't have perl installed on the
906  system
907
908* Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com>
909- merged with perl-MD5
910- get rid of the annoying $RPM_BUILD_ROOT paths in the installed tree
911
912* Mon Jul 26 1999 Cristian Gafton <gafton@redhat.com>
913- do not link anymore against the system db library (and make each module
914  link against it separately, so that we can have Berkeley db1 and db2 mixed
915  up)
916
917* Wed Jun 16 1999 Cristian Gafton <gafton@redhat.com>
918- use wildcards for files in /usr/bin and /usr/man
919
920* Tue Apr 06 1999 Cristian Gafton <gafton@redhat.com>
921- version 5.00503
922- make the default man3 install dir be release independent
923- try to link against db1 to preserve compatibility with older databases;
924  abandoned idea because perl is too broken to allow such an easy change
925  (hardcoded names *everywhere* !!!)
926
927* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
928- auto rebuild in the new build environment (release 3)
929
930* Thu Jan 07 1999 Cristian Gafton <gafton@redhat.com>
931- guilty of the inlined Makefile in the spec file
932- adapted for the arm build
933
934* Wed Sep 09 1998 Preston Brown <pbrown@redhat.com>
935- added newer CGI.pm to the build
936- changed the version naming scheme around to work with RPM
937
938* Sun Jul 19 1998 Jeff Johnson <jbj@redhat.com>
939- attempt to generate *.ph files reproducibly
940
941* Mon Jun 15 1998 Jeff Johnson <jbj@redhat.com>
942- update to 5.004_04-m4 (pre-5.005 maintenance release)
943
944* Tue Jun 12 1998 Christopher McCrory <chrismcc@netus.com
945- need stdarg.h from gcc shadow to fix "use Sys::Syslog" (problem #635)
946
947* Fri May 08 1998 Cristian Gafton <gafton@redhat.com>
948- added a patch to correct the .ph constructs unless defined (foo) to read
949  unless(defined(foo))
950
951* Thu May 07 1998 Prospector System <bugs@redhat.com>
952- translations modified for de, fr, tr
953
954* Tue Mar 10 1998 Cristian Gafton <gafton@redhat.com>
955- fixed strftime problem
956
957* Sun Mar 08 1998 Cristian Gafton <gafton@redhat.com>
958- added a patch to fix a security race
959- do not use setres[ug]id - those are not implemented on 2.0.3x kernels
960
961* Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com>
962- upgraded to 5.004_04 - 5.004_01 had some nasty memory leaks.
963- fixed the spec file to be version-independent
964
965* Fri Dec 05 1997 Erik Troan <ewt@redhat.com>
966- Config.pm wasn't right do to the builtrooting
967
968* Mon Oct 20 1997 Erik Troan <ewt@redhat.com>
969- fixed arch-specfic part of spec file
970
971* Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
972- updated to perl 5.004_01
973- users a build root
974
975* Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
976- built against glibc
977
978* Tue Apr 22 1997 Erik Troan <ewt@redhat.com>
979- Incorporated security patch from Chip Salzenberg <salzench@nielsenmedia.com>
980
981* Fri Feb 07 1997 Erik Troan <ewt@redhat.com>
982- Use -Darchname=i386-linux
983- Require csh (for glob)
984- Use RPM_ARCH during configuration and installation for arch independence
Note: See TracBrowser for help on using the repository browser.