old smbnetfs version removed.
This commit is contained in:
parent
6f54557e2c
commit
58ee62b01a
|
@ -1,4 +0,0 @@
|
||||||
AUX smbnetfs-0.5.3-0001-configure.in-allow-user-to-explicitly-enable-disable.patch 1621 RMD160 54363a670143d272a826855b126f65a331442fed SHA1 eff857afaab917a0d1e3bccfc900a4b3a067b559 SHA256 a3e9828460f0aec992640d274eec6d739ac569c3455c789e2a92ba3262928136
|
|
||||||
AUX smbnetfs-reconfigure_file_modes.patch 471 RMD160 3b2b1e7f04625ce175ca6439241adf2be5ad5a83 SHA1 5d7628e8303969335fc5600ebcb6682ccb8a5677 SHA256 ce225f4bcdeae325f9aed7b0a58e17df433593ba2c4bb71a8dc18e978268c59e
|
|
||||||
DIST smbnetfs-0.5.3.tar.bz2 135469 RMD160 5f3979e5f1b80d2a73e22050866d96fbc2e3b793 SHA1 d9717228c8b540470a180c693e229a6c59662cfb SHA256 e61d5acb2f489ce52505cb5c04724ba82f8fd3674ba185b2b0c9d7bb9cde5253
|
|
||||||
EBUILD smbnetfs-0.5.3-r99.ebuild 1128 RMD160 06e10dcfa1d7779dc171a060fa9fe7ee445dfb46 SHA1 364355fe69254154a4a386f0825195290c5723dd SHA256 6e31016d811f6b0c7bab9a31099b5481b0b211e3f319c5a45a4ad8e085596e60
|
|
|
@ -1,47 +0,0 @@
|
||||||
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
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- a/src/reconfigure.c 2012-03-01 17:38:19.382944425 +0400
|
|
||||||
+++ b/src/reconfigure.c 2012-03-01 17:36:12.865014080 +0400
|
|
||||||
@@ -592,7 +592,7 @@
|
|
||||||
|
|
||||||
ok_permission = 0;
|
|
||||||
if (fstat(fileno(file), &st) == 0)
|
|
||||||
- ok_permission = ((st.st_uid == getuid()) && ((st.st_mode & 0177) == 0));
|
|
||||||
+ ok_permission = (/*(st.st_uid == getuid()) && */((st.st_mode & 0117) == 0));
|
|
||||||
else DPRINTF(3, "Stat file %s error : %s\n", filename, strerror(errno));
|
|
||||||
|
|
||||||
fscanf(file, "%[\n]", s);
|
|
|
@ -1,46 +0,0 @@
|
||||||
# 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-reconfigure_file_modes.patch"
|
|
||||||
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
|
|
||||||
}
|
|
Loading…
Reference in New Issue