perl-vl.spec 39 KB

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