Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -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.

View File

@@ -0,0 +1,45 @@
# $NetBSD: Makefile,v 1.7 2012/10/03 16:08:31 asau Exp $
#
DISTNAME= gmailfs-0.7.2
PKGREVISION= 3
PKGNAME= fuse-${DISTNAME}
CATEGORIES= filesystems
MASTER_SITES= http://richard.jones.name/google-hacks/gmail-filesystem/
MAINTAINER= pkgsrc-users@NetBSD.org
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_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}
INSTALLATION_DIRS= sbin ${PYSITELIB}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gmailfs.py \
${DESTDIR}${PREFIX}/${PYSITELIB}/
${INSTALL_SCRIPT} ${WRKSRC}/mount.gmailfs \
${DESTDIR}${PREFIX}/sbin/mount_gmailfs
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/gmailfs
${INSTALL_DATA} ${WRKSRC}/gmailfs.conf \
${DESTDIR}${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"

View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:51:59 joerg Exp $
${PYSITELIB}/gmailfs.py
sbin/mount_gmailfs
share/examples/gmailfs/gmailfs.conf

View File

@@ -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

View File

@@ -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:

View File

@@ -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