wget-vl.spec 8.5 KB

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