1 |
commit: 2614dda33e678fb9b969ac7a3ee604596d1a29b2 |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Feb 7 16:42:42 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 9 22:37:04 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2614dda3 |
7 |
|
8 |
sys-auth/nss-pam-ldapd: remove unused files |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/3870 |
11 |
|
12 |
sys-auth/nss-pam-ldapd/files/nslcd-init | 37 --------------------------------- |
13 |
sys-auth/nss-pam-ldapd/files/nslcd.rc | 35 ------------------------------- |
14 |
2 files changed, 72 deletions(-) |
15 |
|
16 |
diff --git a/sys-auth/nss-pam-ldapd/files/nslcd-init b/sys-auth/nss-pam-ldapd/files/nslcd-init |
17 |
deleted file mode 100644 |
18 |
index 77d8497edc..0000000000 |
19 |
--- a/sys-auth/nss-pam-ldapd/files/nslcd-init |
20 |
+++ /dev/null |
21 |
@@ -1,37 +0,0 @@ |
22 |
-#!/sbin/openrc-run |
23 |
-# Copyright 1999-2013 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Id$ |
26 |
- |
27 |
-extra_commands="checkconfig" |
28 |
-cfg="/etc/nslcd.conf" |
29 |
- |
30 |
-depend() { |
31 |
- need net |
32 |
- use dns logger |
33 |
-} |
34 |
- |
35 |
-checkconfig() { |
36 |
- if [ ! -f "$cfg" ] ; then |
37 |
- eerror "Please create $cfg" |
38 |
- eerror "Example config: /usr/share/nss-ldapd/nslcd.conf" |
39 |
- return 1 |
40 |
- fi |
41 |
- return 0 |
42 |
-} |
43 |
- |
44 |
-start() { |
45 |
- checkpath -q -d /var/run/nslcd -o nslcd:nslcd |
46 |
- checkconfig || return $? |
47 |
- |
48 |
- ebegin "Starting nslcd" |
49 |
- start-stop-daemon --start --pidfile /var/run/nslcd/nslcd.pid \ |
50 |
- --exec /usr/sbin/nslcd |
51 |
- eend $? "Failed to start nslcd" |
52 |
-} |
53 |
- |
54 |
-stop() { |
55 |
- ebegin "Stopping nslcd" |
56 |
- start-stop-daemon --stop --pidfile /var/run/nslcd/nslcd.pid |
57 |
- eend $? "Failed to stop nslcd" |
58 |
-} |
59 |
|
60 |
diff --git a/sys-auth/nss-pam-ldapd/files/nslcd.rc b/sys-auth/nss-pam-ldapd/files/nslcd.rc |
61 |
deleted file mode 100644 |
62 |
index 6225b0ce27..0000000000 |
63 |
--- a/sys-auth/nss-pam-ldapd/files/nslcd.rc |
64 |
+++ /dev/null |
65 |
@@ -1,35 +0,0 @@ |
66 |
-#!/sbin/openrc-run |
67 |
-# Copyright 1999-2008 Gentoo Foundation |
68 |
-# Distributed under the terms of the GNU General Public License v2 |
69 |
-# $Id$ |
70 |
- |
71 |
-opts="checkconfig" |
72 |
- |
73 |
-depend() { |
74 |
- need net |
75 |
- use dns logger |
76 |
-} |
77 |
- |
78 |
-checkconfig() { |
79 |
- if [ ! -f /etc/nss-ldapd.conf ] ; then |
80 |
- eerror "Please create /etc/nss-ldapd.conf" |
81 |
- eerror "Example config: /usr/share/nss-ldapd/nss-ldapd.conf" |
82 |
- return 1 |
83 |
- fi |
84 |
- return 0 |
85 |
-} |
86 |
- |
87 |
-start() { |
88 |
- checkconfig || return $? |
89 |
- |
90 |
- ebegin "Starting nslcd" |
91 |
- start-stop-daemon --start --pidfile /var/run/nslcd/nslcd.pid \ |
92 |
- --exec /usr/sbin/nslcd |
93 |
- eend $? "Failed to start nslcd" |
94 |
-} |
95 |
- |
96 |
-stop() { |
97 |
- ebegin "Stopping nslcd" |
98 |
- start-stop-daemon --stop --pidfile /var/run/nslcd/nslcd.pid |
99 |
- eend $? "Failed to stop nslcd" |
100 |
-} |