From e42fa7c116b3190e025771571b483efb8032dc24 Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 9 Jul 2007 19:03:22 +0000 Subject: 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. --- 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(+) create mode 100644 filesystems/fuse-afpfs-ng/DESCR create mode 100644 filesystems/fuse-afpfs-ng/Makefile create mode 100644 filesystems/fuse-afpfs-ng/PLIST create mode 100644 filesystems/fuse-afpfs-ng/distinfo create mode 100644 filesystems/fuse-afpfs-ng/patches/patch-aa create mode 100644 filesystems/fuse-afpfs-ng/patches/patch-ab create mode 100644 filesystems/fuse-afpfs-ng/patches/patch-ac create mode 100644 filesystems/fuse-afpfs-ng/patches/patch-ad create mode 100644 filesystems/fuse-afpfs-ng/patches/patch-ae create mode 100644 filesystems/fuse-afpfs-ng/patches/patch-af create mode 100644 filesystems/fuse-afpfs-ng/patches/patch-ag create mode 100644 filesystems/fuse-afpfs-ng/patches/patch-ah (limited to 'filesystems/fuse-afpfs-ng') diff --git a/filesystems/fuse-afpfs-ng/DESCR b/filesystems/fuse-afpfs-ng/DESCR new file mode 100644 index 00000000000..8ee84d660d2 --- /dev/null +++ b/filesystems/fuse-afpfs-ng/DESCR @@ -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 --git a/filesystems/fuse-afpfs-ng/Makefile b/filesystems/fuse-afpfs-ng/Makefile new file mode 100644 index 00000000000..da73ef37a30 --- /dev/null +++ b/filesystems/fuse-afpfs-ng/Makefile @@ -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 +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 --git a/filesystems/fuse-afpfs-ng/PLIST b/filesystems/fuse-afpfs-ng/PLIST new file mode 100644 index 00000000000..2e799daa934 --- /dev/null +++ b/filesystems/fuse-afpfs-ng/PLIST @@ -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 --git a/filesystems/fuse-afpfs-ng/distinfo b/filesystems/fuse-afpfs-ng/distinfo new file mode 100644 index 00000000000..45a8bd123ea --- /dev/null +++ b/filesystems/fuse-afpfs-ng/distinfo @@ -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 --git a/filesystems/fuse-afpfs-ng/patches/patch-aa b/filesystems/fuse-afpfs-ng/patches/patch-aa new file mode 100644 index 00000000000..5eb86559227 --- /dev/null +++ b/filesystems/fuse-afpfs-ng/patches/patch-aa @@ -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 ++#ifdef __linux__ + #include ++#endif + #include + #include + #include diff --git a/filesystems/fuse-afpfs-ng/patches/patch-ab b/filesystems/fuse-afpfs-ng/patches/patch-ab new file mode 100644 index 00000000000..3ab3be3f614 --- /dev/null +++ b/filesystems/fuse-afpfs-ng/patches/patch-ab @@ -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 ++#ifdef __linux__ + #include ++#endif + #include + #include + #include diff --git a/filesystems/fuse-afpfs-ng/patches/patch-ac b/filesystems/fuse-afpfs-ng/patches/patch-ac new file mode 100644 index 00000000000..2bc21cf1341 --- /dev/null +++ b/filesystems/fuse-afpfs-ng/patches/patch-ac @@ -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 ++#ifdef __linux__ + #include ++#endif + #include + #include + #include diff --git a/filesystems/fuse-afpfs-ng/patches/patch-ad b/filesystems/fuse-afpfs-ng/patches/patch-ad new file mode 100644 index 00000000000..1b0a321013a --- /dev/null +++ b/filesystems/fuse-afpfs-ng/patches/patch-ad @@ -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 ++#ifdef __linux__ + #include ++#endif + #include + #include + #include diff --git a/filesystems/fuse-afpfs-ng/patches/patch-ae b/filesystems/fuse-afpfs-ng/patches/patch-ae new file mode 100644 index 00000000000..27bd86972fe --- /dev/null +++ b/filesystems/fuse-afpfs-ng/patches/patch-ae @@ -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 + #include + #include ++#ifdef __linux__ + #include ++#else ++#include ++#endif + + #include + #include +@@ -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 --git a/filesystems/fuse-afpfs-ng/patches/patch-af b/filesystems/fuse-afpfs-ng/patches/patch-af new file mode 100644 index 00000000000..e3e453e4dbe --- /dev/null +++ b/filesystems/fuse-afpfs-ng/patches/patch-af @@ -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 + #include ++#ifdef __linux__ + #include ++#else ++#include ++#include ++#endif + #include "afp.h" + + #define appledouble ".AppleDouble" diff --git a/filesystems/fuse-afpfs-ng/patches/patch-ag b/filesystems/fuse-afpfs-ng/patches/patch-ag new file mode 100644 index 00000000000..796bdf4e50e --- /dev/null +++ b/filesystems/fuse-afpfs-ng/patches/patch-ag @@ -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 --git a/filesystems/fuse-afpfs-ng/patches/patch-ah b/filesystems/fuse-afpfs-ng/patches/patch-ah new file mode 100644 index 00000000000..b304bc4a9c0 --- /dev/null +++ b/filesystems/fuse-afpfs-ng/patches/patch-ah @@ -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 ++#include + #include + #include + #include -- cgit v1.2.3