public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-nds/ypserv/
@ 2016-05-03  0:02 Austin English
  0 siblings, 0 replies; only message in thread
From: Austin English @ 2016-05-03  0:02 UTC (permalink / raw
  To: gentoo-commits

commit:     bc851043c6ccda2ae8a021990e6ef15f55d90290
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue May  3 00:01:55 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue May  3 00:01:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc851043

net-nds/ypserv: remove old ebuild

Package-Manager: portage-2.2.26

 net-nds/ypserv/ypserv-2.26.ebuild | 77 ---------------------------------------
 1 file changed, 77 deletions(-)

diff --git a/net-nds/ypserv/ypserv-2.26.ebuild b/net-nds/ypserv/ypserv-2.26.ebuild
deleted file mode 100644
index 8eaa642..0000000
--- a/net-nds/ypserv/ypserv-2.26.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit autotools
-
-DESCRIPTION="Network Information Service server"
-HOMEPAGE="http://www.linux-nis.org/nis/"
-SRC_URI="mirror://kernel/linux/utils/net/NIS/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="slp"
-
-DEPEND=">=sys-libs/gdbm-1.8.0
-	 slp? ( net-libs/openslp )"
-RDEPEND="${DEPEND}
-	 || ( net-nds/rpcbind net-nds/portmap )"
-
-src_prepare() {
-	# The configure script does not provide a command-line flag to control usage
-	# of slp. Use a brutal method in case we need to disable it.
-	if ! use slp; then
-		sed -i -e 's/USE_SLP=1/USE_SLP=0/g' configure.in || die
-		eautoreconf
-	fi
-}
-
-src_install() {
-	default
-	dodoc AUTHORS ChangeLog NEWS README THANKS TODO
-
-	insinto /etc
-	doins etc/ypserv.conf etc/netgroup etc/netmasks
-	insinto /var/yp
-	newins etc/securenets securenets.default
-
-	newconfd "${FILESDIR}/ypserv.confd" ypserv
-	newconfd "${FILESDIR}/rpc.yppasswdd.confd" rpc.yppasswdd
-	newconfd "${FILESDIR}/rpc.ypxfrd.confd" rpc.ypxfrd
-
-	newinitd "${FILESDIR}/ypserv" ypserv
-	newinitd "${FILESDIR}/rpc.yppasswdd-r1" rpc.yppasswdd
-	newinitd "${FILESDIR}/rpc.ypxfrd-2.23" rpc.ypxfrd
-
-	echo "CONFIG_PROTECT=\"/var/yp/Makefile\"" > "${T}"/10ypserv
-	doenvd "${T}"/10ypserv
-}
-
-pkg_preinst() {
-	# This ebuilds installs an env file which CONFIG_PROTECTs /var/yp/Makefile,
-	# but if the user is migrating from older ypserv, this won't take effect
-	# immediately. Keep the older setup with Makefile.dist file and ask the user
-	# to migrate.
-	if [ -f "${ROOT}/var/yp/Makefile.dist" ]; then
-		mv "${D}/var/yp/Makefile" "${D}/var/yp/Makefile.dist" \
-			|| die "mv failed"
-		cp "${ROOT}/var/yp/Makefile" "${D}/var/yp/Makefile" \
-			|| die "cp failed"
-		elog "Please remove ${ROOT}/var/yp/Makefile.dist after making sure that"
-		elog "${ROOT}/var/yp/Makefile looks fine to you. It is now"
-		elog "CONFIG_PROTECTed, so further changes should be managed with"
-		elog "usual config management tools like etc-update or dispatch-conf."
-	fi
-}
-
-pkg_postinst() {
-	einfo "To complete setup, you will need to edit /var/yp/securenets,"
-	einfo "/etc/conf.d/ypserv, /etc/ypserv.conf, /etc/conf.d/rpc.yppasswdd"
-	einfo "and possibly /var/yp/Makefile."
-
-	einfo "To start the services at boot, you need to enable ypserv and optionally"
-	einfo "the rpc.yppasswdd and/or rpc.ypxfrd services"
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-03  0:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-03  0:02 [gentoo-commits] repo/gentoo:master commit in: net-nds/ypserv/ Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox