commit: 2614dda33e678fb9b969ac7a3ee604596d1a29b2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Tue Feb 7 16:42:42 2017 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Thu Feb 9 22:37:04 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2614dda3
sys-auth/nss-pam-ldapd: remove unused files Closes: https://github.com/gentoo/gentoo/pull/3870 sys-auth/nss-pam-ldapd/files/nslcd-init | 37 --------------------------------- sys-auth/nss-pam-ldapd/files/nslcd.rc | 35 ------------------------------- 2 files changed, 72 deletions(-) diff --git a/sys-auth/nss-pam-ldapd/files/nslcd-init b/sys-auth/nss-pam-ldapd/files/nslcd-init deleted file mode 100644 index 77d8497edc..0000000000 --- a/sys-auth/nss-pam-ldapd/files/nslcd-init +++ /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 index 6225b0ce27..0000000000 --- a/sys-auth/nss-pam-ldapd/files/nslcd.rc +++ /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" -}