wget-vl.spec 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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.3
  5. Release: 1%{?_dist_release}
  6. Group: Applications/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. %if %{_dist_release} > "vl6"
  20. BuildRequires: openssl-devel, libuuid-devel, zlib-devel
  21. BuildRequires: texinfo
  22. %else
  23. BuildRequires: openssl-devel, zlib-devel
  24. BuildRequires: texinfo
  25. %endif
  26. %{?nosrc:NoSource: 0}
  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. * Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.3-1
  91. - new upstream release.
  92. * Mon Dec 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20-1
  93. - new upstream release.
  94. - updated Patch0 and 110.
  95. * Thu Jul 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18-2
  96. - fixed BR:.
  97. * Tue Jul 5 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18-1
  98. - new upstream release.
  99. - dropped Patch100: added the same effect without patch.
  100. - updated Patch110.
  101. * Thu Mar 10 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.17.1-1
  102. - new upstream release
  103. - disable sslv2 connection
  104. - rebuild with openssl 1.0.2g
  105. * Wed Nov 5 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.16-1
  106. - new upstream release with security fix
  107. - drop Patch10 (is included in new release)
  108. - update Patch0
  109. - add BR: texinfo
  110. * Sat Oct 27 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.14-2
  111. - add BR: if-endif for vine6
  112. * Thu Oct 25 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.14-1
  113. - new upstream release
  114. - add pacth10,100 from fc19
  115. - add BR: libuuid-devel
  116. * Mon May 7 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.13.4-1
  117. - new upstream release
  118. - add patch0 from fc17
  119. - drop old patches
  120. - change configure option to use openssl
  121. - change src format from bz2 to xz
  122. * Tue Jan 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.11.4-3
  123. - rebuild with openssl-1.0.0c
  124. * Fri Sep 25 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.11.4-2
  125. - patch110 for fix openssl null char issue
  126. * Wed Oct 22 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.11.4-1
  127. - new upstream release
  128. - SPEC in UTF-8
  129. * Wed Mar 26 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.11.1-1
  130. - new upstream release
  131. - drop patch100 which is in included in new release
  132. - build under new versioning policy
  133. * Wed May 30 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.10.2-0vl3
  134. - rebuild with openssl-0.9.8
  135. * Thu Jan 12 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.10.2-0vl2
  136. - rebuilt for VineSeed
  137. - fix changelog typo
  138. * Thu Jan 12 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.10.2-0vl1.1
  139. - add pacth100 for fix CVE-2006-6719 (SYST Unchecked Boundary Condition)
  140. * Wed Oct 19 2005 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.10.2-0vl1
  141. - [SECURITY FIX] upstream release
  142. - Stack-based buffer overflow (CAN-2005-3185)
  143. * Thu Jul 07 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.10-0vl1
  144. - [SECURITY FIX] upstream release
  145. - overwrite certain files via a redirection URL (CAN-2004-1487)
  146. - execute arbitrary code (CAN-2004-1488)
  147. - overwrite arbitrary files via a symlink attack (CAN-2004-2014)
  148. - %%doc
  149. - add COPYING, TODO
  150. - drop doc/ChangeLog
  151. - not compress info at %%install (should be done by %%__install_spec_post)
  152. - drop obsolete patches
  153. - update Japanese description
  154. * Wed Mar 31 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.9.1-0vl1
  155. - source upgrade
  156. - build with openssl-0.9.7d
  157. - Prereq: install-info instead of /sbin/install-info
  158. - remove all patches
  159. * Sun Dec 15 2002 IWAI Masaharu <iwai@alib.jp> 1.8.1-0vl5
  160. - rebuild on VineSeed
  161. * Thu Dec 12 2002 IWAI Masaharu <iwai@alib.jp> 1.8.1-0vl4
  162. - fix directory traversal bug
  163. add wget-1.8.2-filename.patch(Patch101) from RedHat updates 1.8.2-4.6x
  164. * Wed Mar 13 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.1-0vl3
  165. - revamped Patch10 to fit with 1.8.1 source. But disable it.
  166. * Wed Mar 13 2002 Toru Sagami <sagami@vinelinux.org> 1.8.1-0vl2
  167. - added patch from current CVS to fix broken recursive download.
  168. * Tue Dec 25 2001 Toru Sagami <sagami@vinelinux.org>
  169. - 1.8.1
  170. * Mon Dec 10 2001 Toru Sagami <sagami@vinelinux.org>
  171. - 1.8-0vl0: update to 1.8 with an ad-hoc patch for md5.h
  172. * Thu Nov 22 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.7.1-0vl2
  173. - added ppc patch derived from:
  174. http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=109348
  175. * Mon Nov 19 2001 Toru Sagami <sagami@vinelinux.org>
  176. - 1.7.1-0vl1: use ja.po included in source
  177. * Fri Aug 24 2001 Toru Sagami <sagami@vinelinux.org>
  178. - 1.7-0vl2: configure --with-ssl
  179. * Wed Jun 13 2001 <sagami@vinelinux.org>
  180. - 1.7-0vl1: update to 1.7 with updated ja.po
  181. * Tue May 29 2001 <sagami@vinelinux.org>
  182. - 1.6-0vl2: use better macros
  183. * Fri Jan 5 2001 Yoichi Imai <yoichi@silver-forest.com>
  184. - removed getmore patch, ja.patch, ja.po
  185. - removed gzip and strip
  186. - used environment variable of rpm
  187. - not used symlink patch
  188. * Fri Sep 08 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  189. - 1.5.3_jp-6
  190. - modified %files section to handle compressed man page(s)
  191. - added Japanese summary
  192. * Wed Jan 26 2000 Norihito Ohmori <nono@vinelinux.org>
  193. - fix ja.po
  194. * Thu Jan 20 2000 HIROSE, Masaaki <hirose31@t3.rim.or.jp>
  195. - added getmore.patch. to get files like LINK HREF="XXX".
  196. * Sun Nov 7 1999 Toru Hoshina <t@kondara.org>
  197. - be a NoSrc :-P
  198. * Sat Sep 18 1999 Norihito Ohmori <ohmori@flatout.org>
  199. - add ja.po
  200. - add Japanese Summary and Description
  201. * Thu Aug 26 1999 Jeff Johnson <jbj@redhat.com>
  202. - don't permit chmod 777 on symlinks (#4725).
  203. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  204. - auto rebuild in the new build environment (release 4)
  205. * Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
  206. - build for 6.0 tree
  207. - add Provides
  208. * Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
  209. - strip binaries
  210. - version 1.5.3
  211. * Sat Jun 27 1998 Jeff Johnson <jbj@redhat.com>
  212. - updated to 1.5.2
  213. * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
  214. - modified group to Applications/Networking
  215. * Wed Apr 22 1998 Cristian Gafton <gafton@redhat.com>
  216. - upgraded to 1.5.0
  217. - they removed the man page from the distribution (Duh!) and I added it back
  218. from 1.4.5. Hey, removing the man page is DUMB!
  219. * Fri Nov 14 1997 Cristian Gafton <gafton@redhat.com>
  220. - first build against glibc