summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nds/ypbind')
-rw-r--r--net-nds/ypbind/Manifest1
-rw-r--r--net-nds/ypbind/files/ypbind.confd-r14
-rw-r--r--net-nds/ypbind/files/ypbind.initd40
-rw-r--r--net-nds/ypbind/files/ypbind.service11
-rw-r--r--net-nds/ypbind/metadata.xml5
-rw-r--r--net-nds/ypbind/ypbind-1.37.2-r1.ebuild64
6 files changed, 0 insertions, 125 deletions
diff --git a/net-nds/ypbind/Manifest b/net-nds/ypbind/Manifest
deleted file mode 100644
index e29f024bcfa7..000000000000
--- a/net-nds/ypbind/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ypbind-mt-1.37.2.tar.bz2 197280 BLAKE2B 40a1a3caf4a353cf5dda480d486b2bb737bee7829a5cb773f52ba96e9dec7d04c3afcc19636cb9d180d7083d6df8c3697b12079cd517bdbb1e56f0be12737a39 SHA512 b101a1144b6886ff02d4ac83705313e20dac998aa30239d8ae34a0413a8deb4e786bbe3b549368119408593ceb40a95170b345c119a23b8fdf2461746c70a7be
diff --git a/net-nds/ypbind/files/ypbind.confd-r1 b/net-nds/ypbind/files/ypbind.confd-r1
deleted file mode 100644
index 91cdc60c1030..000000000000
--- a/net-nds/ypbind/files/ypbind.confd-r1
+++ /dev/null
@@ -1,4 +0,0 @@
-# Config file for /etc/init.d/ypbind
-
-# Set any command line options you want to pass to ypbind.
-YPBIND_OPTS=""
diff --git a/net-nds/ypbind/files/ypbind.initd b/net-nds/ypbind/files/ypbind.initd
deleted file mode 100644
index 27c907ad21b0..000000000000
--- a/net-nds/ypbind/files/ypbind.initd
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net portmap
- use ypserv domainname
-}
-
-start() {
- ebegin "Starting ypbind"
- if [ -n "${YPBIND_OPTS}" ]; then
- YOPTS="-- ${YPBIND_OPTS}"
- fi
- start-stop-daemon --start --quiet --exec /usr/sbin/ypbind ${YOPTS}
- local ret=$?
- if [ $ret -eq 0 ] ; then
- notfound=1
- for i in 0 1 2 3 4 5 6 7 8 9
- do
- ypwhich >/dev/null 2>&1 && { notfound=0; break; }
- sleep 1
- done
- if [ $notfound -eq 1 ] ; then
- eend 1 "No NIS server found"
- else
- eend 0
- fi
- else
- eend $ret
- fi
-}
-
-stop() {
- ebegin "Stopping ypbind"
- start-stop-daemon --stop --quiet --exec /usr/sbin/ypbind
- eend $?
- # Remove binding files, if ypbind "forgets" it
- rm -f /var/yp/binding/*
-}
diff --git a/net-nds/ypbind/files/ypbind.service b/net-nds/ypbind/files/ypbind.service
deleted file mode 100644
index a04ed71fe0d0..000000000000
--- a/net-nds/ypbind/files/ypbind.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=YP Bind
-Requires=rpcbind.service domainname.service
-After=rpcbind.service domainname.service network.target
-Before=systemd-user-sessions.service
-
-[Service]
-ExecStart=/usr/sbin/ypbind -foreground
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-nds/ypbind/metadata.xml b/net-nds/ypbind/metadata.xml
deleted file mode 100644
index 6f49eba8f496..000000000000
--- a/net-nds/ypbind/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>
diff --git a/net-nds/ypbind/ypbind-1.37.2-r1.ebuild b/net-nds/ypbind/ypbind-1.37.2-r1.ebuild
deleted file mode 100644
index e21f9b413783..000000000000
--- a/net-nds/ypbind/ypbind-1.37.2-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit readme.gentoo systemd
-
-MY_P=${PN}-mt-${PV}
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="Multithreaded NIS bind service (ypbind-mt)"
-HOMEPAGE="http://www.linux-nis.org/nis/ypbind-mt/index.html"
-SRC_URI="http://www.linux-nis.org/download/ypbind-mt/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86"
-IUSE="debug dbus nls slp systemd"
-
-RDEPEND="
- debug? ( dev-libs/dmalloc )
- dbus? ( dev-libs/dbus-glib )
- slp? ( net-libs/openslp )
- systemd? (
- net-nds/rpcbind
- >=net-nds/yp-tools-2.12-r1
- sys-apps/systemd )
- !systemd? (
- net-nds/yp-tools
- || ( net-nds/portmap net-nds/rpcbind ) )
-"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )
-"
-
-DOC_CONTENTS="
- If you are using dhcpcd, be sure to add the -Y option to
- dhcpcd_eth0 (or eth1, etc.) to keep dhcpcd from clobbering
- /etc/yp.conf.
-"
-
-src_prepare() {
- ! use systemd && export ac_cv_header_systemd_sd_daemon_h=no
-}
-
-src_configure() {
- econf \
- $(use_enable nls) \
- $(use_enable slp) \
- $(use_with debug dmalloc) \
- $(use_enable dbus dbus-nm)
-}
-
-src_install() {
- default
-
- insinto /etc
- newins etc/yp.conf yp.conf.example
-
- newconfd "${FILESDIR}/ypbind.confd-r1" ypbind
- newinitd "${FILESDIR}/ypbind.initd" ypbind
- use systemd && systemd_dounit "${FILESDIR}/ypbind.service"
-
- readme.gentoo_create_doc
-}