summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-09-05 21:29:56 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-09-05 21:29:56 +0000
commitf7c3ad75d74f904ca6cddcff27cfbb9d0bbfcb0c (patch)
tree1ebf285baa1f95eb5b50991e0bf137953eebf060 /app-admin
parentA utility for graphically configuring Logical Volumes (diff)
downloadhistorical-f7c3ad75d74f904ca6cddcff27cfbb9d0bbfcb0c.tar.gz
historical-f7c3ad75d74f904ca6cddcff27cfbb9d0bbfcb0c.tar.bz2
historical-f7c3ad75d74f904ca6cddcff27cfbb9d0bbfcb0c.zip
NFS server configuration tool
Package-Manager: portage-2.1.1_rc1-r1
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/system-config-nfs/ChangeLog11
-rw-r--r--app-admin/system-config-nfs/files/1.3.19-gentooify.patch36
-rw-r--r--app-admin/system-config-nfs/files/digest-system-config-nfs-1.3.193
-rw-r--r--app-admin/system-config-nfs/metadata.xml9
-rw-r--r--app-admin/system-config-nfs/system-config-nfs-1.3.19.ebuild42
5 files changed, 101 insertions, 0 deletions
diff --git a/app-admin/system-config-nfs/ChangeLog b/app-admin/system-config-nfs/ChangeLog
new file mode 100644
index 000000000000..ddfb8b3b75da
--- /dev/null
+++ b/app-admin/system-config-nfs/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-admin/system-config-nfs
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-nfs/ChangeLog,v 1.1 2006/09/05 21:29:56 dberkholz Exp $
+
+*system-config-nfs-1.3.19 (05 Sep 2006)
+
+ 05 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+ +files/1.3.19-gentooify.patch, +metadata.xml,
+ +system-config-nfs-1.3.19.ebuild:
+ NFS server configuration tool
+
diff --git a/app-admin/system-config-nfs/files/1.3.19-gentooify.patch b/app-admin/system-config-nfs/files/1.3.19-gentooify.patch
new file mode 100644
index 000000000000..0b073e61ec80
--- /dev/null
+++ b/app-admin/system-config-nfs/files/1.3.19-gentooify.patch
@@ -0,0 +1,36 @@
+Index: src/nfsExports.py
+===================================================================
+RCS file: /usr/local/CVS/redhat-config-nfs/src/nfsExports.py,v
+retrieving revision 1.7
+diff -u -b -B -r1.7 nfsExports.py
+--- src/nfsExports.py 21 Mar 2005 16:35:46 -0000 1.7
++++ src/nfsExports.py 4 Sep 2006 17:31:17 -0000
+@@ -517,8 +517,8 @@
+ share.clients.append (client)
+
+ def startNfs (self):
+- os.system('/sbin/service portmap restart > /dev/null')
+- os.system('/sbin/service nfs start > /dev/null')
++ os.system('/etc/init.d/portmap restart > /dev/null')
++ os.system('/etc/init.d/nfs start > /dev/null')
+
+ def exportFs (self):
+ os.system('/usr/sbin/exportfs -r')
+Index: src/nfsServer.py
+===================================================================
+RCS file: /usr/local/CVS/redhat-config-nfs/src/nfsServer.py,v
+retrieving revision 1.1
+diff -u -b -B -r1.1 nfsServer.py
+--- src/nfsServer.py 13 Oct 2005 09:11:33 -0000 1.1
++++ src/nfsServer.py 4 Sep 2006 17:31:17 -0000
+@@ -43,8 +43,8 @@
+ nfsServer.instantiated = False
+
+ def startNfs (self):
+- os.system('/sbin/service portmap restart > /dev/null')
+- os.system('/sbin/service nfs restart > /dev/null')
++ os.system('/etc/init.d/portmap restart > /dev/null')
++ os.system('/etc/init.d/nfs restart > /dev/null')
+
+ def exportFs (self):
+ os.system('/usr/sbin/exportfs -r')
diff --git a/app-admin/system-config-nfs/files/digest-system-config-nfs-1.3.19 b/app-admin/system-config-nfs/files/digest-system-config-nfs-1.3.19
new file mode 100644
index 000000000000..5c6419bf0ae5
--- /dev/null
+++ b/app-admin/system-config-nfs/files/digest-system-config-nfs-1.3.19
@@ -0,0 +1,3 @@
+MD5 7471fef334f2acbf8ee646e95b0596f4 system-config-nfs-1.3.19-1.1.src.rpm 133923
+RMD160 1de98db3631a7ff89f82ecb8c09d401f4f418eeb system-config-nfs-1.3.19-1.1.src.rpm 133923
+SHA256 380c9acff9c0b1410a606842ee8e2ccde78d4af1c9c0d58d4684d67b11dc82e2 system-config-nfs-1.3.19-1.1.src.rpm 133923
diff --git a/app-admin/system-config-nfs/metadata.xml b/app-admin/system-config-nfs/metadata.xml
new file mode 100644
index 000000000000..cd89a979878d
--- /dev/null
+++ b/app-admin/system-config-nfs/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-nfs/system-config-nfs-1.3.19.ebuild b/app-admin/system-config-nfs/system-config-nfs-1.3.19.ebuild
new file mode 100644
index 000000000000..9c1a32c88109
--- /dev/null
+++ b/app-admin/system-config-nfs/system-config-nfs-1.3.19.ebuild
@@ -0,0 +1,42 @@
+# 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-nfs/system-config-nfs-1.3.19.ebuild,v 1.1 2006/09/05 21:29:56 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="NFS 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*
+ >=x11-libs/gtk+-2.6
+ dev-lang/python
+ net-fs/nfs-utils
+ sys-apps/usermode
+ dev-python/rhpl
+ 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}
+}