diff options
author | manu <manu@pkgsrc.org> | 2011-07-19 07:51:08 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2011-07-19 07:51:08 +0000 |
commit | 3f325966dfb925f490ada6f1341c1770d1ba5adf (patch) | |
tree | a02a026ff9654a8ac31ead8a03300414d4a3da9b /filesystems/perfuse | |
parent | 001cdd2f20a0f621d7a628a0f4435c543b9f8c95 (diff) | |
download | pkgsrc-3f325966dfb925f490ada6f1341c1770d1ba5adf.tar.gz |
Update perfuse to fix a race condition between ftruncate() and write()
on glusterfs. This caused random file chunks to be filled with zeros.
Diffstat (limited to 'filesystems/perfuse')
-rw-r--r-- | filesystems/perfuse/Makefile | 6 | ||||
-rw-r--r-- | filesystems/perfuse/distinfo | 10 | ||||
-rw-r--r-- | filesystems/perfuse/patches/patch-aa | 18 |
3 files changed, 15 insertions, 19 deletions
diff --git a/filesystems/perfuse/Makefile b/filesystems/perfuse/Makefile index 99f57b9f3ba..fd78faeced5 100644 --- a/filesystems/perfuse/Makefile +++ b/filesystems/perfuse/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.20 2011/06/28 16:25:14 manu Exp $ +# $NetBSD: Makefile,v 1.21 2011/07/19 07:51:08 manu Exp $ # -DISTNAME= perfuse-20110628 -#PKGREVISION= 1 +DISTNAME= perfuse-20110719 CATEGORIES= filesystems MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/perfuse/ EXTRACT_SUFX= .tgz @@ -17,6 +16,7 @@ WRKSRC= ${WRKDIR}/src/ BUILD_DIRS= lib/libperfuse usr.sbin/perfused BUILDLINK_TRANSFORM= rm:-Werror CFLAGS+= -D_PATH_PERFUSED=\"${PREFIX}/sbin/perfused\" +CFLAGS+= -DPERFUSE_DEBUG -g INSTALLATION_DIRS= include lib sbin diff --git a/filesystems/perfuse/distinfo b/filesystems/perfuse/distinfo index be26d41d8d0..cc19728e44d 100644 --- a/filesystems/perfuse/distinfo +++ b/filesystems/perfuse/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.20 2011/07/10 16:15:56 wiz Exp $ +$NetBSD: distinfo,v 1.21 2011/07/19 07:51:08 manu Exp $ -SHA1 (perfuse-20110628.tgz) = b6cc63b76ead0286d570657ee22bc06047c3abee -RMD160 (perfuse-20110628.tgz) = 8e3984085af85a8fc46c68bfab78d2879272551d -Size (perfuse-20110628.tgz) = 38760 bytes -SHA1 (patch-aa) = d7a4c5c3881c7858f7cc3d2f0c67492d79a9905d +SHA1 (perfuse-20110719.tgz) = 5f0772a9cb07d8699ca7d9538a6958d2194b286d +RMD160 (perfuse-20110719.tgz) = 95933626985c2ea6ec231931fab1517657056c58 +Size (perfuse-20110719.tgz) = 39290 bytes +SHA1 (patch-aa) = 76e8dba75518ec7e1a5f02d15b2c4ce5c7e61d80 diff --git a/filesystems/perfuse/patches/patch-aa b/filesystems/perfuse/patches/patch-aa index 25766eb2f88..e8ac5ac1a3c 100644 --- a/filesystems/perfuse/patches/patch-aa +++ b/filesystems/perfuse/patches/patch-aa @@ -1,16 +1,12 @@ -$NetBSD: patch-aa,v 1.6 2011/07/10 16:15:56 wiz Exp $ ---- lib/libperfuse/Makefile.orig 2011-06-28 16:19:16.000000000 +0000 -+++ lib/libperfuse/Makefile -@@ -2,5 +2,5 @@ - +$NetBSD: patch-aa,v 1.7 2011/07/19 07:51:08 manu Exp $ +--- lib/libperfuse/Makefile.orig 2011-06-28 22:28:48.000000000 +0200 ++++ lib/libperfuse/Makefile 2011-07-19 09:15:03.000000000 +0200 +@@ -3,3 +3,3 @@ LIB= perfuse --LIBDPLIBS+= puffs /usr/src/lib/libpuffs -+#LIBDPLIBS+= puffs /usr/src/lib/libpuffs +-LIBDPLIBS+= puffs ${.CURDIR}/../libpuffs ++#LIBDPLIBS+= puffs ${.CURDIR}/../libpuffs - PERFUSE_OPT_DEBUG_FLAGS= -g -DPERFUSE_DEBUG -@@ -11,4 +11,5 @@ CFLAGS+= ${PERFUSE_OPT_DEBUG_FLAG - CPPFLAGS+= -I${.CURDIR} +@@ -12,2 +12,3 @@ CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libpuffs +LDADD+= -lpuffs SRCS= perfuse.c ops.c subr.c debug.c - MAN= libperfuse.3 |