From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1605359-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 055E2158043 for <garchives@archives.gentoo.org>; Thu, 29 Feb 2024 04:34:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E70DE2A0F; Thu, 29 Feb 2024 04:34:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B1B70E29C9 for <gentoo-commits@lists.gentoo.org>; Thu, 29 Feb 2024 04:34:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3216343061 for <gentoo-commits@lists.gentoo.org>; Thu, 29 Feb 2024 04:34:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5C5E014E8 for <gentoo-commits@lists.gentoo.org>; Thu, 29 Feb 2024 04:34:16 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1709180913.35598dd1ddcf605613c727dd38e017f4a67e40dd.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/libnfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-fs/libnfs/Manifest net-fs/libnfs/libnfs-5.0.3.ebuild X-VCS-Directories: net-fs/libnfs/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 35598dd1ddcf605613c727dd38e017f4a67e40dd X-VCS-Branch: master Date: Thu, 29 Feb 2024 04:34:16 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 25c4ff8f-d6f3-4cba-923a-01a09950b1e1 X-Archives-Hash: c507911ab2d88f7b4617a6e2fbac21b3 commit: 35598dd1ddcf605613c727dd38e017f4a67e40dd Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Feb 29 04:28:33 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Feb 29 04:28:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35598dd1 net-fs/libnfs: add 5.0.3 Signed-off-by: Sam James <sam <AT> gentoo.org> net-fs/libnfs/Manifest | 1 + net-fs/libnfs/libnfs-5.0.3.ebuild | 59 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/net-fs/libnfs/Manifest b/net-fs/libnfs/Manifest index a49346135177..d846fae3408c 100644 --- a/net-fs/libnfs/Manifest +++ b/net-fs/libnfs/Manifest @@ -1 +1,2 @@ DIST libnfs-5.0.2.tar.gz 281154 BLAKE2B 9de3d02e5ae4d41eacda152678e6552708b33d4e88cc6fc5f7b16c887f911fc5a5e834952505438220c961f71a8b70540be3254d5889a4336200d5633dce313e SHA512 6dcf4ea8a01b35beb53694625d20fbebd858a88725c2742671878ad6fe7877999f93d262fb58a435b00c283c3e6fb6fa7222d04bb4540bf674b7ce196e9424f5 +DIST libnfs-5.0.3.tar.gz 291079 BLAKE2B 4ce19c317bfd47110d9f42bb2dfb27bfba90bb9a11d1c3c5d63ce1188db3a08a97ffa82a31b0de04e59f41c570eef1eff96e80390ee78b0267e2a89d032c9c9c SHA512 1581c4a599e7b2a837553df2a4e1e4255a726907cd54ce3e82b0b725c79e2fd15d7ed921dbe9519d73204f5ca735d27b347888d3f1162c4c2144e9d72e327ff1 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 +}