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