Subject: pkg/16127: pkgsrc update, IPv6 for wget 1.8.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <michal@pasternak.w.lub.pl>
List: netbsd-bugs
Date: 03/30/2002 12:35:33
>Number:         16127
>Category:       pkg
>Synopsis:       IPv6 for wget 1.8.1, which was forgotten in my recent PR
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 30 03:36:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     michal@pasternak.w.lub.pl
>Release:        NetBSD 1.5ZA
>Organization:
/* Michal Pasternak, http://mp.w.lub.pl, +48606570000 */
>Environment:
	
	
System: NetBSD pr93.lublin.sdi.tpnet.pl 1.5ZA NetBSD 1.5ZA (GENERIC) #0: Tue Feb 19 16:45:49 EST 2002 root@zathras.wasabisystems.com:/big/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
IPv6 patch for wget 1.8.1
>How-To-Repeat:
	
>Fix:
0. Sorry for the mess :)

1. Please remember to delette patch-a[bc].

2. Apply this diff:
Index: wget/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/wget/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- Makefile	2002/02/18 15:14:36	1.43
+++ Makefile	2002/03/30 11:31:13
@@ -1,24 +1,24 @@
 # $NetBSD: Makefile,v 1.43 2002/02/18 15:14:36 seb Exp $
 
-DISTNAME=	wget-1.7
+DISTNAME=	wget-1.8.1
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_GNU:=wget/}
 
-PATCH_SITES=	ftp://ftp.kame.net/pub/kame/misc/
-PATCHFILES=	wget-17-v6-20010716a.diff.gz
-PATCH_DIST_STRIP=-p1
-
-MAINTAINER=	packages@netbsd.org
+MAINTAINER=	michal@pasternak.w.lub.pl
 HOMEPAGE=	http://www.gnu.org/software/wget/wget.html
 COMMENT=	Retrieve files from the 'net via HTTP and FTP
 
+PATCH_SITES=	http://pasternak.w.lub.pl/
+PATCHFILES=	wget-181-v6-20020330.diff.gz
+PATCH_DIST_STRIP=-p1
+
 BUILD_DEPENDS+=	perl>=${PERL5_REQD}:../../lang/perl5
 
 BUILD_USES_MSGFMT=	YES
 USE_BUILDLINK_ONLY=	YES

 USE_GMAKE=	YES
 GNU_CONFIGURE=	YES
 MAKE_ENV+=	PKGLOCALEDIR="${PKGLOCALEDIR}"
 
 INFO_FILES=	wget.info
@@ -28,12 +28,17 @@
 # to get USE_INET6
 .include "../../mk/bsd.prefs.mk"
 
 # IPv6 support
 .if defined(USE_INET6) && ${USE_INET6} == YES
 CONFIGURE_ARGS+=        --enable-ipv6
 .else
 CONFIGURE_ARGS+=        --disable-ipv6
 .endif
+
+pre-configure:
+	rm ${WRKSRC}/libtool
 
 .include "../../devel/gettext-lib/buildlink.mk"
 .include "../../mk/texinfo.mk"
Index: wget/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/net/wget/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST	2002/02/18 15:14:36	1.2
+++ PLIST	2002/03/30 11:31:14
@@ -1,14 +1,14 @@
-@comment $NetBSD: PLIST,v 1.2 2002/02/18 15:14:36 seb Exp $
+@comment $NetBSD$
 bin/wget
 etc/wgetrc
 man/man1/wget.1
-@unexec ${INSTALL_INFO} --delete %D/info/wget.info %D/info/dir
+@unexec ${INSTALL_INFO} --delete --info-dir=%D/info %D/info/wget.info
 info/wget.info
 info/wget.info-1
 info/wget.info-2
 info/wget.info-3
 info/wget.info-4
-@exec ${INSTALL_INFO} %D/info/wget.info %D/info/dir
+@exec ${INSTALL_INFO} --info-dir=%D/info %D/info/wget.info
 ${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/wget.mo
 ${PKGLOCALEDIR}/locale/da/LC_MESSAGES/wget.mo
 ${PKGLOCALEDIR}/locale/de/LC_MESSAGES/wget.mo
@@ -17,7 +17,9 @@
 ${PKGLOCALEDIR}/locale/et/LC_MESSAGES/wget.mo
 ${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/wget.mo
 ${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/he/LC_MESSAGES/wget.mo
 ${PKGLOCALEDIR}/locale/hr/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/wget.mo
 ${PKGLOCALEDIR}/locale/it/LC_MESSAGES/wget.mo
 ${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/wget.mo
 ${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/wget.mo
@@ -29,5 +31,6 @@
 ${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/wget.mo
 ${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/wget.mo
 ${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/wget.mo
-${PKGLOCALEDIR}/locale/zh/LC_MESSAGES/wget.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/wget.mo
 ${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/wget.mo
+@dirrm ${PKGLOCALEDIR}/locale/he/LC_MESSAGES
Index: wget/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/wget/distinfo,v
retrieving revision 1.9
diff -u -r1.9 distinfo
--- distinfo	2001/07/26 14:29:12	1.9
+++ distinfo	2002/03/30 11:31:14
@@ -1,11 +1,7 @@
 $NetBSD: distinfo,v 1.9 2001/07/26 14:29:12 jlam Exp $
 
-SHA1 (wget-1.7.tar.gz) = b44118972c11a410b81ad3d306861b370071e611
-Size (wget-1.7.tar.gz) = 945138 bytes
-SHA1 (wget-17-v6-20010716a.diff.gz) = 02ddc575dc2cd33b38a2b111662198b77ef67491
-Size (wget-17-v6-20010716a.diff.gz) = 49827 bytes
-SHA1 (patch-aa) = 98c944716c403d0501505fc52c69c898d7870ea5
-SHA1 (patch-ab) = 797716b5a213c1e6b12f9407769e606b50818a67
-SHA1 (patch-ac) = 20cc35210374c68ddcaf39830620d853b4311988
-SHA1 (patch-ad) = 8994c291eb3e06c87a6c83dfc2b02fbf9f318c34
-SHA1 (patch-ae) = 1400b747cb0b2cd4311e566941cbc8ff3e59c76d
+SHA1 (wget-1.8.1.tar.gz) = d576c23b8e663a6411765299804a6d451a428a5a
+Size (wget-1.8.1.tar.gz) = 1097780 bytes
+SHA1 (wget-181-v6-20020330.diff.gz) = 165fd29648cd6f4ab830035b1d82543bd92ec00c
+Size (wget-181-v6-20020330.diff.gz) = 28004 bytes
+SHA1 (patch-aa) = 51b350dabd24c29e85d53162da7dd4d34bfae9fc
Index: wget/patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/net/wget/patches/patch-aa,v
retrieving revision 1.5
diff -u -r1.5 patch-aa
--- patch-aa	2001/06/27 04:58:51	1.5
+++ patch-aa	2002/03/30 11:31:14
@@ -1,13 +1,12 @@
-$NetBSD: patch-aa,v 1.5 2001/06/27 04:58:51 jlam Exp $
-
---- Makefile.in.orig	Sat Dec 30 23:46:03 2000
-+++ Makefile.in
-@@ -39,7 +39,7 @@
- sysconfdir  = @sysconfdir@
- mandir      = @mandir@
- manext      = 1
--localedir   = $(prefix)/share/locale
-+localedir   = $(prefix)/${PKGLOCALEDIR}/locale
+$NetBSD
+--- Makefile.in~	Sat Mar 30 12:21:58 2002
++++ Makefile.in	Sat Mar 30 12:22:48 2002
+@@ -75,7 +75,7 @@
+ SUBDIRS = src doc po util windows
  
- CC = @CC@
- CFLAGS = @CFLAGS@
+ # default target
+-all: libtool src/config.h Makefile configure.bat $(SUBDIRS)
++all: libtool src/config.h Makefile configure $(SUBDIRS)
+ 
+ check: all
+ 
>Release-Note:
>Audit-Trail:
>Unformatted: