summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2003-01-28 20:22:01 +0000
committerNick Hadaway <raker@gentoo.org>2003-01-28 20:22:01 +0000
commit33f4c568a165b56886c538d88b490ebcdb03363c (patch)
tree96177df45a293f5793b8c918cd93901dbfef303d /net-nds/ypserv
parentVersion bump! (diff)
downloadhistorical-33f4c568a165b56886c538d88b490ebcdb03363c.tar.gz
historical-33f4c568a165b56886c538d88b490ebcdb03363c.tar.bz2
historical-33f4c568a165b56886c538d88b490ebcdb03363c.zip
put in some logic so /var/yp/Makefile doesn't get overwritten on
upgrades.
Diffstat (limited to 'net-nds/ypserv')
-rw-r--r--net-nds/ypserv/ChangeLog9
-rw-r--r--net-nds/ypserv/files/digest-ypserv-2.5-r11
-rw-r--r--net-nds/ypserv/ypserv-2.5-r1.ebuild50
3 files changed, 59 insertions, 1 deletions
diff --git a/net-nds/ypserv/ChangeLog b/net-nds/ypserv/ChangeLog
index 35a5c70cc58e..dafb8de13658 100644
--- a/net-nds/ypserv/ChangeLog
+++ b/net-nds/ypserv/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-nds/ypserv
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ChangeLog,v 1.6 2002/12/13 11:00:17 blizzy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ChangeLog,v 1.7 2003/01/28 20:22:01 raker Exp $
+
+*ypserv-2.5-r1 (28 Jan 2003)
+
+ 28 Jan 2003; Nick Hadaway <raker@gentoo.org> ypserv-2.5-r1.ebuild,
+ files/digest-ypserv-2.5-r1 :
+ Put in some logic so /var/yp/Makefile doesn't get overwritten on
+ upgrades.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/net-nds/ypserv/files/digest-ypserv-2.5-r1 b/net-nds/ypserv/files/digest-ypserv-2.5-r1
new file mode 100644
index 000000000000..c4fe9efbd871
--- /dev/null
+++ b/net-nds/ypserv/files/digest-ypserv-2.5-r1
@@ -0,0 +1 @@
+MD5 40832a68d66b154f25b774b59b715eba ypserv-2.5.tar.gz 209416
diff --git a/net-nds/ypserv/ypserv-2.5-r1.ebuild b/net-nds/ypserv/ypserv-2.5-r1.ebuild
new file mode 100644
index 000000000000..450450d3c53e
--- /dev/null
+++ b/net-nds/ypserv/ypserv-2.5-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.5-r1.ebuild,v 1.1 2003/01/28 20:22:01 raker Exp $
+
+IUSE=""
+
+S=${WORKDIR}/${P}
+DESCRIPTION="NIS SERVER"
+SRC_URI="ftp://ftp.de.kernel.org/pub/linux/utils/net/NIS/${P}.tar.gz
+ ftp://ftp.uk.kernel.org/pub/linux/utils/net/NIS/${P}.tar.gz
+ ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${P}.tar.gz"
+HOMEPAGE="http://www.linux-nis.org/nis/"
+
+SLOT="1"
+LICENSE="GPL-2"
+KEYWORDS="x86 sparc "
+
+DEPEND=">=sys-libs/gdbm-1.8.0"
+
+src_compile() {
+ econf --enable-yppasswd || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install
+
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO
+
+ insinto /etc ; doins etc/ypserv.conf etc/locale etc/netgroup etc/netmasks etc/timezone
+
+ insinto /var/yp ; doins etc/securenets
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/ypserv.rc6 ypserv
+ # Save the old config into the new package as CONFIG_PROTECT
+ # doesn't work for this package.
+ if [ -f ${ROOT}/var/yp/Makefile ]; then
+ mv ${D}/var/yp/Makefile ${D}/var/yp/Makefile.dist
+ cp ${ROOT}/var/yp/Makefile ${D}/var/yp/Makefile
+ einfo "As you have a previous /var/yp/Makefile, I have added"
+ einfo "this file into the new package and installed the new"
+ einfo "file as /var/yp/Makefile.dist"
+ fi
+}
+
+pkg_postinst() {
+ einfo "ypserv does not longer have support for tcp_wrappers. You need to"
+ einfo "use /var/yp/securenets to allow/deny queries from other hosts."
+}