pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/filesystems/fuse-gmailfs Initial import of fuse-gmailf...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f8f403a50a35
branches: trunk
changeset: 528470:f8f403a50a35
user: agc <agc%pkgsrc.org@localhost>
date: Fri May 04 22:55:10 2007 +0000
description:
Initial import of fuse-gmailfs-0.7.2 into the Packages Collection.
GmailFS is a virtual filesystem developed by Richard Jones which
allows users to mount and use their Gmail email account's storage as a
local disk drive.
This works as far as logging in and responding properly to a df command,
but python interpreter usage seems far too high. Committed in this state
so that others can work on it.
diffstat:
filesystems/fuse-gmailfs/DESCR | 3 ++
filesystems/fuse-gmailfs/Makefile | 40 +++++++++++++++++++++++++++++++
filesystems/fuse-gmailfs/PLIST | 5 +++
filesystems/fuse-gmailfs/distinfo | 7 +++++
filesystems/fuse-gmailfs/patches/patch-aa | 13 ++++++++++
filesystems/fuse-gmailfs/patches/patch-ab | 13 ++++++++++
6 files changed, 81 insertions(+), 0 deletions(-)
diffs (105 lines):
diff -r 6cec625e751f -r f8f403a50a35 filesystems/fuse-gmailfs/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-gmailfs/DESCR Fri May 04 22:55:10 2007 +0000
@@ -0,0 +1,3 @@
+GmailFS is a virtual filesystem developed by Richard Jones which
+allows users to mount and use their Gmail email account's storage as a
+local disk drive.
diff -r 6cec625e751f -r f8f403a50a35 filesystems/fuse-gmailfs/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-gmailfs/Makefile Fri May 04 22:55:10 2007 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/05/04 22:55:10 agc Exp $
+#
+
+DISTNAME= gmailfs-0.7.2
+PKGNAME= fuse-${DISTNAME}
+CATEGORIES= filesystems
+MASTER_SITES= http://richard.jones.name/google-hacks/gmail-filesystem/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html
+COMMENT= FUSE filesystem which uses Google mail for free space
+
+NO_BUILD= yes
+PYTHON_VERSIONS_ACCEPTED= 24
+PYTHON_PATCH_SCRIPTS= gmailfs.py mount.gmailfs
+
+CONF_FILES= ${PREFIX}/share/examples/gmailfs/gmailfs.conf \
+ ${PKG_SYSCONFDIR}/gmailfs.conf
+
+SUBST_CLASSES+= config
+SUBST_STAGE.config= post-patch
+SUBST_FILES.config= gmailfs.py mount.gmailfs
+SUBST_SED.config= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
+SUBST_SED.config+= -e "s|@PREFIX@|${PREFIX}|g"
+SUBST_SED.config+= -e "s|@PYSITELIB@|${PREFIX}/${PYSITELIB}|g"
+SUBST_MESSAGE.config= Fixing paths.
+
+PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/gmailfs.py ${PREFIX}/${PYSITELIB}/
+ ${INSTALL_SCRIPT} ${WRKSRC}/mount.gmailfs ${PREFIX}/sbin/mount_gmailfs
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gmailfs
+ ${INSTALL_DATA} ${WRKSRC}/gmailfs.conf ${PREFIX}/share/examples/gmailfs/
+
+.include "../../filesystems/py-fuse-bindings/buildlink3.mk"
+
+.include "../../lang/python/application.mk"
+.include "../../mk/fuse.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6cec625e751f -r f8f403a50a35 filesystems/fuse-gmailfs/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-gmailfs/PLIST Fri May 04 22:55:10 2007 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/04 22:55:10 agc Exp $
+${PYSITELIB}/gmailfs.py
+sbin/mount_gmailfs
+share/examples/gmailfs/gmailfs.conf
+@dirrm share/examples/gmailfs
diff -r 6cec625e751f -r f8f403a50a35 filesystems/fuse-gmailfs/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-gmailfs/distinfo Fri May 04 22:55:10 2007 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/05/04 22:55:10 agc Exp $
+
+SHA1 (gmailfs-0.7.2.tar.gz) = 30190dd7f06dade00d60194059b53651c010e28b
+RMD160 (gmailfs-0.7.2.tar.gz) = fa3932ac6e9ae47c92a160e3968769114ca627a4
+Size (gmailfs-0.7.2.tar.gz) = 21941 bytes
+SHA1 (patch-aa) = 9f8b12304982390c9a087fe5472d98838c6999a4
+SHA1 (patch-ab) = db4c9a39dccdc51bee9de7783a400c0963e33ceb
diff -r 6cec625e751f -r f8f403a50a35 filesystems/fuse-gmailfs/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-gmailfs/patches/patch-aa Fri May 04 22:55:10 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/05/04 22:55:10 agc Exp $
+
+--- gmailfs.py 2007/04/24 11:37:20 1.1
++++ gmailfs.py 2007/04/24 11:37:57
+@@ -1120,7 +1120,7 @@
+ defaultLoggingHandler = logging.StreamHandler(sys.stdout)
+ _addLoggingHandlerHelper(defaultLoggingHandler)
+
+-GmailConfig("/etc/gmailfs.conf")
++GmailConfig("@PKG_SYSCONFDIR@/gmailfs.conf")
+ try:
+ libgmail.ConfigLogs(log)
+ except:
diff -r 6cec625e751f -r f8f403a50a35 filesystems/fuse-gmailfs/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-gmailfs/patches/patch-ab Fri May 04 22:55:10 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/05/04 22:55:10 agc Exp $
+
+--- mount.gmailfs 2007/04/24 11:38:56 1.1
++++ mount.gmailfs 2007/04/24 11:40:07
+@@ -15,7 +15,7 @@
+
+ import sys, os, os.path, time, optparse, getpass, re, tempfile, signal
+
+-DEFAULT_GMAILFS_LOCATION = '/usr/share/gmailfs/gmailfs.py'
++DEFAULT_GMAILFS_LOCATION = '@PYSITELIB@/gmailfs.py'
+ # delay (in seconds) after which we consider gmailfs could not mount, and
+ # we abort.
+ GMAILFS_MOUNTING_MAX_DELAY = 12
Home |
Main Index |
Thread Index |
Old Index