summaryrefslogtreecommitdiff
path: root/net-fs/libnfs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-29 05:41:15 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-29 05:41:15 +0000
commit48f3e81fd35a18cd49f8b8d6a041f33ad88f9c89 (patch)
tree21e7be95bcd3ec7cc6c71b3fea560ea936ddef82 /net-fs/libnfs
parentcb7e4377c338fd6cd2fb4fc22d64eef88e390161 (diff)
gentoo auto-resync : 29:02:2024 - 05:41:15
Diffstat (limited to 'net-fs/libnfs')
-rw-r--r--net-fs/libnfs/Manifest2
-rw-r--r--net-fs/libnfs/libnfs-5.0.3.ebuild59
2 files changed, 61 insertions, 0 deletions
diff --git a/net-fs/libnfs/Manifest b/net-fs/libnfs/Manifest
index 0301f76d52c9..970c6d9570ea 100644
--- a/net-fs/libnfs/Manifest
+++ b/net-fs/libnfs/Manifest
@@ -1,4 +1,6 @@
DIST libnfs-5.0.2.tar.gz 281154 BLAKE2B 9de3d02e5ae4d41eacda152678e6552708b33d4e88cc6fc5f7b16c887f911fc5a5e834952505438220c961f71a8b70540be3254d5889a4336200d5633dce313e SHA512 6dcf4ea8a01b35beb53694625d20fbebd858a88725c2742671878ad6fe7877999f93d262fb58a435b00c283c3e6fb6fa7222d04bb4540bf674b7ce196e9424f5
+DIST libnfs-5.0.3.tar.gz 291079 BLAKE2B 4ce19c317bfd47110d9f42bb2dfb27bfba90bb9a11d1c3c5d63ce1188db3a08a97ffa82a31b0de04e59f41c570eef1eff96e80390ee78b0267e2a89d032c9c9c SHA512 1581c4a599e7b2a837553df2a4e1e4255a726907cd54ce3e82b0b725c79e2fd15d7ed921dbe9519d73204f5ca735d27b347888d3f1162c4c2144e9d72e327ff1
EBUILD libnfs-5.0.2.ebuild 1291 BLAKE2B b49688a414498b0e22304f81e54f50d4d6dfe0d1f14beb216cafde7db862388cadac240f643b763dcf8982185f07b72285819611a24a19e337f9f671f4bdaf51 SHA512 0ad71902e95b8b77ba5e2b934b33f626513bc9faafa141e5fb09d914c1700d1b1bb986dbb1db63996fed9201bc3f3ee380989a6ec64014f3e9e6b2dd0c5e07c0
+EBUILD libnfs-5.0.3.ebuild 1300 BLAKE2B 83f2dcf32494830d9ea5b3631f9ad2fe0f74abfe6a0bd8e49e3e3ad75434eb0b66325460db094c25e152d4ccd0a49fc388c1847bce322e4db91fe54ece32f97d SHA512 d59e3b5e1aa769d7a4c7b3992de1e561024c99bfc04929c485020c57db8ed824e0e46e0b31597794c8891d0e3fa9563d6e0c1c8c94d5c54d0ebd1f2cf61c7d80
EBUILD libnfs-9999.ebuild 1290 BLAKE2B 8285ae200d1b3b5401c0f4e29341b76f8b6f29b37f5c92054659e1fcf1ad736f5e27e71dddd33a2fc7f881892e4b259abcdb38250c9731c88de88209a68100d2 SHA512 b4ad81545e01f3dcc333e54d0dd4d4afc76b410045bd8bc582a642cc0ce583d025d4b8b0182ab3791fe96ae42d292ed8f5caef3250cc7adc5bb8003e9ccf0d53
MISC metadata.xml 417 BLAKE2B f9c2243fdec47c029b7e581f7e731889342332b5740973d261dd2e353db0cca2728c9b61bcf610204254ebee62bb1eb7cf51b37236d2959536807f6460343fd5 SHA512 f64ea69505b03c25f70e632645efbfcab90ae974ed3909dc90c9cb5df7aefa519a0a54b457df0b3a19b033b9d6c56155163db5b58244cae1f4e8eaa76beeecc7
diff --git a/net-fs/libnfs/libnfs-5.0.3.ebuild b/net-fs/libnfs/libnfs-5.0.3.ebuild
new file mode 100644
index 000000000000..4d724238c890
--- /dev/null
+++ b/net-fs/libnfs/libnfs-5.0.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/sahlberg/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/sahlberg/${PN}/archive/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86"
+ S="${WORKDIR}"/${PN}-${P}
+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/14" # sub-slot matches SONAME major
+IUSE="examples static-libs utils"
+
+# net-libs/rpcsvc-proto for rpcgen called in build system
+BDEPEND="
+ net-libs/rpcsvc-proto
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-werror
+ $(use_enable static-libs static)
+ $(use_enable utils)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ if use examples; then
+ # --enable-examples configure switch just compiles them
+ # better install sources instead
+ exeinto /usr/share/doc/${PF}/examples/
+ for program in $(grep PROGRAMS examples/Makefile.am | cut -d= -f2); do
+ doexe examples/${program}.c
+ done
+ fi
+
+ find "${ED}" -name "*.la" -delete || die
+}