wget-vl.spec 8.7 KB

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