perl-vl.spec 39 KB

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