perl-vl.spec 48 KB

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