Date: Sat, 19 Jan 2019 02:15:19 +0000 (UTC) From: Kevin Bowling <kbowling@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490697 - in head/sysutils/ltfs: . files Message-ID: <201901190215.x0J2FJc7091335@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kbowling Date: Sat Jan 19 02:15:19 2019 New Revision: 490697 URL: https://svnweb.freebsd.org/changeset/ports/490697 Log: New port: sysutils/ltfs: LTFS for stand alone tape drive Add a new port for the FUSE based LTFS reference implementation Reviewed by: ken Approved by: timur (mentor) Sponsored by: BBOX.io Differential Revision: https://reviews.freebsd.org/D18841 Added: head/sysutils/ltfs/ head/sysutils/ltfs/Makefile (contents, props changed) head/sysutils/ltfs/distinfo (contents, props changed) head/sysutils/ltfs/files/ head/sysutils/ltfs/files/patch-src_tape__drivers_freebsd_cam_Makefile.am (contents, props changed) head/sysutils/ltfs/pkg-descr (contents, props changed) head/sysutils/ltfs/pkg-message (contents, props changed) head/sysutils/ltfs/pkg-plist (contents, props changed) Added: head/sysutils/ltfs/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/ltfs/Makefile Sat Jan 19 02:15:19 2019 (r490697) @@ -0,0 +1,35 @@ +# Created by: Kevin Bowling <kbowling@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= ltfs +DISTVERSIONPREFIX= v +DISTVERSION= 2.4.1.0 +DISTVERSIONSUFFIX= -10219 +CATEGORIES= sysutils + +MAINTAINER= kbowling@FreeBSD.org +COMMENT= Reference implementation of LTFS for stand alone tape drive + +LICENSE= BSD3CLAUSE +LICENSE_FILE = ${WRKSRC}/LICENSE + +LIB_DEPENDS= libicudata.so:devel/icu \ + libnetsnmp.so:net-mgmt/net-snmp \ + libpkg.so:ports-mgmt/pkg \ + libuuid.so:misc/e2fsprogs-libuuid + +USES= autoreconf fuse gnome libtool:build pkgconfig ssl + +CONFIGURE_ARGS+= --enable-icu-6x +GH_ACCOUNT= LinearTapeFileSystem +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +USE_GITHUB= yes +USE_GNOME= libxml2 +USE_LDCONFIG= yes + +post-install: + @${RM} ${STAGEDIR}${DATADIR}/ltfs + @${RMDIR} ${STAGEDIR}${DATADIR} + +.include <bsd.port.mk> Added: head/sysutils/ltfs/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/ltfs/distinfo Sat Jan 19 02:15:19 2019 (r490697) @@ -0,0 +1,3 @@ +TIMESTAMP = 1547089187 +SHA256 (LinearTapeFileSystem-ltfs-v2.4.1.0-10219_GH0.tar.gz) = c157ce5c62158a03778077e1ebffae3d6489cc5d984e04b402a45037e0030785 +SIZE (LinearTapeFileSystem-ltfs-v2.4.1.0-10219_GH0.tar.gz) = 560077 Added: head/sysutils/ltfs/files/patch-src_tape__drivers_freebsd_cam_Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/ltfs/files/patch-src_tape__drivers_freebsd_cam_Makefile.am Sat Jan 19 02:15:19 2019 (r490697) @@ -0,0 +1,12 @@ +--- src/tape_drivers/freebsd/cam/Makefile.am.orig 2019-01-10 03:47:31 UTC ++++ src/tape_drivers/freebsd/cam/Makefile.am +@@ -56,6 +56,6 @@ libtape_cam_la-ibm_tape.lo: ../../ibm_tape.c + $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtape_cam_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CRC_OPTIMIZE) -MT libtape_cam_la-ibm_tape.lo -MD -MP -c -o libtape_cam_la-ibm_tape.lo ../../ibm_tape.c + + install-exec-hook: +- mkdir -p $(libdir)/ltfs +- for f in $(lib_LTLIBRARIES); do rm -f $(libdir)/$$f; done +- for f in $(BASENAMES); do mv $(libdir)/$$f* $(libdir)/ltfs; done ++ mkdir -p $(DESTDIR)$(libdir)/ltfs ++ for f in $(lib_LTLIBRARIES); do rm -f $(DESTDIR)$(libdir)/$$f; done ++ for f in $(BASENAMES); do mv $(DESTDIR)$(libdir)/$$f* $(DESTDIR)$(libdir)/ltfs; done Added: head/sysutils/ltfs/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/ltfs/pkg-descr Sat Jan 19 02:15:19 2019 (r490697) @@ -0,0 +1,5 @@ +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, users +can access to the tape via filesystem API. + +WWW: https://github.com/LinearTapeFileSystem/ltfs Added: head/sysutils/ltfs/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/ltfs/pkg-message Sat Jan 19 02:15:19 2019 (r490697) @@ -0,0 +1,9 @@ +This only works with IBM-branded LTO-5 or newer tape drives, although there is +a file backend for simulation purposes. + +You will only be able to read and write tapes with a blocksize <= MAXPHYS, +which is 128KB by default. Put the following in your kernel config file and +recompile/reinstall to allow reading and writing tapes up to the maximum LTFS +blocksize of 1MB: + +options MAXPHYS=(1024*1056) Added: head/sysutils/ltfs/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/ltfs/pkg-plist Sat Jan 19 02:15:19 2019 (r490697) @@ -0,0 +1,43 @@ +bin/ltfs +bin/ltfsck +bin/mkltfs +etc/ltfs.conf +etc/ltfs.conf.local +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_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 +lib/libltfs.a +lib/libltfs.so +lib/libltfs.so.0 +lib/libltfs.so.0.0.0 +lib/ltfs/libiosched-fcfs.so +lib/ltfs/libiosched-unified.so +lib/ltfs/libkmi-flatfile.so +lib/ltfs/libkmi-simple.so +lib/ltfs/libtape-cam.so +lib/ltfs/libtape-file.so +lib/ltfs/libtape-itdtimg.so +libdata/pkgconfig/ltfs.pc +man/man8/ltfs-sde.8.gz +man/man8/ltfsck.8.gz +man/man8/mkltfs.8.gz +share/snmp/LTFS-MIB.txt +share/snmp/LtfsSnmpTrapDef.txt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901190215.x0J2FJc7091335>