pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/filesystems/ltfs Make LTFS build and run on amd64



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19a2d961654e
branches:  trunk
changeset: 375739:19a2d961654e
user:      manu <manu%pkgsrc.org@localhost>
date:      Thu Mar 24 16:08:26 2022 +0000

description:
Make LTFS build and run on amd64

This includes two fixes submitted upstream:
https://github.com/LinearTapeFileSystem/ltfs/pull/346
https://github.com/LinearTapeFileSystem/ltfs/pull/345

While there, update the message about NetBSD requirement to drop
informations about now unsupported releases, and require NetBSD >= 8.0

diffstat:

 filesystems/ltfs/MESSAGE.NetBSD |  21 +++++----------------
 filesystems/ltfs/Makefile       |   7 +++++--
 filesystems/ltfs/distinfo       |   5 +++--
 3 files changed, 13 insertions(+), 20 deletions(-)

diffs (71 lines):

diff -r 5236c3a641b4 -r 19a2d961654e filesystems/ltfs/MESSAGE.NetBSD
--- a/filesystems/ltfs/MESSAGE.NetBSD   Thu Mar 24 10:16:13 2022 +0000
+++ b/filesystems/ltfs/MESSAGE.NetBSD   Thu Mar 24 16:08:26 2022 +0000
@@ -1,20 +1,9 @@
 ===========================================================================
-$NetBSD: MESSAGE.NetBSD,v 1.1 2019/02/25 01:00:39 manu Exp $
-
-LTFS requires fixes to base-system libperfuse that have made been available
-at the dates below:
-                NetBSD-current:        Sat, Feb 9th 2019
-                NetBSD-8 branch:       Sun, Feb 10th 2019
-                NetBSD-7-1 branch:     not available
-                NetBSD-7-0 branch:     not available
+$NetBSD: MESSAGE.NetBSD,v 1.2 2022/03/24 16:08:26 manu Exp $
 
-Releases after NetBSD 8.0 will contain the fix. For other releases, you
-may either:
+Please add the following to /Etc/sysctl.conf
+        kern.sbmax=4194304
+        net.inet.tcp.sendbuf_max=1048576
+        net.inet.tcp.recvbuf_max=1048576
 
-- upgrade sources for src/lib/libperfuse and rebuild it. The patch with
-  the relevant fix can be obtained by:
-  cvs rdiff -u -r1.85 -r1.86 src/lib/libperfuse/ops.c
-
-- use libperfuse from pkgsrc by setting PREFER_PKGSRC=perfuse in mk.conf,
-  and rebuild filesystems/fuse
 ===========================================================================
diff -r 5236c3a641b4 -r 19a2d961654e filesystems/ltfs/Makefile
--- a/filesystems/ltfs/Makefile Thu Mar 24 10:16:13 2022 +0000
+++ b/filesystems/ltfs/Makefile Thu Mar 24 16:08:26 2022 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.13 2021/12/08 16:04:21 adam Exp $
+# $NetBSD: Makefile,v 1.14 2022/03/24 16:08:26 manu Exp $
 
 GITHUB_PROJECT=        ltfs
 DISTNAME=      v2.4.2.0-pre0
 PKGNAME=       ${GITHUB_PROJECT}-${DISTNAME:S/v//:S/-pre0/.0/}
-PKGREVISION=   10
+PKGREVISION=   11
 CATEGORIES=    filesystems
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=LinearTapeFileSystem/}/${GITHUB_PROJECT}/archive/
 DIST_SUBDIR=   ${GITHUB_PROJECT}
@@ -14,6 +14,9 @@
 COMMENT=       Linear FileSystem for LTO and DAT tapes
 LICENSE=       modified-bsd
 
+# Need perfused fro NetBSD 8.0 or from pkgsrc
+NOT_FOR_PLATFORM=      NetBSD-[0-7].*-
+
 # messages handling is inherently racy and a huge mess
 MAKE_JOBS_SAFE=        no
 
diff -r 5236c3a641b4 -r 19a2d961654e filesystems/ltfs/distinfo
--- a/filesystems/ltfs/distinfo Thu Mar 24 10:16:13 2022 +0000
+++ b/filesystems/ltfs/distinfo Thu Mar 24 16:08:26 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:25:29 nia Exp $
+$NetBSD: distinfo,v 1.8 2022/03/24 16:08:26 manu Exp $
 
 BLAKE2s (ltfs/v2.4.2.0-pre0.tar.gz) = b88151f07b93eacf09242e19d2a8958c13f6a7d852ebffc1b1fc4078294a6b0e
 SHA512 (ltfs/v2.4.2.0-pre0.tar.gz) = 700690203ff71d01fce130809df09ce313951a5e427136ae4e071d47a46cbad5736faaef7a2d793adaff147a5c833c33690f7efc1d432828b666244c3e291f8b
@@ -6,5 +6,6 @@
 SHA1 (patch-autogen.sh) = 31a598a44d5ffd18bcc4a517aef6f65879dc4c49
 SHA1 (patch-conf_Makefile.am) = 95ea905de7c4c71d8cc0effff99930c5af7997a0
 SHA1 (patch-configure.ac) = 3db34ab053172cbe572c977e09465266fdfd4da9
-SHA1 (patch-messages_make__message__src.sh) = 9caaf991f081b395eed9c3fb81dfefd837f6141a
+SHA1 (patch-messages_make_message_src.sh) = 838e17beaf48eeacea57ae37562eb7a77f1f6313
 SHA1 (patch-src_libltfs_fs.c) = 7a68425e24c2d79b2b3a56176f47009d917f5a18
+SHA1 (patch-src_ltfs_fuse.c) = d6304df91559e678c24a9402aa8503bb3f605899



Home | Main Index | Thread Index | Old Index