diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2010-09-02 18:37:38 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2010-09-02 18:37:38 +0000 |
commit | 631984b4b853e241df74715bafac4732948e870b (patch) | |
tree | a2a7de9f05b8c723894ba4017198f2d45b4143f3 /net-fs | |
parent | Version bump (by Agostino "ago" Sarubbo from Freenode). (diff) | |
download | gentoo-2-631984b4b853e241df74715bafac4732948e870b.tar.gz gentoo-2-631984b4b853e241df74715bafac4732948e870b.tar.bz2 gentoo-2-631984b4b853e241df74715bafac4732948e870b.zip |
Version bump.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/smbnetfs/ChangeLog | 10 | ||||
-rw-r--r-- | net-fs/smbnetfs/files/smbnetfs-0.5.3-0001-configure.in-allow-user-to-explicitly-enable-disable.patch | 47 | ||||
-rw-r--r-- | net-fs/smbnetfs/metadata.xml | 3 | ||||
-rw-r--r-- | net-fs/smbnetfs/smbnetfs-0.5.3.ebuild | 45 |
4 files changed, 104 insertions, 1 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/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 +} |