Skip to content

Commit

Permalink
Updated filesystems/ltfs-ltotape to 0.2
Browse files Browse the repository at this point in the history
This release makes the ltotape driver thread-safe, as libltfs expects
it to be. This fixes a lot of problems because of race conditions on
SCSI I/O structures.
  • Loading branch information
manu committed Mar 16, 2019
1 parent 6cd89ca commit dcd540b
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 16 deletions.
3 changes: 2 additions & 1 deletion doc/CHANGES-2019
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$NetBSD: CHANGES-2019,v 1.1300 2019/03/15 16:32:42 hauke Exp $
$NetBSD: CHANGES-2019,v 1.1301 2019/03/16 00:44:22 manu Exp $

Changes to the packages collection and infrastructure in 2019:

Expand Down Expand Up @@ -2124,3 +2124,4 @@ Changes to the packages collection and infrastructure in 2019:
Updated net/gallery-dl to 1.8.0 [leot 2019-03-15]
Updated sysutils/beats to 6.6.2 [he 2019-03-15]
Updated www/php-glpi to 9.4.1.1 [hauke 2019-03-15]
Updated filesystems/ltfs-ltotape to 0.1 [manu 2019-03-15]
2 changes: 1 addition & 1 deletion filesystems/ltfs-ltotape/MESSAGE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2019/02/25 01:00:39 manu Exp $
$NetBSD: MESSAGE,v 1.2 2019/03/16 00:44:22 manu Exp $

Enable ltotape by setting the following in ${PKG_SYSCONFDIR}/ltfs.conf
default tape ltotape
Expand Down
4 changes: 2 additions & 2 deletions filesystems/ltfs-ltotape/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.1 2019/02/25 01:00:39 manu Exp $
# $NetBSD: Makefile,v 1.2 2019/03/16 00:44:22 manu Exp $

GITHUB_PROJECT= ltfs-backends
DISTNAME= v0.1
DISTNAME= v0.2
PKGNAME= ltfs-ltotape-${DISTNAME:S/v//}
CATEGORIES= filesystems
MASTER_SITES= ${MASTER_SITE_GITHUB:=LinearTapeFileSystem/}/${GITHUB_PROJECT}/archive/
Expand Down
2 changes: 1 addition & 1 deletion filesystems/ltfs-ltotape/PLIST
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@comment $NetBSD: PLIST,v 1.1 2019/02/25 01:00:39 manu Exp $
@comment $NetBSD: PLIST,v 1.2 2019/03/16 00:44:22 manu Exp $
lib/ltfs/libdriver-ltotape.la
12 changes: 6 additions & 6 deletions filesystems/ltfs-ltotape/distinfo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.1 2019/02/25 01:00:39 manu Exp $
$NetBSD: distinfo,v 1.2 2019/03/16 00:44:22 manu Exp $

SHA1 (ltfs-backends/v0.1.tar.gz) = c6dbfa95afefe8a11ea56a321f78c67b39a107f6
RMD160 (ltfs-backends/v0.1.tar.gz) = 1337919ec2fe9b0ce83b8ba60e81bc9eda78cf7d
SHA512 (ltfs-backends/v0.1.tar.gz) = 464e4456178e4fe6895fb954a5c7eec7d9ad84e2c0a8887a135e93aaa5807ec493430497ccc56a499f25e02cabf226a4be8574948f97affb3733188af6d8371a
Size (ltfs-backends/v0.1.tar.gz) = 47827 bytes
SHA1 (patch-Makefile.am) = d9087041b9d88a23a64f2419cf9c5c60e66b575a
SHA1 (ltfs-backends/v0.2.tar.gz) = b91bd72a39f7e4ef13f353a91ad9a2ed8d32b0bc
RMD160 (ltfs-backends/v0.2.tar.gz) = 905f30d738991484c29d672a4c29d896815670a2
SHA512 (ltfs-backends/v0.2.tar.gz) = 2c4966ac5902a22bd282e0b73540289e09cf919d420af70a1c5d7e34190cd80bc4dccbaf03239bf727e18420984b5a644cb3d17c8b1c68a384b27bc59efe320f
Size (ltfs-backends/v0.2.tar.gz) = 129136 bytes
SHA1 (patch-Makefile.am) = a0e6ab0fa0b247dc42c9a8a08c0007db9049d52f
11 changes: 6 additions & 5 deletions filesystems/ltfs-ltotape/patches/patch-Makefile.am
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
$NetBSD: patch-Makefile.am,v 1.1 2019/02/25 01:00:39 manu Exp $
$NetBSD: patch-Makefile.am,v 1.2 2019/03/16 00:44:22 manu Exp $

Make sure config.h is not copied at install time, we do not need it.

--- Makefile.am.orig 2019-02-24 06:56:41.830962689 +0000
+++ Makefile.am 2019-02-24 06:56:46.505946016 +0000
@@ -1,6 +1,6 @@
--- Makefile.am.orig 2019-03-15 05:24:46.000000000 +0100
+++ Makefile.am 2019-03-15 09:59:08.473037879 +0100
@@ -1,7 +1,7 @@
ACLOCAL_AMFLAGS = -I m4

-nobase_pkginclude_HEADERS = config.h
+#nobase_pkginclude_HEADERS = config.h

SUBDIRS = messages src/tape_drivers/netbsd/ltotape
GEN_DRV =
PLAT_DRV =

0 comments on commit dcd540b

Please sign in to comment.