summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-30 21:08:02 +0000
committerMike Frysinger <vapier@gentoo.org>2009-05-30 21:08:02 +0000
commit24d536c5847ca029e0b30bf1a5b875bd88fa8f0b (patch)
tree6f6c40506474c5c11f5a0dc605aafd7dcae84ecb /net-libs/libtirpc
parentVersion bump. (diff)
downloadhistorical-24d536c5847ca029e0b30bf1a5b875bd88fa8f0b.tar.gz
historical-24d536c5847ca029e0b30bf1a5b875bd88fa8f0b.tar.bz2
historical-24d536c5847ca029e0b30bf1a5b875bd88fa8f0b.zip
Fix link error when USE=-gss.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'net-libs/libtirpc')
-rw-r--r--net-libs/libtirpc/ChangeLog6
-rw-r--r--net-libs/libtirpc/Manifest11
-rw-r--r--net-libs/libtirpc/files/libtirpc-0.2.0-no-gss.patch13
-rw-r--r--net-libs/libtirpc/libtirpc-0.2.0.ebuild10
4 files changed, 33 insertions, 7 deletions
diff --git a/net-libs/libtirpc/ChangeLog b/net-libs/libtirpc/ChangeLog
index 6104ccb515d7..c97fcb2a7fa2 100644
--- a/net-libs/libtirpc/ChangeLog
+++ b/net-libs/libtirpc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/libtirpc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/ChangeLog,v 1.5 2009/05/30 21:02:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/ChangeLog,v 1.6 2009/05/30 21:08:02 vapier Exp $
+
+ 30 May 2009; Mike Frysinger <vapier@gentoo.org> libtirpc-0.2.0.ebuild,
+ +files/libtirpc-0.2.0-no-gss.patch:
+ Fix link error when USE=-gss.
*libtirpc-0.2.0 (30 May 2009)
diff --git a/net-libs/libtirpc/Manifest b/net-libs/libtirpc/Manifest
index 27ad4317899f..7c31494ab17e 100644
--- a/net-libs/libtirpc/Manifest
+++ b/net-libs/libtirpc/Manifest
@@ -1,16 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX libtirpc-0.2.0-no-gss.patch 385 RMD160 5fc38f8daccec8d47a72bcbf4a88600961880c21 SHA1 398b144b6cecd0aa742c24e46109971422db7dc0 SHA256 3212e53dafb9be8fa2899e89ca205b7213b50140d013e43dc1589e37e476a56f
DIST libtirpc-0.1.10.tar.bz2 416468 RMD160 494ae5beb892e47a551cba974b6586cf35af89b2 SHA1 42702d6f40acdf040c421554f36621e68920e702 SHA256 8441ee7b583b964c961e4e2b502063b668bb0b59c405526176e71d071caf0b0a
DIST libtirpc-0.2.0.tar.bz2 436321 RMD160 6a6583e3db021a581b4a6ef078980d186345d44e SHA1 fba25db14518daeaca3ede3e38ef6e18ba1c9a8f SHA256 084c0661773c489df910f24caf915f2cf96ed3e00dea5222e788b754fea4c0db
EBUILD libtirpc-0.1.10.ebuild 684 RMD160 0a61e18c6162f1e50f24974c96b540d245e7dda0 SHA1 c1cae64f22c0f0ebdc690d2fe18b90af8a21a8af SHA256 b3f164c22c5472b130f60d084fc245a92879014700f1176f564af3841988bfd2
-EBUILD libtirpc-0.2.0.ebuild 673 RMD160 8663902bfd796bd42cbb2cbf7e819a2fcaf9935f SHA1 c043ac7434bd235de8762191549e5f264cfbb89d SHA256 34e74e6c98fe67fae7621fc2d052840719265f37649ab7f43947156c42e33478
-MISC ChangeLog 958 RMD160 a286ea518b659337f41f668f09ff07d2ecbe45f2 SHA1 5259413a8f152ff905234922c237319caf476903 SHA256 b259f1749d8fa365e8bcdf77f73e8ecbff214703da66010afa92f069ea919b10
+EBUILD libtirpc-0.2.0.ebuild 771 RMD160 7b4f6db138fc388e08fe4064cbb91e877f761cc0 SHA1 bc76b20c6a4880d6ffef5f5b219e89a5997d53b0 SHA256 179c0656a1ac67ca3ad9322369c940bcff7a55957df78041a01557d0c9ed2fa9
+MISC ChangeLog 1102 RMD160 eb269ff2ffbda5570c089faf7323304c8e19378b SHA1 4c2c081aa5466140825576113ce4f81a68db9440 SHA256 1ad6c15485224149dbd84888db1367b219c8ba9c363c572ac68232e11018f58c
MISC metadata.xml 159 RMD160 8e0977b9abd90afe9e1d5c1326823a5726f6e2a4 SHA1 33f35324ce730e28838be228d9ee4e4dd1bab1e5 SHA256 562c59615c028ffa088de789b3a792fd4cbbbfe71628ddd6a55d3b176becbc6b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkohnnkACgkQn/5bYzqsSmHnowCgqXrYlV5Ah4iqtLTETCYMYoeU
-QrUAn3XkQniGemqVGNBEPLi//bxwXnkw
-=QJdx
+iEYEARECAAYFAkohn9sACgkQn/5bYzqsSmH8/ACeI+sBNuQ9R0LHnfbr2SWGErQM
+CBgAnRx2I5cXK/qbLy3HHXmtCe9boebS
+=Zfhm
-----END PGP SIGNATURE-----
diff --git a/net-libs/libtirpc/files/libtirpc-0.2.0-no-gss.patch b/net-libs/libtirpc/files/libtirpc-0.2.0-no-gss.patch
new file mode 100644
index 000000000000..6ab54a0c1f75
--- /dev/null
+++ b/net-libs/libtirpc/files/libtirpc-0.2.0-no-gss.patch
@@ -0,0 +1,13 @@
+if gss is disabled, then svc_auth_gss_ops won't be available
+
+--- src/svc.c
++++ src/svc.c
+@@ -77,7 +77,7 @@
+
+ extern rwlock_t svc_lock;
+ extern rwlock_t svc_fd_lock;
+-extern struct svc_auth_ops svc_auth_gss_ops;
++extern struct svc_auth_ops svc_auth_gss_ops __attribute__((weak));
+
+ static struct svc_callout *svc_find (rpcprog_t, rpcvers_t,
+ struct svc_callout **, char *);
diff --git a/net-libs/libtirpc/libtirpc-0.2.0.ebuild b/net-libs/libtirpc/libtirpc-0.2.0.ebuild
index da0217a172b1..5f08159df77e 100644
--- a/net-libs/libtirpc/libtirpc-0.2.0.ebuild
+++ b/net-libs/libtirpc/libtirpc-0.2.0.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/libtirpc-0.2.0.ebuild,v 1.1 2009/05/30 21:02:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/libtirpc-0.2.0.ebuild,v 1.2 2009/05/30 21:08:02 vapier Exp $
+
+inherit eutils
DESCRIPTION="Transport Independent RPC library (SunRPC replacement)"
HOMEPAGE="http://libtirpc.sourceforge.net/"
@@ -13,6 +15,12 @@ IUSE="kerberos"
DEPEND="kerberos? ( net-libs/libgssglue )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-no-gss.patch
+}
+
src_compile() {
econf $(use_enable kerberos gss) || die
emake || die