wget-vl.spec 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. Summary: A utility for retrieving files using the HTTP or FTP protocols.
  2. Summary(ja): HTTP/FTP プロトコルによるファイル取得ユーティリティ
  3. Name: wget
  4. Version: 1.11.4
  5. Release: 3%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Internet
  8. Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
  9. ## Vine Patch(es)
  10. # Security Fix
  11. # Patch100: wget-1.10.2_CVE-2006-6719.patch
  12. Patch110: wget-1.11.4_openssl_null.patch
  13. Provides: webclient
  14. Requires(pre): install-info
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: openssl-devel
  17. %{?nosrc:NoSource: 0}
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. GNU Wget is a file retrieval utility which can use either the HTTP or
  22. FTP protocols. Wget features include the ability to work in the
  23. background while you're logged out, recursive retrieval of
  24. directories, file name wildcard matching, remote file timestamp
  25. storage and comparison, use of Rest with FTP servers and Range with
  26. HTTP servers to retrieve files over slow or unstable connections,
  27. support for Proxy servers, and configurability.
  28. Install wget if you need to retrieve large numbers of files with HTTP or
  29. FTP, or if you need a utility for mirroring web sites or FTP directories.
  30. #'
  31. %description -l ja
  32. GNU wget は HTTP や FTP プロトコルを使用してファイルを取得するユーティリ
  33. ティです。wget には次のような特徴があります。
  34. - ログアウトしている間にバックグラウンドで実行可能
  35. - ディレクトリの再帰的取得
  36. - ファイル名のワイルドカードマッチング
  37. - ファイルのタイムスタンプの保存と比較
  38. - FTP サーバの Rest、HTTP サーバの Range を使用したダウンロードの再開
  39. - プロキシサーバへの対応
  40. - 設定の容易さ
  41. もし HTTP か FTP で大量のファイルを取得する必要があったり、Web サイトや
  42. FTP ディレクトリをミラーするユーティリティが必要なら wget をインストール
  43. してください。
  44. %prep
  45. %setup -q
  46. # Security Fix
  47. # %patch100 -p1 -b .CVE-2006-6719
  48. %patch110 -p1 -b .openssl_null
  49. %build
  50. %configure --with-ssl
  51. %__make %{?_smp_mflags}
  52. %install
  53. %__rm -rf $RPM_BUILD_ROOT
  54. %makeinstall
  55. %find_lang %{name}
  56. %post
  57. /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir
  58. %preun
  59. if [ "$1" = 0 ]; then
  60. /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir
  61. fi
  62. %clean
  63. %__rm -rf $RPM_BUILD_ROOT
  64. %files -f %{name}.lang
  65. %defattr(-,root,root)
  66. %doc AUTHORS MAILING-LIST NEWS README INSTALL COPYING
  67. %config %{_sysconfdir}/wgetrc
  68. %{_bindir}/wget
  69. %{_infodir}/wget.info*
  70. %{_mandir}/man1/wget.1*
  71. %changelog
  72. * Tue Jan 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.11.4-3
  73. - rebuild with openssl-1.0.0c
  74. * Fri Sep 25 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.11.4-2
  75. - patch110 for fix openssl null char issue
  76. * Wed Oct 22 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.11.4-1
  77. - new upstream release
  78. - SPEC in UTF-8
  79. * Wed Mar 26 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.11.1-1
  80. - new upstream release
  81. - drop patch100 which is in included in new release
  82. - build under new versioning policy
  83. * Wed May 30 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.10.2-0vl3
  84. - rebuild with openssl-0.9.8
  85. * Fri Jan 12 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.10.2-0vl2
  86. - rebuilt for VineSeed
  87. - fix changelog typo
  88. * Fri Jan 12 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.10.2-0vl1.1
  89. - add pacth100 for fix CVE-2006-6719 (SYST Unchecked Boundary Condition)
  90. * Wed Oct 19 2005 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.10.2-0vl1
  91. - [SECURITY FIX] upstream release
  92. - Stack-based buffer overflow (CAN-2005-3185)
  93. * Thu Jul 07 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.10-0vl1
  94. - [SECURITY FIX] upstream release
  95. - overwrite certain files via a redirection URL (CAN-2004-1487)
  96. - execute arbitrary code (CAN-2004-1488)
  97. - overwrite arbitrary files via a symlink attack (CAN-2004-2014)
  98. - %%doc
  99. - add COPYING, TODO
  100. - drop doc/ChangeLog
  101. - not compress info at %%install (should be done by %%__install_spec_post)
  102. - drop obsolete patches
  103. - update Japanese description
  104. * Wed Mar 31 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.9.1-0vl1
  105. - source upgrade
  106. - build with openssl-0.9.7d
  107. - Prereq: install-info instead of /sbin/install-info
  108. - remove all patches
  109. * Sun Dec 15 2002 IWAI Masaharu <iwai@alib.jp> 1.8.1-0vl5
  110. - rebuild on VineSeed
  111. * Thu Dec 12 2002 IWAI Masaharu <iwai@alib.jp> 1.8.1-0vl4
  112. - fix directory traversal bug
  113. add wget-1.8.2-filename.patch(Patch101) from RedHat updates 1.8.2-4.6x
  114. * Wed Mar 13 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.1-0vl3
  115. - revamped Patch10 to fit with 1.8.1 source. But disable it.
  116. * Wed Mar 13 2002 Toru Sagami <sagami@vinelinux.org> 1.8.1-0vl2
  117. - added patch from current CVS to fix broken recursive download.
  118. * Tue Dec 25 2001 Toru Sagami <sagami@vinelinux.org>
  119. - 1.8.1
  120. * Mon Dec 10 2001 Toru Sagami <sagami@vinelinux.org>
  121. - 1.8-0vl0: update to 1.8 with an ad-hoc patch for md5.h
  122. * Thu Nov 22 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.7.1-0vl2
  123. - added ppc patch derived from:
  124. http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=109348
  125. * Mon Nov 19 2001 Toru Sagami <sagami@vinelinux.org>
  126. - 1.7.1-0vl1: use ja.po included in source
  127. * Fri Aug 24 2001 Toru Sagami <sagami@vinelinux.org>
  128. - 1.7-0vl2: configure --with-ssl
  129. * Wed Jun 13 2001 <sagami@vinelinux.org>
  130. - 1.7-0vl1: update to 1.7 with updated ja.po
  131. * Tue May 29 2001 <sagami@vinelinux.org>
  132. - 1.6-0vl2: use better macros
  133. * Fri Jan 5 2001 Yoichi Imai <yoichi@silver-forest.com>
  134. - removed getmore patch, ja.patch, ja.po
  135. - removed gzip and strip
  136. - used environment variable of rpm
  137. - not used symlink patch
  138. * Fri Sep 08 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  139. - 1.5.3_jp-6
  140. - modified %files section to handle compressed man page(s)
  141. - added Japanese summary
  142. * Wed Jan 26 2000 Norihito Ohmori <nono@vinelinux.org>
  143. - fix ja.po
  144. * Thu Jan 20 2000 HIROSE, Masaaki <hirose31@t3.rim.or.jp>
  145. - added getmore.patch. to get files like LINK HREF="XXX".
  146. * Sun Nov 7 1999 Toru Hoshina <t@kondara.org>
  147. - be a NoSrc :-P
  148. * Sat Sep 18 1999 Norihito Ohmori <ohmori@flatout.org>
  149. - add ja.po
  150. - add Japanese Summary and Description
  151. * Thu Aug 26 1999 Jeff Johnson <jbj@redhat.com>
  152. - don't permit chmod 777 on symlinks (#4725).
  153. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  154. - auto rebuild in the new build environment (release 4)
  155. * Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
  156. - build for 6.0 tree
  157. - add Provides
  158. * Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
  159. - strip binaries
  160. - version 1.5.3
  161. * Sat Jun 27 1998 Jeff Johnson <jbj@redhat.com>
  162. - updated to 1.5.2
  163. * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
  164. - modified group to Applications/Networking
  165. * Wed Apr 22 1998 Cristian Gafton <gafton@redhat.com>
  166. - upgraded to 1.5.0
  167. - they removed the man page from the distribution (Duh!) and I added it back
  168. from 1.4.5. Hey, removing the man page is DUMB!
  169. * Fri Nov 14 1997 Cristian Gafton <gafton@redhat.com>
  170. - first build against glibc