Add makefs, an utility from NetBSD for creating a filesystem image

without requiring any special privileges or kernel support.

PR:		ports/60348
Submitted by:	Colin Percival <cperciva@daemonology.net>
This commit is contained in:
Pav Lucistnik 2003-12-19 00:01:56 +00:00
parent 630acb7200
commit 1d0f69f8cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96171
5 changed files with 40 additions and 0 deletions

View file

@ -192,6 +192,7 @@
SUBDIR += ltrace
SUBDIR += lxsplit
SUBDIR += maint
SUBDIR += makefs
SUBDIR += manck
SUBDIR += mcron
SUBDIR += memgrep

29
sysutils/makefs/Makefile Normal file
View file

@ -0,0 +1,29 @@
# New ports collection makefile for: NetBSD makefs
# Date created: 17 December 2003
# Whom: cperciva@daemonology.net
#
# $FreeBSD$
#
PORTNAME= makefs
PORTVERSION= 20031215
CATEGORIES= sysutils
MASTER_SITES= http://www.daemonology.net/makefs/
MAINTAINER= cperciva@daemonology.net
COMMENT= Builds FFS images
MAN8= makefs.8
do-build:
cd ${WRKSRC} && ${SH} -xe build.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/netbsdsrc/tools/makefs/makefs \
${PREFIX}/sbin
.if !defined(WITHOUT_MAN)
${INSTALL_MAN} ${WRKSRC}/netbsdsrc/usr.sbin/makefs/makefs.8 \
${PREFIX}/man/man8/
.endif
.include <bsd.port.mk>

1
sysutils/makefs/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (makefs-20031215.tar.gz) = f4b544853b191730725d429d4206123b

View file

@ -0,0 +1,8 @@
This is a port of NetBSD's makefs utility. Given a directory tree,
makefs will generate a file system image, without requiring any
special devices, kernel support, or privileges.
WWW: http://www.daemonology.net/makefs/
- Colin Percival
cperciva@daemonology.net

View file

@ -0,0 +1 @@
sbin/makefs