From a6fcef4120aa8c65ecc94b10708469664e016f48 Mon Sep 17 00:00:00 2001 From: Seemant Kulleen Date: Sun, 14 Apr 2002 03:28:33 +0000 Subject: version bump and sandbox violation fix --- net-nds/ypserv/ChangeLog | 9 +++- net-nds/ypserv/files/digest-ypserv-1.3.12 | 1 + net-nds/ypserv/ypserv-1.3.12.ebuild | 76 +++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 net-nds/ypserv/files/digest-ypserv-1.3.12 create mode 100644 net-nds/ypserv/ypserv-1.3.12.ebuild (limited to 'net-nds/ypserv') diff --git a/net-nds/ypserv/ChangeLog b/net-nds/ypserv/ChangeLog index 2cc5ac3ec11f..f38a7c9ce71d 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.1 2002/02/01 21:53:36 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ChangeLog,v 1.2 2002/04/14 03:28:33 seemant Exp $ + +*ypserv-1.3.12 (13 Apr 2002) + + 13 Apr 2002; Seemant Kulleen ypserv-1.3.12.ebuild : + + Version bump, and sandbox violation fix as reported in bug #1648 by + terjekv@math.uio.no (Terje Kvernes) *ypserv-1.3.9-r6 (1 Feb 2002) diff --git a/net-nds/ypserv/files/digest-ypserv-1.3.12 b/net-nds/ypserv/files/digest-ypserv-1.3.12 new file mode 100644 index 000000000000..75c58eb0e69b --- /dev/null +++ b/net-nds/ypserv/files/digest-ypserv-1.3.12 @@ -0,0 +1 @@ +MD5 182385ce28fd35fe537cb8eb3f4d692a ypserv-1.3.12.tar.gz 195478 diff --git a/net-nds/ypserv/ypserv-1.3.12.ebuild b/net-nds/ypserv/ypserv-1.3.12.ebuild new file mode 100644 index 000000000000..1c93e26cc280 --- /dev/null +++ b/net-nds/ypserv/ypserv-1.3.12.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-1.3.12.ebuild,v 1.1 2002/04/14 03:28:33 seemant Exp $ + +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/" + +DEPEND=">=sys-libs/gdbm-1.8.0 + tcpd? ( >=sys-apps/tcp-wrappers-7.6 )" + +#src_unpack() { +# +# unpack ${A} +# cd ${S} +# cp ${FILESDIR}/defs.sed ypmake +# +#} + +src_compile() { + + local myconf + use tcpd && myconf="${myconf} --enable-tcp-wrapper" + + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/share/man \ + --enable-yppasswd \ + ${myconf} || die + + make || die + + cd ${S}/ypmake +# sed -f defs.sed Makefile.in > Makefile + make || die +} + +src_install() { + + make \ + ROOT=${D} \ + installdirs install_progs || die + + exeinto /usr/sbin + cd ${S}/contrib ; doexe ypslave + cd ${S}/ypmake ; doexe ypmake + + insinto /usr/lib/yp/ypmake + for i in aliases arrays automount config ethers group gshadow hosts \ + netgroup netid networks passwd protocols publickey \ + rpc services shadow ypservers + do + doins $i + done + + insinto /var/yp + doins ypmake.conf.sample + + newman ypmake.man ypmake.8 + newman ypmake.conf.man ypmake.conf.5 + + cd ${S} + dodoc BUGS ChangeLog HOWTO.SuSE NEWS TODO + + insinto /etc ; doins etc/ypserv.conf + + exeinto /etc/init.d + newexe ${FILESDIR}/ypserv.rc6 ypserv +} -- cgit v1.2.3-65-gdbad