sys-auth/nss-pam-ldapd: remove unused files
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Tue, 7 Feb 2017 16:42:42 +0000 (17:42 +0100)
committerDavid Seifert <soap@gentoo.org>
Thu, 9 Feb 2017 22:37:04 +0000 (23:37 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3870

sys-auth/nss-pam-ldapd/files/nslcd-init [deleted file]
sys-auth/nss-pam-ldapd/files/nslcd.rc [deleted file]

diff --git a/sys-auth/nss-pam-ldapd/files/nslcd-init b/sys-auth/nss-pam-ldapd/files/nslcd-init
deleted file mode 100644 (file)
index 77d8497..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-extra_commands="checkconfig"
-cfg="/etc/nslcd.conf"
-
-depend() {
-       need net        
-       use dns logger
-}
-
-checkconfig() {
-       if [ ! -f "$cfg" ] ; then
-               eerror "Please create $cfg"
-               eerror "Example config: /usr/share/nss-ldapd/nslcd.conf"
-               return 1
-       fi
-       return 0
-}
-
-start() {
-    checkpath -q -d /var/run/nslcd -o nslcd:nslcd
-       checkconfig || return $?
-
-       ebegin "Starting nslcd"
-       start-stop-daemon --start --pidfile /var/run/nslcd/nslcd.pid \
-               --exec /usr/sbin/nslcd
-       eend $? "Failed to start nslcd"
-}
-
-stop() {
-       ebegin "Stopping nslcd"
-       start-stop-daemon --stop --pidfile /var/run/nslcd/nslcd.pid
-       eend $? "Failed to stop nslcd"
-}
diff --git a/sys-auth/nss-pam-ldapd/files/nslcd.rc b/sys-auth/nss-pam-ldapd/files/nslcd.rc
deleted file mode 100644 (file)
index 6225b0c..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-opts="checkconfig"
-
-depend() {
-       need net        
-       use dns logger
-}
-
-checkconfig() {
-       if [ ! -f /etc/nss-ldapd.conf ] ; then
-               eerror "Please create /etc/nss-ldapd.conf"
-               eerror "Example config: /usr/share/nss-ldapd/nss-ldapd.conf"
-               return 1
-       fi
-       return 0
-}
-
-start() {
-       checkconfig || return $?
-
-       ebegin "Starting nslcd"
-       start-stop-daemon --start --pidfile /var/run/nslcd/nslcd.pid \
-               --exec /usr/sbin/nslcd
-       eend $? "Failed to start nslcd"
-}
-
-stop() {
-       ebegin "Stopping nslcd"
-       start-stop-daemon --stop --pidfile /var/run/nslcd/nslcd.pid
-       eend $? "Failed to stop nslcd"
-}