|
@@ -1,17 +1,16 @@
|
|
|
Summary: A utility for retrieving files using the HTTP or FTP protocols.
|
|
|
Summary(ja): HTTP/FTP プロトコルによるファイル取得ユーティリティ
|
|
|
Name: wget
|
|
|
-Version: 1.17.1
|
|
|
+Version: 1.18
|
|
|
Release: 1%{?_dist_release}
|
|
|
License: GPL
|
|
|
Group: Applications/Internet
|
|
|
# Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
|
|
|
-Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
|
|
+Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
|
|
Patch0: wget-1.17.1-path.patch
|
|
|
|
|
|
## Vine Patch(es)
|
|
|
-Patch100: wget-1.17.1-vine-modified.patch
|
|
|
-Patch110: wget-1.17.1_disable_sslv2.patch
|
|
|
+Patch110: wget-1.18_disable_sslv2.patch
|
|
|
# Security Fix
|
|
|
# Nothing !
|
|
|
|
|
@@ -64,12 +63,14 @@ FTP ディレクトリをミラーするユーティリティが必要なら wge
|
|
|
%patch0 -p1 -b .path
|
|
|
|
|
|
## Vine Patch(es)
|
|
|
-%patch100 -p0 -b .vine
|
|
|
%patch110 -p1 -b .ssl2
|
|
|
|
|
|
# Security Fix
|
|
|
# Nothing !!
|
|
|
|
|
|
+
|
|
|
+perl -pi -e "s/^PACKAGE_STRING=.+$/PACKAGE_STRING='wget %{version} (Vine)'/" configure
|
|
|
+
|
|
|
%build
|
|
|
CFLAGS="$RPM_OPT_FLAGS -DOPENSSL_NO_SSL2"; export CFLAGS
|
|
|
%configure --with-ssl=openssl
|
|
@@ -96,13 +97,19 @@ fi
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root)
|
|
|
-%doc AUTHORS MAILING-LIST NEWS README INSTALL COPYING
|
|
|
+%license COPYING
|
|
|
+%doc AUTHORS MAILING-LIST NEWS README INSTALL
|
|
|
%config %{_sysconfdir}/wgetrc
|
|
|
%{_bindir}/wget
|
|
|
%{_infodir}/wget.info*
|
|
|
%{_mandir}/man1/wget.1*
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Jul 5 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18-1
|
|
|
+- new upstream release.
|
|
|
+- dropped Patch100: added the same effect without patch.
|
|
|
+- updated Patch110.
|
|
|
+
|
|
|
* Thu Mar 10 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.17.1-1
|
|
|
- new upstream release
|
|
|
- disable sslv2 connection
|