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