aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/fusefs-gunzip
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2008-07-05 19:39:42 +0800
committeredwin <edwin@FreeBSD.org>2008-07-05 19:39:42 +0800
commitd1af1b36408208834324041ec260955e55c00980 (patch)
tree7c8431a88be318a2de934cefd14e4d12b56df620 /sysutils/fusefs-gunzip
parentbd0f68c9bf2d1a16920f59050b5eec205286edde (diff)
downloadfreebsd-ports-graphics-d1af1b36408208834324041ec260955e55c00980.tar.gz
freebsd-ports-graphics-d1af1b36408208834324041ec260955e55c00980.tar.zst
freebsd-ports-graphics-d1af1b36408208834324041ec260955e55c00980.zip
[NEW PORT] sysutils/fusefs-gunzip
PR: ports/124625 Submitted by: Evgeny Zhirnov <jirnov@gmail.com>
Diffstat (limited to 'sysutils/fusefs-gunzip')
-rw-r--r--sysutils/fusefs-gunzip/Makefile41
-rw-r--r--sysutils/fusefs-gunzip/distinfo3
-rw-r--r--sysutils/fusefs-gunzip/files/patch-fuse.gunzip.c12
-rw-r--r--sysutils/fusefs-gunzip/pkg-descr7
4 files changed, 63 insertions, 0 deletions
diff --git a/sysutils/fusefs-gunzip/Makefile b/sysutils/fusefs-gunzip/Makefile
new file mode 100644
index 00000000000..55c83fba472
--- /dev/null
+++ b/sysutils/fusefs-gunzip/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: fusefs-gunzip
+# Date created: 2008-06-16
+# Whom: Evgeny Zhirnov <jirnov@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fuse.gunzip
+PORTVERSION= 20070320
+CATEGORIES= sysutils
+MASTER_SITES= http://fuse.gunzip.silverice.org/files/
+
+MAINTAINER= jirnov@gmail.com
+COMMENT= Fuse.gunzip provides transparent decompression of gzip compressed files
+
+BUILD_DEPENDS= ${LOCALBASE}/include/fuse.h:${PORTSDIR}/sysutils/fusefs-libs
+RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
+
+WRKSRC= ${WRKDIR}/fuse.gunzip
+
+PLIST_FILES= bin/fuse.gunzip
+
+NO_INSTALL_MANPAGES= yes
+
+do-build:
+ (cd ${WRKSRC} && \
+ ${CC} ${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/fuse \
+ -D_FILE_OFFSET_BITS=64 \
+ -o fuse.gunzip fuse.gunzip.c -L${LOCALBASE}/lib ${PTHREAD_LIBS} \
+ -lulockmgr -lz -lfuse -liconv -lm)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/fuse.gunzip ${PREFIX}/bin
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600000 # Inherited from fusefs-kmod
+IGNORE= requires FreeBSD 6.x or above
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/fusefs-gunzip/distinfo b/sysutils/fusefs-gunzip/distinfo
new file mode 100644
index 00000000000..d4d562f9e05
--- /dev/null
+++ b/sysutils/fusefs-gunzip/distinfo
@@ -0,0 +1,3 @@
+MD5 (fuse.gunzip-20070320.tar.gz) = ac08b1716285701042cb72936b3f7ec0
+SHA256 (fuse.gunzip-20070320.tar.gz) = f7111805898ddd059da9b59002447ba44e94d77707d3d398579ce754d2cd23c2
+SIZE (fuse.gunzip-20070320.tar.gz) = 16002
diff --git a/sysutils/fusefs-gunzip/files/patch-fuse.gunzip.c b/sysutils/fusefs-gunzip/files/patch-fuse.gunzip.c
new file mode 100644
index 00000000000..3d5be3af8b5
--- /dev/null
+++ b/sysutils/fusefs-gunzip/files/patch-fuse.gunzip.c
@@ -0,0 +1,12 @@
+--- fuse.gunzip.c.orig 2007-03-21 01:19:26.000000000 +0300
++++ fuse.gunzip.c 2008-06-16 01:46:43.000000000 +0400
+@@ -38,9 +38,6 @@
+ #include <config.h>
+ */
+
+-#define HAVE_SETXATTR 1
+-#define HAVE_FDATASYNC 1
+-
+ #define _GNU_SOURCE
+
+ #include <fuse.h>
diff --git a/sysutils/fusefs-gunzip/pkg-descr b/sysutils/fusefs-gunzip/pkg-descr
new file mode 100644
index 00000000000..95196b74c54
--- /dev/null
+++ b/sysutils/fusefs-gunzip/pkg-descr
@@ -0,0 +1,7 @@
+fuse.gunzip provides transparent decompression of gzip compressed files.
+Files read as if they were not compressed.
+Typical usage is to provide transparent decompression for /usr
+However, it can be enabled for /opt and /home also.
+System administrators select which files to compress.
+
+WWW: http://fuse.gunzip.silverice.org/