Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/bird/files/
Date: Thu, 25 Jun 2020 07:31:03
Message-Id: 1593070240.f16e25677d8f3c0a90a5927f837d3520bae25d39.conikost@gentoo
1 commit: f16e25677d8f3c0a90a5927f837d3520bae25d39
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Mon Jun 22 18:11:19 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 25 07:30:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f16e2567
7
8 net-misc/bird: remove unused patches
9
10 Closes: https://github.com/gentoo/gentoo/pull/16375
11 Package-Manager: Portage-2.3.101, Repoman-2.3.22
12 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
13 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
14
15 net-misc/bird/files/initd-v4-bird-1.3.8 | 40 ---------------------------------
16 net-misc/bird/files/initd-v6-bird-1.3.8 | 40 ---------------------------------
17 2 files changed, 80 deletions(-)
18
19 diff --git a/net-misc/bird/files/initd-v4-bird-1.3.8 b/net-misc/bird/files/initd-v4-bird-1.3.8
20 deleted file mode 100644
21 index c7c6a0b63af..00000000000
22 --- a/net-misc/bird/files/initd-v4-bird-1.3.8
23 +++ /dev/null
24 @@ -1,40 +0,0 @@
25 -#!/sbin/openrc-run
26 -# Copyright 1999-2012 Gentoo Foundation
27 -# Distributed under the terms of the GNU General Public License v2
28 -
29 -extra_started_commands="reload"
30 -
31 -EXE=bird
32 -SOCK="/var/run/${EXE}.ctl"
33 -
34 -depend() {
35 - need net
36 - use logger
37 -}
38 -
39 -checkconfig() {
40 - if [ ! -f "/etc/${EXE}.conf" ]; then
41 - eerror "Please create /etc/${EXE}.conf"
42 - return 1
43 - fi
44 - return 0
45 -}
46 -
47 -start() {
48 - checkconfig || return $?
49 - ebegin "Starting BIRD"
50 - start-stop-daemon --start --exec /usr/sbin/${EXE} -- -c "/etc/${EXE}.conf" -s "${SOCK}"
51 - eend $? "Failed to start BIRD"
52 -}
53 -
54 -stop() {
55 - ebegin "Stopping BIRD"
56 - start-stop-daemon --stop --exec /usr/sbin/${EXE}
57 - eend $? "Failed to stop BIRD"
58 -}
59 -
60 -reload() {
61 - ebegin "Reloading BIRD"
62 - start-stop-daemon --stop --signal HUP --oknodo --exec /usr/sbin/${EXE}
63 - eend $? "Failed to reload BIRD"
64 -}
65
66 diff --git a/net-misc/bird/files/initd-v6-bird-1.3.8 b/net-misc/bird/files/initd-v6-bird-1.3.8
67 deleted file mode 100644
68 index 94ba4426e5d..00000000000
69 --- a/net-misc/bird/files/initd-v6-bird-1.3.8
70 +++ /dev/null
71 @@ -1,40 +0,0 @@
72 -#!/sbin/openrc-run
73 -# Copyright 1999-2012 Gentoo Foundation
74 -# Distributed under the terms of the GNU General Public License v2
75 -
76 -extra_started_commands="reload"
77 -
78 -EXE=bird6
79 -SOCK="/var/run/${EXE}.ctl"
80 -
81 -depend() {
82 - need net
83 - use logger
84 -}
85 -
86 -checkconfig() {
87 - if [ ! -f "/etc/${EXE}.conf" ]; then
88 - eerror "Please create /etc/${EXE}.conf"
89 - return 1
90 - fi
91 - return 0
92 -}
93 -
94 -start() {
95 - checkconfig || return $?
96 - ebegin "Starting BIRD"
97 - start-stop-daemon --start --exec /usr/sbin/${EXE} -- -c "/etc/${EXE}.conf" -s "${SOCK}"
98 - eend $? "Failed to start BIRD"
99 -}
100 -
101 -stop() {
102 - ebegin "Stopping BIRD"
103 - start-stop-daemon --stop --exec /usr/sbin/${EXE}
104 - eend $? "Failed to stop BIRD"
105 -}
106 -
107 -reload() {
108 - ebegin "Reloading BIRD"
109 - start-stop-daemon --stop --signal HUP --oknodo --exec /usr/sbin/${EXE}
110 - eend $? "Failed to reload BIRD"
111 -}