Subject: pkg/24263: update sysutils/gpart
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <isihara@sf21npo.gr.jp>
List: netbsd-bugs
Date: 01/28/2004 05:33:24
>Number:         24263
>Category:       pkg
>Synopsis:       update sysutils/gpart
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 28 05:34:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     ISIHARA Takanori
>Release:        NetBSD/i386 1.6.1_RC3
>Organization:
NPO Plaza Nagoya :)
>Environment:
NetBSD teacup.sf21npo.gr.jp 1.6.2_RC3 NetBSD 1.6.2_RC3 (GENERIC.user64) #0: Sat Nov 29 22:41:42 JST 2003     sysbuild@teacup.sf21npo.gr.jp:/var/sysbuild/kernel/GENERIC.user64 i386

>Description:
* Update sysutils/gpart.
* HOMEPAGE moved.
* MASTERSITE moved.

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./CVS
#	./CVS/Repository
#	./CVS/Root
#	./CVS/Entries
#	./patches
#	./patches/CVS
#	./patches/CVS/Entries
#	./patches/CVS/Repository
#	./patches/CVS/Root
#	./patches/patch-aa
#	./patches/patch-ab
#	./patches/patch-ac
#	./patches/patch-ad
#	./patches/patch-ae
#	./DESCR
#	./Makefile
#	./PLIST
#	./distinfo
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./CVS
mkdir -p ./CVS > /dev/null 2>&1
echo x - ./CVS/Repository
sed 's/^X//' >./CVS/Repository << 'END-of-./CVS/Repository'
X/cvsroot/pkgsrc/sysutils/gpart
END-of-./CVS/Repository
echo x - ./CVS/Root
sed 's/^X//' >./CVS/Root << 'END-of-./CVS/Root'
Xanoncvs@anoncvs.netbsd.org:/cvsroot
END-of-./CVS/Root
echo x - ./CVS/Entries
sed 's/^X//' >./CVS/Entries << 'END-of-./CVS/Entries'
XD/patches////
X/distinfo/1.2/Fri Apr 20 12:27:22 2001//
X/DESCR/1.1/Wed Oct 31 22:53:16 2001//
X/PLIST/1.1/Wed Oct 31 22:53:16 2001//
X/Makefile/1.6/Fri Jul 18 03:43:30 2003//
END-of-./CVS/Entries
echo c - ./patches
mkdir -p ./patches > /dev/null 2>&1
echo c - ./patches/CVS
mkdir -p ./patches/CVS > /dev/null 2>&1
echo x - ./patches/CVS/Entries
sed 's/^X//' >./patches/CVS/Entries << 'END-of-./patches/CVS/Entries'
X/patch-aa/1.1.1.1/Fri Sep  1 16:10:28 2000//
X/patch-ab/1.1.1.1/Fri Sep  1 16:10:28 2000//
X/patch-ac/1.1.1.1/Fri Sep  1 16:10:28 2000//
X/patch-ad/1.1.1.1/Fri Sep  1 16:10:28 2000//
X/patch-ae/1.1.1.1/Fri Sep  1 16:10:28 2000//
XD
END-of-./patches/CVS/Entries
echo x - ./patches/CVS/Repository
sed 's/^X//' >./patches/CVS/Repository << 'END-of-./patches/CVS/Repository'
X/cvsroot/pkgsrc/sysutils/gpart/patches
END-of-./patches/CVS/Repository
echo x - ./patches/CVS/Root
sed 's/^X//' >./patches/CVS/Root << 'END-of-./patches/CVS/Root'
Xanoncvs@anoncvs.netbsd.org:/cvsroot
END-of-./patches/CVS/Root
echo x - ./patches/patch-aa
sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa'
X$NetBSD$
X
X+++ src/disku.c
X@@ -26,7 +26,7 @@
X #include <linux/hdreg.h>
X #endif
X 
X-#if defined(__FreeBSD__)
X+#if defined(__FreeBSD__) || defined(__NetBSD__)
X #include <errno.h>
X #include <sys/disklabel.h>
X #endif
X@@ -60,7 +60,7 @@ struct disk_geom *disk_geometry(disk_des
X 
X #endif
X 
X-#if defined(__FreeBSD__)
X+#if defined(__FreeBSD__) || defined(__NetBSD__)
X 	struct disklabel	dl;
X 	if (ioctl(d->d_fd,DIOCGDINFO,&dl) == -1)
X 		pr(FATAL,EM_IOCTLFAILED,"DIOCGDINFO",strerror(errno));
END-of-./patches/patch-aa
echo x - ./patches/patch-ab
sed 's/^X//' >./patches/patch-ab << 'END-of-./patches/patch-ab'
X$NetBSD$
X
X+++ src/gpart.c
X@@ -300,9 +300,10 @@ static char *get_part_type(int type)
X 		{ 0x8E, "Linux LVM physical volume" },
X 		{ 0x93, "Amoeba filesystem" },
X 		{ 0x94, "Amoeba bad block table" },
X-		{ 0xA5, "FreeBSD/NetBSD/386BSD" },
X+		{ 0xA5, "FreeBSD or 386BSD or old NetBSD" },
X 		{ 0xA6, "OpenBSD" },
X 		{ 0xA7, "NEXTSTEP" },
X+		{ 0xA9, "NetBSD" },
X 		{ 0xB7, "BSDI BSD/386 filesystem" },
X 		{ 0xB8, "BSDI BSD/386 swap" },
X 		{ 0xC7, "Syrinx" },
END-of-./patches/patch-ab
echo x - ./patches/patch-ac
sed 's/^X//' >./patches/patch-ac << 'END-of-./patches/patch-ac'
X$NetBSD: patch-ac,v 1.1.1.1 2000/09/01 16:10:28 veego Exp $
X
X+++ src/l64seek.c	Sun Jul 16 10:58:50 2000
X@@ -46,7 +46,8 @@
X 		ret = (off64_t)-1;
X #endif
X 
X-#if defined(__FreeBSD__) || (defined(__linux__) && defined(__alpha__))
X+#if defined(__FreeBSD__) || defined(__NetBSD__) || \
X+    (defined(__linux__) && defined(__alpha__))
X 	ret = lseek(fd,offset,whence);
X #endif
X 
END-of-./patches/patch-ac
echo x - ./patches/patch-ad
sed 's/^X//' >./patches/patch-ad << 'END-of-./patches/patch-ad'
X$NetBSD: patch-ad,v 1.1.1.1 2000/09/01 16:10:28 veego Exp $
X
X+++ src/l64seek.h	Sun Jul 16 10:59:15 2000
X@@ -33,7 +33,7 @@
X #endif
X 
X 
X-#if defined(__FreeBSD__)
X+#if defined(__FreeBSD__) || defined(__NetBSD__)
X 	typedef off_t off64_t;
X #endif
X 
END-of-./patches/patch-ad
echo x - ./patches/patch-ae
sed 's/^X//' >./patches/patch-ae << 'END-of-./patches/patch-ae'
X$NetBSD: patch-ae,v 1.1.1.1 2000/09/01 16:10:28 veego Exp $
X
X+++ inst.defs	Fri Sep  1 17:29:26 2000
X@@ -1,7 +1,7 @@
X #
X # installation directories for gpart
X #
X-prefix=/usr/local
X+prefix=${PREFIX}
X bindir=$(prefix)/bin
X libdir=$(prefix)/lib
X mandir=$(prefix)/man
END-of-./patches/patch-ae
echo x - ./DESCR
sed 's/^X//' >./DESCR << 'END-of-./DESCR'
XGpart is a small tool which tries to guess what partitions
Xare on a PC type harddisk in case the primary partition table
Xwas damaged.
END-of-./DESCR
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# $NetBSD: Makefile,v 1.6 2003/07/17 22:53:35 grant Exp $
X
XDISTNAME=	gpart-0.1h
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.stud.uni-hannover.de/user/76201/gpart/
X
XMAINTAINER=	tech-pkg@NetBSD.org
XHOMEPAGE=	${MASTER_SITES}
XCOMMENT=	Tool to show the partitions on a PC type harddisk
X
XUSE_GMAKE=	yes
X
X# Doesn't work on 1.4.x due to problems with dlopen
XNOT_FOR_PLATFORM=	NetBSD-1.4*-*
X
X.include "../../mk/bsd.pkg.mk"
END-of-./Makefile
echo x - ./PLIST
sed 's/^X//' >./PLIST << 'END-of-./PLIST'
X@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:53:16 zuntum Exp $
Xbin/gpart
Xman/man8/gpart.8
END-of-./PLIST
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
X$NetBSD: distinfo,v 1.2 2001/04/19 11:29:03 agc Exp $
X
XSHA1 (gpart-0.1h.tar.gz) = 23f66162e1d85977ea43bfe6b5e5bff0ad2d566e
XSize (gpart-0.1h.tar.gz) = 52352 bytes
XSHA1 (patch-aa) = 519a87faa229dccc9e840bf51c6e20081f8111cf
XSHA1 (patch-ab) = f570cae28c55711adfdf4970871bb62251b35bdc
XSHA1 (patch-ac) = 759b7a9c61d05448fb96ee35619be99d963a70b5
XSHA1 (patch-ad) = 6ac86ebb00de4d9a2f8ec983924282b35a1fbd53
XSHA1 (patch-ae) = e9126b145ec8995645d79cd5d569da6e882b3c89
END-of-./distinfo
exit


>Release-Note:
>Audit-Trail:
>Unformatted: