summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-03-01 01:28:43 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-03-01 01:28:43 +0000
commit062a21e7055ae183b497f4ccb1003de71b6188f5 (patch)
tree4dbd9fba2d47e642bd1eac8a450c2cbe13943d45 /sysutils
parent- Update to 0.94 (diff)
- Update to 0.4.2
- Reset maintainership - I'll take care of it PR: ports/109561 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
Notes
Notes: svn path=/head/; revision=186232
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/fusefs-funionfs/Makefile21
-rw-r--r--sysutils/fusefs-funionfs/distinfo6
-rw-r--r--sysutils/fusefs-funionfs/files/patch-configure11
-rw-r--r--sysutils/fusefs-funionfs/files/patch-funionfs.h11
4 files changed, 34 insertions, 15 deletions
diff --git a/sysutils/fusefs-funionfs/Makefile b/sysutils/fusefs-funionfs/Makefile
index f18946ad285a..36ab2a7d4317 100644
--- a/sysutils/fusefs-funionfs/Makefile
+++ b/sysutils/fusefs-funionfs/Makefile
@@ -6,27 +6,24 @@
#
PORTNAME= funionfs
-PORTVERSION= 0.4.1
+PORTVERSION= 0.4.2
CATEGORIES= sysutils
MASTER_SITES= http://funionfs.apiou.org/file/
PKGNAMEPREFIX= fusefs-
-MAINTAINER= gslin@gslin.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Union filesystem for the FUSE driver
-RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
BUILD_DEPENDS= ${LOCALBASE}/include/fuse.h:${PORTSDIR}/sysutils/fusefs-libs
+RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
-PLIST_FILES= bin/funionfs
-
-do-build:
- (cd ${WRKSRC} && ${CC} ${CFLAGS} -DFUSE_USE_VERSION=25 \
- -D_FILE_OFFSET_BITS=64 -I${LOCALBASE}/include/fuse \
- -o funionfs main.c \
- -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lfuse)
+CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
+CONFIGURE_ENV= CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+GNU_CONFIGURE= yes
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/funionfs ${TARGETDIR}/bin
+MAN1= funionfs.1
+PLIST_FILES= bin/funionfs
.include <bsd.port.pre.mk>
diff --git a/sysutils/fusefs-funionfs/distinfo b/sysutils/fusefs-funionfs/distinfo
index 5e16d69960c9..a80e5250ba6b 100644
--- a/sysutils/fusefs-funionfs/distinfo
+++ b/sysutils/fusefs-funionfs/distinfo
@@ -1,3 +1,3 @@
-MD5 (funionfs-0.4.1.tar.gz) = 373b74fdf280f2dcd646e79f7ac84ca0
-SHA256 (funionfs-0.4.1.tar.gz) = 6192c14b6ab34e8dac331f93997c4ea27f4705276aab0230363a4e83536b967a
-SIZE (funionfs-0.4.1.tar.gz) = 23698
+MD5 (funionfs-0.4.2.tar.gz) = d099f05fb198625a3ed4dfe61554d7ce
+SHA256 (funionfs-0.4.2.tar.gz) = b67f50f990947034f2ed3beb7cac381f77bc05545e86f5b20a30cd665b7074f5
+SIZE (funionfs-0.4.2.tar.gz) = 853921
diff --git a/sysutils/fusefs-funionfs/files/patch-configure b/sysutils/fusefs-funionfs/files/patch-configure
new file mode 100644
index 000000000000..1c816f93c1b2
--- /dev/null
+++ b/sysutils/fusefs-funionfs/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Mon Feb 26 21:08:32 2007
++++ configure Mon Feb 26 21:08:48 2007
+@@ -19750,7 +19750,7 @@
+
+
+ # version 2.5 of fuse
+-CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=25 -DHAVE_SETXATTR"
++CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=25"
+
+ # version 2.3 or 2.4 of fuse used don't forget to modify Makefile.am to add compat/fuse_opt.c
+ #CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22 -DHAVE_SETXATTR"
diff --git a/sysutils/fusefs-funionfs/files/patch-funionfs.h b/sysutils/fusefs-funionfs/files/patch-funionfs.h
new file mode 100644
index 000000000000..e9e7491f9aef
--- /dev/null
+++ b/sysutils/fusefs-funionfs/files/patch-funionfs.h
@@ -0,0 +1,11 @@
+--- funionfs.h.orig Mon Feb 26 21:06:15 2007
++++ funionfs.h Mon Feb 26 21:06:40 2007
+@@ -2,6 +2,8 @@
+ #ifndef _FUNIONFS_H
+ #define _FUNIONFS_H
+
++#include <pthread.h>
++
+ // use the new API
+
+ #define VERSION "0.4.2"