summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2010-09-02 18:37:38 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2010-09-02 18:37:38 +0000
commit272ba97e76b7426328a90546c2e06b2c9a18c544 (patch)
treec9c29ae2f121003ca1511c2ba1d85254f6209c2e /net-fs/smbnetfs
parentVersion bump (by Agostino "ago" Sarubbo from Freenode). (diff)
downloadhistorical-272ba97e76b7426328a90546c2e06b2c9a18c544.tar.gz
historical-272ba97e76b7426328a90546c2e06b2c9a18c544.tar.bz2
historical-272ba97e76b7426328a90546c2e06b2c9a18c544.zip
Version bump.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'net-fs/smbnetfs')
-rw-r--r--net-fs/smbnetfs/ChangeLog10
-rw-r--r--net-fs/smbnetfs/Manifest7
-rw-r--r--net-fs/smbnetfs/files/smbnetfs-0.5.3-0001-configure.in-allow-user-to-explicitly-enable-disable.patch47
-rw-r--r--net-fs/smbnetfs/metadata.xml3
-rw-r--r--net-fs/smbnetfs/smbnetfs-0.5.3.ebuild45
5 files changed, 109 insertions, 3 deletions
diff --git a/net-fs/smbnetfs/ChangeLog b/net-fs/smbnetfs/ChangeLog
index ee1ebe57882a..301be0ecd01b 100644
--- a/net-fs/smbnetfs/ChangeLog
+++ b/net-fs/smbnetfs/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-fs/smbnetfs
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/smbnetfs/ChangeLog,v 1.1 2010/06/26 09:44:57 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/smbnetfs/ChangeLog,v 1.2 2010/09/02 18:37:38 slyfox Exp $
+
+*smbnetfs-0.5.3 (02 Sep 2010)
+
+ 02 Sep 2010; Sergei Trofimovich <slyfox@gentoo.org>
+ +smbnetfs-0.5.3.ebuild,
+ +files/smbnetfs-0.5.3-0001-configure.in-allow-user-to-explicitly-enable-di
+ sable.patch, metadata.xml:
+ Version bump. Added USE=gnome flag for integration with gnome-keyring.
*smbnetfs-0.5.2 (26 Jun 2010)
diff --git a/net-fs/smbnetfs/Manifest b/net-fs/smbnetfs/Manifest
index 1fea6258e0bf..a8126d9c591e 100644
--- a/net-fs/smbnetfs/Manifest
+++ b/net-fs/smbnetfs/Manifest
@@ -1,4 +1,7 @@
+AUX smbnetfs-0.5.3-0001-configure.in-allow-user-to-explicitly-enable-disable.patch 1621 RMD160 54363a670143d272a826855b126f65a331442fed SHA1 eff857afaab917a0d1e3bccfc900a4b3a067b559 SHA256 a3e9828460f0aec992640d274eec6d739ac569c3455c789e2a92ba3262928136
DIST smbnetfs-0.5.2.tar.bz2 127822 RMD160 ab5d7578cba48469bc5a53c4de1246060b0cc252 SHA1 7fb1a4463c3dd59d9ecda3e8f959447cf4031a88 SHA256 8233e3e76a53f9b5b7a07b4964faaea842b2259d4c61ebc2db038bbb229cfee5
+DIST smbnetfs-0.5.3.tar.bz2 135469 RMD160 5f3979e5f1b80d2a73e22050866d96fbc2e3b793 SHA1 d9717228c8b540470a180c693e229a6c59662cfb SHA256 e61d5acb2f489ce52505cb5c04724ba82f8fd3674ba185b2b0c9d7bb9cde5253
EBUILD smbnetfs-0.5.2.ebuild 781 RMD160 ebd47e86db0a3d07095c4b50c42fc3370349820c SHA1 190b37d400a31f85309861b7a1e89489e02be1b1 SHA256 7cab8c34c82844b50ab6ec7a027d4452fde47f7a2145756e0ef3059622ea1f10
-MISC ChangeLog 746 RMD160 06dc6472430cc883ff97c57172b07d57c4fdb124 SHA1 6e88a70a0de3960a7f262ae5414517db3b54453e SHA256 f4a256edac964debb434a821d4291dace0fa2350fec7add3d2e90b8146ab95d9
-MISC metadata.xml 1153 RMD160 aec4a02cb6ca164fcf81ac11da5f8013ca04eb4d SHA1 5b344b7754f9e31cb1000ab699951b09e3a1331d SHA256 656ecd890960b692e9e607bf9772fb05d314e415acf05dfe3e1e955b13a033b9
+EBUILD smbnetfs-0.5.3.ebuild 1068 RMD160 34e5d95b36bc36e1cea4241dbf0492e7848626c4 SHA1 63b82db83be3c94da3837cfd468ec83f825a2545 SHA256 92dfa892ee59f803354d9ae0ec105f3a102604be805ec8d93e38a3df3c86eee5
+MISC ChangeLog 1037 RMD160 88b53fd1c7025a1c54218172e6ecce2028600044 SHA1 664f8725c07fdd56f344b75cf803bc0e82b91187 SHA256 2c471af3c309b1a27b5aaca51c5c842be0cf3dd3cc1cb82ee8194771c192d935
+MISC metadata.xml 1265 RMD160 8d0241f2bc2492179a65d5b1360f05bf355509ee SHA1 afc8c2594a6daa5d251c2ac15dc9478a406a2024 SHA256 91a0f52667e12e388d84f3e41088010b02edb1207ee76e551f760b2bbcfd1866
diff --git a/net-fs/smbnetfs/files/smbnetfs-0.5.3-0001-configure.in-allow-user-to-explicitly-enable-disable.patch b/net-fs/smbnetfs/files/smbnetfs-0.5.3-0001-configure.in-allow-user-to-explicitly-enable-disable.patch
new file mode 100644
index 000000000000..cc28fa26bdf3
--- /dev/null
+++ b/net-fs/smbnetfs/files/smbnetfs-0.5.3-0001-configure.in-allow-user-to-explicitly-enable-disable.patch
@@ -0,0 +1,47 @@
+From ec83a6c130bdfc869d28f9bce8ce100167861266 Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich <slyfox@gentoo.org>
+Date: Sat, 28 Aug 2010 15:10:43 +0300
+Subject: [PATCH] configure.in: allow user to explicitly enable/disable gnome-keyring support
+
+Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
+---
+ configure.in | 22 +++++++++++++++++-----
+ 1 files changed, 17 insertions(+), 5 deletions(-)
+
+diff --git a/configure.in b/configure.in
+index 4738bb6..8dab68e 100644
+--- a/configure.in
++++ b/configure.in
+@@ -87,12 +87,24 @@ CFLAGS="$CFLAGS -D_REENTRANT -D_GNU_SOURCE -DFUSE_USE_VERSION=26 $FUSE_CFLAGS"
+ dnl *******************************
+ dnl *** Tests for gnome-keyring ***
+ dnl *******************************
+-PKG_CHECK_MODULES(GNOME_KEYRING, [gnome-keyring-1 >= 2.28],
+- [AC_DEFINE([HAVE_GNOME_KEYRING], [],
+- [use gnome-keyring as password storage])])
+-LIBS="$LIBS $GNOME_KEYRING_LIBS"
+-CFLAGS="$CFLAGS $GNOME_KEYRING_CFLAGS"
+
++AC_ARG_WITH(gnome-keyring,
++ [AS_HELP_STRING(--with-gnome-keyring=@<:@no/yes@:>@,
++ use gnome-keyring as password storage @<:@default=auto@:>@)],
++ ,
++ [with_gnome_keyring=maybe])
++
++if test x"$with_gnome_keyring" != xno; then
++ PKG_CHECK_MODULES(GNOME_KEYRING, [gnome-keyring-1 >= 2.28],
++ [AC_DEFINE([HAVE_GNOME_KEYRING], [],
++ [use gnome-keyring as password storage])],
++ [# mandatory depend
++ if test x"$with_gnome_keyring" = xyes; then
++ AC_MSG_ERROR([unable to find usable gnome-keyring])
++ fi])
++ LIBS="$LIBS $GNOME_KEYRING_LIBS"
++ CFLAGS="$CFLAGS $GNOME_KEYRING_CFLAGS"
++fi
+
+ dnl ******************************
+ dnl *** Tests for libsmbclient ***
+--
+1.7.1
+
diff --git a/net-fs/smbnetfs/metadata.xml b/net-fs/smbnetfs/metadata.xml
index 36c67f4091ff..e96561597e37 100644
--- a/net-fs/smbnetfs/metadata.xml
+++ b/net-fs/smbnetfs/metadata.xml
@@ -25,4 +25,7 @@
- the program is multithreaded, so simultaneous access to a file/share
is possible
</longdescription>
+ <use>
+ <flag name="gnome">Use the <pkg>gnome-base/gnome-keyring</pkg> for password management.</flag>
+ </use>
</pkgmetadata>
diff --git a/net-fs/smbnetfs/smbnetfs-0.5.3.ebuild b/net-fs/smbnetfs/smbnetfs-0.5.3.ebuild
new file mode 100644
index 000000000000..c9bc28227096
--- /dev/null
+++ b/net-fs/smbnetfs/smbnetfs-0.5.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/smbnetfs/smbnetfs-0.5.3.ebuild,v 1.1 2010/09/02 18:37:38 slyfox Exp $
+
+EAPI=2
+inherit eutils autotools
+
+DESCRIPTION="FUSE filesystem for SMB shares"
+HOMEPAGE="http://sourceforge.net/projects/smbnetfs"
+SRC_URI="mirror://sourceforge/smbnetfs/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="gnome"
+
+RDEPEND=">=sys-fs/fuse-2.3
+ >=net-fs/samba-3.2[smbclient]
+ gnome? ( gnome-base/gnome-keyring )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/make"
+
+src_prepare() {
+ epatch "${FILESDIR}/smbnetfs-0.5.3-0001-configure.in-allow-user-to-explicitly-enable-disable.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_with gnome gnome-keyring) || die "econf failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "make install failed"
+ dodoc AUTHORS ChangeLog
+}
+
+pkg_postinst() {
+ elog
+ elog "For quick usage, exec:"
+ elog "'modprobe fuse'"
+ elog "'smbnetfs -oallow_other /mnt/samba'"
+ elog
+}