sysutils/ltfs: Update to 2.4.4.0

Port changes:
Add options for DEBUG and SNMP, reformat.

ltfs changes:
* Support LTO9 drives
* Fixed and improved MAM handling in cases where MAM might not update
correctly during write errors, so that LTFS correctly searches for the
latest index position of the tape for these cases.
* FreeBSD 12 build fix

Changes:	https://github.com/LinearTapeFileSystem/ltfs/compare/v2.4.3.1-10461...v2.4.4.0-10470
This commit is contained in:
Kevin Bowling 2021-09-29 09:27:04 -07:00
parent ab1c2c47ab
commit b25605cc0c
3 changed files with 37 additions and 19 deletions

View file

@ -2,9 +2,8 @@
PORTNAME= ltfs
DISTVERSIONPREFIX= v
DISTVERSION= 2.4.3.1
DISTVERSIONSUFFIX= -10461
PORTREVISION= 1
DISTVERSION= 2.4.4.0
DISTVERSIONSUFFIX= -10470
CATEGORIES= sysutils
MAINTAINER= kbowling@FreeBSD.org
@ -14,20 +13,38 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libicudata.so:devel/icu \
libnetsnmp.so:net-mgmt/net-snmp \
libpkg.so:${PKG_ORIGIN} \
libuuid.so:misc/e2fsprogs-libuuid
USES= autoreconf compiler:c11 fuse gnome libtool:build pkgconfig ssl
USES= autoreconf compiler:c11 fuse gnome libtool:build pkgconfig \
python shebangfix ssl
CONFIGURE_ARGS+= --enable-icu-6x
GH_ACCOUNT= LinearTapeFileSystem
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_GITHUB= yes
GH_ACCOUNT= LinearTapeFileSystem
USE_GNOME= libxml2
USE_LDCONFIG= yes
SHEBANG_FILES= src/utils/ltfs_ordered_copy
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-icu-6x
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DEBUG SNMP
OPTIONS_SUB= yes
DEBUG_DESC= Build without optimization and extended debug flags
SNMP_DESC= SNMP trap support
DEBUG_CONFIGURE_ON= --enable-debug
DEBUG_CONFIGURE_OFF= --enable-fast
SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
SNMP_USES= perl5
SNMP_CONFIGURE_ENABLE= snmp
post-install:
@${RM} ${STAGEDIR}${DATADIR}/ltfs
@${RMDIR} ${STAGEDIR}${DATADIR}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1613673367
SHA256 (LinearTapeFileSystem-ltfs-v2.4.3.1-10461_GH0.tar.gz) = ae39778a47cb09c126fd394c269cbf464f7b43c876ea71a9c880e1159ce87066
SIZE (LinearTapeFileSystem-ltfs-v2.4.3.1-10461_GH0.tar.gz) = 614066
TIMESTAMP = 1632932667
SHA256 (LinearTapeFileSystem-ltfs-v2.4.4.0-10470_GH0.tar.gz) = 840989bb50e4cd752473fa3b2f69bb2b844a7c89b8a7f55a4560fa8672709792
SIZE (LinearTapeFileSystem-ltfs-v2.4.4.0-10470_GH0.tar.gz) = 624915

View file

@ -43,8 +43,9 @@ lib/ltfs/libtape-cam.so
lib/ltfs/libtape-file.so
lib/ltfs/libtape-itdtimg.so
libdata/pkgconfig/ltfs.pc
man/man1/ltfs_ordered_copy.1.gz
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
%%SNMP%%share/snmp/LTFS-MIB.txt
%%SNMP%%share/snmp/LtfsSnmpTrapDef.txt