summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-03-05 17:42:43 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-03-05 17:42:43 +0000
commit29371e62addbbeec33558ac9015b040227ff9025 (patch)
treeccab7f0dadec41de59a65dd1facccb1e76f1f730 /sysutils
parentFix malformed patch (diff)
Add mkfile 1.0, create files suitable for use as swap files.
PR: 32060 Submitted by: HATANOU Tomomi <hatanou@infolab.ne.jp>
Notes
Notes: svn path=/head/; revision=55591
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/mkfile/Makefile19
-rw-r--r--sysutils/mkfile/distinfo1
-rw-r--r--sysutils/mkfile/files/patch-Makefile14
-rw-r--r--sysutils/mkfile/pkg-comment1
-rw-r--r--sysutils/mkfile/pkg-descr7
-rw-r--r--sysutils/mkfile/pkg-plist1
7 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index bc564dfd24b9..81fa39aab645 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -100,6 +100,7 @@
SUBDIR += memtest
SUBDIR += mgeupsd
SUBDIR += mixer
+ SUBDIR += mkfile
SUBDIR += mkisofs
SUBDIR += mksunbootcd
SUBDIR += monitord
diff --git a/sysutils/mkfile/Makefile b/sysutils/mkfile/Makefile
new file mode 100644
index 000000000000..725ee427f928
--- /dev/null
+++ b/sysutils/mkfile/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: mkfile
+# Date created: 18 November 2001
+# Whom: HATANOU Tomomi <hatanou@infolab.ne.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mkfile
+PORTVERSION= 1.0
+CATEGORIES= sysutils
+MASTER_SITES= http://www.infolab.ne.jp/~hatanou/freebsd/mkfile/
+DISTNAME= mkfile
+
+MAINTAINER= hatanou@infolab.ne.jp
+
+MAN8= mkfile.8
+MANCOMPRESSED= yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/mkfile/distinfo b/sysutils/mkfile/distinfo
new file mode 100644
index 000000000000..0ae1d4eda29e
--- /dev/null
+++ b/sysutils/mkfile/distinfo
@@ -0,0 +1 @@
+MD5 (mkfile.tar.gz) = 7770d43b132f35f21cec325db4840da9
diff --git a/sysutils/mkfile/files/patch-Makefile b/sysutils/mkfile/files/patch-Makefile
new file mode 100644
index 000000000000..123ddad472e0
--- /dev/null
+++ b/sysutils/mkfile/files/patch-Makefile
@@ -0,0 +1,14 @@
+$FreeBSD$
+
+--- Makefile.dist Fri Nov 16 14:50:21 2001
++++ Makefile Fri Nov 16 14:54:44 2001
+@@ -1,7 +1,8 @@
+ #
+ # @(#)Makefile 1.1 (HATANOU Tomomi) 2001/06/22
+ #
+-BINDIR?= /usr/sbin
++BINDIR= ${PREFIX}/sbin
++MANDIR= ${PREFIX}/man/man
+ PROG= mkfile
+ MAN8= mkfile.8
+
diff --git a/sysutils/mkfile/pkg-comment b/sysutils/mkfile/pkg-comment
new file mode 100644
index 000000000000..004cb0d63742
--- /dev/null
+++ b/sysutils/mkfile/pkg-comment
@@ -0,0 +1 @@
+Create files suitable for use as swap files
diff --git a/sysutils/mkfile/pkg-descr b/sysutils/mkfile/pkg-descr
new file mode 100644
index 000000000000..c0e135cada56
--- /dev/null
+++ b/sysutils/mkfile/pkg-descr
@@ -0,0 +1,7 @@
+mkfile(8) creates one or more files that are suitable for use as
+NFS-mounted swap areas, or as local swap areas. The file is padded
+with zeros by default.
+
+----
+HATANOU Tomomi
+hatanou@infolab.ne.jp
diff --git a/sysutils/mkfile/pkg-plist b/sysutils/mkfile/pkg-plist
new file mode 100644
index 000000000000..0e9c2ffa287f
--- /dev/null
+++ b/sysutils/mkfile/pkg-plist
@@ -0,0 +1 @@
+sbin/mkfile