summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-fs/libnfs/ChangeLog10
-rw-r--r--net-fs/libnfs/Manifest33
-rw-r--r--net-fs/libnfs/files/libnfs-1.5.0-headers.patch42
-rw-r--r--net-fs/libnfs/libnfs-1.5.0.ebuild45
-rw-r--r--net-fs/libnfs/libnfs-9999.ebuild20
5 files changed, 131 insertions, 19 deletions
diff --git a/net-fs/libnfs/ChangeLog b/net-fs/libnfs/ChangeLog
index db029e3a3713..318f20f9ec03 100644
--- a/net-fs/libnfs/ChangeLog
+++ b/net-fs/libnfs/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-fs/libnfs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/libnfs/ChangeLog,v 1.3 2012/05/03 04:06:32 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/libnfs/ChangeLog,v 1.4 2012/12/04 03:54:39 vapier Exp $
+
+*libnfs-1.5.0 (04 Dec 2012)
+
+ 04 Dec 2012; Mike Frysinger <vapier@gentoo.org>
+ +files/libnfs-1.5.0-headers.patch, +libnfs-1.5.0.ebuild, libnfs-9999.ebuild:
+ Version bump. Disable libtirpc as upstream has deprecated it #442588 by
+ Torsten Kurbad.
03 May 2012; Jeff Horelick <jdhore@gentoo.org> libnfs-1.3.0.ebuild,
libnfs-9999.ebuild:
@@ -16,4 +23,3 @@
06 Nov 2011; Mike Frysinger <vapier@gentoo.org> +libnfs-9999.ebuild,
+metadata.xml:
Initial ebuild #382751 by hal.
-
diff --git a/net-fs/libnfs/Manifest b/net-fs/libnfs/Manifest
index 8fdb612ed62f..f571be14c93b 100644
--- a/net-fs/libnfs/Manifest
+++ b/net-fs/libnfs/Manifest
@@ -1,5 +1,28 @@
-DIST libnfs-1.3.0.tgz 57936 RMD160 294c8a440b3d847f36fb08603f21f8a438f9fd59 SHA1 26139ade243e70682b856ced3fc40dbea57f44aa SHA256 0acda3029db699c3978684080843f71d222ad35b30a2ff0d220d144e98854948
-EBUILD libnfs-1.3.0.ebuild 1009 RMD160 32beeacb3eaa291b88056220ba2e7afb0f751d7c SHA1 735c56ec4a8c98d603bf4d68dc4fbf5420f79e8e SHA256 f10ac34d57a75c1801a95377944d896308be6210465bcdc2296b0621539f9c36
-EBUILD libnfs-9999.ebuild 1008 RMD160 574b467d1f51486b19bf0e5ece5dc1c94a06ed3f SHA1 b9203d3d0dcb6ee6c62859c6c59685085d3fd6b6 SHA256 cebe9b9a9717768888286336ca5735d42e447d18bc1bd85df9970fa0dbb8c3b0
-MISC ChangeLog 617 RMD160 fff1a5085f9032c922c8243cee71dd3c9204a88d SHA1 6bd4f36857f50114d9bb314c5691c359abf8cd50 SHA256 ae73bd85c658691df4a725aea69627c26f78cc6cc8e3174c65bd7faf7a6669a7
-MISC metadata.xml 159 RMD160 8e0977b9abd90afe9e1d5c1326823a5726f6e2a4 SHA1 33f35324ce730e28838be228d9ee4e4dd1bab1e5 SHA256 562c59615c028ffa088de789b3a792fd4cbbbfe71628ddd6a55d3b176becbc6b
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX libnfs-1.5.0-headers.patch 1200 SHA256 e37bbb37408792e6330f79a2ccaab4a135525000f6c416219f602a8a72f65aa2 SHA512 e73bf1a5dbf6bda6dc73b95cb90c9325b853305f8963483c37ee62391b25dee458fcc04a99702c333e27fa090c423c4aaa8f02c354cbf77d86a5d021c3e072fc WHIRLPOOL 7b3d2b882494cfd5e86c0aac783fad3c4d071667481db1ff5aa18db32e5024c39517cdf4b777f6493a066b4d40e5267c51f80d6044a8058afb4d12b1f55cc07f
+DIST libnfs-1.3.0.tgz 57936 SHA256 0acda3029db699c3978684080843f71d222ad35b30a2ff0d220d144e98854948 SHA512 95377bddc487f3c49db74878671115f40fdf59a2d8d63d3aed0b64b6420e5940897b7c4c515b6560e105131117aafe5c851849c44b611e35b12814c5adfde57f WHIRLPOOL 947d08a056071c331b0736ac316eeae9c81f138a8823158cb6a7e001f46e151f8b655017dba20f3dd453205e13249ab3816488b67d44f8000ac5f4ef1baf4928
+DIST libnfs-1.5.0.tar.gz 787385 SHA256 5663355dc18e75c893e09b133ca3ef70cf00754acfea863257f509922b5e5faa SHA512 e7e1699ef6fd9209eec54da804dc02048de2bc968be35e8a01770bb3dae5559a73d7cf54c1bf14ebe25ef3f1953b34aa6d1fc2521835fb1044c23a585d5dcff1 WHIRLPOOL 55068877acfbadba3c976239a51a4f6106069f3a13d774f1f34f447d3380ab1c0f743b4030b2ff3628db9d0d9c9b1795687dbc244ef26d0a35869d1c4a083d53
+EBUILD libnfs-1.3.0.ebuild 1009 SHA256 f10ac34d57a75c1801a95377944d896308be6210465bcdc2296b0621539f9c36 SHA512 9109fd5f6dbcae951846abccb7aac7c63c9a8241132790b965d788ad8c2804fbdf8e3e0ba835ccc620bc4e6b87868dd922455378c38088b156a7f69c090ac5fd WHIRLPOOL a72dfec43bf58da360d4c0d1c86b503851b63bc3112f4b458a7d283218edab63c510ec416af53a053e41ecaec653442ca1a2158487fdcfec4914e3da8413e780
+EBUILD libnfs-1.5.0.ebuild 994 SHA256 2b0004e3e578729797db347874c04c47a983c29878f0c78539541193df338cd6 SHA512 aa2b9e2bfc4cf8ff62f091b70808c2591a0abb246069b93fbaef775b683b0325e7cc3230286193ee6cdea84a043e21d3f6ac2ac6af1a854d7cc42ecc5e7d4d8f WHIRLPOOL 4a8e2083f302c98172e8414b37739450f3e189e5b23b19f646b4d495fb2164390c05929afd90aa541618e0e0ced9ce67d04bcccd3445e343861c407a9d6b73d1
+EBUILD libnfs-9999.ebuild 993 SHA256 6d783dcdd826c4e299e3929d85f7fba2ff3ad743ccef717d683f669d0cfba384 SHA512 9e5f942864b8591a4786331e77235ff47697cedbdc6a4aea8f9bb4f78661b9ffb411f2b4f744c0217dc3c56d231cd707afa161f70c81c8ca8153d81fca0bca0f WHIRLPOOL ee45a24a83704cf328009b8df4b51b9d92e143106b500a3e9eec9b39afaa5690519b53eb03cf29e916477484687a386f9c76bf41f296eda6c63eaafab2de4a16
+MISC ChangeLog 868 SHA256 1d4f194e6091be1659d0d234e217df4e10187fed32f0e25c3098e09171287029 SHA512 36db54bd28b050c59cb91ca1d8e98129725895f1cec56ae9f1c3a6e5025b54a829be1367571b9122ca9dd06579f05c3ae5ce077773820e182bd44fa811f5738f WHIRLPOOL 4e28950efad8ef808ac38232e8ccd0090fbf84680bf8a4d76bd5d828484e2ca162d6d52b442ce27b88f34e8b13bdd78cd0b6d5a74879996a044823a516130e2d
+MISC metadata.xml 159 SHA256 562c59615c028ffa088de789b3a792fd4cbbbfe71628ddd6a55d3b176becbc6b SHA512 9645bd7d570c2eefd7f14adf726c056a6295d45263f143e365a3fd2e8e6128392eb5fa1103b3a3bb60a622b4595ac7fe3ec19430184210ff63e86d5f03635704 WHIRLPOOL 1d62390192bf65ac30d67f3c0a872536dd8e6a5a0d8d978e5e8f83f09e44907abf16825066c9976e8be482398385737a024837da3c544eaf912ec2710318e289
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCAAGBQJQvXQfAAoJELEHsLL7fEFWVzUQAJGGg/12/Um7w6md4u1V9aUS
+CFYj/13QOxtalec/2HURkEHzXdb5M1KnxJplzTROY9EgjtfZSX0lDz/THfMO7V2p
+SG6jXdCAZNzMzDHia0RILUDsuT9hF1rqcR674z6WNGAazSHFD4d3maVDS0TyO8TA
+1sSIBWToKDSoieRaLQOlK/fQ/DJJkKca+diHdfLnbxDx9i9SPEks/z3YL4icFIn1
+pnvD49dH7k95PWtUkDuQ0eEjyXj0xkIlGfUGgVpTtc/5MEDgOoWs5OmEbHJqoKHa
+xG78tHeWDTVuzbciDWcTjDgmrkkuA+po6cAKeKZNJdXR94ZLmC+pquwdXXOrscR/
+AuK9ODc4bRfWQqJSTczuIAB1eBXVwYUXp2333Y6AKjpsTUDNhDE4PpmV5AmwgtrT
+/yIi6hRAkEFjjctryzfFMauyYqKzoI8VycXupDHeBiZ8sU238dWk7AdBbrtjVsg1
+pdRJkx4VhMKQ+yGt5lP+SHz2G78hljb5Lay6aLh2yiZMFuLsfp1ulNBsLJ5RkSOV
+bhOLtsCIa0wKDlmjQSP7rmLFpTCR0EBenUHkelkfGCiTYkH9U3YcoLvBX8IF00aC
+iJ2PUtLck6Yw9aT83qYGYQpYbKR1CsD+Ii10HQal7prtQIUTrUSBqEjHOtckp2fW
+dKm572HzjVj4LUf4a5YZ
+=QmEh
+-----END PGP SIGNATURE-----
diff --git a/net-fs/libnfs/files/libnfs-1.5.0-headers.patch b/net-fs/libnfs/files/libnfs-1.5.0-headers.patch
new file mode 100644
index 000000000000..68ec6d3c71c6
--- /dev/null
+++ b/net-fs/libnfs/files/libnfs-1.5.0-headers.patch
@@ -0,0 +1,42 @@
+From 32bd77c82fe12fbfe0a1d50f64fa1959cf699bea Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Mon, 3 Dec 2012 22:30:04 -0500
+Subject: [PATCH] fix implicit decl warnings
+
+Include the proper headers to fix these warnings:
+libnfs-sync.c:1529:3: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration]
+libnfs-zdr.c:506:2: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration]
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ lib/libnfs-sync.c | 1 +
+ lib/libnfs-zdr.c | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/lib/libnfs-sync.c b/lib/libnfs-sync.c
+index fd6f796..1fbeb8f 100644
+--- a/lib/libnfs-sync.c
++++ b/lib/libnfs-sync.c
+@@ -45,6 +45,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <assert.h>
++#include <sys/time.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+diff --git a/lib/libnfs-zdr.c b/lib/libnfs-zdr.c
+index a243d1d..3d5fd30 100644
+--- a/lib/libnfs-zdr.c
++++ b/lib/libnfs-zdr.c
+@@ -29,6 +29,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <time.h>
++#include <unistd.h>
+ #include "libnfs-zdr.h"
+
+ struct opaque_auth _null_auth;
+--
+1.7.12.4
+
diff --git a/net-fs/libnfs/libnfs-1.5.0.ebuild b/net-fs/libnfs/libnfs-1.5.0.ebuild
new file mode 100644
index 000000000000..cbcb77f8bdcc
--- /dev/null
+++ b/net-fs/libnfs/libnfs-1.5.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/libnfs/libnfs-1.5.0.ebuild,v 1.1 2012/12/04 03:54:39 vapier Exp $
+
+EAPI="4"
+
+inherit eutils
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://github.com/sahlberg/libnfs.git"
+ inherit git-2 autotools
+else
+ SRC_URI="https://github.com/downloads/sahlberg/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="client library for accessing NFS shares over a network"
+HOMEPAGE="https://github.com/sahlberg/libnfs"
+
+LICENSE="LGPL-2.1 GPL-3"
+SLOT="0"
+IUSE="static-libs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_unpack() {
+ default
+ [[ ${PV} == "9999" ]] && git-2_src_unpack
+}
+
+src_prepare() {
+ [[ ${PV} == "9999" ]] && eautoreconf
+ epatch "${FILESDIR}"/${PN}-1.5.0-headers.patch
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use static-libs || find "${ED}" -name '*.la' -delete
+}
diff --git a/net-fs/libnfs/libnfs-9999.ebuild b/net-fs/libnfs/libnfs-9999.ebuild
index 424df33f9e9b..008aa78d1943 100644
--- a/net-fs/libnfs/libnfs-9999.ebuild
+++ b/net-fs/libnfs/libnfs-9999.ebuild
@@ -1,15 +1,15 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/libnfs/libnfs-9999.ebuild,v 1.2 2012/05/03 04:06:32 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/libnfs/libnfs-9999.ebuild,v 1.3 2012/12/04 03:54:39 vapier Exp $
EAPI="4"
-inherit autotools
+inherit eutils
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://github.com/sahlberg/libnfs.git"
- inherit git-2
+ inherit git-2 autotools
else
- SRC_URI="https://github.com/sahlberg/${PN}/tarball/${P} -> ${P}.tgz"
+ SRC_URI="https://github.com/downloads/sahlberg/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
@@ -20,26 +20,22 @@ LICENSE="LGPL-2.1 GPL-3"
SLOT="0"
IUSE="static-libs"
-RDEPEND="net-libs/libtirpc"
+RDEPEND=""
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_unpack() {
default
- if [[ ${PV} == "9999" ]] ; then
- git-2_src_unpack
- else
- mv sahlberg-libnfs-* "${S}" || die
- fi
+ [[ ${PV} == "9999" ]] && git-2_src_unpack
}
src_prepare() {
- eautoreconf
+ [[ ${PV} == "9999" ]] && eautoreconf
+ epatch "${FILESDIR}"/${PN}-1.5.0-headers.patch
}
src_configure() {
econf \
- --enable-tirpc \
$(use_enable static-libs static)
}