summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mate-extra')
-rw-r--r--mate-extra/mate-file-manager-share/ChangeLog11
-rw-r--r--mate-extra/mate-file-manager-share/Manifest18
-rw-r--r--mate-extra/mate-file-manager-share/mate-file-manager-share-1.6.0.ebuild88
-rw-r--r--mate-extra/mate-file-manager-share/metadata.xml8
4 files changed, 125 insertions, 0 deletions
diff --git a/mate-extra/mate-file-manager-share/ChangeLog b/mate-extra/mate-file-manager-share/ChangeLog
new file mode 100644
index 000000000000..5d621cdf1621
--- /dev/null
+++ b/mate-extra/mate-file-manager-share/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for mate-extra/mate-file-manager-share
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mate-extra/mate-file-manager-share/ChangeLog,v 1.1 2014/03/17 23:11:45 tomwij Exp $
+
+*mate-file-manager-share-1.6.0 (17 Mar 2014)
+
+ 17 Mar 2014; Tom Wijsman <TomWij@gentoo.org>
+ +mate-file-manager-share-1.6.0.ebuild, +metadata.xml:
+ New ebuild for mate-extra/mate-file-manager-share, a Caja plugin to easily
+ share folders over the SMB protocol; imported from the mate-overlay, reviewed
+ and adjusted.
diff --git a/mate-extra/mate-file-manager-share/Manifest b/mate-extra/mate-file-manager-share/Manifest
new file mode 100644
index 000000000000..05f910830018
--- /dev/null
+++ b/mate-extra/mate-file-manager-share/Manifest
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST mate-file-manager-share-1.6.0.tar.xz 68428 SHA256 8855d0713f2d89ac888f5636cbb7eae8aebae33a9732ba9adf6bf0514ffc2090 SHA512 e291242474bf1cd7e419c8b3cfb43a07c761dc1fb7df8af9524fdcb0d48fedd956351fc27900e30814969fdcbe708e9ec1c0255ec38cdf35152f9aa6f2dd25f6 WHIRLPOOL 4c3c4d8a70ae836946b947628adf5b8dd6a90185ee24749e28bf5855972ac07615e47081d06ee9dc535a5130c1c555b434ac83faf1524c62c0fa04e9713cd36e
+EBUILD mate-file-manager-share-1.6.0.ebuild 2570 SHA256 1d1e3f70251a87b63efcdd0798b302833637be703af4e0771a461617e4575cc4 SHA512 f3e25952ce33d014f8149ff36744be8a567185a7efab77dbd6f589646dfdf2e520d2150b52418b0103282921ab101dceb1cb83143869fe601c9a41f8f49eaad3 WHIRLPOOL 6a051d0e97d19b5c5aa70431a374a2a53273a6f6e207025af313c2cefd30039ab0daf89d9279018dd1278a51cb49025d70f6a5dc14677d9768bda2548bcd5c5b
+MISC ChangeLog 563 SHA256 dd7dd9a03a6a9dfba9afa38d1758284e61d6a8bf7c3b5368d51f82d23f7ff634 SHA512 7d978000eda3ae21791a84e448c63726fee856d95298ff136c9804ef584e1f22e334bb1d38c62827d7327c9071c6b99673ce0794703b368f7e50c2c28c1abe62 WHIRLPOOL 6769730e4186f2e81e2bc1d1266b14a6e56859410230ffdb69d27f09d613f6923eec1a098b62d094a064035af56b57c1104267911f438c3e300200eed6de15c3
+MISC metadata.xml 230 SHA256 c188c403bd41d5dfe348e4809c2350a5a2fca98d46f8adae83a36d89af439ecd SHA512 17d13ca08cb96bf73a2c821019fd00677f17579c54b5543c1653c9f6106d7c52ad14b4a7ff72000ab7f59b7031e4471756b96864ca2fedef2e3a047fa0eb71eb WHIRLPOOL 39073c2fd817e3c41775408adf7271656a744ccd967e74770c673506c8c78cd11356b0cd28eeb16fe7350e8708141ad25037c45066263f2ed1b85d5270743986
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQEcBAEBCAAGBQJTJ4EwAAoJEJWyH81tNOV9aZoH/2/jFaubGqZ//PdD5jKt925x
+9iCFjVzHFfP98YavDCQP6jRWdeqqsjDDsioV38ZyR7Z/dD3nuFMm/TzWlAoMfYr3
+UWwy1+RbwlCqRsetMsZTMQPP4PXGuiaDCH9+lZg5hzKn6cfS7P9WMU2ZjJjED6Cm
+2AkZg0MC/3lME1kG6lRQOSmKHpSjNIRY7t+T80kI1hfOyXkHMSbRd/U8xGIM3ImQ
+SbJTdUgeg6i1SsstatLy68ksNIulkYgxpc8BVMoNkE5vlSAZyKzQQzsLtF0zCcyb
+G+YyaJ9bVmWq38iLMzGeNj7OpUoZIPlgl1nAk+zvGfv7A5lTqV8hM4LQaVgBzZA=
+=jref
+-----END PGP SIGNATURE-----
diff --git a/mate-extra/mate-file-manager-share/mate-file-manager-share-1.6.0.ebuild b/mate-extra/mate-file-manager-share/mate-file-manager-share-1.6.0.ebuild
new file mode 100644
index 000000000000..707dfcbdbec0
--- /dev/null
+++ b/mate-extra/mate-file-manager-share/mate-file-manager-share-1.6.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mate-extra/mate-file-manager-share/mate-file-manager-share-1.6.0.ebuild,v 1.1 2014/03/17 23:11:45 tomwij Exp $
+
+EAPI="5"
+
+GNOME2_LA_PUNT="yes"
+GCONF_DEBUG="no"
+
+inherit autotools gnome2 eutils user versionator
+
+MATE_BRANCH="$(get_version_component_range 1-2)"
+
+SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz"
+DESCRIPTION="A Caja plugin to easily share folders over the SMB protocol"
+HOMEPAGE="http://mate-desktop.org"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64"
+
+COMMON_DEPEND=">=dev-libs/glib-2.4:2
+ >=mate-base/mate-file-manager-1.6:0
+ x11-libs/gtk+:2
+ virtual/libintl:0"
+
+RDEPEND="${COMMON_DEPEND}
+ net-fs/samba:0"
+
+DEPEND="${COMMON_DEPEND}
+ sys-devel/gettext:*
+ >=dev-util/intltool-0.29:*
+ virtual/pkgconfig:*"
+
+USERSHARES_DIR="/var/lib/samba/usershare"
+USERSHARES_GROUP="samba"
+
+src_prepare() {
+ # Tarball has no proper build system, should be fixed on next release.
+ eautoreconf
+
+ # Remove obsolete files to make test run
+ rm src/caja-share.c src/caja-share.h || die
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure --disable-static
+}
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+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 mate-file-manager-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)."
+}
diff --git a/mate-extra/mate-file-manager-share/metadata.xml b/mate-extra/mate-file-manager-share/metadata.xml
new file mode 100644
index 000000000000..dca1781cb290
--- /dev/null
+++ b/mate-extra/mate-file-manager-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>TomWij@gentoo.org</email>
+ <name>Tom Wijsman</name>
+ </maintainer>
+</pkgmetadata>