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
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
# Created by: Kevin Bowling <kbowling@FreeBSD.org>
|
|
|
|
PORTNAME= ltfs
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.4.4.0
|
|
DISTVERSIONSUFFIX= -10470
|
|
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 \
|
|
libpkg.so:${PKG_ORIGIN} \
|
|
libuuid.so:misc/e2fsprogs-libuuid
|
|
|
|
USES= autoreconf compiler:c11 fuse gnome libtool:build pkgconfig \
|
|
python shebangfix ssl
|
|
|
|
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}
|
|
|
|
.include <bsd.port.mk>
|