diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2011-01-08 17:12:51 +0000 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2011-01-08 17:12:51 +0000 |
commit | d39e5b78eaaa3011973a852585a255745edfd357 (patch) | |
tree | a5af12abfe93a4133438079e0f7b0f0e552be06d /media-radio/ax25-tools | |
parent | Drop blocking dep on dev-tinyos/listen as it is no longer in the tree. (diff) | |
download | gentoo-2-d39e5b78eaaa3011973a852585a255745edfd357.tar.gz gentoo-2-d39e5b78eaaa3011973a852585a255745edfd357.tar.bz2 gentoo-2-d39e5b78eaaa3011973a852585a255745edfd357.zip |
Moved from sunrise overlay to main tree (Bug #232927).
(Portage version: 2.1.9.30/cvs/Linux x86_64)
Diffstat (limited to 'media-radio/ax25-tools')
-rw-r--r-- | media-radio/ax25-tools/ChangeLog | 13 | ||||
-rw-r--r-- | media-radio/ax25-tools/ax25-tools-0.0.10_rc2.ebuild | 50 | ||||
-rw-r--r-- | media-radio/ax25-tools/files/ax25-tools-0.0.10_rc2-parallel-make.patch | 31 | ||||
-rw-r--r-- | media-radio/ax25-tools/files/ax25d.rc | 20 | ||||
-rw-r--r-- | media-radio/ax25-tools/files/mheardd.rc | 20 | ||||
-rw-r--r-- | media-radio/ax25-tools/files/netromd.rc | 20 | ||||
-rw-r--r-- | media-radio/ax25-tools/files/rip98d.rc | 20 | ||||
-rw-r--r-- | media-radio/ax25-tools/files/rxecho.rc | 20 | ||||
-rw-r--r-- | media-radio/ax25-tools/files/ttylinkd.rc | 20 | ||||
-rw-r--r-- | media-radio/ax25-tools/metadata.xml | 12 |
10 files changed, 226 insertions, 0 deletions
diff --git a/media-radio/ax25-tools/ChangeLog b/media-radio/ax25-tools/ChangeLog new file mode 100644 index 000000000000..007084aecf7b --- /dev/null +++ b/media-radio/ax25-tools/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for media-radio/ax25-tools +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-radio/ax25-tools/ChangeLog,v 1.8 2011/01/08 17:12:51 tomjbe Exp $ + +*ax25-tools-0.0.10_rc2 (08 Jan 2011) + + 08 Jan 2011; Thomas Beierlein <tomjbe@gentoo.org> + +ax25-tools-0.0.10_rc2.ebuild, +files/ax25d.rc, + +files/ax25-tools-0.0.10_rc2-parallel-make.patch, +files/mheardd.rc, + +files/netromd.rc, +files/rip98d.rc, +files/rxecho.rc, +files/ttylinkd.rc, + +metadata.xml: + Moved from sunrise overlay to main tree (Bug #232927) + diff --git a/media-radio/ax25-tools/ax25-tools-0.0.10_rc2.ebuild b/media-radio/ax25-tools/ax25-tools-0.0.10_rc2.ebuild new file mode 100644 index 000000000000..0b563ea7dbe9 --- /dev/null +++ b/media-radio/ax25-tools/ax25-tools-0.0.10_rc2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-radio/ax25-tools/ax25-tools-0.0.10_rc2.ebuild,v 1.1 2011/01/08 17:12:51 tomjbe Exp $ + +EAPI="2" +inherit autotools eutils + +MY_P=${P/_/-} + +DESCRIPTION="Basic AX.25 (Amateur Radio) administrative tools and daemons" +HOMEPAGE="http://www.linux-ax25.org/" +SRC_URI="http://www.linux-ax25.org/pub/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="X" + +S=${WORKDIR}/${MY_P} + +DEPEND="dev-libs/libax25 + X? ( x11-libs/libX11 + media-libs/mesa )" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}/${P}-parallel-make.patch" + eautoreconf +} + +src_configure() { + econf $(use_with X x) +} + +src_install() { + emake DESTDIR="${D}" install installconf || die "emake install failed" + + # Package does not respect --docdir + rm -rf "${D}"/usr/share/doc/ax25-tools || die "clean-up doc failed" + dodoc AUTHORS ChangeLog NEWS README tcpip/ttylinkd.README \ + user_call/README.user_call yamdrv/README.yamdrv dmascc/README.dmascc \ + tcpip/ttylinkd.INSTALL || die "dodoc failed" + + newinitd "${FILESDIR}"/ax25d.rc ax25d || die "ax25d rc install failed" + newinitd "${FILESDIR}"/mheardd.rc mheardd || die "mheardd rc install failed" + newinitd "${FILESDIR}"/netromd.rc netromd || die "netromd rc install failed" + newinitd "${FILESDIR}"/rip98d.rc rip98d || die "rip98d rc install failed" + newinitd "${FILESDIR}"/rxecho.rc rxecho || die "rxecho rc install failed" + newinitd "${FILESDIR}"/ttylinkd.rc ttylinkd || die "ttylinkd install failed" +} diff --git a/media-radio/ax25-tools/files/ax25-tools-0.0.10_rc2-parallel-make.patch b/media-radio/ax25-tools/files/ax25-tools-0.0.10_rc2-parallel-make.patch new file mode 100644 index 000000000000..c30bb6d9105e --- /dev/null +++ b/media-radio/ax25-tools/files/ax25-tools-0.0.10_rc2-parallel-make.patch @@ -0,0 +1,31 @@ +--- ax25/axgetput/Makefile.am.orig 2008-08-04 00:52:33.000000000 +0200 ++++ ax25/axgetput/Makefile.am 2009-09-20 18:17:18.000000000 +0200 +@@ -13,7 +13,7 @@ + + axgetput_SOURCES = axgetput.c axgetput.h util.h proto_bin.h util.c proto_bin.c includes.h + +-install-exec-local: ++install-exec-hook: + (cd $(DESTDIR)$(bindir) && ln -sf axgetput bget && ln -sf axgetput bput) + + install-data-hook: +--- 6pack/Makefile.am.orig 2009-09-25 16:13:13.000000000 +0200 ++++ 6pack/Makefile.am 2009-09-25 16:14:03.000000000 +0200 +@@ -15,6 +15,6 @@ + AX25_SYSCONFDIR=${sysconfdir}/ax25/ + AX25_LOCALSTATEDIR=${localstatedir}/ax25/ + +-install-exec-local: ++install-exec-hook: + (cd $(DESTDIR)$(sbindir)) + +--- kiss/Makefile.am.orig 2009-09-25 16:15:07.000000000 +0200 ++++ kiss/Makefile.am 2009-09-25 16:15:21.000000000 +0200 +@@ -15,6 +15,6 @@ + AX25_SYSCONFDIR=${sysconfdir}/ax25/ + AX25_LOCALSTATEDIR=${localstatedir}/ax25/ + +-install-exec-local: ++install-exec-hook: + (cd $(DESTDIR)$(sbindir) ; ln -sf kissattach spattach) + diff --git a/media-radio/ax25-tools/files/ax25d.rc b/media-radio/ax25-tools/files/ax25d.rc new file mode 100644 index 000000000000..608d20a9384d --- /dev/null +++ b/media-radio/ax25-tools/files/ax25d.rc @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-radio/ax25-tools/files/ax25d.rc,v 1.5 2011/01/08 17:12:50 tomjbe Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting ax25d" + start-stop-daemon --start --quiet --background --exec /usr/sbin/ax25d + eend $? +} + +stop() { + ebegin "Stopping ax25d" + start-stop-daemon --stop --quiet --exec /usr/sbin/ax25d + eend $? +} diff --git a/media-radio/ax25-tools/files/mheardd.rc b/media-radio/ax25-tools/files/mheardd.rc new file mode 100644 index 000000000000..04874cb9f19c --- /dev/null +++ b/media-radio/ax25-tools/files/mheardd.rc @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-radio/ax25-tools/files/mheardd.rc,v 1.5 2011/01/08 17:12:50 tomjbe Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting mheardd" + start-stop-daemon --start --quiet --background --exec /usr/sbin/mheardd + eend $? +} + +stop() { + ebegin "Stopping mheardd" + start-stop-daemon --stop --quiet --exec /usr/sbin/mheardd + eend $? +} diff --git a/media-radio/ax25-tools/files/netromd.rc b/media-radio/ax25-tools/files/netromd.rc new file mode 100644 index 000000000000..8ed515325444 --- /dev/null +++ b/media-radio/ax25-tools/files/netromd.rc @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-radio/ax25-tools/files/netromd.rc,v 1.5 2011/01/08 17:12:50 tomjbe Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting netromd" + start-stop-daemon --start --quiet --background --exec /usr/sbin/netromd + eend $? +} + +stop() { + ebegin "Stopping netromd" + start-stop-daemon --stop --quiet --exec /usr/sbin/netromd + eend $? +} diff --git a/media-radio/ax25-tools/files/rip98d.rc b/media-radio/ax25-tools/files/rip98d.rc new file mode 100644 index 000000000000..5cb1aff81582 --- /dev/null +++ b/media-radio/ax25-tools/files/rip98d.rc @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-radio/ax25-tools/files/rip98d.rc,v 1.5 2011/01/08 17:12:50 tomjbe Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting rip98d" + start-stop-daemon --start --quiet --background --exec /usr/sbin/rip98d + eend $? +} + +stop() { + ebegin "Stopping rip98d" + start-stop-daemon --stop --quiet --exec /usr/sbin/rip98d + eend $? +} diff --git a/media-radio/ax25-tools/files/rxecho.rc b/media-radio/ax25-tools/files/rxecho.rc new file mode 100644 index 000000000000..e5c05ed63e79 --- /dev/null +++ b/media-radio/ax25-tools/files/rxecho.rc @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-radio/ax25-tools/files/rxecho.rc,v 1.5 2011/01/08 17:12:50 tomjbe Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting rxecho" + start-stop-daemon --start --quiet --background --exec /usr/sbin/rxecho + eend $? +} + +stop() { + ebegin "Stopping rxecho" + start-stop-daemon --stop --quiet --exec /usr/sbin/rxecho + eend $? +} diff --git a/media-radio/ax25-tools/files/ttylinkd.rc b/media-radio/ax25-tools/files/ttylinkd.rc new file mode 100644 index 000000000000..97b28685c719 --- /dev/null +++ b/media-radio/ax25-tools/files/ttylinkd.rc @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-radio/ax25-tools/files/ttylinkd.rc,v 1.5 2011/01/08 17:12:50 tomjbe Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting ttylinkd" + start-stop-daemon --start --quiet --background --exec /usr/sbin/ttylinkd + eend $? +} + +stop() { + ebegin "Stopping ttylinkd" + start-stop-daemon --stop --quiet --exec /usr/sbin/ttylinkd + eend $? +} diff --git a/media-radio/ax25-tools/metadata.xml b/media-radio/ax25-tools/metadata.xml new file mode 100644 index 000000000000..1db8273406fb --- /dev/null +++ b/media-radio/ax25-tools/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>tomjbe@gentoo,.org</email> + <name>Thomaas Beierlein</name> + </maintainer> + <use> + <flag name='X'>Enable some X based configuration tools.</flag> + </use> +</pkgmetadata> |