diff options
author | Michael Weber <xmw@gentoo.org> | 2010-09-15 03:24:15 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2010-09-15 03:24:15 +0000 |
commit | e26b0570ebaf30db3c7d7bb86b395d860a25b2d9 (patch) | |
tree | 17ae24d2f1796294b19a7a0da56868625aff758f /net-misc/netkit-bootparamd | |
parent | Stable for HPPA (bug #336381). (diff) | |
download | gentoo-2-e26b0570ebaf30db3c7d7bb86b395d860a25b2d9.tar.gz gentoo-2-e26b0570ebaf30db3c7d7bb86b395d860a25b2d9.tar.bz2 gentoo-2-e26b0570ebaf30db3c7d7bb86b395d860a25b2d9.zip |
Revision bump to respect CC/LDFLAGS, add init.d/conf.d script, added ~amd64 keyword
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/netkit-bootparamd')
-rw-r--r-- | net-misc/netkit-bootparamd/ChangeLog | 13 | ||||
-rw-r--r-- | net-misc/netkit-bootparamd/files/bootparamd.confd | 3 | ||||
-rw-r--r-- | net-misc/netkit-bootparamd/files/bootparamd.initd | 26 | ||||
-rw-r--r-- | net-misc/netkit-bootparamd/metadata.xml | 3 | ||||
-rw-r--r-- | net-misc/netkit-bootparamd/netkit-bootparamd-0.17-r3.ebuild | 45 |
5 files changed, 87 insertions, 3 deletions
diff --git a/net-misc/netkit-bootparamd/ChangeLog b/net-misc/netkit-bootparamd/ChangeLog index d6c369b45c92..f71282887f63 100644 --- a/net-misc/netkit-bootparamd/ChangeLog +++ b/net-misc/netkit-bootparamd/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-misc/netkit-bootparamd -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-bootparamd/ChangeLog,v 1.5 2007/12/14 17:25:09 armin76 Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-bootparamd/ChangeLog,v 1.6 2010/09/15 03:24:15 xmw Exp $ + +*netkit-bootparamd-0.17-r3 (15 Sep 2010) + + 15 Sep 2010; Michael Weber <xmw@gentoo.org> + +netkit-bootparamd-0.17-r3.ebuild, +files/bootparamd.confd, + +files/bootparamd.initd, metadata.xml: + Revision bump to respect CC/LDFLAGS (bug #335457) and add init.d/conf.d + scripts by Alex Buell <alex.buell@munted.org.uk> on bug #323487. Added + ~amd64 keyword. 14 Dec 2007; Raúl Porcel <armin76@gentoo.org> netkit-bootparamd-0.17-r2.ebuild: diff --git a/net-misc/netkit-bootparamd/files/bootparamd.confd b/net-misc/netkit-bootparamd/files/bootparamd.confd new file mode 100644 index 000000000000..f7e233a46de3 --- /dev/null +++ b/net-misc/netkit-bootparamd/files/bootparamd.confd @@ -0,0 +1,3 @@ +# + +OPTS_RPC_BOOTPARAMD="-s" diff --git a/net-misc/netkit-bootparamd/files/bootparamd.initd b/net-misc/netkit-bootparamd/files/bootparamd.initd new file mode 100644 index 000000000000..b08feac68c26 --- /dev/null +++ b/net-misc/netkit-bootparamd/files/bootparamd.initd @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-bootparamd/files/bootparamd.initd,v 1.1 2010/09/15 03:24:15 xmw Exp $ + +[ -e /etc/conf.d/bootparamd ] && . /etc/conf.d/bootparamd + +rpc_bin=/usr/sbin/rpc.bootparamd + +depend() { + use ypbind net + need portmap + after quota +} + +start() { + ebegin "Starting bootparamd" + ${rpc_bin} ${OPTS_RPC_BOOTPARAMD} + eend $? "make sure DNOTIFY support is enabled ..." +} + +stop() { + ebegin "Stopping bootparamd" + start-stop-daemon --stop --exec ${rpc_bin} + eend $? +} diff --git a/net-misc/netkit-bootparamd/metadata.xml b/net-misc/netkit-bootparamd/metadata.xml index 54494c4bb860..32c2cb560368 100644 --- a/net-misc/netkit-bootparamd/metadata.xml +++ b/net-misc/netkit-bootparamd/metadata.xml @@ -3,6 +3,7 @@ <pkgmetadata> <herd>no-herd</herd> <maintainer> -<email>maintainer-needed@gentoo.org</email> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> </maintainer> </pkgmetadata> diff --git a/net-misc/netkit-bootparamd/netkit-bootparamd-0.17-r3.ebuild b/net-misc/netkit-bootparamd/netkit-bootparamd-0.17-r3.ebuild new file mode 100644 index 000000000000..eed1f940e839 --- /dev/null +++ b/net-misc/netkit-bootparamd/netkit-bootparamd-0.17-r3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-bootparamd/netkit-bootparamd-0.17-r3.ebuild,v 1.1 2010/09/15 03:24:15 xmw Exp $ + +EAPI=2 + +inherit eutils toolchain-funcs + +DESCRIPTION="Netkit - bootparamd" +HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/" +SRC_URI="mirror://debian/pool/main/n/${PN}/${PN}_${PV}.orig.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="!<=net-misc/netkit-bootpd-0.17-r2" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}"/0.17-jumpstart.patch + + # don't reset LDFLAGS (bug #335457), manpages into /usr/share/man + sed -i -e '/^LDFLAGS=/d ; /MANDIR=/s:man:share/man:' configure || die + + sed -i -e 's:install -s:install:' rpc.bootparamd/Makefile || die +} + +src_configure() { + # Note this is not an autoconf configure + CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" ./configure || die +} + +src_install() { + dodir usr/bin usr/sbin usr/share/man/man8 || die + emake INSTALLROOT="${D}" install || die + + newconfd "${FILESDIR}"/bootparamd.confd bootparamd || die + newinitd "${FILESDIR}"/bootparamd.initd bootparamd || die + + doman rpc.bootparamd/bootparams.5 || die + dodoc README ChangeLog || die + newdoc rpc.bootparamd/README README.bootparamd || die +} |