summaryrefslogtreecommitdiff
path: root/filesystems/ltfs
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2022-03-24 16:08:26 +0000
committermanu <manu@pkgsrc.org>2022-03-24 16:08:26 +0000
commitf36cb9202f083374ed944acde3c28decd25ca4ac (patch)
tree7654ba74699183e5826ab5937c5dcec594008f75 /filesystems/ltfs
parent19159527526ecda651db7fe7423bf5ad56b1d904 (diff)
downloadpkgsrc-f36cb9202f083374ed944acde3c28decd25ca4ac.tar.gz
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 (limited to 'filesystems/ltfs')
-rw-r--r--filesystems/ltfs/MESSAGE.NetBSD21
-rw-r--r--filesystems/ltfs/Makefile7
-rw-r--r--filesystems/ltfs/distinfo5
3 files changed, 13 insertions, 20 deletions
diff --git a/filesystems/ltfs/MESSAGE.NetBSD b/filesystems/ltfs/MESSAGE.NetBSD
index fa716e58d41..12ceb2b1455 100644
--- a/filesystems/ltfs/MESSAGE.NetBSD
+++ b/filesystems/ltfs/MESSAGE.NetBSD
@@ -1,20 +1,9 @@
===========================================================================
-$NetBSD: MESSAGE.NetBSD,v 1.1 2019/02/25 01:00:39 manu Exp $
+$NetBSD: MESSAGE.NetBSD,v 1.2 2022/03/24 16:08:26 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
+Please add the following to /Etc/sysctl.conf
+ kern.sbmax=4194304
+ net.inet.tcp.sendbuf_max=1048576
+ net.inet.tcp.recvbuf_max=1048576
-Releases after NetBSD 8.0 will contain the fix. For other releases, you
-may either:
-
-- 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 --git a/filesystems/ltfs/Makefile b/filesystems/ltfs/Makefile
index 9dad4af70d5..11922146f46 100644
--- a/filesystems/ltfs/Makefile
+++ b/filesystems/ltfs/Makefile
@@ -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 @@ HOMEPAGE= https://github.com/LinearTapeFileSystem/ltfs/
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 --git a/filesystems/ltfs/distinfo b/filesystems/ltfs/distinfo
index 074f3ea8fa1..d4c22894439 100644
--- a/filesystems/ltfs/distinfo
+++ b/filesystems/ltfs/distinfo
@@ -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 @@ Size (ltfs/v2.4.2.0-pre0.tar.gz) = 591900 bytes
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