summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-17 17:37:19 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-17 17:37:19 +0000
commit1ba59eeae5e93a6da0ca88c7eca0eb456ddac5de (patch)
treee992884ec7058865cc5a2ef75c6da7555fbba04e /net-nds
parentVersion bump #255199 by Chi-Thanh Christopher Nguyen. (diff)
downloadgentoo-2-1ba59eeae5e93a6da0ca88c7eca0eb456ddac5de.tar.gz
gentoo-2-1ba59eeae5e93a6da0ca88c7eca0eb456ddac5de.tar.bz2
gentoo-2-1ba59eeae5e93a6da0ca88c7eca0eb456ddac5de.zip
Add live git ebuild #255201 by Chi-Thanh Christopher Nguyen.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'net-nds')
-rw-r--r--net-nds/rpcbind/ChangeLog7
-rw-r--r--net-nds/rpcbind/rpcbind-9999.ebuild47
2 files changed, 53 insertions, 1 deletions
diff --git a/net-nds/rpcbind/ChangeLog b/net-nds/rpcbind/ChangeLog
index 6823c6c63f06..7b16d8c8fd84 100644
--- a/net-nds/rpcbind/ChangeLog
+++ b/net-nds/rpcbind/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-nds/rpcbind
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/ChangeLog,v 1.3 2009/01/17 17:36:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/ChangeLog,v 1.4 2009/01/17 17:37:19 vapier Exp $
+
+*rpcbind-9999 (17 Jan 2009)
+
+ 17 Jan 2009; Mike Frysinger <vapier@gentoo.org> +rpcbind-9999.ebuild:
+ Add live git ebuild #255201 by Chi-Thanh Christopher Nguyen.
*rpcbind-0.1.7 (17 Jan 2009)
diff --git a/net-nds/rpcbind/rpcbind-9999.ebuild b/net-nds/rpcbind/rpcbind-9999.ebuild
new file mode 100644
index 000000000000..91dbed6ed5dc
--- /dev/null
+++ b/net-nds/rpcbind/rpcbind-9999.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-9999.ebuild,v 1.1 2009/01/17 17:37:19 vapier Exp $
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://git.infradead.org/~steved/rpcbind.git"
+ inherit autotools git
+ SRC_URI=""
+ KEYWORDS=""
+else
+ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="portmap replacement which supports RPC over various protocols"
+HOMEPAGE="http://sourceforge.net/projects/rpcbind/"
+
+LICENSE="BSD sun-rpc"
+SLOT="0"
+IUSE=""
+
+DEPEND="net-libs/libtirpc"
+
+src_unpack() {
+ if [[ ${PV} == "9999" ]] ; then
+ git_src_unpack
+ eautoreconf
+ else
+ unpack ${A}
+ cd "${S}"
+ # fix busted timestamps
+ find . -type f -print0 | xargs -0 touch -r .
+ fi
+}
+
+src_compile() {
+ econf --bindir=/sbin || die
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ doman man/rpc{bind,info}.8
+ dodoc AUTHORS ChangeLog NEWS README
+ newinitd "${FILESDIR}"/rpcbind.initd rpcbind || die
+ newconfd "${FILESDIR}"/rpcbind.confd rpcbind || die
+}