perl-vl.spec 40 KB

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