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: 1.1.3-nostrip.patch initd-v6-bird-1.1.3 initd-v4-bird-1.1.3
Date: Fri, 11 Sep 2009 14:01:53
Message-Id: E1Mm6hD-00049v-Tz@stork.gentoo.org
1 chainsaw 09/09/11 14:01:51
2
3 Added: 1.1.3-nostrip.patch initd-v6-bird-1.1.3
4 initd-v4-bird-1.1.3
5 Log:
6 Version bump, contains a core bugfix and corrects AS2->AS4 conversions.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 net-misc/bird/files/1.1.3-nostrip.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/1.1.3-nostrip.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/1.1.3-nostrip.patch?rev=1.1&content-type=text/plain
14
15 Index: 1.1.3-nostrip.patch
16 ===================================================================
17 diff -uNr bird-1.1.3.ORIG/tools/Makefile.in bird-1.1.3/tools/Makefile.in
18 --- bird-1.1.3.ORIG/tools/Makefile.in 2009-09-11 14:56:23.000000000 +0100
19 +++ bird-1.1.3/tools/Makefile.in 2009-09-11 14:56:38.000000000 +0100
20 @@ -56,9 +56,9 @@
21
22 install: all
23 $(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir) $(DESTDIR)/$(localstatedir)
24 - $(INSTALL_PROGRAM) -s $(exedir)/bird $(DESTDIR)/$(sbindir)/bird@SUFFIX6@
25 + $(INSTALL_PROGRAM) $(exedir)/bird $(DESTDIR)/$(sbindir)/bird@SUFFIX6@
26 if test -n "@CLIENT@" ; then \
27 - $(INSTALL_PROGRAM) -s $(exedir)/birdc $(DESTDIR)/$(sbindir)/birdc@SUFFIX6@ ; \
28 + $(INSTALL_PROGRAM) $(exedir)/birdc $(DESTDIR)/$(sbindir)/birdc@SUFFIX6@ ; \
29 fi
30 if ! test -f $(DESTDIR)/$(sysconfdir)/bird@SUFFIX6@.conf ; then \
31 $(INSTALL_DATA) $(srcdir)/doc/bird.conf.example $(DESTDIR)/$(sysconfdir)/bird@SUFFIX6@.conf ; \
32
33
34
35 1.1 net-misc/bird/files/initd-v6-bird-1.1.3
36
37 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/initd-v6-bird-1.1.3?rev=1.1&view=markup
38 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/initd-v6-bird-1.1.3?rev=1.1&content-type=text/plain
39
40 Index: initd-v6-bird-1.1.3
41 ===================================================================
42 #!/sbin/runscript
43 # Copyright 1999-2009 Gentoo Foundation
44 # Distributed under the terms of the GNU General Public License v2
45 # $Header: /var/cvsroot/gentoo-x86/net-misc/bird/files/initd-v6-bird-1.1.3,v 1.1 2009/09/11 14:01:51 chainsaw Exp $
46
47 EXE=bird6
48 CLI=birdc6
49 SOCK="/var/run/${EXE}.ctl"
50
51 depend() {
52 need net
53 use logger
54 }
55
56 checkconfig() {
57 if [ ! -f "/etc/${EXE}.conf" ]; then
58 eerror "Please create /etc/${EXE}.conf"
59 return 1
60 fi
61 return 0
62 }
63
64 start() {
65 checkconfig || return $?
66
67 ebegin "Starting BIRD"
68 "/usr/sbin/${EXE}" -c "/etc/${EXE}.conf" -s "${SOCK}"
69 eend $? "Failed to start BIRD"
70 }
71
72 stop() {
73 ebegin "Stopping BIRD"
74 if [ -f "${SOCK}" ]; then
75 echo "down" | "/usr/sbin/${CLI}" -s "${SOCK}" &>/dev/null
76 eend $? "Failed to stop BIRD"
77 else
78 eend 0
79 fi
80 }
81
82
83
84 1.1 net-misc/bird/files/initd-v4-bird-1.1.3
85
86 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/initd-v4-bird-1.1.3?rev=1.1&view=markup
87 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/initd-v4-bird-1.1.3?rev=1.1&content-type=text/plain
88
89 Index: initd-v4-bird-1.1.3
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-v4-bird-1.1.3,v 1.1 2009/09/11 14:01:51 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 }