summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2007-06-16 23:31:07 +0000
committerCédric Krier <cedk@gentoo.org>2007-06-16 23:31:07 +0000
commit65d4c24190ae8e4ab7643406e920cb93923e01cc (patch)
tree6da6a46e5194883491248f3f62b77d3592735d05 /net-misc/batmand
parenttouchup HOMEPAGE and upstream URL (diff)
downloadgentoo-2-65d4c24190ae8e4ab7643406e920cb93923e01cc.tar.gz
gentoo-2-65d4c24190ae8e4ab7643406e920cb93923e01cc.tar.bz2
gentoo-2-65d4c24190ae8e4ab7643406e920cb93923e01cc.zip
New ebuild for bug #150824
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-misc/batmand')
-rw-r--r--net-misc/batmand/ChangeLog10
-rw-r--r--net-misc/batmand/Manifest24
-rw-r--r--net-misc/batmand/batmand-0.2.0_rc2.ebuild44
-rw-r--r--net-misc/batmand/files/batmand-conf.d9
-rw-r--r--net-misc/batmand/files/batmand-init.d17
-rw-r--r--net-misc/batmand/files/digest-batmand-0.2.0_rc23
-rw-r--r--net-misc/batmand/metadata.xml9
7 files changed, 116 insertions, 0 deletions
diff --git a/net-misc/batmand/ChangeLog b/net-misc/batmand/ChangeLog
new file mode 100644
index 000000000000..7bb44e29b6e8
--- /dev/null
+++ b/net-misc/batmand/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-misc/batmand
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/batmand/ChangeLog,v 1.1 2007/06/16 23:31:07 cedk Exp $
+
+*batmand-0.2.0_rc2 (16 Jun 2007)
+
+ 16 Jun 2007; Cédric Krier <cedk@gentoo.org> +files/batmand-conf.d,
+ +files/batmand-init.d, +metadata.xml, +batmand-0.2.0_rc2.ebuild:
+ New ebuild for bug #150824
+
diff --git a/net-misc/batmand/Manifest b/net-misc/batmand/Manifest
new file mode 100644
index 000000000000..e07909b2a774
--- /dev/null
+++ b/net-misc/batmand/Manifest
@@ -0,0 +1,24 @@
+AUX batmand-conf.d 244 RMD160 ac75f0b7460cd17617fa4168818ad4cd744cd9c6 SHA1 763ed18a86010fe5114f10555e1b0a00351ce2c0 SHA256 ca1252063025bcfedad43ef5a4a199efe4d4cfa7f95fcdef0d3687de95269eb5
+MD5 28b9a799f0cd310dd574c70dd1437fc6 files/batmand-conf.d 244
+RMD160 ac75f0b7460cd17617fa4168818ad4cd744cd9c6 files/batmand-conf.d 244
+SHA256 ca1252063025bcfedad43ef5a4a199efe4d4cfa7f95fcdef0d3687de95269eb5 files/batmand-conf.d 244
+AUX batmand-init.d 298 RMD160 2d3959a2c37474aec5f7e202dae3a6b8efe27310 SHA1 34a9ac8cd435bf4c8e47f0fbe435b1f491206624 SHA256 b6dedf403eb30f60a665a7717ac3ef18876f951b1f469f42b1cf3a00ad10bbf0
+MD5 6462cb572041769ee9f7b2b027aa7c4d files/batmand-init.d 298
+RMD160 2d3959a2c37474aec5f7e202dae3a6b8efe27310 files/batmand-init.d 298
+SHA256 b6dedf403eb30f60a665a7717ac3ef18876f951b1f469f42b1cf3a00ad10bbf0 files/batmand-init.d 298
+DIST batmand_0.2.0rc2-rv422_sources.tgz 42272 RMD160 ceb31ecef806ff0fd445c8dfa72a4c3d6ab462ba SHA1 86035f89801e672e48168affc1e41f8ca61c04b5 SHA256 733c3642f29548d1cdfa9bea22f8b5f6308031e937410914cdd9abc49e84d3d9
+EBUILD batmand-0.2.0_rc2.ebuild 900 RMD160 1ba3d9d361e959fe88e42ee1c9e853311d9be009 SHA1 ec3a6eb582fd2a1aba79e874f65994a15d37abbb SHA256 ba8670adb80540b647907e31c541d5ddfb51f7805c19fab49208dc58fb88c2e6
+MD5 7f50ad13068310c3d00b7d0ad5818fe9 batmand-0.2.0_rc2.ebuild 900
+RMD160 1ba3d9d361e959fe88e42ee1c9e853311d9be009 batmand-0.2.0_rc2.ebuild 900
+SHA256 ba8670adb80540b647907e31c541d5ddfb51f7805c19fab49208dc58fb88c2e6 batmand-0.2.0_rc2.ebuild 900
+MISC ChangeLog 318 RMD160 1596a5a4216957057b883e89e553bc59db8f8215 SHA1 53c23fc9b43b2d3ad063e5c027d1b81c75da2c63 SHA256 f6f409de217503a69792403230c1a37e1e4f6652f5bd25e566b712aa270b5901
+MD5 0b6aa033ca02df0dfd6a56b51920580b ChangeLog 318
+RMD160 1596a5a4216957057b883e89e553bc59db8f8215 ChangeLog 318
+SHA256 f6f409de217503a69792403230c1a37e1e4f6652f5bd25e566b712aa270b5901 ChangeLog 318
+MISC metadata.xml 313 RMD160 f71687ae85b665842a59eb8ab37fc640b1b35dfc SHA1 09e47b211ee8aa423aa148950bcd7ad0816cb517 SHA256 e43c10f2ea545fb0b5d72dd29f52ee5fc4039921b5fc31dac10c1e32d6a932a9
+MD5 0c7c1e8fb0c16ae6483c2d40d55bd5e6 metadata.xml 313
+RMD160 f71687ae85b665842a59eb8ab37fc640b1b35dfc metadata.xml 313
+SHA256 e43c10f2ea545fb0b5d72dd29f52ee5fc4039921b5fc31dac10c1e32d6a932a9 metadata.xml 313
+MD5 15730772225e657ad16c336c2927bfe3 files/digest-batmand-0.2.0_rc2 280
+RMD160 49b52a54007ccdfc0fb346a6536ac8d0fb229777 files/digest-batmand-0.2.0_rc2 280
+SHA256 ef103eec81879ce9bfdd7983bdc3c9ec58920e02f1403835697845b409cc92e6 files/digest-batmand-0.2.0_rc2 280
diff --git a/net-misc/batmand/batmand-0.2.0_rc2.ebuild b/net-misc/batmand/batmand-0.2.0_rc2.ebuild
new file mode 100644
index 000000000000..8def49c0a3ec
--- /dev/null
+++ b/net-misc/batmand/batmand-0.2.0_rc2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/batmand/batmand-0.2.0_rc2.ebuild,v 1.1 2007/06/16 23:31:07 cedk Exp $
+
+inherit versionator eutils toolchain-funcs
+
+MY_PV="$(delete_version_separator 3 )-rv422_sources"
+
+DESCRIPTION="Better approach to modile Ad-Hoc networking"
+HOMEPAGE="http://open-mesh.net/batman"
+SRC_URI="http://downloads.open-mesh.net/batman/stable/sources/${PN}_${MY_PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S=${WORKDIR}/${PN}_${MY_PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e "s/CFLAGS =.*-Wall -O1 -g3/CFLAGS += -Wall/" \
+ -e "s/LDFLAGS =/LDFLAGS +=/" \
+ Makefile || die "sed failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dosbin batmand
+
+ newinitd "${FILESDIR}"/batmand-init.d batmand
+ newconfd "${FILESDIR}"/batmand-conf.d batmand
+
+ dodoc CHANGELOG
+}
diff --git a/net-misc/batmand/files/batmand-conf.d b/net-misc/batmand/files/batmand-conf.d
new file mode 100644
index 000000000000..15c81b0f569f
--- /dev/null
+++ b/net-misc/batmand/files/batmand-conf.d
@@ -0,0 +1,9 @@
+#/etc/conf.d/batmand: config file for /etc/init.d/batmand
+
+# Configure wich interface or interfaces to for batman to use.
+# list all interfaces space separated.
+BATMAN_INTERFACES="eth0"
+
+# Insert any other batman options
+BATMAN_OPTIONS="-d 0"
+
diff --git a/net-misc/batmand/files/batmand-init.d b/net-misc/batmand/files/batmand-init.d
new file mode 100644
index 000000000000..bba510cbeb82
--- /dev/null
+++ b/net-misc/batmand/files/batmand-init.d
@@ -0,0 +1,17 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting batman"
+ start-stop-daemon --start --quiet --exec /usr/sbin/batmand -- ${BATMAN_OPTIONS} ${BATMAN_INTERFACES}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping batman"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/batmand
+ eend $?
+}
diff --git a/net-misc/batmand/files/digest-batmand-0.2.0_rc2 b/net-misc/batmand/files/digest-batmand-0.2.0_rc2
new file mode 100644
index 000000000000..550bd3e3fe1f
--- /dev/null
+++ b/net-misc/batmand/files/digest-batmand-0.2.0_rc2
@@ -0,0 +1,3 @@
+MD5 cfa44a390c3dc574f5192cf41b83bc26 batmand_0.2.0rc2-rv422_sources.tgz 42272
+RMD160 ceb31ecef806ff0fd445c8dfa72a4c3d6ab462ba batmand_0.2.0rc2-rv422_sources.tgz 42272
+SHA256 733c3642f29548d1cdfa9bea22f8b5f6308031e937410914cdd9abc49e84d3d9 batmand_0.2.0rc2-rv422_sources.tgz 42272
diff --git a/net-misc/batmand/metadata.xml b/net-misc/batmand/metadata.xml
new file mode 100644
index 000000000000..b8a9665dda8c
--- /dev/null
+++ b/net-misc/batmand/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>cedk@gentoo.org</email>
+</maintainer>
+<longdescription>a new routing protocol for multi-hop ad-hoc mesh networks</longdescription>
+</pkgmetadata>