summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-06-22 03:37:34 +0000
committerMike Frysinger <vapier@gentoo.org>2004-06-22 03:37:34 +0000
commit41f73b296c36394c90f87c54961a6ddc958870b2 (patch)
tree636b93dbe33b366b3e0667eb21d06563e16ad390 /net-nds/nis-utils
parentver bump #53319 (Manifest recommit) (diff)
downloadgentoo-2-41f73b296c36394c90f87c54961a6ddc958870b2.tar.gz
gentoo-2-41f73b296c36394c90f87c54961a6ddc958870b2.tar.bz2
gentoo-2-41f73b296c36394c90f87c54961a6ddc958870b2.zip
add init.d script #53492
Diffstat (limited to 'net-nds/nis-utils')
-rw-r--r--net-nds/nis-utils/ChangeLog8
-rw-r--r--net-nds/nis-utils/files/digest-nis-utils-1.4.1-r11
-rw-r--r--net-nds/nis-utils/files/keyserv.rc22
-rw-r--r--net-nds/nis-utils/nis-utils-1.4.1-r1.ebuild28
4 files changed, 58 insertions, 1 deletions
diff --git a/net-nds/nis-utils/ChangeLog b/net-nds/nis-utils/ChangeLog
index b3516058b62a..ec817b450bb2 100644
--- a/net-nds/nis-utils/ChangeLog
+++ b/net-nds/nis-utils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-nds/nis-utils
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/nis-utils/ChangeLog,v 1.2 2004/05/03 07:31:19 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/nis-utils/ChangeLog,v 1.3 2004/06/22 03:37:34 vapier Exp $
+
+*nis-utils-1.4.1-r1 (21 Jun 2004)
+
+ 21 Jun 2004; Mike Frysinger <vapier@gentoo.org> +files/keyserv.rc,
+ +nis-utils-1.4.1-r1.ebuild:
+ Add keyserv init.d script #53492 by Mario Liehr.
03 May 2004; David Holm <dholm@gentoo.org> nis-utils-1.4.1.ebuild:
Added to ~ppc.
diff --git a/net-nds/nis-utils/files/digest-nis-utils-1.4.1-r1 b/net-nds/nis-utils/files/digest-nis-utils-1.4.1-r1
new file mode 100644
index 000000000000..cfbf90ebc217
--- /dev/null
+++ b/net-nds/nis-utils/files/digest-nis-utils-1.4.1-r1
@@ -0,0 +1 @@
+MD5 b4b38d8b006d5ed6cb3e72ce0f354dba nis-utils-1.4.1.tar.bz2 387397
diff --git a/net-nds/nis-utils/files/keyserv.rc b/net-nds/nis-utils/files/keyserv.rc
new file mode 100644
index 000000000000..f12d76b9c2fe
--- /dev/null
+++ b/net-nds/nis-utils/files/keyserv.rc
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nds/nis-utils/files/keyserv.rc,v 1.1 2004/06/22 03:37:34 vapier Exp $
+
+depend() {
+ use logger
+ need portmap
+ before nfs nfs-mount autofs
+}
+
+start() {
+ ebegin "Starting keyserv"
+ /usr/sbin/keyserv
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping keyserv"
+ start-stop-daemon --stop --exec /usr/sbin/keyserv
+ eend $?
+}
diff --git a/net-nds/nis-utils/nis-utils-1.4.1-r1.ebuild b/net-nds/nis-utils/nis-utils-1.4.1-r1.ebuild
new file mode 100644
index 000000000000..c06e0c9918f8
--- /dev/null
+++ b/net-nds/nis-utils/nis-utils-1.4.1-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nds/nis-utils/nis-utils-1.4.1-r1.ebuild,v 1.1 2004/06/22 03:37:34 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="NIS+ utilities"
+HOMEPAGE="http://www.linux-nis.org/"
+SRC_URI="mirror://kernel/linux/utils/net/NIS+/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="nls"
+
+DEPEND="dev-libs/gmp"
+
+src_compile() {
+ econf `use_enable nls` || die "Configure failed"
+ emake || die "Make Failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "Install Failed"
+ mv ${D}/usr/etc ${D}/
+ dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS TODO
+ exeinto /etc/init.d ; newexe ${FILESDIR}/keyserv.rc keyserv
+}