summaryrefslogtreecommitdiff
path: root/filesystems/scan_ffs
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2024-09-27 12:48:46 +0200
committerRobert Clausecker <fuz@FreeBSD.org>2024-11-06 16:17:35 +0100
commit6e2da9672f79f44048d597f0f61e4646cdeade9d (patch)
treec92e4b3158e3419e8cec38e00227d08dcdaab3e9 /filesystems/scan_ffs
parentmath/sdpa: speed up build (diff)
filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities. It is added mainly to turn the sysutils/fusefs-* pseudo-category into a proper one, but is also useful for the sundry of other file systems related ports found in the tree. Ports that seem like they belong there are moved to the new category. Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are not moved as they currently don't fetch and don't have TIMESTAMP set in their distinfo, but that is required to be able to push a rename of the port by the pre-receive hook. Approved by: portmgr (rene) Reviewed by: mat Pull Request: https://github.com/freebsd/freebsd-ports/pull/302 PR: 281988
Diffstat (limited to 'filesystems/scan_ffs')
-rw-r--r--filesystems/scan_ffs/Makefile18
-rw-r--r--filesystems/scan_ffs/distinfo3
-rw-r--r--filesystems/scan_ffs/pkg-descr12
3 files changed, 33 insertions, 0 deletions
diff --git a/filesystems/scan_ffs/Makefile b/filesystems/scan_ffs/Makefile
new file mode 100644
index 000000000000..59d5340aa7fb
--- /dev/null
+++ b/filesystems/scan_ffs/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= scan_ffs
+PORTVERSION= 1.2
+PORTREVISION= 1
+CATEGORIES= filesystems sysutils
+MASTER_SITES= http://www.ranner.eu/stuff/
+
+MAINTAINER= michael@ranner.eu
+COMMENT= Scan_ffs recovers lost disklabel
+
+USES= tar:bzip2
+
+PLIST_FILES= sbin/scan_ffs share/man/man8/scan_ffs.8.gz
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/scan_ffs ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/scan_ffs.8 ${STAGEDIR}${PREFIX}/share/man/man8
+
+.include <bsd.port.mk>
diff --git a/filesystems/scan_ffs/distinfo b/filesystems/scan_ffs/distinfo
new file mode 100644
index 000000000000..f5fe89273c1e
--- /dev/null
+++ b/filesystems/scan_ffs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730905190
+SHA256 (scan_ffs-1.2.tar.bz2) = a6d52583a275c02ca8c504a302e065b20512da5795cd2929cda13184c5305d4a
+SIZE (scan_ffs-1.2.tar.bz2) = 5119
diff --git a/filesystems/scan_ffs/pkg-descr b/filesystems/scan_ffs/pkg-descr
new file mode 100644
index 000000000000..d156d70ae1b7
--- /dev/null
+++ b/filesystems/scan_ffs/pkg-descr
@@ -0,0 +1,12 @@
+scan_ffs(8) recovers accidential lost or deleted disklabels.
+
+This is the life-saver of typos. If you have ever been working too long,
+and just happened to type 'disklabel -rw da0 floppy', instead of 'diskla-
+bel -rw fd0 floppy', you know what I am talking about.
+
+This little program will take a raw disk device (which you might have to
+create) that covers the whole disk, and finds all probable UFS/FFS parti-
+tions on the disk. It has various options to make it go faster, and to
+print out information to help in the reconstruction of the disklabel.
+
+Ported from OpenBSD to FreeBSD 4/5 with support for UFS1 and UFS2.