From 55e16317fd80f4fe4d4e46180bfb8b50cccde44a Mon Sep 17 00:00:00 2001 From: Erik Kapfer Date: Mon, 23 Dec 2013 17:38:41 +0100 Subject: [PATCH] wget: Update to 1.14. --- config/rootfiles/common/wget | 7 +++--- lfs/wget | 23 ++++++++++++------ src/patches/wget-1.14-texi2pod-1.patch | 32 ++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 11 deletions(-) create mode 100644 src/patches/wget-1.14-texi2pod-1.patch diff --git a/config/rootfiles/common/wget b/config/rootfiles/common/wget index a015280e5c..968ab9faee 100644 --- a/config/rootfiles/common/wget +++ b/config/rootfiles/common/wget @@ -1,5 +1,4 @@ +#etc/wgetrc usr/bin/wget -#usr/etc -#usr/etc/wgetrc -#usr/info/wget.info -#usr/man/man1/wget.1 +#usr/share/info/wget.info +#usr/share/man/man1/wget.1 diff --git a/lfs/wget b/lfs/wget index ce55e76f05..fd4c9472d1 100644 --- a/lfs/wget +++ b/lfs/wget @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2013 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,10 +24,10 @@ include Config -VER = 1.10.2 +VER = 1.14 THISAPP = wget-$(VER) -DL_FILE = $(THISAPP).tar.gz +DL_FILE = $(THISAPP).tar.xz DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 795fefbb7099f93e2d346b026785c4b8 +$(DL_FILE)_MD5 = 316f6f59292c9098ad81fd54f658c579 install : $(TARGET) @@ -69,10 +69,19 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && ./configure --prefix=/usr --with-ssl \ - --disable-nls --disable-ipv6 + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE) + + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/wget-1.14-texi2pod-1.patch + + cd $(DIR_APP) && ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --with-ssl=openssl \ + --disable-nls \ + --disable-ipv6 + cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) @$(POSTBUILD) diff --git a/src/patches/wget-1.14-texi2pod-1.patch b/src/patches/wget-1.14-texi2pod-1.patch new file mode 100644 index 0000000000..700242bf44 --- /dev/null +++ b/src/patches/wget-1.14-texi2pod-1.patch @@ -0,0 +1,32 @@ +Submitted By: Ken Moffat +Date: 2013-06-18 +Initial Package Version: 1.14 +Upstream Status: Submitted +Origin: Arch +Description: Build with perl-5.18. + +http://lists.gnu.org/archive/html/bug-wget/2013-06/msg00046.html + +From 2ed1707b5d8be66feb80cccfe8e11e719b52b99a Mon Sep 17 00:00:00 2001 +From: Dave Reisner +Date: Mon, 17 Jun 2013 23:31:46 +0530 +Subject: [PATCH] Fix error in texi2pod intriduced with Perl 5.18 + +--- + +diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl +index 86c4b18..9db6de1 100755 +--- a/doc/texi2pod.pl ++++ b/doc/texi2pod.pl +@@ -291,7 +291,7 @@ while(<$inf>) { + if (defined $1) { + my $thing = $1; + if ($ic =~ /\@asis/) { +- $_ = "\n=item $thing\n"; ++ $_ = "\n=item C<$thing>\n"; + } else { + # Entity escapes prevent munging by the <> processing below. + $_ = "\n=item $ic\<$thing\>\n"; +-- +1.8.3.1 + -- 2.39.2