From 2ff069cccf8f1d9408e5377cff3a1804c9df3817 Mon Sep 17 00:00:00 2001 From: uglyside Date: Tue, 4 Feb 2025 22:06:28 +0300 Subject: [PATCH] libnfs-5.0.3 --- network/connection/libnfs/actions.py | 33 ++++--- network/connection/libnfs/pspec.xml | 138 ++++++++++++++------------- 2 files changed, 87 insertions(+), 84 deletions(-) diff --git a/network/connection/libnfs/actions.py b/network/connection/libnfs/actions.py index 3c018c5821..e2cd603af5 100644 --- a/network/connection/libnfs/actions.py +++ b/network/connection/libnfs/actions.py @@ -4,29 +4,28 @@ # Licensed under the GNU General Public License, version 3. # See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import shelltools -from pisi.actionsapi import cmaketools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get +from pisi.actionsapi import cmaketools, mesontools, pisitools -j = "-DCMAKE_BUILD_TYPE=release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DENABLE_DOCUMENTATION=ON \ - -DBUILD_SHARED_LIBS=ON \ - -DENABLE_UTILS=ON -L \ - " +y = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -DCMAKE_INSTALL_PREFIX=/usr', + ' -DBUILD_SHARED_LIBS=ON', + ' -DENABLE_{UTILS,DOCUMENTATION}=ON', + ' -Bbuild -G Ninja -L ' + ]) def setup(): - shelltools.system("./bootstrap") - cmaketools.configure(j) + cmaketools.configure(y) def build(): - cmaketools.make() + mesontools.build() def install(): - cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) - for t in ["utils/nfs-cat", "utils/nfs-cp", "utils/nfs-ls"]: - pisitools.dobin(t) + mesontools.install() - pisitools.dodoc("COPYING", "README") + from pisi.actionsapi import shelltools, get + for b in ["nfs-cat", "nfs-cp", "nfs-ls", "nfs-stat"]: + shelltools.chmod("%s/usr/bin/%s" % (get.installDIR(), b), mode = 0755) + for l in ["BSD", "GPL-3", "LGPL-2.1"]: + pisitools.dodoc("COPYING", "LICENCE-%s.txt" % l) diff --git a/network/connection/libnfs/pspec.xml b/network/connection/libnfs/pspec.xml index 3b318d865d..3ec3828d81 100644 --- a/network/connection/libnfs/pspec.xml +++ b/network/connection/libnfs/pspec.xml @@ -1,73 +1,77 @@ - + - - libnfs - https://github.com/sahlberg/libnfs - - Mogyorósi Petra - squeakymouse@protonmail.com - - LGPLv2.1 - GPLv3 - BSDv2 - network.connection - library - NFS client library - LIBNFS is a client library for accessing NFS shares over a network. - - https://github.com/sahlberg/libnfs/archive/libnfs-4.0.0.tar.gz - - - cmake - libxslt - - + + libnfs + https://github.com/sahlberg/libnfs + + Mogyorósi Petra + squeakymouse@protonmail.com + + LGPLv2.1 + GPLv3 + BSDv2 + network.connection + library + NFS client library. + LIBNFS is a client library for accessing NFS shares over a network. + https://github.com/sahlberg/libnfs/archive/refs/tags/libnfs-5.0.3.tar.gz + + cmake + ninja + libxslt + docbook-xsl + + - - libnfs - NFS client library - - glibc - - - /usr/bin - /usr/lib/libnfs.so - /usr/lib/libnfs.so.11.0.0 - /usr/lib/libnfs.so.2.0.0 - /usr/share/man/* - /usr/share/doc/* - - + + libnfs + NFS client library + + glibc + + + /usr/bin + /usr/lib + /usr/share/man + /usr/share/doc + + - - libnfs-devel - Development files for libnfs - - libnfs - - - /usr/include/* - /usr/lib/pkgconfig/* - /usr/lib/cmake/* - - + + libnfs-devel + Development files for libnfs + + libnfs + + + /usr/include + /usr/lib/cmake + /usr/lib/pkgconfig + + - - - 2020-12-13 - 4.0.0 - Ver. bump - fury - uglyside@yandex.ru - - - 2018-07-03 - 3.0.0 - Latest revision from GitHub - Mogyorósi Petra - squeakymouse@protonmail.com - - + + + 2025-02-04 + 5.0.3 + Version bump. + Mogyorósi Petra + squeakymouse@protonmail.com + + + 2020-12-13 + 4.0.0 + Ver. bump + fury + uglyside@yandex.ru + + + 2018-07-03 + 3.0.0 + Latest revision from GitHub + Mogyorósi Petra + squeakymouse@protonmail.com + + -