summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2012-05-20 11:54:23 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2012-05-20 11:54:23 +0000
commit9415f8a5ae5fd21b567c6cc63d1b995b280f912f (patch)
tree420169f3361381dadff08006c1627bedfdd13570 /gnome-extra/nautilus-share
parentStable for amd64, wrt bug #416223 (diff)
downloadhistorical-9415f8a5ae5fd21b567c6cc63d1b995b280f912f.tar.gz
historical-9415f8a5ae5fd21b567c6cc63d1b995b280f912f.tar.bz2
historical-9415f8a5ae5fd21b567c6cc63d1b995b280f912f.zip
Add gnome-extra/nautilus-share, bug 93400. Thanks to sabayon overlay and commenters on that bug
Package-Manager: portage-2.1.10.59/cvs/Linux x86_64
Diffstat (limited to 'gnome-extra/nautilus-share')
-rw-r--r--gnome-extra/nautilus-share/ChangeLog11
-rw-r--r--gnome-extra/nautilus-share/Manifest19
-rw-r--r--gnome-extra/nautilus-share/metadata.xml8
-rw-r--r--gnome-extra/nautilus-share/nautilus-share-0.7.3.ebuild67
4 files changed, 105 insertions, 0 deletions
diff --git a/gnome-extra/nautilus-share/ChangeLog b/gnome-extra/nautilus-share/ChangeLog
new file mode 100644
index 000000000000..a7374b8c950f
--- /dev/null
+++ b/gnome-extra/nautilus-share/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for gnome-extra/nautilus-share
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-share/ChangeLog,v 1.1 2012/05/20 11:54:23 maksbotan Exp $
+
+*nautilus-share-0.7.3 (20 May 2012)
+
+ 20 May 2012; Maxim Koltsov <maksbotan@gentoo.org> +metadata.xml,
+ +nautilus-share-0.7.3.ebuild:
+ Add gnome-extra/nautilus-share, bug 93400. Thanks to sabayon overlay and
+ commenters on that bug
+
diff --git a/gnome-extra/nautilus-share/Manifest b/gnome-extra/nautilus-share/Manifest
new file mode 100644
index 000000000000..aa7d0995b34a
--- /dev/null
+++ b/gnome-extra/nautilus-share/Manifest
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST nautilus-share_0.7.3-1.debian.tar.gz 9462 RMD160 583caa7ce7d2aac12c464c598be0e2bf55140868 SHA1 fc79926b1061f631bc1a4a9317583a08f627f148 SHA256 691a6de3eb91475182850a0bd668cd5d01882fb4ae59921bb90f3e92344ed0cb
+DIST nautilus-share_0.7.3.orig.tar.bz2 319216 RMD160 f8aa53231a574bfa6f224ce9b26e23c1b09c121c SHA1 27faae3820cdb24132798a6698bc779cc4715dad SHA256 5df9316bfbcda562b238b217d441dd5b08282d693cd205c53944d40fe89cf875
+EBUILD nautilus-share-0.7.3.ebuild 2191 RMD160 9eaca350d49915be6ef37314cddf65b506425a0c SHA1 8a48b3bd03eb20d5a204cd2a04efd0ce46c5fd24 SHA256 d7200f5f5856f27005b222846bbe0f2030ba1d6641e5ba074dae7485aa4d31d2
+MISC ChangeLog 465 RMD160 db0bfd8e42dedc0ed9f158182992630cc5658428 SHA1 ef281f2996454f325038262ff15dd3fdecfcec82 SHA256 cbea71b8ad41d7adb982c1540354631271bfb4c58f50a3503ed3e14be3a250fe
+MISC metadata.xml 231 RMD160 8139ea67e01d44aa8f7bad7efbce2b38491ea0d4 SHA1 018056c85feb52a8004c04bfaa910be97d991636 SHA256 4e5ecd8a6a366d31e2380f97c3690a855a3e48bd7b5d46a0a34d81cca20d2cd0
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBAgAGBQJPuNuMAAoJEAmJmMX429reznMH/jR4YmaH1bcQ7Mqa2Qi5UUYo
+KlpEgs888IVk2Y1m6lix1iH3+FJry5MG9wZqUJn+Pn8Jb6l7W/Eo+H9BgzH4Md1G
+KW6UYkf6uoL9en4DswtjzVRY0M5neGtL4PPEWbYr53E+Z9CqFBKPLbapJoMKcwDM
+GxQeUqI1qa3pbZNgq+z91rf8aUKVoofgYUXHPjNj6jwdlDsmpOX6OCCkARweUnfo
+enVOmu/G8T/jqbW02I7yr7O2kdYHJVmUlJLWb3nDrRzfmonkxV0BT5YzbNZt8m5R
+VEXLqM3uFTTs5V5GT/rskk9/QXSfoOiHoDQp+tzfIIB6ZRpghiQbnD6pcFdoYhA=
+=Yp8D
+-----END PGP SIGNATURE-----
diff --git a/gnome-extra/nautilus-share/metadata.xml b/gnome-extra/nautilus-share/metadata.xml
new file mode 100644
index 000000000000..d0aaaaf05732
--- /dev/null
+++ b/gnome-extra/nautilus-share/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>maksbotan@gentoo.org</email>
+ <name>Maxim Koltsov</name>
+</maintainer>
+</pkgmetadata>
diff --git a/gnome-extra/nautilus-share/nautilus-share-0.7.3.ebuild b/gnome-extra/nautilus-share/nautilus-share-0.7.3.ebuild
new file mode 100644
index 000000000000..f55cef4e5f64
--- /dev/null
+++ b/gnome-extra/nautilus-share/nautilus-share-0.7.3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-share/nautilus-share-0.7.3.ebuild,v 1.1 2012/05/20 11:54:23 maksbotan Exp $
+
+EAPI=4
+
+inherit gnome2 eutils
+
+DESCRIPTION="A nautilus plugin to easily share folders over the SMB protocol"
+HOMEPAGE="http://gentoo.ovibes.net/nautilus-share http://packages.debian.org/unstable/nautilus-share"
+SRC_URI="mirror://debian/pool/main/n/${PN}/${PN}_${PV}.orig.tar.bz2
+ mirror://debian/pool/main/n/${PN}/${PN}_${PV}-1.debian.tar.gz"
+
+IUSE=""
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="gnome-base/nautilus
+ dev-libs/glib"
+RDEPEND="${DEPEND}
+ net-fs/samba"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+USERSHARES_DIR="/var/lib/samba/usershare"
+USERSHARES_GROUP="samba"
+
+src_prepare() {
+ epatch "${WORKDIR}"/debian/patches/15_user-acl.patch
+}
+
+src_install() {
+ gnome2_src_install
+ keepdir ${USERSHARES_DIR}
+}
+
+pkg_postinst() {
+ enewgroup ${USERSHARES_GROUP}
+ einfo "Fixing ownership and permissions on ${EROOT}${USERSHARES_DIR}..."
+ chown root:${USERSHARES_GROUP} "${EROOT}"${USERSHARES_DIR}
+ chmod 01770 "${EROOT}"${USERSHARES_DIR}
+
+ einfo "To get nautilus-share working, add the lines"
+ einfo
+ einfo " # Allow users in group \"${USERSHARES_GROUP}\" to share"
+ einfo " # directories with the \"net usershare\" commands"
+ einfo " usershare path = \"${EROOT}${USERSHARES_DIR}\""
+ einfo " # Set a maximum of 100 user-defined shares in total"
+ einfo " usershare max shares = 100"
+ einfo " # Allow users to permit guest access"
+ einfo " usershare allow guests = yes"
+ einfo " # Only allow users to share directories they own"
+ einfo " usershare owner only = yes"
+ einfo
+ einfo "to the end of the [global] section in /etc/samba/smb.conf."
+ einfo
+ einfo "Users who are to be allowed to use nautilus-share should be added"
+ einfo "to the \"${USERSHARES_GROUP}\" group:"
+ einfo
+ einfo "# gpasswd -a USER ${USERSHARES_GROUP}"
+ einfo
+ einfo "Users may need to log out and in again for the group assignment to"
+ einfo "take effect and to restart Nautilus."
+ einfo
+ einfo "For more information, see USERSHARE in net(8)."
+}