diff options
Diffstat (limited to 'net-fs/libnfs')
-rw-r--r-- | net-fs/libnfs/Manifest | 5 | ||||
-rw-r--r-- | net-fs/libnfs/files/libnfs-3.0.0-utils.patch | 20 | ||||
-rw-r--r-- | net-fs/libnfs/libnfs-2.0.0.ebuild | 48 | ||||
-rw-r--r-- | net-fs/libnfs/libnfs-5.0.2.ebuild (renamed from net-fs/libnfs/libnfs-3.0.0.ebuild) | 28 | ||||
-rw-r--r-- | net-fs/libnfs/libnfs-5.0.3.ebuild (renamed from net-fs/libnfs/libnfs-4.0.0.ebuild) | 28 | ||||
-rw-r--r-- | net-fs/libnfs/libnfs-9999.ebuild | 24 | ||||
-rw-r--r-- | net-fs/libnfs/metadata.xml | 2 |
7 files changed, 51 insertions, 104 deletions
diff --git a/net-fs/libnfs/Manifest b/net-fs/libnfs/Manifest index 7b2a8831f6f9..d846fae3408c 100644 --- a/net-fs/libnfs/Manifest +++ b/net-fs/libnfs/Manifest @@ -1,3 +1,2 @@ -DIST libnfs-2.0.0.tar.gz 200932 BLAKE2B df5ae4487bd7e19428551f047a1d61df712ecc73b3db33995121abfba2df8f9283ef69f4a0d897266d7d476010bfcfa5fdea109b265f82fe4df8904cd6d05c6c SHA512 701dd5317b0395523be89123d473f4da5c3ff53c2e30004a922f649f0dbbd97546ee39ab34fce06278a8148c13200ca383726a0822d09846fad6e308f29e42c7 -DIST libnfs-3.0.0.tar.gz 249035 BLAKE2B 321bbc6eb2d926c41afae95a873cd9103446d2bda0015f159341a7bca2245d708abaa283f9a8f505a320a0b446166b36106cd9f54e885a02cb486168c87a2a7f SHA512 9af31f8824431e9d28267c468dafc7cfc4062b1a280ca141036bc28a2ba544c4470a67955b5e5fbcc6c175435812381013b4c5d3d3d1a175d5efc7b802ae9b3b -DIST libnfs-4.0.0.tar.gz 251662 BLAKE2B b6c33c42eb1715b8a996a432b0cc28af1a98cca3389a779378df0931e4d37418937e3ea4938efb4d075b39aac33facca86df3a02bd62d2c7b262859e8d04ecc1 SHA512 3d93d83d1909f24de304c0d47fa6240da7ecf43ce2488a242a58ddabe51d774caf813f5a90ae720a8edd251a765b30e88c0e5b6a13ecb254dfecdc98e30737fa +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/files/libnfs-3.0.0-utils.patch b/net-fs/libnfs/files/libnfs-3.0.0-utils.patch deleted file mode 100644 index b26716158b59..000000000000 --- a/net-fs/libnfs/files/libnfs-3.0.0-utils.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index a1f51d0..f96879a 100755 ---- a/configure.ac -+++ b/configure.ac -@@ -25,11 +25,13 @@ fi - AC_SYS_LARGEFILE - - #option: utils -+MAYBE_UTILS="utils" - AC_ARG_ENABLE([utils], - [AC_HELP_STRING([--enable-utils], - [Build util programs])], -- [MAYBE_UTILS=""], -- [MAYBE_UTILS="utils"]) -+ [if test $enableval = no ; then -+ MAYBE_UTILS="" -+ fi]) - AC_SUBST(MAYBE_UTILS) - - #option: examples diff --git a/net-fs/libnfs/libnfs-2.0.0.ebuild b/net-fs/libnfs/libnfs-2.0.0.ebuild deleted file mode 100644 index 894937592457..000000000000 --- a/net-fs/libnfs/libnfs-2.0.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -AUTOTOOLS_AUTORECONF="1" - -inherit autotools autotools-utils eutils -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 m68k ~mips ppc ppc64 s390 sh 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/11" # sub-slot matches SONAME major -IUSE="examples static-libs" - -RDEPEND="" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S="${WORKDIR}/${PN}-${P}" - -src_prepare() { - default - - epatch_user - - eautoreconf -} - -src_install() { - autotools-utils_src_install - 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 -} diff --git a/net-fs/libnfs/libnfs-3.0.0.ebuild b/net-fs/libnfs/libnfs-5.0.2.ebuild index 96606a99d49c..cb3adf3e648f 100644 --- a/net-fs/libnfs/libnfs-3.0.0.ebuild +++ b/net-fs/libnfs/libnfs-5.0.2.ebuild @@ -1,48 +1,49 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit autotools -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 + +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 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86" - S="${WORKDIR}/${PN}-${P}" + 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/12" # sub-slot matches SONAME major +SLOT="0/14" # sub-slot matches SONAME major IUSE="examples static-libs utils" -RDEPEND="" -DEPEND="${RDEPEND} +# net-libs/rpcsvc-proto for rpcgen called in build system +BDEPEND="net-libs/rpcsvc-proto virtual/pkgconfig" -PATCHES=( - "${FILESDIR}/${PN}-3.0.0-utils.patch" -) - 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 @@ -51,5 +52,6 @@ src_install() { doexe examples/${program}.c done fi + find "${ED}" -name "*.la" -delete || die } diff --git a/net-fs/libnfs/libnfs-4.0.0.ebuild b/net-fs/libnfs/libnfs-5.0.3.ebuild index 66c1685f1207..4d724238c890 100644 --- a/net-fs/libnfs/libnfs-4.0.0.ebuild +++ b/net-fs/libnfs/libnfs-5.0.3.ebuild @@ -1,44 +1,51 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit autotools -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 + +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 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86" - S="${WORKDIR}/${PN}-${P}" + 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/13" # sub-slot matches SONAME major +SLOT="0/14" # sub-slot matches SONAME major IUSE="examples static-libs utils" -RDEPEND="" -DEPEND="${RDEPEND} - virtual/pkgconfig" +# 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 @@ -47,5 +54,6 @@ src_install() { doexe examples/${program}.c done fi + find "${ED}" -name "*.la" -delete || die } diff --git a/net-fs/libnfs/libnfs-9999.ebuild b/net-fs/libnfs/libnfs-9999.ebuild index 66c1685f1207..3c544aaa465a 100644 --- a/net-fs/libnfs/libnfs-9999.ebuild +++ b/net-fs/libnfs/libnfs-9999.ebuild @@ -1,44 +1,49 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit autotools -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 + +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 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86" - S="${WORKDIR}/${PN}-${P}" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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/13" # sub-slot matches SONAME major +SLOT="0/14" # sub-slot matches SONAME major IUSE="examples static-libs utils" -RDEPEND="" -DEPEND="${RDEPEND} +# 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 @@ -47,5 +52,6 @@ src_install() { doexe examples/${program}.c done fi + find "${ED}" -name "*.la" -delete || die } diff --git a/net-fs/libnfs/metadata.xml b/net-fs/libnfs/metadata.xml index bdbf712883c6..bf9e0ef24654 100644 --- a/net-fs/libnfs/metadata.xml +++ b/net-fs/libnfs/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>base-system@gentoo.org</email> |