Browse Source

wget: update to 1.17.1 and built with openssl 1.0.2g

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10068 ec354946-7b23-47d6-9f5a-488ba84defc7
iwamoto 8 years ago
parent
commit
89852e0097
1 changed files with 15 additions and 3 deletions
  1. 15 3
      w/wget/wget-vl.spec

+ 15 - 3
w/wget/wget-vl.spec

@@ -1,16 +1,17 @@
 Summary: A utility for retrieving files using the HTTP or FTP protocols.
 Summary(ja): HTTP/FTP プロトコルによるファイル取得ユーティリティ
 Name: wget
-Version: 1.16
+Version: 1.17.1
 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
-Patch0:  wget-1.16-path.patch
+Patch0:  wget-1.17.1-path.patch
 
 ## Vine Patch(es)
-Patch100:  wget-vine-modified.patch
+Patch100:  wget-1.17.1-vine-modified.patch
+Patch110:  wget-1.17.1_disable_sslv2.patch
 # Security Fix
 # Nothing !
 
@@ -59,17 +60,23 @@ FTP ディレクトリをミラーするユーティリティが必要なら wge
 
 %prep
 %setup -q
+
 %patch0 -p1 -b .path
 
 ## Vine Patch(es)
 %patch100 -p0 -b .vine
+%patch110 -p1 -b .ssl2
 
 # Security Fix
 # Nothing !!
 
 %build
+CFLAGS="$RPM_OPT_FLAGS -DOPENSSL_NO_SSL2"; export CFLAGS
 %configure --with-ssl=openssl
 %__make %{?_smp_mflags}
+pushd po
+msgfmt -o ja.gmo ja.po
+popd
 
 %install
 %__rm -rf $RPM_BUILD_ROOT
@@ -96,6 +103,11 @@ fi
 %{_mandir}/man1/wget.1*
 
 %changelog
+* Thu Mar 10 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.17.1-1
+- new upstream release
+- disable sslv2 connection
+- rebuild with openssl 1.0.2g
+
 * Wed Nov  5 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.16-1
 - new upstream release with security fix
 - drop Patch10 (is included in new release)