public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tony Vroon (chainsaw)" <chainsaw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [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
Date: Mon, 23 Nov 2009 14:35:04 +0000	[thread overview]
Message-ID: <E1NCa0O-0008Bm-2x@stork.gentoo.org> (raw)

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
}






                 reply	other threads:[~2009-11-23 14:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1NCa0O-0008Bm-2x@stork.gentoo.org \
    --to=chainsaw@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox