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

Revision 12417, 49.1 KB checked in by tomop, 4 years ago (diff)

updated 7 packages

bison-3.6.4-1

libexif-0.6.22-2

libvncserver-0.9.13-1

nodejs-12.18.0-1

perl-5.26.2-3

php74-7.4.7-1

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