sysutils/bacula13-client-static: Add new port

Much like sysutils/bacula9-client-static, but for Bacula 13

NOTE: the 13 code creates binaries named:

* static-bacula-fd
* static-bconsole

To retain the naming convention used in previous ports, we rename these to:

* bacula-fd-static
* bconsole-static
This commit is contained in:
Dan Langille 2022-12-03 20:25:17 +00:00
parent 5633b4b358
commit be1b11e3ab
2 changed files with 32 additions and 0 deletions

View File

@ -88,6 +88,7 @@
SUBDIR += bacula11-docs
SUBDIR += bacula11-server
SUBDIR += bacula13-client
SUBDIR += bacula13-client-static
SUBDIR += bacula13-docs
SUBDIR += bacula13-server
SUBDIR += bacula9-client

View File

@ -0,0 +1,31 @@
PORTNAME= bacula
PKGNAMESUFFIX= 13-client-static
COMMENT= Network backup solution (static client)
BROKEN_aarch64= Fails to link: missing sbrk
BROKEN_riscv64= Fails to link: missing sbrk
BROKEN_SSL= libressl
WITH_CLIENT_ONLY= yes
PLIST= ${.CURDIR}/pkg-plist
MASTERDIR= ${.CURDIR}/../../sysutils/bacula13-server
PLIST_FILES= sbin/bacula-fd-static \
sbin/bconsole-static
OPTIONS_DEFINE= NLS OPENSSL
OPTIONS_DEFAULT= OPENSSL
CONFIGURE_ARGS+= --disable-build-dird \
--disable-build-stored \
--disable-libtool \
--enable-client-only \
--enable-static-cons \
--enable-static-fd
.include "${MASTERDIR}/Makefile"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/filed/static-bacula-fd ${STAGEDIR}${PREFIX}/sbin/bacula-fd-static
${INSTALL_PROGRAM} ${WRKSRC}/src/console/static-bconsole ${STAGEDIR}${PREFIX}/sbin/bconsole-static