diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2005-07-03 13:58:06 +0000 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2005-07-03 13:58:06 +0000 |
commit | c23e413edf80a4cce8f17126a25bd07fe96a810c (patch) | |
tree | 7fbb3b5deae6432bfe5d522ab3c9ced0240f91a0 /sysutils | |
parent | 0d4b29b3567c7df719d565fb76c620a238a1a3ac (diff) | |
download | FreeBSD-ports-c23e413edf80a4cce8f17126a25bd07fe96a810c.zip FreeBSD-ports-c23e413edf80a4cce8f17126a25bd07fe96a810c.tar.gz |
Add ufs_copy.
The ufs_copy copies a UFS filesystem image like dd(1).
It doesn't copy free blocks for speed and it generates a sparse destination
file for saving space.
WWW: http://people.freebsd.org/~simokawa/ufs/
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/ufs_copy/Makefile | 32 | ||||
-rw-r--r-- | sysutils/ufs_copy/distinfo | 2 | ||||
-rw-r--r-- | sysutils/ufs_copy/files/patch-Makefile | 11 | ||||
-rw-r--r-- | sysutils/ufs_copy/pkg-descr | 5 | ||||
-rw-r--r-- | sysutils/ufs_copy/pkg-plist | 3 |
6 files changed, 54 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index d051759..ec68c00 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -489,6 +489,7 @@ SUBDIR += ucspi-unix SUBDIR += udesc_dump SUBDIR += udfclient + SUBDIR += ufs_copy SUBDIR += unidesc SUBDIR += unquote SUBDIR += upsd diff --git a/sysutils/ufs_copy/Makefile b/sysutils/ufs_copy/Makefile new file mode 100644 index 0000000..7068703 --- /dev/null +++ b/sysutils/ufs_copy/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: ufs_copy +# Date created: 3 July 2005 +# Whom: MANTANI Nobutaka <nobutaka@freebsd.org> +# +# $FreeBSD$ +# + +PORTNAME= ufs_copy +PORTVERSION= 20041015 +CATEGORIES= sysutils +MASTER_SITES= http://people.freebsd.org/~simokawa/ufs/ +DISTNAME= ufs-${PORTVERSION} + +MAINTAINER= nobutaka@freebsd.org +COMMENT= Fast copy utility for UFS filesystem + +WRKSRC= ${WRKDIR}/ufs +MAKE_ARGS= BINDIR=${PREFIX}/sbin + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +IGNORE= FreeBSD 4.x does not have libufs +.endif + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/sysutils/ufs_copy/distinfo b/sysutils/ufs_copy/distinfo new file mode 100644 index 0000000..2c69b47 --- /dev/null +++ b/sysutils/ufs_copy/distinfo @@ -0,0 +1,2 @@ +MD5 (ufs-20041015.tar.gz) = ed3c249acecb80a9b9c5438fc823a514 +SIZE (ufs-20041015.tar.gz) = 8112 diff --git a/sysutils/ufs_copy/files/patch-Makefile b/sysutils/ufs_copy/files/patch-Makefile new file mode 100644 index 0000000..310e9dc --- /dev/null +++ b/sysutils/ufs_copy/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig Sun Jul 3 00:10:17 2005 ++++ Makefile Sun Jul 3 00:10:38 2005 +@@ -4,7 +4,7 @@ + PROG= ufs_copy + WARNS= 0 + MAN= +-NOSHARED?= YES ++NO_SHARED?= YES + LDADD= -lufs + CFLAGS+= -Wall -Wformat + BINDIR?= /sbin diff --git a/sysutils/ufs_copy/pkg-descr b/sysutils/ufs_copy/pkg-descr new file mode 100644 index 0000000..7f2cf92 --- /dev/null +++ b/sysutils/ufs_copy/pkg-descr @@ -0,0 +1,5 @@ +The ufs_copy copies a UFS filesystem image like dd(1). +It doesn't copy free blocks for speed and it generates a sparse destination +file for saving space. + +WWW: http://people.freebsd.org/~simokawa/ufs/ diff --git a/sysutils/ufs_copy/pkg-plist b/sysutils/ufs_copy/pkg-plist new file mode 100644 index 0000000..eaf69d3 --- /dev/null +++ b/sysutils/ufs_copy/pkg-plist @@ -0,0 +1,3 @@ +sbin/ufs_copy +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |