wget-vl.spec 8.4 KB

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