wget-vl.spec 8.3 KB

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