summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-01 03:05:54 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-01 03:05:54 +0000
commit58f653e959718cbb7425fd1f96f5accb4d5d4ee9 (patch)
tree6530391dd157adb56c75871da60fc6c019f0c970
parentActivate the adzapper, netscape-remote, and zope ports. (diff)
Initial import of gpart version 0.1e.
A program for recovering lost partition table and file systems. PR: 14032 Submitted by: Andrew Stevenson <andrew@ugh.net.au>
Notes
Notes: svn path=/head/; revision=22800
-rw-r--r--sysutils/gpart/Makefile20
-rw-r--r--sysutils/gpart/distinfo1
-rw-r--r--sysutils/gpart/files/patch-aa11
-rw-r--r--sysutils/gpart/files/patch-ab11
-rw-r--r--sysutils/gpart/pkg-comment1
-rw-r--r--sysutils/gpart/pkg-descr13
-rw-r--r--sysutils/gpart/pkg-plist1
7 files changed, 58 insertions, 0 deletions
diff --git a/sysutils/gpart/Makefile b/sysutils/gpart/Makefile
new file mode 100644
index 000000000000..75417b31b89a
--- /dev/null
+++ b/sysutils/gpart/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: gpart
+# Version required: 0.1e
+# Date created: 29 Sep 1999
+# Whom: Andrew Stevenson <andrew@ugh.net.au>
+#
+# $FreeBSD$
+#
+
+DISTNAME= gpart-0.1e
+CATEGORIES= sysutils
+MASTER_SITES= http://www.stud.uni-hannover.de/user/76201/gpart/ \
+ ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= system/filesystems
+
+MAINTAINER= andrew@ugh.net.au
+
+USE_GMAKE= yes
+MAN8= gpart.8
+
+.include <bsd.port.mk>
diff --git a/sysutils/gpart/distinfo b/sysutils/gpart/distinfo
new file mode 100644
index 000000000000..8d92defabb5c
--- /dev/null
+++ b/sysutils/gpart/distinfo
@@ -0,0 +1 @@
+MD5 (gpart-0.1e.tar.gz) = 1fbeecc5737935c074acfba222ac6319
diff --git a/sysutils/gpart/files/patch-aa b/sysutils/gpart/files/patch-aa
new file mode 100644
index 000000000000..97de21d9d616
--- /dev/null
+++ b/sysutils/gpart/files/patch-aa
@@ -0,0 +1,11 @@
+--- inst.defs.orig Fri Dec 4 06:59:41 1998
++++ inst.defs Wed Sep 29 14:18:55 1999
+@@ -2,7 +2,7 @@
+ # installation directories for gpart
+ #
+ prefix=/usr/local
+-bindir=$(prefix)/bin
++bindir=$(prefix)/sbin
+ libdir=$(prefix)/lib
+ mandir=$(prefix)/man
+ manext=8
diff --git a/sysutils/gpart/files/patch-ab b/sysutils/gpart/files/patch-ab
new file mode 100644
index 000000000000..8d3708bd55d7
--- /dev/null
+++ b/sysutils/gpart/files/patch-ab
@@ -0,0 +1,11 @@
+--- make.defs.orig Wed Sep 29 15:10:52 1999
++++ make.defs Wed Sep 29 15:11:05 1999
+@@ -2,7 +2,7 @@
+ #
+ #
+ CC = gcc
+-CFLAGS = -Wall -O2 -pedantic
++CFLAGS += -Wall -O2 -pedantic
+ LDFLAGS =
+ MAKEDEP = gcc -M
+ INSTALL = install
diff --git a/sysutils/gpart/pkg-comment b/sysutils/gpart/pkg-comment
new file mode 100644
index 000000000000..6b2d997b657e
--- /dev/null
+++ b/sysutils/gpart/pkg-comment
@@ -0,0 +1 @@
+Tries to recover lost partition tables and file systems
diff --git a/sysutils/gpart/pkg-descr b/sysutils/gpart/pkg-descr
new file mode 100644
index 000000000000..f9ceb8fb7032
--- /dev/null
+++ b/sysutils/gpart/pkg-descr
@@ -0,0 +1,13 @@
+A port of a tool which tries to guess the primary partition table of a PC-type
+hard disk in case the primary partition table in sector 0 is damaged, incorrect
+or deleted. The guessed table can be written to a file or device.
+
+Supported (guessable) filesystem or partition types: DOS/Windows FAT, Linux
+ext2 and swap, OS/2 HPFS, Windows NTFS, FreeBSD and Solaris/x86 disklabels,
+Minix FS, Reiser FS
+
+Author: Michail Brzitwa <mb@ichabod.han.de>
+WWW: http://home.pages.de/~michab/gpart/
+
+- Andrew Stevenson
+<andrew@ugh.net.au>
diff --git a/sysutils/gpart/pkg-plist b/sysutils/gpart/pkg-plist
new file mode 100644
index 000000000000..85314108ccab
--- /dev/null
+++ b/sysutils/gpart/pkg-plist
@@ -0,0 +1 @@
+sbin/gpart