Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a4423811c089c8716b197c1f799c4623d9894deb)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a4423811c089c8716b197c1f799c4623d9894deb)
  • Date: Tue, 12 Jul 2016 20:58:33 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 4 ++++
accounts | 1 +
groups | 1 +
net/bird/BUILD | 5 +++++
net/bird/CONFIGURE | 17 +++++++++++++++++
net/bird/DEPENDS | 2 ++
net/bird/DETAILS | 32 ++++++++++++++++++++++++++++++++
net/bird/HISTORY | 3 +++
net/bird/INSTALL | 10 ++++++++++
net/bird/PRE_BUILD | 7 +++++++
net/bird/init.d/bird | 38 ++++++++++++++++++++++++++++++++++++++
net/bird/init.d/bird.conf | 3 +++
12 files changed, 123 insertions(+)

New commits:
commit a4423811c089c8716b197c1f799c4623d9894deb
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

bird: new spell, BIRD internet routing daemon

commit f621f3ac654555f7ebbc437ab286e7f821dc12a2
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

added account data for upcoming bird spell

diff --git a/ChangeLog b/ChangeLog
index d76ad15..ee0630f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-07-12 Vlad Glagolev <stealth AT sourcemage.org>
+ * accounts, groups: added account data for upcoming bird spell
+ * net/bird: new spell, BIRD internet routing daemon
+
2016-07-05 Treeve Jelbert <treeve AT sourcemage.org>
* kde5-apps/digikam: added, photo app for kde
* kde5-apps/kipi-plugins: various image related plugins
diff --git a/accounts b/accounts
index e6a9ff8..3fcd5c8 100755
--- a/accounts
+++ b/accounts
@@ -109,4 +109,5 @@ rpc:204:204:
smtpd:206:206:
smtpq:207:207:
varnish:208:208
+bird:209:209
nobody:65534:65534
diff --git a/groups b/groups
index 1893536..176f56f 100755
--- a/groups
+++ b/groups
@@ -133,5 +133,6 @@ docker:205:
smtpd:206:
smtpq:207:
varnish:208:
+bird:209:
users:1000:
nogroup:65534:
diff --git a/net/bird/BUILD b/net/bird/BUILD
new file mode 100755
index 0000000..418b1ff
--- /dev/null
+++ b/net/bird/BUILD
@@ -0,0 +1,5 @@
+create_account bird &&
+
+OPTS="${BIRD_OPTS} ${OPTS}" &&
+
+default_build
diff --git a/net/bird/CONFIGURE b/net/bird/CONFIGURE
new file mode 100755
index 0000000..1cc108a
--- /dev/null
+++ b/net/bird/CONFIGURE
@@ -0,0 +1,17 @@
+config_query_option BIRD_OPTS "Enable building of BIRD client?" y \
+ "--enable-client" \
+ "--disable-client" &&
+
+config_query_option BIRD_OPTS "Enable building of IPv6 version?" n \
+ "--enable-ipv6" \
+ "--disable-ipv6" &&
+
+config_query_option BIRD_OPTS "Enable internal debugging routines?" n \
+ "--enable-debug" \
+ "--disable-debug" &&
+
+if list_find "${BIRD_OPTS}" "--enable-debug"; then
+ config_query_option BIRD_OPTS "Check memory allocations when debugging?" y
\
+ "--enable-memcheck" \
+ "--disable-memcheck"
+fi
diff --git a/net/bird/DEPENDS b/net/bird/DEPENDS
new file mode 100755
index 0000000..465dbee
--- /dev/null
+++ b/net/bird/DEPENDS
@@ -0,0 +1,2 @@
+depends flex &&
+depends bison
diff --git a/net/bird/DETAILS b/net/bird/DETAILS
new file mode 100755
index 0000000..86dbb01
--- /dev/null
+++ b/net/bird/DETAILS
@@ -0,0 +1,32 @@
+ SPELL=bird
+ VERSION=1.6.0
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE2=${SPELL}-doc-${VERSION}.tar.gz
+ SOURCE_URL[0]=ftp://bird.network.cz/pub/${SPELL}/${SOURCE}
+ SOURCE2_URL[0]=ftp://bird.network.cz/pub/${SPELL}/${SOURCE2}
+
SOURCE_HASH=sha512:3b73c5aa26ac725547d8ff67c35008b6793ef4dc9f22940bacc3871f60abb77e41d93bef0e493d5808eea455e17a04bbba837f16665d726a0a80e73270fed67a
+
SOURCE2_HASH=sha512:81f70c0a10ebfdafc7d1a0df47516ec9fcea6362adb5fd76e0e9f432c7ea67af96af2d3ec00642ff1972a4ff10818e52f269c203f8af2eb7b657528622cae84e
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ DOC_DIRS=""
+ WEB_SITE=http://bird.network.cz/
+ LICENSE[0]=GPL
+ ENTERED=20160712
+ SHORT="BIRD internet routing daemon"
+cat << EOF
+The BIRD project aims to develop a fully functional dynamic IP routing daemon
+primarily targeted on (but not limited to) Linux, FreeBSD and other UNIX-like
+systems and distributed under the GNU General Public License.
+
+What do we support:
+- Both IPv4 and IPv6 (use --enable-ipv6 when configuring)
+- Multiple routing tables
+- BGP
+- RIP
+- OSPF
+- BFD
+- Static routes
+- IPv6 Router Advertisements
+- Inter-table protocol
+- Command-line interface
+- Powerful language for route filtering
+EOF
diff --git a/net/bird/HISTORY b/net/bird/HISTORY
new file mode 100644
index 0000000..08b1c5d
--- /dev/null
+++ b/net/bird/HISTORY
@@ -0,0 +1,3 @@
+2016-07-12 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, INSTALL, {PRE_,}BUILD, CONFIGURE,
init.d/bird{,.conf}:
+ spell created, version 1.6.0
diff --git a/net/bird/INSTALL b/net/bird/INSTALL
new file mode 100755
index 0000000..6168941
--- /dev/null
+++ b/net/bird/INSTALL
@@ -0,0 +1,10 @@
+default_install &&
+
+make install-docs &&
+
+install -vm 644 ${SPELL}-doc-${VERSION}/doc/*.ps
${INSTALL_ROOT}/usr/share/doc/bird &&
+
+if [[ $INIT_INSTALLED ]]; then
+ install_config_file "$SPELL_DIRECTORY/init.d/bird.conf" \
+ "$INSTALL_ROOT/etc/sysconfig/bird"
+fi
diff --git a/net/bird/PRE_BUILD b/net/bird/PRE_BUILD
new file mode 100755
index 0000000..cdbc15b
--- /dev/null
+++ b/net/bird/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build &&
+verify_file 2 &&
+
+cd "${SOURCE_DIRECTORY}" &&
+unpack_file 2 &&
+
+sedit "s:^docdir=.*:docdir=@datarootdir@/doc/bird:" tools/Rules.in
diff --git a/net/bird/init.d/bird b/net/bird/init.d/bird
new file mode 100755
index 0000000..e5578b4
--- /dev/null
+++ b/net/bird/init.d/bird
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+. /etc/sysconfig/bird
+
+if [ -x /usr/sbin/bird6 ]; then
+ PROGRAM=/usr/sbin/bird6
+ BIRDC=/usr/sbin/birdc6
+else
+ PROGRAM=/usr/sbin/bird
+ BIRDC=/usr/sbin/birdc
+fi
+
+PIDFILE=/var/run/bird/bird.pid
+ARGS="-P $PIDFILE $BIRD_ARGS"
+RUNLEVEL=3
+NEEDS="+network"
+
+. /etc/init.d/smgl_init
+
+
+start() {
+ local PIDFILE_DIR="$(dirname $PIDFILE)"
+
+ [ -d $PIDFILE_DIR ] || mkdir $PIDFILE_DIR && chown bird:bird $PIDFILE_DIR
&&
+
+ _start
+}
+
+stop() {
+ if pgrep -f $PROGRAM > /dev/null; then
+ echo "Stopping $NAME..."
+
+ $BIRDC down &> /dev/null
+ evaluate_retval
+ else
+ _stop
+ fi
+}
diff --git a/net/bird/init.d/bird.conf b/net/bird/init.d/bird.conf
new file mode 100644
index 0000000..d228332
--- /dev/null
+++ b/net/bird/init.d/bird.conf
@@ -0,0 +1,3 @@
+# For arguments and description see the documentation.
+
+BIRD_ARGS="-u bird -g bird"



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a4423811c089c8716b197c1f799c4623d9894deb), Vlad Glagolev, 07/12/2016

Archive powered by MHonArc 2.6.24.

Top of Page