public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/bird/files: initd-v6-bird-1.1.6 1.1.6-nostrip.patch initd-v4-bird-1.1.6 initd-v4-bird-1.1.3 initd-v4-bird-1.1.2 initd-v4-bird-1.1.1 1.1.2-nostrip.patch initd-v6-bird-1.1.4 initd-v6-bird-1.1.1 initd-v6-bird-1.1.3 initd-v6-bird-1.1.2 1.1.1-nostrip.patch initd-v4-bird-1.1.4 1.1.3-nostrip.patch 1.1.4-nostrip.patch
@ 2009-11-23 14:35 Tony Vroon (chainsaw)
  0 siblings, 0 replies; only message in thread
From: Tony Vroon (chainsaw) @ 2009-11-23 14:35 UTC (permalink / raw
  To: gentoo-commits

chainsaw    09/11/23 14:35:04

  Added:                initd-v6-bird-1.1.6 1.1.6-nostrip.patch
                        initd-v4-bird-1.1.6
  Removed:              initd-v4-bird-1.1.3 initd-v4-bird-1.1.2
                        initd-v4-bird-1.1.1 1.1.2-nostrip.patch
                        initd-v6-bird-1.1.4 initd-v6-bird-1.1.1
                        initd-v6-bird-1.1.3 initd-v6-bird-1.1.2
                        1.1.1-nostrip.patch initd-v4-bird-1.1.4
                        1.1.3-nostrip.patch 1.1.4-nostrip.patch
  Log:
  Version bump, implements RFC 5004 (prefer older external routes) as well as several other minor features. Some minor bugfixes as well. Removed older ebuilds.
  (Portage version: 2.1.7.6/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-misc/bird/files/initd-v6-bird-1.1.6

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/initd-v6-bird-1.1.6?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/initd-v6-bird-1.1.6?rev=1.1&content-type=text/plain

Index: initd-v6-bird-1.1.6
===================================================================
#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/bird/files/initd-v6-bird-1.1.6,v 1.1 2009/11/23 14:35:03 chainsaw Exp $

EXE=bird
CLI=birdc
SOCK="/var/run/${EXE}.ctl"

depend() {
	need net
	use logger
}

checkconfig() {
	if [ ! -f "/etc/${EXE}.conf" ]; then
		eerror "Please create /etc/${EXE}.conf"
		return 1
	fi
	return 0
}

start() {
	checkconfig || return $?

	ebegin "Starting BIRD"
	"/usr/sbin/${EXE}" -c "/etc/${EXE}.conf" -s "${SOCK}"
	eend $? "Failed to start BIRD"
}

stop() {
	ebegin "Stopping BIRD"
	if [ -f "${SOCK}" ]; then
		echo "down" | "/usr/sbin/${CLI}" -s "${SOCK}" &>/dev/null
		eend $? "Failed to stop BIRD"
	else
		eend 0
	fi
}



1.1                  net-misc/bird/files/1.1.6-nostrip.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/1.1.6-nostrip.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/1.1.6-nostrip.patch?rev=1.1&content-type=text/plain

Index: 1.1.6-nostrip.patch
===================================================================
diff -uNr bird-1.1.6.ORIG/tools/Makefile.in bird-1.1.6/tools/Makefile.in
--- bird-1.1.6.ORIG/tools/Makefile.in	2009-11-23 14:18:19.000000000 +0000
+++ bird-1.1.6/tools/Makefile.in	2009-11-23 14:18:36.000000000 +0000
@@ -56,9 +56,9 @@
 
 install: all
 	$(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir) $(DESTDIR)/$(localstatedir)
-	$(INSTALL_PROGRAM) -s $(exedir)/bird $(DESTDIR)/$(sbindir)/bird@SUFFIX6@
+	$(INSTALL_PROGRAM) $(exedir)/bird $(DESTDIR)/$(sbindir)/bird@SUFFIX6@
 	if test -n "@CLIENT@" ; then								\
-		$(INSTALL_PROGRAM) -s $(exedir)/birdc $(DESTDIR)/$(sbindir)/birdc@SUFFIX6@ ;				\
+		$(INSTALL_PROGRAM) $(exedir)/birdc $(DESTDIR)/$(sbindir)/birdc@SUFFIX6@ ;				\
 	fi
 	if ! test -f $(DESTDIR)/$(sysconfdir)/bird@SUFFIX6@.conf ; then						\
 		$(INSTALL_DATA) $(srcdir)/doc/bird.conf.example $(DESTDIR)/$(sysconfdir)/bird@SUFFIX6@.conf ;	\



1.1                  net-misc/bird/files/initd-v4-bird-1.1.6

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/initd-v4-bird-1.1.6?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/files/initd-v4-bird-1.1.6?rev=1.1&content-type=text/plain

Index: initd-v4-bird-1.1.6
===================================================================
#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/bird/files/initd-v4-bird-1.1.6,v 1.1 2009/11/23 14:35:03 chainsaw Exp $

EXE=bird
CLI=birdc
SOCK="/var/run/${EXE}.ctl"

depend() {
	need net
	use logger
}

checkconfig() {
	if [ ! -f "/etc/${EXE}.conf" ]; then
		eerror "Please create /etc/${EXE}.conf"
		return 1
	fi
	return 0
}

start() {
	checkconfig || return $?

	ebegin "Starting BIRD"
	"/usr/sbin/${EXE}" -c "/etc/${EXE}.conf" -s "${SOCK}"
	eend $? "Failed to start BIRD"
}

stop() {
	ebegin "Stopping BIRD"
	if [ -f "${SOCK}" ]; then
		echo "down" | "/usr/sbin/${CLI}" -s "${SOCK}" &>/dev/null
		eend $? "Failed to stop BIRD"
	else
		eend 0
	fi
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-23 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 14:35 [gentoo-commits] gentoo-x86 commit in net-misc/bird/files: initd-v6-bird-1.1.6 1.1.6-nostrip.patch initd-v4-bird-1.1.6 initd-v4-bird-1.1.3 initd-v4-bird-1.1.2 initd-v4-bird-1.1.1 1.1.2-nostrip.patch initd-v6-bird-1.1.4 initd-v6-bird-1.1.1 initd-v6-bird-1.1.3 initd-v6-bird-1.1.2 1.1.1-nostrip.patch initd-v4-bird-1.1.4 1.1.3-nostrip.patch 1.1.4-nostrip.patch Tony Vroon (chainsaw)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox