Subject: pkg/11855: Package games/netris now works over ipv6
To: None <gnats-bugs@gnats.netbsd.org>
From: Tomasz Luchowski <zuntum@eik.pl>
List: netbsd-bugs
Date: 12/30/2000 16:22:12
>Number: 11855
>Category: pkg
>Synopsis: Package games/netris now works over ipv6
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Dec 30 16:22:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 1.5.1_ALPHA with current pkgsrc
>Organization:
/* [zuntum] zuntum@eik.pl , [WWW] http://zuntum.net */
>Environment:
System: NetBSD cappi 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (CAPPI) #0: Mon Dec 11 20:58:28 CET 2000 root@cappi:/usr/src/sys/arch/i386/compile/CAPPI i386
>Description:
Here's the cvs diff for pkgsrc/games/netris so it supports IPv6.
Tested over IPv6 on NetBSD->NetBSD and over IPv4 NetBSD/FreeBSD
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/netris/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile 2000/10/28 23:33:14 1.1.1.1
+++ Makefile 2000/12/30 23:55:13
@@ -5,12 +5,28 @@
CATEGORIES= games
MASTER_SITES= ftp://ftp.netris.org/pub/netris/
+PATCH_SITES= ftp://ftp2.v6.linux.or.jp/pub/Linux/IPv6-2/netris/ \
+ http://ftp2.v6.linux.or.jp/pub/Linux/IPv6-2/netris/
+PATCHFILES= netris-0.5-v6-19991206a.diff.gz
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= uebs@gmx.at
HOMEPAGE= http://www.netris.org/
USE_GMAKE= YES
HAS_CONFIGURE= YES
CONFIGURE_SCRIPT= ./Configure
+
+BUILD_DEFS+= USE_INET6
+
+# to get USE_INET6
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(USE_INET6) && ${USE_INET6} == YES
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/netris ${PREFIX}/bin
Index: files/md5
===================================================================
RCS file: /cvsroot/pkgsrc/games/netris/files/md5,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 md5
--- md5 2000/10/28 23:33:14 1.1.1.1
+++ md5 2000/12/30 23:55:13
@@ -1,3 +1,4 @@
-$NetBSD: md5,v 1.1.1.1 2000/10/28 23:33:14 wiz Exp $
+$NetBSD$
MD5 (netris-0.5.tar.gz) = a30c950fd4e4779a26f856bc7cd1aaff
+MD5 (netris-0.5-v6-19991206a.diff.gz) = 2fa50a7c9a55e8da531e7ae9bb4e1e85
>Release-Note:
>Audit-Trail:
>Unformatted: