Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/bird/files: initd-v4-bird-1.1.5 1.1.5-nostrip.patch initd-v6-bird-1.1.5
Date: Mon, 02 Nov 2009 15:58:47
Message-Id: E1N4zIq-0001hl-OS@stork.gentoo.org
1 chainsaw 09/11/02 15:58:44
2
3 Added: initd-v4-bird-1.1.5 1.1.5-nostrip.patch
4 initd-v6-bird-1.1.5
5 Log:
6 Version bump, increases scalability of the BGP implementation. New accessors for AS path and allows import of kernel onlink routes.
7 (Portage version: 2.1.7.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 net-misc/bird/files/initd-v4-bird-1.1.5
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/initd-v4-bird-1.1.5?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/initd-v4-bird-1.1.5?rev=1.1&content-type=text/plain
14
15 Index: initd-v4-bird-1.1.5
16 ===================================================================
17 #!/sbin/runscript
18 # Copyright 1999-2009 Gentoo Foundation
19 # Distributed under the terms of the GNU General Public License v2
20 # $Header: /var/cvsroot/gentoo-x86/net-misc/bird/files/initd-v4-bird-1.1.5,v 1.1 2009/11/02 15:58:44 chainsaw Exp $
21
22 EXE=bird
23 CLI=birdc
24 SOCK="/var/run/${EXE}.ctl"
25
26 depend() {
27 need net
28 use logger
29 }
30
31 checkconfig() {
32 if [ ! -f "/etc/${EXE}.conf" ]; then
33 eerror "Please create /etc/${EXE}.conf"
34 return 1
35 fi
36 return 0
37 }
38
39 start() {
40 checkconfig || return $?
41
42 ebegin "Starting BIRD"
43 "/usr/sbin/${EXE}" -c "/etc/${EXE}.conf" -s "${SOCK}"
44 eend $? "Failed to start BIRD"
45 }
46
47 stop() {
48 ebegin "Stopping BIRD"
49 if [ -f "${SOCK}" ]; then
50 echo "down" | "/usr/sbin/${CLI}" -s "${SOCK}" &>/dev/null
51 eend $? "Failed to stop BIRD"
52 else
53 eend 0
54 fi
55 }
56
57
58
59 1.1 net-misc/bird/files/1.1.5-nostrip.patch
60
61 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/1.1.5-nostrip.patch?rev=1.1&view=markup
62 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/1.1.5-nostrip.patch?rev=1.1&content-type=text/plain
63
64 Index: 1.1.5-nostrip.patch
65 ===================================================================
66 diff -uNr bird-1.1.5.ORIG/tools/Makefile.in bird-1.1.5/tools/Makefile.in
67 --- bird-1.1.5.ORIG/tools/Makefile.in 2009-11-02 15:22:13.000000000 +0000
68 +++ bird-1.1.5/tools/Makefile.in 2009-11-02 15:22:31.000000000 +0000
69 @@ -56,9 +56,9 @@
70
71 install: all
72 $(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir) $(DESTDIR)/$(localstatedir)
73 - $(INSTALL_PROGRAM) -s $(exedir)/bird $(DESTDIR)/$(sbindir)/bird@SUFFIX6@
74 + $(INSTALL_PROGRAM) $(exedir)/bird $(DESTDIR)/$(sbindir)/bird@SUFFIX6@
75 if test -n "@CLIENT@" ; then \
76 - $(INSTALL_PROGRAM) -s $(exedir)/birdc $(DESTDIR)/$(sbindir)/birdc@SUFFIX6@ ; \
77 + $(INSTALL_PROGRAM) $(exedir)/birdc $(DESTDIR)/$(sbindir)/birdc@SUFFIX6@ ; \
78 fi
79 if ! test -f $(DESTDIR)/$(sysconfdir)/bird@SUFFIX6@.conf ; then \
80 $(INSTALL_DATA) $(srcdir)/doc/bird.conf.example $(DESTDIR)/$(sysconfdir)/bird@SUFFIX6@.conf ; \
81
82
83
84 1.1 net-misc/bird/files/initd-v6-bird-1.1.5
85
86 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/initd-v6-bird-1.1.5?rev=1.1&view=markup
87 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/initd-v6-bird-1.1.5?rev=1.1&content-type=text/plain
88
89 Index: initd-v6-bird-1.1.5
90 ===================================================================
91 #!/sbin/runscript
92 # Copyright 1999-2009 Gentoo Foundation
93 # Distributed under the terms of the GNU General Public License v2
94 # $Header: /var/cvsroot/gentoo-x86/net-misc/bird/files/initd-v6-bird-1.1.5,v 1.1 2009/11/02 15:58:44 chainsaw Exp $
95
96 EXE=bird
97 CLI=birdc
98 SOCK="/var/run/${EXE}.ctl"
99
100 depend() {
101 need net
102 use logger
103 }
104
105 checkconfig() {
106 if [ ! -f "/etc/${EXE}.conf" ]; then
107 eerror "Please create /etc/${EXE}.conf"
108 return 1
109 fi
110 return 0
111 }
112
113 start() {
114 checkconfig || return $?
115
116 ebegin "Starting BIRD"
117 "/usr/sbin/${EXE}" -c "/etc/${EXE}.conf" -s "${SOCK}"
118 eend $? "Failed to start BIRD"
119 }
120
121 stop() {
122 ebegin "Stopping BIRD"
123 if [ -f "${SOCK}" ]; then
124 echo "down" | "/usr/sbin/${CLI}" -s "${SOCK}" &>/dev/null
125 eend $? "Failed to stop BIRD"
126 else
127 eend 0
128 fi
129 }