summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-09-05 21:36:44 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-09-05 21:36:44 +0000
commita03198b4a34f68a6c5437b5d5140b669273106a9 (patch)
tree02dc3654b75491f3f84dd581190005fc5b24793e /app-admin/system-config-samba
parentA printer administration tool (diff)
downloadgentoo-2-a03198b4a34f68a6c5437b5d5140b669273106a9.tar.gz
gentoo-2-a03198b4a34f68a6c5437b5d5140b669273106a9.tar.bz2
gentoo-2-a03198b4a34f68a6c5437b5d5140b669273106a9.zip
Samba server configuration tool
(Portage version: 2.1.1_rc1-r1)
Diffstat (limited to 'app-admin/system-config-samba')
-rw-r--r--app-admin/system-config-samba/ChangeLog11
-rw-r--r--app-admin/system-config-samba/Manifest20
-rw-r--r--app-admin/system-config-samba/files/1.2.35-gentooify.patch35
-rw-r--r--app-admin/system-config-samba/files/digest-system-config-samba-1.2.353
-rw-r--r--app-admin/system-config-samba/metadata.xml9
-rw-r--r--app-admin/system-config-samba/system-config-samba-1.2.35.ebuild40
6 files changed, 118 insertions, 0 deletions
diff --git a/app-admin/system-config-samba/ChangeLog b/app-admin/system-config-samba/ChangeLog
new file mode 100644
index 000000000000..43f2a7391d98
--- /dev/null
+++ b/app-admin/system-config-samba/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-admin/system-config-samba
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-samba/ChangeLog,v 1.1 2006/09/05 21:36:44 dberkholz Exp $
+
+*system-config-samba-1.2.35 (05 Sep 2006)
+
+ 05 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+ +files/1.2.35-gentooify.patch, +metadata.xml,
+ +system-config-samba-1.2.35.ebuild:
+ Samba server configuration tool
+
diff --git a/app-admin/system-config-samba/Manifest b/app-admin/system-config-samba/Manifest
new file mode 100644
index 000000000000..0ca6fd4ab905
--- /dev/null
+++ b/app-admin/system-config-samba/Manifest
@@ -0,0 +1,20 @@
+AUX 1.2.35-gentooify.patch 1166 RMD160 4b58e13a44d775d77e01f96219b8f0b33e9ee883 SHA1 da4ae7d070b129c0fa4df243b95debc5fba84b2b SHA256 9f27eac1b7e2319a3c3fa7df38fb5a53ef2d26fd9520a78b93a3b313a0523e0b
+MD5 2934513d7cd06898ae75168431a00eaa files/1.2.35-gentooify.patch 1166
+RMD160 4b58e13a44d775d77e01f96219b8f0b33e9ee883 files/1.2.35-gentooify.patch 1166
+SHA256 9f27eac1b7e2319a3c3fa7df38fb5a53ef2d26fd9520a78b93a3b313a0523e0b files/1.2.35-gentooify.patch 1166
+DIST system-config-samba-1.2.35-1.1.src.rpm 188958 RMD160 2f3c3fe3a2d1177194d731f35f2879aa825c4958 SHA1 cc936e966e9ee9d59a3e5485ec8633c8c1a33bf1 SHA256 b9e3e7f305917046d6e35761b60825087b997986200485cbd91ab7bb2f76bc8a
+EBUILD system-config-samba-1.2.35.ebuild 911 RMD160 f87fe90c004558dc35e2ac0c634fd36902c77e70 SHA1 1ce31e164a3881cd99512ede74a44e6c6e9ae1fe SHA256 d86bf2e2e3e4c8a911c9a25a1c61fb13e4ae25627dd634bfe4b5f2a7defbdfc7
+MD5 438152510a3843d073b53b00f05c4568 system-config-samba-1.2.35.ebuild 911
+RMD160 f87fe90c004558dc35e2ac0c634fd36902c77e70 system-config-samba-1.2.35.ebuild 911
+SHA256 d86bf2e2e3e4c8a911c9a25a1c61fb13e4ae25627dd634bfe4b5f2a7defbdfc7 system-config-samba-1.2.35.ebuild 911
+MISC ChangeLog 349 RMD160 1664651255cf8bb3c9ad7e65e968d586970c4b19 SHA1 97b3e61661c3f9847dedeea853067aec7a97fc68 SHA256 9e9b4fa3629eca4852b3369a0b0be62072021007dcfdf9570433bbf5b29f5376
+MD5 d218e985089f17ab500beedc855678c7 ChangeLog 349
+RMD160 1664651255cf8bb3c9ad7e65e968d586970c4b19 ChangeLog 349
+SHA256 9e9b4fa3629eca4852b3369a0b0be62072021007dcfdf9570433bbf5b29f5376 ChangeLog 349
+MISC metadata.xml 252 RMD160 212f61f15769b523e0fa55ed5d872d85536b4043 SHA1 5f9d6137a829b96482aacd60baf98160b49dc514 SHA256 b3aaf1e941b12ded57dea3530d59b8db42716f5e805efb6338101c135beac506
+MD5 4f7fe0eacb3ba0ef618e04831e4a7517 metadata.xml 252
+RMD160 212f61f15769b523e0fa55ed5d872d85536b4043 metadata.xml 252
+SHA256 b3aaf1e941b12ded57dea3530d59b8db42716f5e805efb6338101c135beac506 metadata.xml 252
+MD5 e77cbdea75c0e0ed78febf7ad7f84050 files/digest-system-config-samba-1.2.35 295
+RMD160 df89634e74250fff0f5cf0201cd5df681fc36b6f files/digest-system-config-samba-1.2.35 295
+SHA256 652f5f979a3c267147140de9469f21c64cd7e258a27068c2ed23e2b6971ccfad files/digest-system-config-samba-1.2.35 295
diff --git a/app-admin/system-config-samba/files/1.2.35-gentooify.patch b/app-admin/system-config-samba/files/1.2.35-gentooify.patch
new file mode 100644
index 000000000000..2efbae1063c1
--- /dev/null
+++ b/app-admin/system-config-samba/files/1.2.35-gentooify.patch
@@ -0,0 +1,35 @@
+Index: src/sambaBackend.py
+===================================================================
+RCS file: /usr/local/CVS/redhat-config-samba/src/sambaBackend.py,v
+retrieving revision 1.14
+diff -u -b -B -r1.14 sambaBackend.py
+--- src/sambaBackend.py 4 Mar 2004 23:55:01 -0000 1.14
++++ src/sambaBackend.py 4 Sep 2006 17:34:12 -0000
+@@ -31,7 +31,7 @@
+ class SambaBackend:
+
+ def isSmbRunning(self):
+- fd = os.popen('LC_MESSAGES=C /etc/init.d/smb status')
++ fd = os.popen('LC_MESSAGES=C /etc/init.d/samba status')
+ lines = fd.readlines()
+ fd.close()
+
+@@ -43,14 +43,14 @@
+ return 1
+
+ def startSamba(self):
+- path = '/sbin/service'
+- args = ['/sbin/service', 'smb', 'start']
++ path = '/etc/init.d/samba'
++ args = ['/etc/init.d/samba', 'start']
+
+- fd = os.popen('/sbin/service smb start')
++ fd = os.popen('/etc/init.d/samba start')
+ lines = fd.readlines()
+ fd.close()
+
+ def restartSamba(self):
+- fd = os.popen('/sbin/service smb restart')
++ fd = os.popen('/etc/init.d/samba restart')
+ lines = fd.readlines()
+ fd.close()
diff --git a/app-admin/system-config-samba/files/digest-system-config-samba-1.2.35 b/app-admin/system-config-samba/files/digest-system-config-samba-1.2.35
new file mode 100644
index 000000000000..2d635aa89c7f
--- /dev/null
+++ b/app-admin/system-config-samba/files/digest-system-config-samba-1.2.35
@@ -0,0 +1,3 @@
+MD5 f6e3ef440867372d87a20d8d8b23dc4a system-config-samba-1.2.35-1.1.src.rpm 188958
+RMD160 2f3c3fe3a2d1177194d731f35f2879aa825c4958 system-config-samba-1.2.35-1.1.src.rpm 188958
+SHA256 b9e3e7f305917046d6e35761b60825087b997986200485cbd91ab7bb2f76bc8a system-config-samba-1.2.35-1.1.src.rpm 188958
diff --git a/app-admin/system-config-samba/metadata.xml b/app-admin/system-config-samba/metadata.xml
new file mode 100644
index 000000000000..cd89a979878d
--- /dev/null
+++ b/app-admin/system-config-samba/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>dberkholz@gentoo.org</email>
+<name>Donnie Berkholz</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-admin/system-config-samba/system-config-samba-1.2.35.ebuild b/app-admin/system-config-samba/system-config-samba-1.2.35.ebuild
new file mode 100644
index 000000000000..319d095260f5
--- /dev/null
+++ b/app-admin/system-config-samba/system-config-samba-1.2.35.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-samba/system-config-samba-1.2.35.ebuild,v 1.1 2006/09/05 21:36:44 dberkholz Exp $
+
+inherit eutils rpm
+
+# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source
+# tarball out of it
+RPMREV="1.1"
+
+DESCRIPTION="Samba server configuration tool"
+HOMEPAGE="http://fedora.redhat.com/projects/config-tools/"
+SRC_URI="mirror://fedora/development/source/SRPMS/${P}-${RPMREV}.src.rpm"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+RDEPEND="=dev-python/pygtk-2*
+ dev-lang/python
+ sys-apps/usermode
+ net-fs/samba
+ www-client/htmlview
+ x11-themes/hicolor-icon-theme"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ dev-util/intltool"
+
+src_unpack() {
+ rpm_src_unpack
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}-gentooify.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ make_desktop_entry /usr/bin/${PN}
+
+ fperms 644 /etc/pam.d/${PN}
+}