pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/filesystems/fuse-afpfs-ng Initial import of afpfs-ng, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8237501c398f
branches:  trunk
changeset: 530800:8237501c398f
user:      agc <agc%pkgsrc.org@localhost>
date:      Mon Jul 09 19:03:22 2007 +0000

description:
Initial import of afpfs-ng, version 0.4.1 into the Packages Collection.

        afpfs-ng is an Apple Filing Protocol client that will allow a Linux
        system to see files exported from a Mac OS system with AFP over TCP.

With thanks to Jared for the nudge.

diffstat:

 filesystems/fuse-afpfs-ng/DESCR            |   2 +
 filesystems/fuse-afpfs-ng/Makefile         |  26 +++++++++++++++
 filesystems/fuse-afpfs-ng/PLIST            |   3 +
 filesystems/fuse-afpfs-ng/distinfo         |  13 +++++++
 filesystems/fuse-afpfs-ng/patches/patch-aa |  14 ++++++++
 filesystems/fuse-afpfs-ng/patches/patch-ab |  14 ++++++++
 filesystems/fuse-afpfs-ng/patches/patch-ac |  14 ++++++++
 filesystems/fuse-afpfs-ng/patches/patch-ad |  14 ++++++++
 filesystems/fuse-afpfs-ng/patches/patch-ae |  51 ++++++++++++++++++++++++++++++
 filesystems/fuse-afpfs-ng/patches/patch-af |  17 ++++++++++
 filesystems/fuse-afpfs-ng/patches/patch-ag |  13 +++++++
 filesystems/fuse-afpfs-ng/patches/patch-ah |  10 +++++
 12 files changed, 191 insertions(+), 0 deletions(-)

diffs (239 lines):

diff -r 056a13faea05 -r 8237501c398f filesystems/fuse-afpfs-ng/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-afpfs-ng/DESCR   Mon Jul 09 19:03:22 2007 +0000
@@ -0,0 +1,2 @@
+afpfs-ng is an Apple Filing Protocol client that will allow a Linux
+system to see files exported from a Mac OS system with AFP over TCP.
diff -r 056a13faea05 -r 8237501c398f filesystems/fuse-afpfs-ng/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-afpfs-ng/Makefile        Mon Jul 09 19:03:22 2007 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/07/09 19:03:22 agc Exp $
+#
+
+DISTNAME=      afpfs-ng-0.4.1
+PKGNAME=       fuse-${DISTNAME}
+CATEGORIES=    filesystems
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=afpfs-ng/}
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://sourceforge.net/projects/afpfs-ng
+COMMENT=       FUSE filesystem for network mounting using AFP
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    gmake
+USE_LANGUAGES+=        c c++
+
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../security/libgpg-error/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+
+.include "../../mk/fuse.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 056a13faea05 -r 8237501c398f filesystems/fuse-afpfs-ng/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-afpfs-ng/PLIST   Mon Jul 09 19:03:22 2007 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/07/09 19:03:22 agc Exp $
+bin/afp_client
+bin/afpfsd
diff -r 056a13faea05 -r 8237501c398f filesystems/fuse-afpfs-ng/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-afpfs-ng/distinfo        Mon Jul 09 19:03:22 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/07/09 19:03:22 agc Exp $
+
+SHA1 (afpfs-ng-0.4.1.tar.bz2) = e813aac7b1f7008361c5bd2e1c5e39f3f553f21a
+RMD160 (afpfs-ng-0.4.1.tar.bz2) = 9e4482bf13d319f31bdd7460f6afa5aa95c6fc2c
+Size (afpfs-ng-0.4.1.tar.bz2) = 226349 bytes
+SHA1 (patch-aa) = 0fdb8cd797cf12a4cbec4664372dc54ec0dc65a3
+SHA1 (patch-ab) = 5becc7816a6fb12ff4491f893075a6b6ab487faf
+SHA1 (patch-ac) = 7ad8df6d1890399313c03971624530161c45590a
+SHA1 (patch-ad) = 94b17a236d47cd0b31f1bfd34d0197391555cfc6
+SHA1 (patch-ae) = d2b711db7dd65465c93e8fdc3d0d31b674672be4
+SHA1 (patch-af) = 19f6c5e5665bce3db1104ee04d1e5bb6e51f74d1
+SHA1 (patch-ag) = 2a1cbd0a6a6b323b5f140d4c238d7421b1ecae49
+SHA1 (patch-ah) = 51b24087031441344e9cdda766c582490bfa100b
diff -r 056a13faea05 -r 8237501c398f filesystems/fuse-afpfs-ng/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-afpfs-ng/patches/patch-aa        Mon Jul 09 19:03:22 2007 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/07/09 19:03:22 agc Exp $
+
+--- commands.c 2007/07/09 17:42:19     1.1
++++ commands.c 2007/07/09 17:43:06
+@@ -6,7 +6,9 @@
+  */
+ 
+ #include <fuse.h>
++#ifdef __linux__
+ #include <fuse/fuse_opt.h>
++#endif
+ #include <stdio.h>
+ #include <string.h>
+ #include <errno.h>
diff -r 056a13faea05 -r 8237501c398f filesystems/fuse-afpfs-ng/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-afpfs-ng/patches/patch-ab        Mon Jul 09 19:03:22 2007 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/07/09 19:03:22 agc Exp $
+
+--- daemon.c   2007/07/09 18:25:27     1.1
++++ daemon.c   2007/07/09 18:26:36
+@@ -6,7 +6,9 @@
+  */
+ 
+ #include <fuse.h>
++#ifdef __linux__
+ #include <fuse/fuse_opt.h>
++#endif
+ #include <stdio.h>
+ #include <string.h>
+ #include <errno.h>
diff -r 056a13faea05 -r 8237501c398f filesystems/fuse-afpfs-ng/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-afpfs-ng/patches/patch-ac        Mon Jul 09 19:03:22 2007 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1.1.1 2007/07/09 19:03:22 agc Exp $
+
+--- meta.c     2007/07/09 18:25:27     1.1
++++ meta.c     2007/07/09 18:26:36
+@@ -9,7 +9,9 @@
+ */
+ 
+ #include <fuse.h>
++#ifdef __linux__
+ #include <fuse/fuse_opt.h>
++#endif
+ #include <stdio.h>
+ #include <string.h>
+ #include <errno.h>
diff -r 056a13faea05 -r 8237501c398f filesystems/fuse-afpfs-ng/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-afpfs-ng/patches/patch-ad        Mon Jul 09 19:03:22 2007 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1.1.1 2007/07/09 19:03:22 agc Exp $
+
+--- volinfo.c  2007/07/09 18:25:27     1.1
++++ volinfo.c  2007/07/09 18:26:36
+@@ -10,7 +10,9 @@
+ */
+ 
+ #include <fuse.h>
++#ifdef __linux__
+ #include <fuse/fuse_opt.h>
++#endif
+ #include <stdio.h>
+ #include <string.h>
+ #include <errno.h>
diff -r 056a13faea05 -r 8237501c398f filesystems/fuse-afpfs-ng/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-afpfs-ng/patches/patch-ae        Mon Jul 09 19:03:22 2007 +0000
@@ -0,0 +1,51 @@
+$NetBSD: patch-ae,v 1.1.1.1 2007/07/09 19:03:22 agc Exp $
+
+--- fuse_int.c 2007/07/09 18:28:21     1.1
++++ fuse_int.c 2007/07/09 18:35:16
+@@ -21,7 +21,11 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <errno.h>
++#ifdef __linux__
+ #include <asm/fcntl.h>
++#else
++#include <fcntl.h>
++#endif
+ 
+ #include <utime.h>
+ #include <stdlib.h>
+@@ -270,8 +274,13 @@
+               fp.unixprivs.uid,&stbuf->st_uid,
+               fp.unixprivs.gid,&stbuf->st_gid)) return -EIO;
+ 
++#ifdef __linux__
+       stbuf->st_ctim.tv_sec=fp.creation_date;
+       stbuf->st_mtim.tv_sec=fp.modification_date;
++#else
++      stbuf->st_ctime=fp.creation_date;
++      stbuf->st_mtime=fp.modification_date;
++#endif
+ 
+       if (resource==AFP_RESOURCE_TYPE_PARENT2) {
+               stbuf->st_mode |= S_IFDIR;
+@@ -890,7 +899,10 @@
+               } 
+       }
+ 
+-      if ((fi->flags & O_LARGEFILE) && 
++      if (
++#ifdef __linux__
++              (fi->flags & O_LARGEFILE) &&
++#endif
+               (volume->server->using_version->av_number<30)) {
+               switch(get_directory_entry(volume,fp->basename,dirid,
+                       kFPParentDirIDBit|kFPNodeIDBit|
+@@ -2039,7 +2051,7 @@
+ {
+       global_volume=vol;
+ 
+-#if FUSE_VERSION < 26
++#if FUSE_USE_VERSION < 26
+       return fuse_main(fuseargc, fuseargv, &afp_oper);
+ #else
+       return fuse_main(fuseargc, fuseargv, &afp_oper,(void *) vol);
diff -r 056a13faea05 -r 8237501c398f filesystems/fuse-afpfs-ng/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-afpfs-ng/patches/patch-af        Mon Jul 09 19:03:22 2007 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-af,v 1.1.1.1 2007/07/09 19:03:22 agc Exp $
+
+--- resource.c 2007/07/09 18:36:19     1.1
++++ resource.c 2007/07/09 18:37:11
+@@ -1,7 +1,12 @@
+ 
+ #include <strings.h>
+ #include <string.h>
++#ifdef __linux__
+ #include <linux/limits.h>
++#else
++#include <sys/types.h>
++#include <sys/param.h>
++#endif
+ #include "afp.h"
+ 
+ #define appledouble ".AppleDouble"
diff -r 056a13faea05 -r 8237501c398f filesystems/fuse-afpfs-ng/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-afpfs-ng/patches/patch-ag        Mon Jul 09 19:03:22 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1.1.1 2007/07/09 19:03:22 agc Exp $
+
+--- Makefile.in        2007/07/09 18:46:36     1.1
++++ Makefile.in        2007/07/09 18:48:15
+@@ -139,7 +139,7 @@
+ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@
+ LIBOBJS = @LIBOBJS@
+ LIBS = @LIBS@
+-LIBTOOL = @LIBTOOL@
++LIBTOOL = libtool
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
diff -r 056a13faea05 -r 8237501c398f filesystems/fuse-afpfs-ng/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-afpfs-ng/patches/patch-ah        Mon Jul 09 19:03:22 2007 +0000
@@ -0,0 +1,10 @@
+$NetBSD: patch-ah,v 1.1.1.1 2007/07/09 19:03:22 agc Exp $
+
+--- client.c   2007/07/09 18:56:20     1.1
++++ client.c   2007/07/09 18:56:45
+@@ -1,4 +1,5 @@
+ #include <sys/types.h>
++#include <sys/param.h>
+ #include <sys/socket.h>
+ #include <sys/stat.h>
+ #include <strings.h>



Home | Main Index | Thread Index | Old Index