From 390b9864dfddcc359d489270dfe08e075c2d6c72 Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 1 Nov 1999 03:05:54 +0000 Subject: Initial import of gpart version 0.1e. A program for recovering lost partition table and file systems. PR: 14032 Submitted by: Andrew Stevenson --- sysutils/gpart/Makefile | 20 ++++++++++++++++++++ sysutils/gpart/distinfo | 1 + sysutils/gpart/files/patch-aa | 11 +++++++++++ sysutils/gpart/files/patch-ab | 11 +++++++++++ sysutils/gpart/pkg-comment | 1 + sysutils/gpart/pkg-descr | 13 +++++++++++++ sysutils/gpart/pkg-plist | 1 + 7 files changed, 58 insertions(+) create mode 100644 sysutils/gpart/Makefile create mode 100644 sysutils/gpart/distinfo create mode 100644 sysutils/gpart/files/patch-aa create mode 100644 sysutils/gpart/files/patch-ab create mode 100644 sysutils/gpart/pkg-comment create mode 100644 sysutils/gpart/pkg-descr create mode 100644 sysutils/gpart/pkg-plist (limited to 'sysutils') 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 +# +# $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 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 +WWW: http://home.pages.de/~michab/gpart/ + +- Andrew Stevenson + 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 -- cgit