summaryrefslogtreecommitdiffstats
path: root/usr.bin/mkuzip/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2004-09-10 20:17:31 +0000
committersobomax <sobomax@FreeBSD.org>2004-09-10 20:17:31 +0000
commitf2928840042d7396fe941cd329a110a95816949f (patch)
treef13413f1c9f339e67e28928b830266c6ea67997b /usr.bin/mkuzip/Makefile
parentf966a20c22916a9d5ea2a6538d1c1331ff5fd67f (diff)
downloadFreeBSD-src-f2928840042d7396fe941cd329a110a95816949f.zip
FreeBSD-src-f2928840042d7396fe941cd329a110a95816949f.tar.gz
Add mkuzip(8), non-GPL utility to compress filesystem images for use with
geom_uzip module. This is based on utility I wrote some 3 years ago for a hack for md(4), which functionally was close to what geom_uzip does today. Since I don't have a time to test that it compiles/works on other arches, stick it to i386 only. Will do it later. Unlike original cloop util, this one embedds FreeBSD-compatible shell code into the generated image, not Linux one. Unfortunately severe space restriction imposed by the CLOOP format doesn't allow to put conditional code which will work both on Linux and FreeBSD. In fact it was quite a challenge to fit necessary FreeBSD code into 127 bytes. ;-)
Diffstat (limited to 'usr.bin/mkuzip/Makefile')
-rw-r--r--usr.bin/mkuzip/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.bin/mkuzip/Makefile b/usr.bin/mkuzip/Makefile
new file mode 100644
index 0000000..7d1c92a
--- /dev/null
+++ b/usr.bin/mkuzip/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+PROG= mkuzip
+MAN1=
+
+DPADD= ${LIBZ}
+LDADD= -lz
+
+WARNS= 4
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud