perl-vl.spec 37 KB

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