summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-02-02 07:59:58 +0000
committerMike Frysinger <vapier@gentoo.org>2014-02-02 07:59:58 +0000
commit50368c84923fef33f60d9e72657db53eeca0f3b6 (patch)
treed0b51c90c2c28c023006473acce843488eb79a35 /net-libs/libtirpc
parentBug #479950: bring back dmsetup-only build to make some users happy. Please n... (diff)
downloadgentoo-2-50368c84923fef33f60d9e72657db53eeca0f3b6.tar.gz
gentoo-2-50368c84923fef33f60d9e72657db53eeca0f3b6.tar.bz2
gentoo-2-50368c84923fef33f60d9e72657db53eeca0f3b6.zip
Depend on virtual/krb5 for USE=kerberos rather than gssglue #493912 by Torsten Kaiser.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'net-libs/libtirpc')
-rw-r--r--net-libs/libtirpc/ChangeLog8
-rw-r--r--net-libs/libtirpc/libtirpc-0.2.4-r1.ebuild50
2 files changed, 57 insertions, 1 deletions
diff --git a/net-libs/libtirpc/ChangeLog b/net-libs/libtirpc/ChangeLog
index 86a78b7f151f..92b92b6f1ee4 100644
--- a/net-libs/libtirpc/ChangeLog
+++ b/net-libs/libtirpc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/libtirpc
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/ChangeLog,v 1.32 2014/01/18 04:52:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/ChangeLog,v 1.33 2014/02/02 07:59:58 vapier Exp $
+
+*libtirpc-0.2.4-r1 (02 Feb 2014)
+
+ 02 Feb 2014; Mike Frysinger <vapier@gentoo.org> +libtirpc-0.2.4-r1.ebuild:
+ Depend on virtual/krb5 for USE=kerberos rather than gssglue #493912 by Torsten
+ Kaiser.
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> libtirpc-0.2.2-r1.ebuild,
libtirpc-0.2.3.ebuild, libtirpc-0.2.4.ebuild:
diff --git a/net-libs/libtirpc/libtirpc-0.2.4-r1.ebuild b/net-libs/libtirpc/libtirpc-0.2.4-r1.ebuild
new file mode 100644
index 000000000000..1aca10ab12b9
--- /dev/null
+++ b/net-libs/libtirpc/libtirpc-0.2.4-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/libtirpc-0.2.4-r1.ebuild,v 1.1 2014/02/02 07:59:58 vapier Exp $
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Transport Independent RPC library (SunRPC replacement)"
+HOMEPAGE="http://libtirpc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+ mirror://gentoo/${PN}-glibc-nfs.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="ipv6 kerberos static-libs"
+
+RDEPEND="kerberos? ( virtual/krb5 )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cp -r tirpc "${S}"/ || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable ipv6) \
+ $(use_enable kerberos gssapi) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ insinto /etc
+ doins doc/netconfig
+
+ insinto /usr/include/tirpc
+ doins -r "${WORKDIR}"/tirpc/*
+
+ # libtirpc replaces rpc support in glibc, so we need it in /
+ gen_usr_ldscript -a tirpc
+
+ # makes sure that the linking order for nfs-utils is proper, as
+ # libtool would inject a libgssglue dependency in the list.
+ use static-libs || find "${ED}" -name '*.la' -delete
+}