pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Added filesytems/ltfs version 2.4.2.0.0, filesytems/lt...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3e4f3a431250
branches: trunk
changeset: 319979:3e4f3a431250
user: manu <manu%pkgsrc.org@localhost>
date: Mon Feb 25 01:00:38 2019 +0000
description:
Added filesytems/ltfs version 2.4.2.0.0, filesytems/ltfs-ltotape version 0.1
Linear Tape File System (LTFS) is a filesystem to mount a LTFS
formatted tape in a tape drive. Once LTFS mounts a LTFS formatted
tape as filesystem, user can access to the tape via filesystem API.
Objective of this project is being the reference implementation of
the LTFS format Specifications in SNIA
(https://www.snia.org/tech_activities/standards/curr_standards/ltfs).
At this time, the LTFS format specifications 2.4 is the target
diffstat:
doc/CHANGES-2019 | 4 +-
filesystems/ltfs-ltotape/DESCR | 1 +
filesystems/ltfs-ltotape/MESSAGE | 7 +++
filesystems/ltfs-ltotape/Makefile | 28 ++++++++++++
filesystems/ltfs-ltotape/PLIST | 2 +
filesystems/ltfs-ltotape/distinfo | 7 +++
filesystems/ltfs-ltotape/patches/patch-Makefile.am | 14 ++++++
filesystems/ltfs/DESCR | 9 ++++
filesystems/ltfs/MESSAGE.NetBSD | 20 +++++++++
filesystems/ltfs/Makefile | 46 +++++++++++++++++++++
filesystems/ltfs/PLIST | 48 ++++++++++++++++++++++
filesystems/ltfs/buildlink3.mk | 13 +++++
filesystems/ltfs/distinfo | 7 +++
filesystems/ltfs/patches/patch-conf_Makefile.am | 30 +++++++++++++
14 files changed, 235 insertions(+), 1 deletions(-)
diffs (299 lines):
diff -r 4a6a87d0a4b2 -r 3e4f3a431250 doc/CHANGES-2019
--- a/doc/CHANGES-2019 Mon Feb 25 00:52:07 2019 +0000
+++ b/doc/CHANGES-2019 Mon Feb 25 01:00:38 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2019,v 1.902 2019/02/24 20:36:04 adam Exp $
+$NetBSD: CHANGES-2019,v 1.903 2019/02/25 01:00:38 manu Exp $
Changes to the packages collection and infrastructure in 2019:
@@ -1582,3 +1582,5 @@
Updated mail/exim-html to 4.92 [adam 2019-02-24]
Updated devel/py-pluggy to 0.9.0 [adam 2019-02-24]
Updated www/py-django-extensions to 2.1.6 [adam 2019-02-24]
+ Added filesytems/ltfs version 2.4.2.0.0 [manu 21019-02-25]
+ Added filesytems/ltfs-ltotape version 0.1 [manu 21019-02-25]
diff -r 4a6a87d0a4b2 -r 3e4f3a431250 filesystems/ltfs-ltotape/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/ltfs-ltotape/DESCR Mon Feb 25 01:00:38 2019 +0000
@@ -0,0 +1,1 @@
+HPE ltotape tape backend for LTFS
diff -r 4a6a87d0a4b2 -r 3e4f3a431250 filesystems/ltfs-ltotape/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/ltfs-ltotape/MESSAGE Mon Feb 25 01:00:38 2019 +0000
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2019/02/25 01:00:39 manu Exp $
+
+Enable ltotape by setting the following in ${PKG_SYSCONFDIR}/ltfs.conf
+default tape ltotape
+plugin tape ltotape ${PREFIX}/lib/ltfs/libdriver-ltotape.so
+===========================================================================
diff -r 4a6a87d0a4b2 -r 3e4f3a431250 filesystems/ltfs-ltotape/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/ltfs-ltotape/Makefile Mon Feb 25 01:00:38 2019 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2019/02/25 01:00:39 manu Exp $
+
+GITHUB_PROJECT= ltfs-backends
+DISTNAME= v0.1
+PKGNAME= ltfs-ltotape-${DISTNAME:S/v//}
+CATEGORIES= filesystems
+MASTER_SITES= ${MASTER_SITE_GITHUB:=LinearTapeFileSystem/}/${GITHUB_PROJECT}/archive/
+DIST_SUBDIR= ${GITHUB_PROJECT}
+WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME:S/v//}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/LinearTapeFileSystem/ltfs-backends/
+COMMENT= HPE ltotape tape backend for LTFS
+LICENSE= gnu-lgpl-v2
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= autoheader automake autoreconf gmake pkg-config
+USE_LANGUAGES= c
+
+CPPFLAGS.NetBSD+= -D_KERNTYPES
+
+pre-configure:
+ cd ${WRKSRC} && ./autogen.sh
+
+.include "../../filesystems/ltfs/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4a6a87d0a4b2 -r 3e4f3a431250 filesystems/ltfs-ltotape/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/ltfs-ltotape/PLIST Mon Feb 25 01:00:38 2019 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2019/02/25 01:00:39 manu Exp $
+lib/ltfs/libdriver-ltotape.la
diff -r 4a6a87d0a4b2 -r 3e4f3a431250 filesystems/ltfs-ltotape/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/ltfs-ltotape/distinfo Mon Feb 25 01:00:38 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/02/25 01:00:39 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
diff -r 4a6a87d0a4b2 -r 3e4f3a431250 filesystems/ltfs-ltotape/patches/patch-Makefile.am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/ltfs-ltotape/patches/patch-Makefile.am Mon Feb 25 01:00:38 2019 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-Makefile.am,v 1.1 2019/02/25 01:00:39 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 @@
+ ACLOCAL_AMFLAGS = -I m4
+
+-nobase_pkginclude_HEADERS = config.h
++#nobase_pkginclude_HEADERS = config.h
+
+ SUBDIRS = messages src/tape_drivers/netbsd/ltotape
+
diff -r 4a6a87d0a4b2 -r 3e4f3a431250 filesystems/ltfs/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/ltfs/DESCR Mon Feb 25 01:00:38 2019 +0000
@@ -0,0 +1,9 @@
+Linear Tape File System (LTFS) is a filesystem to mount a LTFS
+formatted tape in a tape drive. Once LTFS mounts a LTFS formatted
+tape as filesystem, user can access to the tape via filesystem API.
+
+Objective of this project is being the reference implementation of
+the LTFS format Specifications in SNIA
+(https://www.snia.org/tech_activities/standards/curr_standards/ltfs).
+
+At this time, the LTFS format specifications 2.4 is the target
diff -r 4a6a87d0a4b2 -r 3e4f3a431250 filesystems/ltfs/MESSAGE.NetBSD
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/ltfs/MESSAGE.NetBSD Mon Feb 25 01:00:38 2019 +0000
@@ -0,0 +1,20 @@
+===========================================================================
+$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
+
+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 -r 4a6a87d0a4b2 -r 3e4f3a431250 filesystems/ltfs/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/ltfs/Makefile Mon Feb 25 01:00:38 2019 +0000
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1 2019/02/25 01:00:39 manu Exp $
+
+GITHUB_PROJECT= ltfs
+DISTNAME= v2.4.2.0-pre0
+PKGNAME= ${GITHUB_PROJECT}-${DISTNAME:S/v//:S/-pre0/.0/}
+CATEGORIES= filesystems
+MASTER_SITES= ${MASTER_SITE_GITHUB:=LinearTapeFileSystem/}/${GITHUB_PROJECT}/archive/
+DIST_SUBDIR= ${GITHUB_PROJECT}
+WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME:S/v//}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/LinearTapeFileSystem/ltfs/
+COMMENT= Linear FileSystem for LTO and DAT tapes
+LICENSE= modified-bsd
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= autoheader automake autoreconf gmake pkg-config
+USE_LANGUAGES= c
+
+REPLACE_SH+= init.d/ltfs
+
+EGDIR= ${PREFIX}/share/examples/ltfs/
+CONF_FILES+= ${EGDIR}/ltfs.conf ${PKG_SYSCONFDIR}/ltfs.conf
+CONF_FILES+= ${EGDIR}/ltfs.conf.local ${PKG_SYSCONFDIR}/ltfs.conf.local
+
+pre-configure:
+ cd ${WRKSRC} && ./autogen.sh
+
+pre-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/conf/ltfs.conf ${DESTDIR}${EGDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/conf/ltfs.conf.local ${DESTDIR}${EGDIR}/
+
+# net/net-snmp brings -lperl but fails to buildinlink it
+# or set approriate -L flag, hence we must help here, despite
+# we do not need -lperl.
+.include "../../lang/perl5/buildlink3.mk"
+LDFLAGS+= -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE
+
+.include "../../devel/libuuid/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../net/net-snmp/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../mk/fuse.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4a6a87d0a4b2 -r 3e4f3a431250 filesystems/ltfs/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/ltfs/PLIST Mon Feb 25 01:00:38 2019 +0000
@@ -0,0 +1,48 @@
+@comment $NetBSD: PLIST,v 1.1 2019/02/25 01:00:39 manu Exp $
+bin/ltfs
+bin/ltfsck
+bin/mkltfs
+include/ltfs/config.h
+include/ltfs/libltfs/arch/arch_info.h
+include/ltfs/libltfs/arch/signal_internal.h
+include/ltfs/libltfs/arch/time_internal.h
+include/ltfs/libltfs/dcache_ops.h
+include/ltfs/libltfs/iosched_ops.h
+include/ltfs/libltfs/kmi_ops.h
+include/ltfs/libltfs/ltfs.h
+include/ltfs/libltfs/ltfs_error.h
+include/ltfs/libltfs/ltfs_fsops.h
+include/ltfs/libltfs/ltfs_locking.h
+include/ltfs/libltfs/ltfs_locking_new.h
+include/ltfs/libltfs/ltfs_locking_old.h
+include/ltfs/libltfs/ltfs_thread.h
+include/ltfs/libltfs/ltfs_types.h
+include/ltfs/libltfs/ltfslogging.h
+include/ltfs/libltfs/ltfstrace.h
+include/ltfs/libltfs/plugin.h
+include/ltfs/libltfs/queue.h
+include/ltfs/libltfs/tape.h
+include/ltfs/libltfs/tape_ops.h
+include/ltfs/libltfs/uthash.h
+include/ltfs/libltfs/uthash_ext.h
+include/ltfs/tape_drivers/ibm_tape.h
+include/ltfs/tape_drivers/spc_op_codes.h
+include/ltfs/tape_drivers/ssc_op_codes.h
+include/ltfs/tape_drivers/tape_drivers.h
+lib/libltfs.la
+lib/ltfs/libiosched-fcfs.so
+lib/ltfs/libiosched-unified.so
+lib/ltfs/libkmi-flatfile.so
+lib/ltfs/libkmi-simple.so
+lib/ltfs/libtape-file.so
+lib/ltfs/libtape-itdtimg.so
+lib/ltfs/libtape-scsipi-ibmtape.so
+lib/pkgconfig/ltfs.pc
+man/man8/ltfs-sde.8
+man/man8/ltfsck.8
+man/man8/mkltfs.8
+share/ltfs/ltfs
+share/examples/ltfs/ltfs.conf
+share/examples/ltfs/ltfs.conf.local
+share/snmp/LTFS-MIB.txt
+share/snmp/LtfsSnmpTrapDef.txt
diff -r 4a6a87d0a4b2 -r 3e4f3a431250 filesystems/ltfs/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/ltfs/buildlink3.mk Mon Feb 25 01:00:38 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/02/25 01:00:39 manu Exp $
+
+BUILDLINK_TREE+= ltfs
+
+.if !defined(LTFS_BUILDLINK3_MK)
+LTFS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ltfs+= ltfs>=2.4.2.0.0
+BUILDLINK_ABI_DEPENDS.ltfs+= ltfs>=2.4.2.0.0
+BUILDLINK_PKGSRCDIR.ltfs?= ../../filesystems/ltfs
+.endif # LTFS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ltfs
diff -r 4a6a87d0a4b2 -r 3e4f3a431250 filesystems/ltfs/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/ltfs/distinfo Mon Feb 25 01:00:38 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/02/25 01:00:39 manu Exp $
+
+SHA1 (ltfs/v2.4.2.0-pre0.tar.gz) = ecce71a30f0beb8281b6fbf1a28c8a33b082a595
+RMD160 (ltfs/v2.4.2.0-pre0.tar.gz) = 69fcb0ff2fae7cc509005b14d5fe0a5953456c30
+SHA512 (ltfs/v2.4.2.0-pre0.tar.gz) = 700690203ff71d01fce130809df09ce313951a5e427136ae4e071d47a46cbad5736faaef7a2d793adaff147a5c833c33690f7efc1d432828b666244c3e291f8b
+Size (ltfs/v2.4.2.0-pre0.tar.gz) = 591900 bytes
+SHA1 (patch-conf_Makefile.am) = 95ea905de7c4c71d8cc0effff99930c5af7997a0
diff -r 4a6a87d0a4b2 -r 3e4f3a431250 filesystems/ltfs/patches/patch-conf_Makefile.am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/ltfs/patches/patch-conf_Makefile.am Mon Feb 25 01:00:38 2019 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-conf_Makefile.am,v 1.1 2019/02/25 01:00:39 manu Exp $
+
+Do not install confguration file so that we can copy them in
+/usr/pkg/share/examples/ltfs instead.
+
+--- conf/Makefile.am.orig 2019-02-20 06:22:33.000000000 +0100
++++ conf/Makefile.am 2019-02-24 03:15:52.062219251 +0100
+@@ -1,5 +1,5 @@
+-dist_sysconf_DATA = ltfs.conf
++noinst_DATA = ltfs.conf
+
+ PLAT_OPT =
+
+ if PLATFORM_LINUX
+@@ -31,11 +31,11 @@
+ mv ltfs.conf ltfs.conf.tmp
+ ${SED} -e "s!__CONFDIR__!@sysconfdir@!" ltfs.conf.tmp >ltfs.conf
+ rm ltfs.conf.tmp
+
+-install-data-local:
+- if [ ! -f "$(DESTDIR)$(sysconfdir)/ltfs.conf.local" ]; then \
+- cp ltfs.conf.local "$(DESTDIR)$(sysconfdir)/ltfs.conf.local"; \
+- fi
++#install-data-local:
++# if [ ! -f "$(DESTDIR)$(sysconfdir)/ltfs.conf.local" ]; then \
++# cp ltfs.conf.local "$(DESTDIR)$(sysconfdir)/ltfs.conf.local"; \
++# fi
+
+ clean-local:
+ rm -f ltfs.conf
Home |
Main Index |
Thread Index |
Old Index