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

Revision 12234, 48.2 KB checked in by tomop, 5 years ago (diff)

perl-5.26.2-1

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%ifarch %{ix86}
7#global arch_suffix -64int
8%global arch_suffix %{nil}
9%else
10%global arch_suffix %{nil}
11%endif
12
13%define perl_version 5.26.2
14%define perlrel 1
15%define perl_epoch 2
16
17Provides: perl(:WITH_PERLIO)
18
19%if %{threading}
20%define thread_arch -thread-multi%{arch_suffix}
21Provides: perl(:WITH_ITHREADS)
22Provides: perl(:WITH_THREADS)
23%else
24%define thread_arch %{nil}
25Provides: perl(:WITHOUT_ITHREADS)
26Provides: perl(:WITHOUT_THREADS)
27%endif
28
29%global perl_archname %{_arch}-%{_os}%{thread_arch}
30
31%global new_perl_lib  %{buildroot}%{_libdir}/perl5/%{version}:%{buildroot}%{_prefix}/lib/perl5/%{version}
32%global comp_perl_lib %{buildroot}%{_prefix}/lib/perl5/%{version}:%{buildroot}%{_prefix}/lib/perl5/%{version}
33%global new_arch_lib  %{buildroot}%{_libdir}/perl5/%{version}/%{perl_archname}
34%global comp_arch_lib %{buildroot}%{_prefix}/lib/perl5/%{version}/%{perl_archname}
35%global 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}
36%global new_perl %{new_perl_flags} %{buildroot}/%{_bindir}/perl
37
38%if %{largefiles}
39Provides: perl(:WITH_LARGEFILES)
40%else
41Provides: perl(:WITHOUT_LARGEFILES)
42%endif
43
44Summary:      The Perl programming language.
45Summary(ja):  Perl プログラミング 言語
46
47Name:         perl
48Version:      %{perl_version}
49Release:      %{perlrel}%{?_dist_release}
50Epoch:        %{perl_epoch}
51License:      Artistic or GPL
52Group:        Development/Languages
53URL:          http://www.perl.org/
54Source0:      ftp://ftp.perl.org/pub/perl/CPAN/src/perl-%{perl_version}.tar.bz2
55Source10:     system-owned-directories
56Source11:     filter-depends.sh
57Source12:     perl-5.8.0-libnet.cfg
58
59%if %{_dist_release} < "vl7"
60%global __perl_requires %{SOURCE11}
61%endif
62
63Conflicts: perl-NDBM_File <= 1:1.75-34.99.6
64
65Obsoletes: perl-Digest-MD5
66Obsoletes: perl-MIME-Base64
67Obsoletes: perl-libnet
68Obsoletes: perl-Storable
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-Archive-Tar <= 1.38-0vl2
76Obsoletes: perl-IO-Compress-Base <= 2.008-0vl1
77Obsoletes: perl-Compress-Raw-Zlib <= 2.008-0vl1
78Obsoletes: perl-IO-Compress-Zlib <= 2.008-0vl1
79Obsoletes: perl-Compress-Zlib <= 2.008-0vl1
80Obsoletes: perl-IO-Zlib <= 1.09-0vl1
81Obsoletes: perl-version <= 0.42-0vl3
82Obsoletes: perl-Encode <= 2.98-1vl7
83Provides: perl-Archive-Tar
84Provides: perl-IO-Compress-Base
85Provides: perl-Compress-Raw-Zlib
86Provides: perl-IO-Compress-Zlib
87Provides: perl-Compress-Zlib
88Provides: perl-IO-Zlib
89Provides: perl-version
90Provides: perl-Encode
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# Filter dependencies on private modules. Generator:
96# for F in $(find lib -type f); do perl -e '$/ = undef; $_ = <>; if (/^package #\R([\w:]*);/m) { print qq{|^perl\\\\($1\\\\)} }' "$F"; done
97
98# patches imported from Fedora/RHEL
99
100# Removes date check, Fedora/RHEL specific
101Patch1:         perl-perlbug-tag.patch
102
103# Fedora/RHEL only (64bit only)
104Patch3:         perl-5.8.0-libdir64.patch
105
106# Fedora/RHEL specific (use libresolv instead of libbind), bug #151127
107Patch4:         perl-5.10.0-libresolv.patch
108
109# FIXME: May need the "Fedora" references removed before upstreaming
110# patches ExtUtils-MakeMaker
111Patch5:         perl-USE_MM_LD_RUN_PATH.patch
112
113# Provide maybe_command independently, bug #1129443
114Patch6:         perl-5.22.1-Provide-ExtUtils-MM-methods-as-standalone-ExtUtils-M.patch
115
116# The Fedora builders started randomly failing this futime test
117# only on x86_64, so we just don't run it. Works fine on normal
118# systems.
119Patch7:         perl-5.10.0-x86_64-io-test-failure.patch
120
121# switch off test, which is failing only on koji (fork)
122Patch8:         perl-5.14.1-offtest.patch
123
124# Define SONAME for libperl.so
125Patch15:        perl-5.16.3-create_libperl_soname.patch
126
127# Install libperl.so to -Dshrpdir value
128Patch16:        perl-5.22.0-Install-libperl.so-to-shrpdir-on-Linux.patch
129
130# Document Math::BigInt::CalcEmu requires Math::BigInt, rhbz#959096,
131# CPAN RT#85015
132Patch22:        perl-5.18.1-Document-Math-BigInt-CalcEmu-requires-Math-BigInt.patch
133
134# Make *DBM_File desctructors thread-safe, bug #1107543, RT#61912
135Patch26:        perl-5.18.2-Destroy-GDBM-NDBM-ODBM-SDBM-_File-objects-only-from-.patch
136
137# Replace ExtUtils::MakeMaker dependency with ExtUtils::MM::Utils.
138# This allows not to require perl-devel. Bug #1129443
139Patch30:        perl-5.22.1-Replace-EU-MM-dependnecy-with-EU-MM-Utils-in-IPC-Cmd.patch
140
141# Make File::Glob more resistant against degenerative matching, RT#131211,
142# in upstream after 5.27.0
143Patch31:        perl-5.27.0-perl-131211-fixup-File-Glob-degenerate-matching.patch
144
145# Fix glob UTF-8 flag on a glob reassignment, RT#131263,
146# in upstream after 5.27.0
147Patch36:        perl-5.26.0-perl-131263-clear-the-UTF8-flag-on-a-glob-if-it-isn-.patch
148
149# Fix handling backslashes in PATH environment variable when executing
150# "perl -S", RT#129183, in upstream after 5.27.0
151Patch38:        perl-5.27.0-perl-129183-don-t-treat-as-an-escape-in-PATH-for-S.patch
152
153# Fix reporting malformed UTF-8 character, RT#131646, in upstream after 5.27.1
154Patch43:        perl-5.27.1-t-lib-warnings-utf8-Fix-test.patch
155
156# Fix File::Glob rt131211.t test random failures, in upstream after 5.27.1
157Patch45:        perl-5.27.1-File-Glob-tweak-rt131211.t-to-be-less-sensitive-on-w.patch
158
159# Fix t/op/hash.t test random failures, in upstream after 5.27.1
160Patch46:        perl-5.26.0-t-op-hash.t-fixup-intermittently-failing-test.patch
161
162# Parse caret variables with subscripts as normal variables inside ${...}
163# escaping, RT#131664, in upstream after 5.27.1
164Patch47:        perl-5.26.2-RC1-Parse-caret-vars-with-subscripts-the-same-as-normal-.patch
165Patch48:        perl-5.26.2-RC1-add-an-additional-test-for-whitespace-tolerance-in-c.patch
166
167# Do not display too many bytes when reporting malformed UTF-8 character,
168# in upstream after 5.27.1
169Patch49:        perl-5.27.1-utf8n_to_uvchr-Don-t-display-too-many-bytes-in-msg.patch
170
171# Fix error message for "our sub foo::bar", RT#131679, in upstream after 5.27.1
172Patch51:        perl-5.27.1-perl-131679-Fix-our-sub-foo-bar-message.patch
173
174# Fix executing arybase::_tie_it() in Safe compartement, RT#131588,
175# not yet accepted by upstream
176Patch52:        perl-5.26.0-perl-131588-be-a-little-more-careful-in-arybase-_tie.patch
177
178# Fix splitting non-ASCII strings if unicode_strings feature is enabled,
179# RT#130907 in upstream after 5.27.1
180Patch54:        perl-5.27.1-RT-130907-Fix-the-Unicode-Bug-in-split.patch
181
182# Fix compiler warnings in code generated by ExtUtils::Constant, CPAN RT#63832,
183# in upstream after 5.27.2
184Patch55:        perl-5.27.2-Avoid-compiler-warnings-due-to-mismatched-types-in-p.patch
185
186# Fix compiler warnings in code generated by ExtUtils::Constant, CPAN RT#101487,
187# in upstream after 5.27.2
188Patch56:        perl-5.27.2-EU-Constant-avoid-uninit-warning.patch
189
190# Fix unreliable Time-HiRes tests, CPAN RT#122819, in Time-HiRes-1.9746
191Patch58:        perl-5.26.0-Time-HiRes-Fix-unreliable-t-usleep.t-and-t-utime.t.patch
192
193# Fix Term::ReadLine not to create spurious &STDERR files, RT#132008,
194# in upstream after 5.27.3
195Patch61:        perl-5.27.3-perl-132008-try-to-prevent-the-similar-mistakes-in-t.patch
196
197# Fix an overflow when parsing a character range with no preceding character,
198# RT#132245, in upstream after 5.27.5
199Patch64:        perl-5.26.1-perl-132245-don-t-try-to-process-a-char-range-with-n.patch
200
201# Fix walking symbol table for ISA in Carp, in upstream after 5.27.5
202Patch65:        perl-5.27.5-Carp-Don-t-choke-on-ISA-constant.patch
203
204# Fix handling file names with null bytes in stat and lstat functions,
205# RT#131895, in upstream after 5.27.5
206Patch66:        perl-5.26.1-perl-131895-fail-stat-on-names-with-0-embedded.patch
207
208# Fix a crash when untying an object witout a stash, in upstream after 5.27.5
209Patch67:        perl-5.27.5-Avoid-a-segfault-when-untying-an-object.patch
210
211# Fix deparsing of transliterations with unprintable characters, RT#132405,
212# in upstream after 5.27.5
213Patch68:        perl-5.26.1-Fix-deparsing-of-transliterations-with-unprintable-c.patch
214
215# Fix error reporting on do() on a directory, RT#125774,
216# in upstream after 5.27.5
217Patch69:        perl-5.26.1-fix-do-dir-returning-no.patch
218
219# Fix stack manipulation when a lexical subroutine is defined in a do block in
220# a member of an iteration list, RT#132442, in upstream after 5.27.5
221Patch70:        perl-5.27.5-perl-132442-Fix-stack-with-do-my-sub-l-1.patch
222
223# Fix setting $! when statting a closed filehandle, RT#108288,
224# in upstream after 5.27.5
225Patch71:        perl-5.26.1-set-when-statting-a-closed-filehandle.patch
226
227# Fix tainting of s/// with overloaded replacement, RT#115266,
228# in upstream after 5.27.5
229Patch72:        perl-5.27.5-fix-tainting-of-s-with-overloaded-replacement.patch
230
231# Expand system() arguments before a fork, RT#121105,
232# in upstream after 5.27.6
233Patch73:        perl-5.26.2-RC1-perform-system-arg-processing-before-fork.patch
234# in upstream after 5.27.7
235Patch74:        perl-5.27.7-preserve-numericness-of-system-args-on-Win32.patch
236Patch75:        perl-5.27.7-Reenable-numeric-first-argument-of-system-on-VMS.patch
237
238# Avoid undefined behavior when copying memory in Glob and pp_caller,
239# RT#131746, in upstream after 5.27.3
240Patch76:        perl-5.26.1-perl-131746-avoid-undefined-behaviour-in-Copy-etc.patch
241Patch77:        perl-5.27.3-avoid-the-address-of-.-will-always-evaluate-as-.-war.patch
242
243# Conditionalize a fix for an old and long fixed bug
244# in libcrypt / glibc, rhbz#1536752, RT#133184, in upstream after 5.27.11
245Patch78:        perl-5.26.1-guard_old_libcrypt_fix.patch
246
247# Link XS modules to pthread library to fix linking with -z defs,
248# <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/3RHZEHLRUHJFF2XGHI5RB6YPDNLDR4HG/>
249Patch79:        perl-5.27.8-hints-linux-Add-lphtread-to-lddlflags.patch
250
251# Fix parsing braced subscript after parentheses, RT#8045,
252# in upstream after 5.27.7
253Patch80:        perl-5.26.1-fix-parsing-of-braced-subscript-after-parens.patch
254
255# Do not clobber file bytes in :encoding layer, RT#132833,
256# in upstream after 5.27.8
257Patch81:        perl-5.27.8-don-t-clobber-file-bytes-in-encoding-layer.patch
258
259# Fix line numbers in multi-line s///, RT#131930, in upstream after 5.27.9
260Patch82:        perl-5.27.9-fix-line-numbers-in-multi-line-s.patch
261
262# Fix parsing extended bracketed character classes, RT#132167,
263# in upstream after 5.27.10
264Patch83:        perl-5.27.10-PATCH-perl-132167-Parse-error-in-regex_sets.patch
265
266# Fix a possibly unitialized memory read in the Perl parser, RT#133074,
267# in upstream after 5.27.10
268Patch84:        perl-5.27.10-PATCH-perl-133074-5.26.1-some-coverity-fixes.patch
269
270# Fix an infinite loop in the regular expression compiler, RT#133185,
271# in upstream after 5.27.11
272Patch85:        perl-5.26.2-PATCH-perl-133185-Infinite-loop-in-qr.patch
273
274# Adjust tests to gdbm-1.15, RT#133295
275Patch86:        perl-5.29.0-Remove-ext-GDBM_File-t-fatal.t.patch
276
277# Fix an integer wrap when allocating memory for an environment variable,
278# RT#133204, in upstream after 5.29.0
279Patch87:        perl-5.26.2-Perl_my_setenv-handle-integer-wrap.patch
280
281# Fix printing a warning about a wide character when matching a regular
282# expression while ISO-8859-1 locale is in effect, in upstream after 5.29.0
283Patch88:        perl-5.29.0-regexec.c-Call-macro-with-correct-args.patch
284
285# Fix invoking a check for wide characters while ISO-8859-1 locale is in effect,
286# in upstream after 5.29.0
287Patch89:        perl-5.26.2-perl.h-Add-parens-around-macro-arguments.patch
288
289# Pass the correct CFLAGS to dtrace
290Patch90:        perl-5.26.2-Pass-CFLAGS-to-dtrace.patch
291
292# Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
293Patch200:       perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
294
295# Link XS modules to libperl.so with EU::MM on Linux, bug #960048
296Patch201:       perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-MM-on-Linux.patch
297
298# Vine
299# (nothing)
300
301## security
302# (nothing)
303
304
305Buildroot:    %{_tmppath}/%{name}-%{version}-root
306BuildRequires:  gawk, grep, tcsh, gdbm-devel, libdb-devel
307BuildRequires:  rpm-devel, ncurses-devel, zlib-devel, netpbm-devel
308BuildRequires:  libpng-devel, libtiff-devel, libelf, libjpeg-devel
309BuildRequires:  netpbm-devel, e2fsprogs-devel
310BuildRequires:  libxcrypt-devel, libnsl2-devel, bzip2-devel
311
312# without man installed, the variables installman[13]dir
313# in Config.pm will be undefined. This BuildPreReq will fix it.
314BuildRequires:  man-db
315
316Vendor:       Project Vine
317Distribution: Vine Linux
318
319# The long line of Perl provides.
320
321# These provides are needed by the perl pkg itself with auto-generated perl.req
322Provides: perl(VMS::Filespec)
323Provides: perl(VMS::Stdio)
324
325# Compat provides
326Provides: perl(:MODULE_COMPAT_5.26.2)
327Provides: perl(:MODULE_COMPAT_5.26.1)
328Provides: perl(:MODULE_COMPAT_5.26.0)
329
330# Threading provides
331Provides: perl(:WITH_ITHREADS)
332Provides: perl(:WITH_THREADS)
333# Largefile provides
334Provides: perl(:WITH_LARGEFILES)
335# PerlIO provides
336Provides: perl(:WITH_PERLIO)
337# File provides
338Provides: perl(abbrev.pl)
339Provides: perl(assert.pl)
340Provides: perl(bigfloat.pl)
341Provides: perl(bigint.pl)
342Provides: perl(bigrat.pl)
343Provides: perl(bytes_heavy.pl)
344Provides: perl(cacheout.pl)
345Provides: perl(complete.pl)
346Provides: perl(ctime.pl)
347Provides: perl(dotsh.pl)
348Provides: perl(dumpvar.pl)
349Provides: perl(exceptions.pl)
350Provides: perl(fastcwd.pl)
351Provides: perl(find.pl)
352Provides: perl(finddepth.pl)
353Provides: perl(flush.pl)
354Provides: perl(ftp.pl)
355Provides: perl(getcwd.pl)
356Provides: perl(getopt.pl)
357Provides: perl(getopts.pl)
358Provides: perl(hostname.pl)
359Provides: perl(importenv.pl)
360Provides: perl(look.pl)
361Provides: perl(newgetopt.pl)
362Provides: perl(open2.pl)
363Provides: perl(open3.pl)
364Provides: perl(perl5db.pl)
365Provides: perl(pwd.pl)
366Provides: perl(shellwords.pl)
367Provides: perl(stat.pl)
368Provides: perl(syslog.pl)
369Provides: perl(tainted.pl)
370Provides: perl(termcap.pl)
371Provides: perl(timelocal.pl)
372Provides: perl(utf8_heavy.pl)
373Provides: perl(validate.pl)
374Provides: perl(Carp::Heavy)
375Provides: perl(unicore::Name)
376
377## Requires
378# fix <BTS:VineLinux:1008>
379Requires: nss
380# for perldoc(1)
381Requires: groff
382
383%description
384Perl is a high-level programming language with roots in C, sed, awk
385and shell scripting.  Perl is good at handling processes and files,
386and is especially good at handling text.  Perl's hallmarks are
387practicality and efficiency.  While it is used to do a lot of
388different things, Perl's most common applications are system
389administration utilities and web programming.  A large proportion of
390the CGI scripts on the web are written in Perl.  You need the perl
391package installed on your system so that your system can handle Perl
392scripts.
393
394Install this package if you want to program in Perl or enable your
395system to handle Perl scripts.
396
397%description -l ja
398Perl は高レベルなプログラミング言語です.Perl では,プロセス処理や
399ファイル処理が容易に行え,特にテキスト処理においてその威力を発揮します.
400Perl が実用的かつ効率的であることは既に折紙付きです.Perl は様々な用途に
401用いられていますが,最も一般的にはシステム管理ユーティリティやウェブ
402プログラミングに用いられています.実際 Web 上の CGI スクリプトの多くは
403Perl で書かれています.
404
405あなたのシステムで Perl スクリプトを扱える様にするには,このパッケージを
406インストールして下さい.
407
408%package localdirs
409Summary:      Perl library directories in /usr/local
410Group:        Development/Languages
411License:      Artistic or GPL
412Requires:     perl = %{perl_epoch}:%{perl_version}-%{release}
413Obsoletes:    perl < 5.10.0
414
415%description localdirs
416Perl library directories in /usr/local
417
418%prep
419%setup -q
420
421## patch from Fedora/RHEL
422%patch1 -p1
423%ifarch %{multilib_64_archs}
424%patch3 -p1
425%endif
426%patch4 -p1
427%patch5 -p1
428%patch6 -p1
429%patch7 -p1
430%patch8 -p1
431%patch15 -p1
432%patch16 -p1
433%patch22 -p1
434%patch26 -p1
435%patch30 -p1
436%patch31 -p1
437%patch36 -p1
438%patch38 -p1
439%patch43 -p1
440%patch45 -p1
441%patch46 -p1
442%patch47 -p1
443%patch48 -p1
444%patch49 -p1
445%patch51 -p1
446%patch52 -p1
447%patch54 -p1
448%patch55 -p1
449%patch56 -p1
450%patch58 -p1
451%patch61 -p1
452%patch64 -p1
453%patch65 -p1
454%patch66 -p1
455%patch67 -p1
456%patch68 -p1
457%patch69 -p1
458%patch70 -p1
459%patch71 -p1
460%patch72 -p1
461%patch73 -p1
462%patch74 -p1
463%patch75 -p1
464%patch76 -p1
465%patch77 -p1
466%patch78 -p1
467%patch79 -p1
468%patch80 -p1
469%patch81 -p1
470%patch82 -p1
471%patch83 -p1
472%patch84 -p1
473%patch85 -p1
474%patch86 -p1
475%patch87 -p1
476%patch88 -p1
477%patch89 -p1
478%patch90 -p1 -b .dtrace
479%patch200 -p1
480%patch201 -p1
481
482## security patch(es)
483# (nothing)
484
485#
486# Candidates for doc recoding (need case by case review):
487# find . -name "*.pod" -o -name "README*" -o -name "*.pm" | xargs file -i | grep charset= | grep -v '\(us-ascii\|utf-8\)'
488recode()
489{
490        iconv -f "${2:-iso-8859-1}" -t utf-8 < "$1" > "${1}_"
491        touch -r "$1" "${1}_"
492        mv -f "${1}_" "$1"
493}
494# TODO iconv fail on this one
495## recode README.tw big5
496#recode pod/perlebcdic.pod
497#recode pod/perlhack.pod
498#recode pod/perlhist.pod
499#recode pod/perlthrtut.pod
500#recode AUTHORS
501
502find . -name \*.orig -exec rm -fv {} \;
503
504
505# Oh, the irony. Perl generates some non-versioned provides we don't need.
506# Each of these has a versioned provide, which we keep.
507%if %{_dist_release} > "vl6"
508%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(Carp\\)$
509%global __provides_exclude %__provides_exclude|^perl\\(DynaLoader\\)$
510%global __provides_exclude %__provides_exclude|^perl\\(Locale::Maketext\\)$
511%global __provides_exclude %__provides_exclude|^perl\\(Log::Message::Handlers\\)$
512%global __provides_exclude %__provides_exclude|^perl\\(Math::BigInt\\)$
513%global __provides_exclude %__provides_exclude|^perl\\(Net::Config\\)$
514%global __provides_exclude %__provides_exclude|^perl\\(Tie::Hash\\)$
515%global __provides_exclude %__provides_exclude|^perl\\(bigint\\)$
516%global __provides_exclude %__provides_exclude|^perl\\(bigrat\\)$
517%global __provides_exclude %__provides_exclude|^perl\\(bytes\\)$
518%global __provides_exclude %__provides_exclude|^perl\\(utf8\\)$
519%global __provides_exclude %__provides_exclude|^perl\\(DB\\)$
520#
521%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(DBIx::Simple\\)
522%global __requires_exclude %__requires_exclude|^perl\\(FCGI\\)
523%global __requires_exclude %__requires_exclude|^perl\\(Log::Message::Handlers\\)
524%global __requires_exclude %__requires_exclude|^perl\\(Mac::BuildTools\\)
525%global __requires_exclude %__requires_exclude|^perl\\(Mac::InternetConfig\\)
526%global __requires_exclude %__requires_exclude|^perl\\(Tk\\)
527%global __requires_exclude %__requires_exclude|^perl\\(Tk::Pod\\)
528%global __requires_exclude %__requires_exclude|^perl\\(Your::Module::Here\\)
529%global __requires_exclude %__requires_exclude|^perl\\(Locale::Codes\\)
530%global __requires_exclude %__requires_exclude|^perl\\(Locale::Codes::
531echo "__requires_exclude: %__requires_exclude"
532%else
533cat << EOF > perl-prov
534#!/bin/sh
535/usr/lib/rpm/perl.prov $* |\
536    sed -e '/^perl(Carp)$/d' |\
537    sed -e '/^perl(DynaLoader)$/d' |\
538    sed -e '/^perl(Locale::Maketext)$/d' |\
539    sed -e '/^perl(Log::Message::Handlers)$/d' |\
540    sed -e '/^perl(Math::BigInt)$/d' |\
541    sed -e '/^perl(Net::Config)$/d' |\
542    sed -e '/^perl(Tie::Hash)$/d' |\
543    sed -e '/^perl(bigint)$/d' |\
544    sed -e '/^perl(bigrat)$/d' |\
545    sed -e '/^perl(bytes)$/d' |\
546    sed -e '/^perl(utf8)$/d' |\
547    sed -e '/^perl(DB)$/d'
548
549EOF
550%define __perl_provides %{_builddir}/%{name}-%{perl_version}/perl-prov
551chmod +x %{__perl_provides}
552%endif
553
554# Configure Compress::Zlib to use system zlib
555sed -i 's|BUILD_ZLIB      = True|BUILD_ZLIB      = False|
556    s|INCLUDE         = ./zlib-src|INCLUDE         = %{_includedir}|
557    s|LIB             = ./zlib-src|LIB             = %{_libdir}|' \
558    cpan/Compress-Raw-Zlib/config.in
559
560# Ensure that we never accidentally bundle zlib or bzip2
561rm -rf cpan/Compress-Raw-Zlib/zlib-src
562rm -rf cpan/Compress-Raw-Bzip2/bzip2-src
563sed -i '/\(bzip2\|zlib\)-src/d' MANIFEST
564
565
566%build
567# for generating makefiles
568export LANG=C
569export LANGUAGE=C
570export LC_ALL=C
571
572echo "RPM Build arch: %{_arch}"
573
574[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
575
576# yes; don't use %_libdir so that noarch packages from other OSs
577# arches work correctly :\ the Configure lines below hardcode lib for
578# similar reasons.
579
580/bin/sh Configure -des \
581        -Doptimize="none" \
582        -Dccflags="$RPM_OPT_FLAGS" \
583        -Dldflags="$RPM_LD_FLAGS" \
584        -Dccdlflags="-Wl,--enable-new-dtags $RPM_LD_FLAGS" \
585        -Dlddlflags="-shared $RPM_LD_FLAGS" \
586        -Dshrpdir="%{_libdir}" \
587        -Dversion=%{perl_version} \
588        -Dmyhostname=localhost \
589        -Dperladmin=root@localhost \
590        -Dcc='%{__cc}' \
591        -Dcf_by='Vine Linux' \
592        -Dinstallprefix=%{_prefix} \
593        -Dprefix=%{_prefix} \
594%ifarch %{multilib_64_archs}
595        -Dlibpth="%{_prefix}/local/lib64 /lib64 %{_prefix}/lib64" \
596        -Dprivlib="%{_prefix}/lib/perl5/%{perl_version}" \
597        -Dsitelib="%{_prefix}/lib/perl5/site_perl/%{perl_version}" \
598        -Dvendorlib="%{_prefix}/lib/perl5/vendor_perl/%{perl_version}" \
599        -Darchlib="%{_libdir}/perl5/%{perl_version}/%{perl_archname}" \
600        -Dsitearch="%{_libdir}/perl5/site_perl/%{perl_version}/%{perl_archname}" \
601        -Dvendorarch="%{_libdir}/perl5/vendor_perl/%{perl_version}/%{perl_archname}" \
602%endif
603        -Darchname=%{_arch}-%{_os} \
604%ifarch sparc sparcv9
605        -Ud_longdbl \
606%endif
607        -Dvendorprefix=%{_prefix} \
608        -Dsiteprefix=%{_prefix} \
609        -Duseshrplib \
610        -Dusethreads \
611        -Duseithreads \
612        -Duselargefiles \
613        -Dd_semctl_semun \
614        -Di_db \
615        -Ui_ndbm \
616        -Di_gdbm \
617        -Di_shadow \
618        -Di_syslog \
619        -Dman3ext=3pm \
620        -Duseperlio \
621        -Dinstallusrbinperl=n \
622        -Ubincompat5005 \
623        -Uversiononly \
624        -Dpager='/usr/bin/less -isr' \
625        -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto \
626        -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto \
627        -Ud_endservent_r_proto -Ud_setservent_r_proto \
628%ifarch %{multilib_64_archs}
629        -Dotherlibdirs="%{_libdir}/perl5/%{perl_version}:%{_libdir}/perl5/vendor_perl/%{perl_version}:%{_libdir}/perl5/vendor_perl:%{_libdir}/perl5/site_perl/%{perl_version}:%{_libdir}/perl5/site_perl:%{_prefix}/local/lib/site_perl:%{_prefix}/local/lib64/site_perl" \
630%else
631        -Dotherlibdirs="%{_prefix}/local/lib/site_perl" \
632%endif
633        -Dscriptdir='%{_bindir}'
634
635BUILD_BZIP2=0
636BZIP2_LIB=%{_libdir}
637export BUILD_BZIP2 BZIP2_LIB
638
639# Prepapre a symlink from proper DSO name to libperl.so now so that new perl
640# can be executed from make.
641%global soname libperl.so.%(echo '%{perl_version}' | sed 's/^\\([^.]*\\.[^.]*\\).*/\\1/')
642test -L %soname || ln -s libperl.so %soname
643
644make %{?_smp_mflags}
645
646%install
647[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
648make install DESTDIR=$RPM_BUILD_ROOT
649
650# Make proper DSO names, move libperl to standard path.
651mv "%{new_arch_lib}/CORE/libperl.so" \
652    "$RPM_BUILD_ROOT%{_libdir}/libperl.so.%{perl_version}"
653ln -s "libperl.so.%{perl_version}" "$RPM_BUILD_ROOT%{_libdir}/%{soname}"
654ln -s "libperl.so.%{perl_version}" "$RPM_BUILD_ROOT%{_libdir}/libperl.so"
655# XXX: Keep symlink from original location because various code glues
656# $archlib/CORE/$libperl to get the DSO.
657ln -s "../../../../libperl.so.%{perl_version}" "%{new_arch_lib}/CORE/libperl.so"
658rm -f "%{new_arch_lib}/CORE/%{soname}"
659ln -s "../../../../libperl.so.%{perl_version}" "%{new_arch_lib}/CORE/%{soname}"
660
661%ifarch %{multilib_64_archs}
662mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{perl_version}
663mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/auto
664%ifarch x86_64
665mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/i386-linux-thread-multi/auto
666%endif
667%ifarch s390x
668mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/s390-linux-thread-multi/auto
669%endif
670%ifarch ppc64
671mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/ppc-linux-thread-multi/auto
672%endif
673%ifarch sparc64
674mkdir -p -m 755 $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{perl_version}/sparc-linux-thread-multi/auto
675%endif
676%endif
677
678%ifarch %{multilib_64_archs}
679mkdir -p -m 755 ${RPM_BUILD_ROOT}%{_prefix}/lib64/perl5/vendor_perl/%{perl_version}/%{_arch}-%{_os}
680%endif
681
682# perl doesn't create this module, but modules put things in it, so we need to own it.
683mkdir -p -m 755 ${RPM_BUILD_ROOT}%{_libdir}/perl5/vendor_perl/%{perl_version}/%{perl_archname}/auto
684
685install -p -m 755 utils/pl2pm ${RPM_BUILD_ROOT}%{_bindir}/pl2pm
686
687for i in asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h sys/socket.h sys/time.h wait.h
688do
689  %{new_perl} $RPM_BUILD_ROOT/%{_bindir}/h2ph -a \
690              -d $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname} $i || /bin/true
691done
692
693
694for dir in $(%{new_perl} -le 'print join("\n", @INC)' | grep '^%{_prefix}/lib')
695do
696  mkdir -p $RPM_BUILD_ROOT/$dir
697done
698
699for dir in $(%{new_perl} -le 'print join("\n", @INC)' | grep '^%{_libdir}')
700do
701  mkdir -p $RPM_BUILD_ROOT/$dir
702done
703
704#
705# libnet configuration file
706#
707mkdir -p -m 755 $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/Net
708install -p -m 644 %{SOURCE12} $RPM_BUILD_ROOT/%{_libdir}/perl5/%{perl_version}/Net/libnet.cfg
709
710#
711# Core modules removal
712#
713find $RPM_BUILD_ROOT -name '*NDBM*' | xargs rm -rfv
714
715find $RPM_BUILD_ROOT -type f -name '*.bs' -a -empty -exec rm -f {} ';'
716
717# miniperl? As an interpreter? How odd.
718sed -i 's|./miniperl|%{_bindir}/perl|' $RPM_BUILD_ROOT/%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/xsubpp
719chmod +x $RPM_BUILD_ROOT/%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/xsubpp
720
721# Don't need the .packlist
722rm -f $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname}/.packlist
723
724# Fix some manpages to be UTF-8
725pushd $RPM_BUILD_ROOT%{_mandir}/man1/
726  for i in perl588delta.1 perldelta.1 ; do
727    iconv -f MS-ANSI -t UTF-8 $i --output new-$i
728    rm -rf $i
729    mv new-$i $i
730  done
731popd
732
733chmod -R u+w $RPM_BUILD_ROOT/*
734
735# for localdirs
736%{__mkdir_p} %{buildroot}%{_prefix}/local/lib/site_perl/%{perl_version}/%{_arch}-%{_os}%{thread_arch}
737
738# Local patch tracking
739# cd $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/
740# perl -x patchlevel.h 'Fedora Patch1: Permit suidperl to install as nonroot'
741# perl -x patchlevel.h 'Fedora Patch2: Removes date check, Fedora/RHEL specific'
742# perl -x patchlevel.h 'Fedora Patch3: Fedora/RHEL use links instead of lynx'
743# perl -x patchlevel.h 'Fedora Patch4: Work around annoying rpath issue'
744# %ifarch %{multilib_64_archs}
745# perl -x patchlevel.h 'Fedora Patch5: support for libdir64'
746# %endif
747# perl -x patchlevel.h 'Fedora Patch6: use libresolv instead of libbind'
748# perl -x patchlevel.h 'Fedora Patch7: USE_MM_LD_RUN_PATH'
749# perl -x patchlevel.h 'Fedora Patch8: Skip hostname tests, due to builders not being network capable'
750# perl -x patchlevel.h 'Fedora Patch9: Update Sys::Syslog to 0.24'
751# perl -x patchlevel.h 'Fedora Patch10: Dont run one io test due to random builder failures'
752# perl -x patchlevel.h '32891 fix big slowdown in 5.10 @_ parameter passing'
753# perl -x patchlevel.h 'Fedora Patch12: Update Module::Load::Conditional to 0.24'
754# perl -x patchlevel.h 'Fedora Patch13: Upgrade Module::CoreList to 2.14'
755
756%clean
757[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
758
759%check
760%{new_perl} -I./lib regen/lib_cleanup.pl
761pushd t
762%{new_perl} -I../lib porting/customized.t --regen
763popd
764LC_ALL=C make test
765
766%post -p /sbin/ldconfig
767
768%postun -p /sbin/ldconfig
769
770%files
771%defattr(-,root,root)
772%doc Artistic AUTHORS Changes* Copying README
773%{_mandir}/man1/*.1*
774%{_mandir}/man3/*.3*
775%{_bindir}/*
776%{_libdir}/perl5
777%{_libdir}/libperl.so*
778%ifarch %{multilib_64_archs}
779%{_prefix}/lib/perl5
780%endif
781
782%files localdirs
783%defattr(-,root,root)
784%dir %{_prefix}/local/lib/site_perl
785%dir %{_prefix}/local/lib/site_perl/%{perl_version}
786%dir %{_prefix}/local/lib/site_perl/%{perl_version}/%{_arch}-%{_os}%{thread_arch}
787
788%changelog
789* Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.26.2-1
790- new upstream release.
791- added BR:libxcrypt-devel,libnsl2-devel,bzip2-devel.
792- dropped all patches.
793- imported patches from RHEL8 beta.
794
795* Thu Feb  5 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 5.16.3-2
796- rebuilt with libdb 5.3.28
797
798* Fri Jun 27 2014 IWAI, Masaharu <iwai@alib.jp> 5.16.3-1
799- drop unnecessary patches
800 - fix thread leak patch (Patch1011): upstream fixed
801 - CVE-2011-1487 patch (Patch2001)
802 - CVE-2011-3597 patch (Digest, Patch2010)
803 - CVE-2013-1667 patch (rehashing, Patch2040)
804- update patches from perl-5.16.3-283.el7 (CentOS 7 Open QA – c7.00.04)
805 - perlbug tag patch (Patch13)
806 - Fix misparsing of maketext strings, CVE-2012-6329 patch (Patch2050)
807- stop coverting charactor encoding: README.tw (FIXME)
808- add patch from perl-5.16.3-283.el7 (CentOS 7 Open QA – c7.00.04)
809 - porting podcheck regen patch (Patch7000)
810- update BuildRequires
811 - s/man/man-db/
812 - drop gpm-devel
813- stop gzipped Changes
814 - drop Patch1
815- update Compat provides: 5.16.*
816- add Provides: perl(unicore::Name)
817
818* Wed Apr  3 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 5.12.3-9
819- add patch2050 for fix CVE-2012-6329 (Guts.pm)
820
821* Tue Mar 12 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 5.12.3-8
822- add Patch2040 for fix CVE-2013-1667 (rehashing)
823
824* Sun Jan  6 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 5.12.3-7
825- add patch2030 for fix CVE-2012-5526 (LF escape)
826
827* Tue Oct 16 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 5.12.3-6
828- add patch2010 for fix CVE-2012-3597 (Digest)
829- add patch2020 for fix CVE-2012-5195 ('x' string repeat operator)
830
831* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.12.3-5
832- fix vendorlib/sitelib paths (so that building noarch Perl module will
833  always go into library paths whith starts with /usr/lib on x86_64 archs)
834
835* Sun Aug  7 2011 IWAI, Masaharu <iwai@alib.jp> 5.12.3-4
836- fix CVE-2011-1487 (Patch2001): based upstream patch
837
838* Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 5.12.3-3
839- add Requires: groff: for perldoc(1)
840- drop Obsoletes: perl-MD5
841
842* Thu Mar 24 2011 IWAI, Masaharu <iwai@alib.jp> 5.12.3-2
843- fix thread leak patch (Patch1011): from Fedora 5.12.3-156.fc16
844
845* Fri Mar 18 2011 IWAI, Masaharu <iwai@alib.jp> 5.12.3-1
846- new upstream release
847- drop MANIFEST files:
848  - clean-manifest.pl (Source1)
849  - MANIFEST.CPAN (Source5)
850  - MANIFEST.CGI (Source6)
851  - MANIFEST.DB_File (Source7)
852  - MANIFEST.suidperl (Source9)
853- suidperl isn't created by upstream since 5.12.0
854  - update Configure option
855- update Compat provides
856- drop root patch (Patch5)
857- update patches: from Fedora 5.12.3-154.fc16
858  - USE_MM_LD_RUN_PATH patch (Patch1007)
859  - disable_test_hosts patch (Patch1008)
860- update recode script and recode target files: sync Fedora 5.12.3-154.fc16
861- update using system zlib configuration code for Compress::ZLib
862- execute gzip Changes in %%prep: moved in %%build
863- add MANIFEST patch (Patch1): for gziped Changes
864- update installing CGI example scripts routine
865
866* Tue Mar  8 2011 IWAI, Masaharu <iwai@alib.jp> 5.10.1-1
867- new upstream release
868- build with current db4: fix <BTS:VineLinux:1084>
869- replace deprecated tag: BuildPreReq to BuildRequires
870- update root patch (Patch5)
871- update USE_MM_LD_RUN_PATH patch (Patch1007)
872- drop unnecessary patches: upstrem fixed
873  - Sys::Syslog upgrade patch (Patch1009)
874  - Patch1011
875  - Module::Load::Conditional upgrade patch (Patch1012)
876  - Module::CoreList upgrade patch (Patch1013)
877  - Archive::Extract upgrade patch (Patch1014)
878  - Compress::Raw::Zlib upgrade patch (Patch1015)
879- update using system zlib configuration code for Compress::ZLib
880- using __perl_requires for rpm-4.8
881- update filter-depends.sh (Source11)
882  - using __perl_requires
883
884* Sun Jun 27 2010 IWAI, Masaharu <iwai@alib.jp> 5.10.0-9
885- add Requires: nss: fix <BTS:VineLinux:1008>
886
887* Wed Feb 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 5.10.0-8
888- rebuild with db4-4.8
889
890* Sun Aug 16 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 5.10.0-7
891- fix installsitearch/installsitelib variables @ x86_64 env.
892- fix libdir location @ x86_64 env.
893
894* Sun Jun 14 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 5.10.0-6
895- add patch1015 to Update Module:Compress::Raw::Zlib (CVE-2009-1391)
896
897* Thu Apr 30 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.10.0-5
898- add Patch1014 fix Archive::Extract to fix test failure caused by tar >= 1.21
899- fix Patch1009 to fix select timeout bug (RHBZ #492422)
900
901* Wed Apr 29 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 5.10.0-4
902- spec in UTF-8
903
904* Fri Jun 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.10.0-3
905- rebuilt with db4-4.6.21
906
907* Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.10.0-2
908- added more macros
909- fixed Provides
910
911* Wed Apr 23 2008 IWAI, Masaharu <iwaim@cc.mbn.or.jp> 5.10.0-1
912- new upstream release
913- sync Fedora perl-5.10.0-20.fc9
914  - drop obsolete patches
915    - perl-5.8.3-fullinc.patch (Patch11)
916    - perl-5.8.5-incpush.patch (Patch12)
917    - perl-5.8.5-dashI.patch (Patch14)
918    - perl-5.8.3-findbin-selinux.patch (Patch23)
919    - perl-5.8.3-empty-rpath.patch (Patch24)
920    - perl-5.8.1-s390.patch (Patch100)
921  - add some patches from Fedora perl-5.10.0-20.fc9
922    - perl-5.8.6-libresolv.patch (Patch1006)
923    - perl-5.10.0-USE_MM_LD_RUN_PATH.patch (Patch1007)
924    - perl-5.10.0-disable_test_hosts.patch (Patch1008)
925    - perl-5.10.0-SysSyslog-0.24.patch (Patch1009)
926    - perl-5.10.0-x86_64-io-test-failure.patch (Patch1010)
927    - 32891.patch (Patch1011)
928    - perl-5.10.0-Module-Load-Conditional-0.24.patch (Patch1012)
929    - perl-5.10.0-Module-CoreList2.14.patch (Patch1013)
930  - update %%make, %%build and %%install, %%files sections (sync Fedora)
931  - add %%check, %%post and %%postun sections (sync Fedora)
932  - update Provides (sync Fedora)
933- create new package 'perl-localdirs': perl library directories in /usr/local
934- update filter-depends.sh (Source11)
935- update Obsoletes and Provides for old packages
936
937* Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.6-0vl5
938- BuildPreReq: man (without it, installman[13] will get undefined
939
940* Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.6-0vl4
941- rebuilt with new toolchain and db4-4.3.x
942
943* Wed Jun 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 5.8.6-0vl3
944- use filter to find-requires instead of perl-req (rpm's bug?)
945- don't remove core modules (FIlter::Util::Call, Filter::Simple, Time::HiRes)
946
947* Sun Jan 09 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.6-0vl2
948- force gcc optimization level to -O1 on ppc
949
950* Mon Nov 29 2004 IWAI, Masaharu <iwai@alib.jp> 5.8.6-0vl1
951- new upstream release
952- drop obsolete patches
953  - drop errno patch ( Patch8 )
954  - drop manext patch ( Patch18 )
955  - drop suidperl security fix patch ( Patch501 )
956- add some patches from Fedora Core perl-5.8.5-9
957  - add fullinc patch ( Patch11 )
958  - add incpush patch ( Patch12 )
959  - add perkbug tag patch ( Patch13 )
960  - add dashI patch ( Patch14 )
961  - add findbin selinux patch ( Patch23 )
962  - add empty rpath patch ( Patch24 )
963  - include lpthread link patch ( Patch22 )
964- drop unnecessary macros: cpanver, dbfilever and cgiver
965
966* Wed Oct 27 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.2-0vl4
967- provide archlibdir (for some applications such as xchat)
968
969* Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.8.2-0vl3
970- rebuilt with db4-4.2.52
971
972* Fri Jul  2 2004 IWAI, Masaharu <iwai@alib.jp> 5.8.2-0vl2
973- SECURITY: fix CAN-2003-0618: suidperl
974    add 06_fix_suidperl patch (Patch501) from Debian Sarge perl 5.8.3-3
975
976* Fri Nov  7 2003 IWAI, Masaharu <iwai@alib.jp> 5.8.2-0vl1
977- new upstream release
978
979* Fri Sep 26 2003 IWAI, Masaharu <iwai@alib.jp> 5.8.1-0vl1
980- new upstream release
981- update some patches:
982    - root patch (Patch5)
983    - s390 patch (Patch100)
984- stop patching fhs patch (Patch6)
985- stop patching syslog patch (Patch9)
986- stop patching manext patch (Patch18)
987- stop patching links patch (Patch19): Vine doesn't have links package.
988- drop obsolete  module update patches:
989    - perl-5.8.0-Safe2.09.patch (Patch202)
990    - perl-5.8.0-CGI2.89.patch (Patch203)
991    - perl-5.8.0-CGI_XSS.patch (Patch20002)
992- drop obsolete patches:
993    - protofix patch (Patch32000)
994    - pagerfix patch (Patch32001)
995    - upstream patches
996      - Patch17649: perl-5.8.0-upstream-17649.patch
997      - Patch18079: perl-5.8.0-upstream-18079.patch
998      - Patch18080: perl-5.8.0-upstream-18080.patch
999      - Patch18081: perl-5.8.0-upstream-18081.patch
1000      - Patch18082: perl-5.8.0-upstream-18082.patch
1001      - Patch18087: perl-5.8.0-upstream-18087.patch
1002      - Patch18089: perl-5.8.0-upstream-18089.patch
1003      - Patch18095: perl-5.8.0-upstream-18095.patch
1004      - Patch18096: perl-5.8.0-upstream-18096.patch
1005      - Patch18097: perl-5.8.0-upstream-18097.patch
1006      - Patch18098: perl-5.8.0-upstream-18098.patch
1007      - Patch18100: perl-5.8.0-upstream-18100.patch
1008      - Patch18101: perl-5.8.0-upstream-18101.patch
1009      - Patch18103: perl-5.8.0-upstream-18103.patch
1010      - Patch18104: perl-5.8.0-upstream-18104.patch
1011      - Patch18110: perl-5.8.0-upstream-18110.patch
1012      - Patch18111: perl-5.8.0-upstream-18111.patch
1013      - Patch18112: perl-5.8.0-upstream-18112.patch
1014      - Patch18126: perl-5.8.0-upstream-18126.patch
1015      - Patch18127: perl-5.8.0-upstream-18127.patch
1016      - Patch18128: perl-5.8.0-upstream-18128.patch
1017      - Patch18129: perl-5.8.0-upstream-18129.patch
1018      - Patch18130: perl-5.8.0-upstream-18130.patch
1019      - Patch18131: perl-5.8.0-upstream-18131.patch
1020      - Patch18132: perl-5.8.0-upstream-18132.patch
1021      - Patch18133: perl-5.8.0-upstream-18133.patch
1022      - Patch18134: perl-5.8.0-upstream-18134.patch
1023      - Patch18143: perl-5.8.0-upstream-18143.patch
1024      - Patch18144: perl-5.8.0-upstream-18144.patch
1025      - Patch18145: perl-5.8.0-upstream-18145.patch
1026      - Patch18146: perl-5.8.0-upstream-18146.patch
1027      - Patch18153: perl-5.8.0-upstream-18153.patch
1028      - Patch18155: perl-5.8.0-upstream-18155.patch
1029      - Patch18156: perl-5.8.0-upstream-18156.patch
1030      - Patch18173: perl-5.8.0-upstream-18173.patch
1031      - Patch18174: perl-5.8.0-upstream-18174.patch
1032      - Patch18187: perl-5.8.0-upstream-18187.patch
1033      - Patch18189: perl-5.8.0-upstream-18189.patch
1034      - Patch18190: perl-5.8.0-upstream-18190.patch
1035      - Patch18191: perl-5.8.0-upstream-18191.patch
1036      - Patch18192: perl-5.8.0-upstream-18192.patch
1037      - Patch18197: perl-5.8.0-upstream-18197.patch
1038      - Patch18202: perl-5.8.0-upstream-18202.patch
1039      - Patch18204: perl-5.8.0-upstream-18204.patch
1040      - Patch18205: perl-5.8.0-upstream-18205.patch
1041      - Patch18206: perl-5.8.0-upstream-18206.patch
1042      - Patch18207: perl-5.8.0-upstream-18207.patch
1043      - Patch18208: perl-5.8.0-upstream-18208.patch
1044      - Patch18209: perl-5.8.0-upstream-18209.patch
1045      - Patch18210: perl-5.8.0-upstream-18210.patch
1046      - Patch18211: perl-5.8.0-upstream-18211.patch
1047      - Patch18214: perl-5.8.0-upstream-18214.patch
1048      - Patch18215: perl-5.8.0-upstream-18215.patch
1049      - Patch18218: perl-5.8.0-upstream-18218.patch
1050      - Patch18219: perl-5.8.0-upstream-18219.patch
1051      - Patch18227: perl-5.8.0-upstream-18227.patch
1052      - Patch18234: perl-5.8.0-upstream-18234.patch
1053      - Patch18235: perl-5.8.0-upstream-18235.patch
1054      - Patch18236: perl-5.8.0-upstream-18236.patch
1055      - Patch18241: perl-5.8.0-upstream-18241.patch
1056      - Patch18242: perl-5.8.0-upstream-18242.patch
1057      - Patch18243: perl-5.8.0-upstream-18243.patch
1058      - Patch18247: perl-5.8.0-upstream-18247.patch
1059      - Patch18248: perl-5.8.0-upstream-18248.patch
1060      - Patch18252: perl-5.8.0-upstream-18252.patch
1061      - Patch18253: perl-5.8.0-upstream-18253.patch
1062      - Patch18254: perl-5.8.0-upstream-18254.patch
1063      - Patch18255: perl-5.8.0-upstream-18255.patch
1064      - Patch18256: perl-5.8.0-upstream-18256.patch
1065      - Patch18257: perl-5.8.0-upstream-18257.patch
1066      - Patch18258: perl-5.8.0-upstream-18258.patch
1067      - Patch18271: perl-5.8.0-upstream-18271.patch
1068      - Patch18273: perl-5.8.0-upstream-18273.patch
1069      - Patch18274: perl-5.8.0-upstream-18274.patch
1070      - Patch18275: perl-5.8.0-upstream-18275.patch
1071      - Patch18276: perl-5.8.0-upstream-18276.patch
1072      - Patch18286: perl-5.8.0-upstream-18286.patch
1073      - Patch18289: perl-5.8.0-upstream-18289.patch
1074      - Patch18290: perl-5.8.0-upstream-18290.patch
1075      - Patch18291: perl-5.8.0-upstream-18291.patch
1076      - Patch18293: perl-5.8.0-upstream-18293.patch
1077      - Patch18294: perl-5.8.0-upstream-18294.patch
1078      - Patch18295: perl-5.8.0-upstream-18295.patch
1079      - Patch18296: perl-5.8.0-upstream-18296.patch
1080      - Patch18297: perl-5.8.0-upstream-18297.patch
1081      - Patch18301: perl-5.8.0-upstream-18301.patch
1082      - Patch18322: perl-5.8.0-upstream-18322.patch
1083      - Patch18347: perl-5.8.0-upstream-18347.patch
1084      - Patch18348: perl-5.8.0-upstream-18348.patch
1085      - Patch18349: perl-5.8.0-upstream-18349.patch
1086      - Patch18352: perl-5.8.0-upstream-18352.patch
1087      - Patch18353: perl-5.8.0-upstream-18353.patch
1088      - Patch18359: perl-5.8.0-upstream-18359.patch
1089      - Patch18360: perl-5.8.0-upstream-18360.patch
1090      - Patch18361: perl-5.8.0-upstream-18361.patch
1091      - Patch18362: perl-5.8.0-upstream-18362.patch
1092      - Patch18363: perl-5.8.0-upstream-18363.patch
1093      - Patch18364: perl-5.8.0-upstream-18364.patch
1094      - Patch18365: perl-5.8.0-upstream-18365.patch
1095      - Patch18366: perl-5.8.0-upstream-18366.patch
1096      - Patch18367: perl-5.8.0-upstream-18367.patch
1097      - Patch18368: perl-5.8.0-upstream-18368.patch
1098      - Patch18369: perl-5.8.0-upstream-18369.patch
1099      - Patch18370: perl-5.8.0-upstream-18370.patch
1100      - Patch18375: perl-5.8.0-upstream-18375.patch
1101      - Patch18379: perl-5.8.0-upstream-18379.patch
1102      - Patch18380: perl-5.8.0-upstream-18380.patch
1103      - Patch20001: perl-5.8.0-upstream-20475.patch
1104
1105* Wed Jul 23 2003 IWAI Masaharu <iwai@alib.jp> 5.8.0-88vl4
1106- SECURITY: fix CGI.pm XSS
1107    add CGI_XSS.patch (Patch20002)
1108
1109* Wed May 14 2003 IWAI Masaharu <iwai@alib.jp> 5.8.0-88vl3
1110- add open.pm patch from perl5-porters #20475
1111
1112* Thu Apr 24 2003 IWAI Masaharu <iwai@alib.jp> 5.8.0-88vl2
1113- added library search path ( otherlibdirs ) in /usr/local/lib
1114- add Provides: perl-{MIME-Base64,libnet} ([VineSeed:07701])
1115
1116* Tue Apr 15 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 5.8.0-88vl1
1117- synced with Rawhide 5.8.0-88
1118
1119* Fri Apr 12 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 5.6.1-0vl9
1120- added library search path ( otherlibdirs ) in /usr/local/lib
1121
1122* Fri Mar 29 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.6.1-0vl8
1123- changed Patch3 (now use gdbm-ndbm)
1124
1125* Sat Jan 19 2002 Yoshihiro Ota <ota@j.email.ne.jp>
1126- 5.6.1-0vl7
1127- added db3-devel BuildPreReq
1128
1129* Sat Jan 19 2002 Yoshihiro Ota <ota@j.email.ne.jp>
1130- 5.6.1-0vl6
1131- added BuildPreReq entires
1132
1133* Tue Jun 19 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
1134- 5.6.1-0vl4
1135- removed NASTY Provides: perl <= %%{version} line :-P
1136
1137* Sun Jun 17 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
1138- 5.6.1-0vl3
1139- put %%install sentence back
1140
1141* Sun Jun 17 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
1142- 5.6.1-0vl2
1143- use %%config for perllocal.pod
1144- removed MAINTAIN from %%doc
1145
1146* Sat Jun 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
1147- 5.6.1-0vl1
1148- updated to 5.6.1 newest (at the moment) stable release
1149  (most of the works/tests done by Machino-san. Thanks)
1150- fix Source[01] URLs
1151- Copyright: GPL -> License: Artistic
1152- Patch4 modified for 5.6.1, as well as removed Patch8 and Patch9
1153
1154* Fri Jun 15 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
1155- 5.6.0-10vl6
1156- modified %%{SOURCE3} & %%{SOURCE4} to remove libsafe.so dependencies
1157
1158* Thu Jun 14 2001 <sagami@vinelinux.org>
1159- 5.6.0-10vl5: I think define is still valid even if commented out
1160
1161* Thu Jun 14 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
1162- 5.6.0-10vl4
1163- added Japanese description
1164- all archs should use %%{SOURCE3} for find_requires at the moment
1165- %%define _noVersionedDependencies 1
1166- libgr-devel -> netpbm-devel in %%install section
1167
1168* Wed Jun 13 2001 Jun Nishii <jun@vinelinux.org> perl-5.6.0-10vl3
1169- added %doc
1170
1171* Mon Mar 12 2001 net_hal <net_hal@cwa.bai.ne.jp>
1172- Package name changed(perl -> perl56)
1173
1174* Fri Mar  2 2001 net_hal <net_hal@cwa.bai.ne.jp>
1175- first build for Vine2.1
1176
1177* Tue Sep 12 2000 Bill Nottingham <notting@redhat.com>
1178- fix dependencies on ia64/sparc64
1179
1180* Mon Aug  7 2000 Nalin Dahyabhai <nalin@redhat.com>
1181- replace the deprecated MD5 with Digest::MD5 (has to be here for cleanfeed)
1182- obsolete: perl-Digest-MD5
1183- use syslog instead of mail to report possible attempts to break into suidperl
1184- force syslog on at build-time
1185
1186* Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com>
1187- add Owen's fix for #14779/#14863
1188- specify cc=%{__cc}; continue to let cpp sort itself out
1189- switch shadow support on (#8646)
1190- release 7
1191
1192* Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com>
1193- strip buildroot from perl pods (#14040)
1194- release 6
1195
1196* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
1197- automatic rebuild (release 5)
1198
1199* Wed Jun 21 2000 Preston Brown <pbrown@redhat.com>
1200- don't require tcsh to install, only to build
1201- release 4
1202
1203* Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com>
1204- rebuild against new db3 package
1205- release 3
1206
1207* Sat Jun 17 2000 Nalin Dahyabhai <nalin@redhat.com>
1208- disable 64-bit file support
1209- change name of package that Perl expects gcc to be in from "egcs" to "gcc"
1210- move man pages to /usr/share via hints/linux.sh and MM_Unix.pm
1211- fix problems prefixifying with empty prefixes
1212- disable long doubles on sparc (they're the same as doubles anyway)
1213- add an Epoch to make sure we can upgrade from perl-5.00503
1214- release 2
1215
1216* Thu Mar 23 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1217- 2.6.0
1218
1219* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
1220- fix description
1221
1222* Fri Jan 14 2000 Jeff Johnson <jbj@redhat.com>
1223- add provides for perl modules (from kestes@staff.mail.com).
1224
1225* Mon Oct 04 1999 Cristian Gafton <gafton@redhat.com>
1226- fix the %install so that the MD5 module gets actually installed correctly
1227
1228* Mon Aug 30 1999 Cristian Gafton <gafton@redhat.com>
1229- make sure the package builds even when we don't have perl installed on the
1230  system
1231
1232* Fri Aug 06 1999 Cristian Gafton <gafton@redhat.com>
1233- merged with perl-MD5
1234- get rid of the annoying $RPM_BUILD_ROOT paths in the installed tree
1235
1236* Mon Jul 26 1999 Cristian Gafton <gafton@redhat.com>
1237- do not link anymore against the system db library (and make each module
1238  link against it separately, so that we can have Berkeley db1 and db2 mixed
1239  up)
1240
1241* Wed Jun 16 1999 Cristian Gafton <gafton@redhat.com>
1242- use wildcards for files in /usr/bin and /usr/man
1243
1244* Tue Apr 06 1999 Cristian Gafton <gafton@redhat.com>
1245- version 5.00503
1246- make the default man3 install dir be release independent
1247- try to link against db1 to preserve compatibility with older databases;
1248  abandoned idea because perl is too broken to allow such an easy change
1249  (hardcoded names *everywhere* !!!)
1250
1251* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
1252- auto rebuild in the new build environment (release 3)
1253
1254* Thu Jan 07 1999 Cristian Gafton <gafton@redhat.com>
1255- guilty of the inlined Makefile in the spec file
1256- adapted for the arm build
1257
1258* Wed Sep 09 1998 Preston Brown <pbrown@redhat.com>
1259- added newer CGI.pm to the build
1260- changed the version naming scheme around to work with RPM
1261
1262* Sun Jul 19 1998 Jeff Johnson <jbj@redhat.com>
1263- attempt to generate *.ph files reproducibly
1264
1265* Mon Jun 15 1998 Jeff Johnson <jbj@redhat.com>
1266- update to 5.004_04-m4 (pre-5.005 maintenance release)
1267
1268* Fri Jun 12 1998 Christopher McCrory <chrismcc@netus.com
1269- need stdarg.h from gcc shadow to fix "use Sys::Syslog" (problem #635)
1270
1271* Fri May 08 1998 Cristian Gafton <gafton@redhat.com>
1272- added a patch to correct the .ph constructs unless defined (foo) to read
1273  unless(defined(foo))
1274
1275* Thu May 07 1998 Prospector System <bugs@redhat.com>
1276- translations modified for de, fr, tr
1277
1278* Tue Mar 10 1998 Cristian Gafton <gafton@redhat.com>
1279- fixed strftime problem
1280
1281* Sun Mar 08 1998 Cristian Gafton <gafton@redhat.com>
1282- added a patch to fix a security race
1283- do not use setres[ug]id - those are not implemented on 2.0.3x kernels
1284
1285* Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com>
1286- upgraded to 5.004_04 - 5.004_01 had some nasty memory leaks.
1287- fixed the spec file to be version-independent
1288
1289* Fri Dec 05 1997 Erik Troan <ewt@redhat.com>
1290- Config.pm wasn't right do to the builtrooting
1291
1292* Mon Oct 20 1997 Erik Troan <ewt@redhat.com>
1293- fixed arch-specfic part of spec file
1294
1295* Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
1296- updated to perl 5.004_01
1297- users a build root
1298
1299* Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
1300- built against glibc
1301
1302* Tue Apr 22 1997 Erik Troan <ewt@redhat.com>
1303- Incorporated security patch from Chip Salzenberg <salzench@nielsenmedia.com>
1304
1305* Fri Feb 07 1997 Erik Troan <ewt@redhat.com>
1306- Use -Darchname=i386-linux
1307- Require csh (for glob)
1308- Use RPM_ARCH during configuration and installation for arch independence
Note: See TracBrowser for help on using the repository browser.