From nobody Sun Sep 01 11:00:08 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WxTS8609hz5V1g2; Sun, 01 Sep 2024 11:00:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WxTS85lxRz43sp; Sun, 1 Sep 2024 11:00:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725188408; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=scbXunpWyVAxaScuTeY+F93RDO0PYsX9Ip2qPWu7vQQ=; b=VlhPPpo1vwKvhtVAtsawPng1gXCHVloU7JbT7uDUgA0w9KmOLH3xxxQZkk/tSQhJtd2lbu fa9AnnviK7In6yuX3XIcNjfzyiIIjmU6drYv2ODR0syjd3KTCLYWP4lqo8Za37I6pcA76W aTjXeLeb+A+1b6ZwQNRElyHilWUVq/839oTFTHEDp1jlTY80h4u5ljDqvCjtqB9uHTfAfp gP1nvSFZqkXEw98N0GXxSuRgQhb/vr6+Ejt88YUCcOQXt6L2PmJTrn3aUAtKrCSgl0n73V aQ6nILmsGMvIkTJ16wPxkjSBqSTtNWEZDtVvMMUH0bpXiorb54o2wG9FsQnKWA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725188408; a=rsa-sha256; cv=none; b=vTYZgqdq66BYD/M33JnNJs+B7ezsKF7DOPpBEE6af4/3S3YRtcA3ZPlGyhxRAVqNLwv8M6 4yYlMiekoYD0ek3b8GfBnKUdqSR+FJNVr7/c8BwaqRtW85Usi483LjZal8eauTrlFE5enb ZVZc6u5ABj1W+fw2kxvCETRgGd/HG8nu9T6mZVuq33ucP6QYKVAl9SzPx/aLkfAfzDsh8T qkayo2AvkkxW7xDKr2ZTsX3hSmQp1R4r5SjPpWeRvJjhcN/fO2oE1qBmWrxGjUuiWzUuPS dbUoU2X5HurcUVIVpXJhvHO7s4YwqnSGkq74EZARvmSbXO37RfRPh+Ate24Kkw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725188408; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=scbXunpWyVAxaScuTeY+F93RDO0PYsX9Ip2qPWu7vQQ=; b=ePOLlIrK2XUmNAI7bySkdJapvRUEZ7SBslDuiM/+McvqIDrKVPVI3iDQU4zgoIg8YWgc/j 4EkrcwOax4hyEFQvNfAmXvM5Yg0ZeCCUaB1XFmwXH4mD3CETI4aXzArZiUMy3uSAXNn+VQ vMcv0+G6AE5J+tUmmMHruiLeqpXJdCYjW3rSxDeHvTsnmv747kOom4b6Uz7qbGmlLmpF0p FjjqETZUOXiDI81zcZG1hR4SZ3WxF+Cc+kuL4rqYrsnieMUnLVPOw16c0GN8MNuU1TZN7j Oj+XqmjzvAQ1erQBQAqvyaH6bu1aRQARQxQbd2F5nViDosYzmRqPsZ+iJ5CqTQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WxTS85M7fzQHj; Sun, 1 Sep 2024 11:00:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 481B08fS080333; Sun, 1 Sep 2024 11:00:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 481B089o080326; Sun, 1 Sep 2024 11:00:08 GMT (envelope-from git) Date: Sun, 1 Sep 2024 11:00:08 GMT Message-Id: <202409011100.481B089o080326@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: 5151f51d51e1 - main - sysutils/bacula9-*: Remove expired bacula9 ports List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5151f51d51e1cc2300a65e46978d0ad0341c9467 Auto-Submitted: auto-generated The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=5151f51d51e1cc2300a65e46978d0ad0341c9467 commit 5151f51d51e1cc2300a65e46978d0ad0341c9467 Author: Dan Langille AuthorDate: 2024-09-01 10:42:01 +0000 Commit: Dan Langille CommitDate: 2024-09-01 10:42:01 +0000 sysutils/bacula9-*: Remove expired bacula9 ports --- sysutils/Makefile | 4 - sysutils/bacula9-client-static/Makefile | 27 --- sysutils/bacula9-client/Makefile | 17 -- sysutils/bacula9-docs/Makefile | 31 --- sysutils/bacula9-docs/distinfo | 3 - sysutils/bacula9-docs/pkg-descr | 11 -- sysutils/bacula9-server/Makefile | 209 --------------------- sysutils/bacula9-server/Makefile.common | 24 --- sysutils/bacula9-server/distinfo | 3 - sysutils/bacula9-server/files/bacula-barcodes | 51 ----- sysutils/bacula9-server/files/bacula_dir.in | 30 --- sysutils/bacula9-server/files/bacula_fd.in | 30 --- sysutils/bacula9-server/files/bacula_sd.in | 30 --- sysutils/bacula9-server/files/chio-bacula | 200 -------------------- sysutils/bacula9-server/files/patch-src_baconfig.h | 13 -- .../files/patch-src_console_Makefile.in | 11 -- .../files/patch-src_dird_Makefile.in | 11 -- .../files/patch-src_filed_Makefile.in | 11 -- .../files/patch-src_qt-console_bat.pro.in | 11 -- .../bacula9-server/files/pkg-deinstall.client.in | 30 --- .../bacula9-server/files/pkg-install.client.in | 13 -- .../bacula9-server/files/pkg-message.client.in | 10 - .../bacula9-server/files/pkg-message.server.in | 59 ------ sysutils/bacula9-server/pkg-descr | 9 - sysutils/bacula9-server/pkg-plist | 92 --------- sysutils/bacula9-server/pkg-plist.client | 20 -- 26 files changed, 960 deletions(-) diff --git a/sysutils/Makefile b/sysutils/Makefile index 08725c36f338..8345af12d1bb 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -103,10 +103,6 @@ SUBDIR += bacula15-client-static SUBDIR += bacula15-docs SUBDIR += bacula15-server - SUBDIR += bacula9-client - SUBDIR += bacula9-client-static - SUBDIR += bacula9-docs - SUBDIR += bacula9-server SUBDIR += baloo-widgets SUBDIR += bamf SUBDIR += bareos-client diff --git a/sysutils/bacula9-client-static/Makefile b/sysutils/bacula9-client-static/Makefile deleted file mode 100644 index c1372e56682a..000000000000 --- a/sysutils/bacula9-client-static/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -PORTNAME= bacula -PKGNAMESUFFIX= 9-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/bacula9-server - -PLIST_FILES= sbin/bacula-fd-static \ - sbin/bconsole-static - -OPTIONS_DEFINE= NLS OPENSSL -OPTIONS_DEFAULT=OPENSSL - -CONFIGURE_ARGS+= --enable-client-only \ - --enable-static-fd \ - --enable-static-cons \ - --disable-libtool \ - --disable-build-dird \ - --disable-build-stored - -.include "${MASTERDIR}/Makefile" diff --git a/sysutils/bacula9-client/Makefile b/sysutils/bacula9-client/Makefile deleted file mode 100644 index 19359d0fea42..000000000000 --- a/sysutils/bacula9-client/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -PORTNAME= bacula -PKGNAMESUFFIX= 9-client - -COMMENT= Network backup solution (client) - -BROKEN_aarch64= Fails to link: missing sbrk -BROKEN_riscv64= Fails to link: missing sbrk - -WITH_CLIENT_ONLY=yes -USE_RC_SUBR= bacula_fd - -PLIST= ${PKGDIR}/pkg-plist.client -MASTERDIR= ${.CURDIR}/../../sysutils/bacula9-server - -OPTIONS_DEFINE= NLS PYTHON IPV6 - -.include "${MASTERDIR}/Makefile" diff --git a/sysutils/bacula9-docs/Makefile b/sysutils/bacula9-docs/Makefile deleted file mode 100644 index 931f837139fd..000000000000 --- a/sysutils/bacula9-docs/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -PORTNAME= bacula -PORTVERSION= 9.6.7 -PORTREVISION= 2 -CATEGORIES= sysutils -MASTER_SITES= SF -PKGNAMESUFFIX= 9-docs -DISTNAME= ${PORTNAME}-docs-${PORTVERSION} - -CONFLICTS= bacula15-docs bacula13-docs bacula11-docs - -MAINTAINER= dvl@FreeBSD.org -COMMENT= Bacula document set -WWW= https://www.bacula.org/ - -DEPRECATED= Unsupported. Please migrate to bacula15-server -EXPIRATION_DATE= 2024-09-30 - -USES= tar:bz2 -NO_BUILD= yes -NO_ARCH= yes - -PORTDOCS= *.pdf - -OPTIONS_DEFINE= DOCS - -do-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${FIND} ${WRKSRC}/manuals/en \ - -name "*.pdf" -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/ \; - -.include diff --git a/sysutils/bacula9-docs/distinfo b/sysutils/bacula9-docs/distinfo deleted file mode 100644 index 21b30b616053..000000000000 --- a/sysutils/bacula9-docs/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1607966527 -SHA256 (bacula-docs-9.6.7.tar.bz2) = d5b7e6adfde83b7b47e21184baa695819cab0699570b9426289ac9e87977f919 -SIZE (bacula-docs-9.6.7.tar.bz2) = 58633475 diff --git a/sysutils/bacula9-docs/pkg-descr b/sysutils/bacula9-docs/pkg-descr deleted file mode 100644 index 256c7af3df2e..000000000000 --- a/sysutils/bacula9-docs/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -Bacula is a set of computer programs that permit you (or the system -administrator) to manage backup, recovery, and verification of -computer data across a network of computers of different kinds. -In technical terms, it is a network Client/Server based backup program. -Bacula is relatively easy to use and efficient, while offering many -advanced storage management features that make it easy to find and -recover lost or damaged files. Due to its modular design, Bacula is -scalable from small single computer systems to systems consisting of -hundreds of computers located over a large network. - -This port installs the latest documentation for Bacula. diff --git a/sysutils/bacula9-server/Makefile b/sysutils/bacula9-server/Makefile deleted file mode 100644 index 3669940a6ecc..000000000000 --- a/sysutils/bacula9-server/Makefile +++ /dev/null @@ -1,209 +0,0 @@ -PORTNAME= bacula -PORTVERSION= 9.6.7 -PORTREVISION= 5 -CATEGORIES?= sysutils -MASTER_SITES= SF/bacula/bacula/${PORTVERSION} -PKGNAMEPREFIX?= # -PKGNAMESUFFIX?= 9-server - -MAINTAINER= dvl@FreeBSD.org -COMMENT?= Network backup solution (server) -WWW= https://www.bacula.org/ - -DEPRECATED= Unsupported. Please migrate to bacula15-server -EXPIRATION_DATE= 2024-09-30 - -LICENSE= AGPLv3 -LICENSE_FILE= ${WRKSRC}/LICENSE - -USES+= cpe libtool readline shebangfix ssl -SHEBANG_FILES= src/cats/make_catalog_backup.pl.in - -CONFLICTS?= bacula15-server bacula13-server bacula11-server - -LIB_DEPENDS+= liblzo2.so:archivers/lzo2 - -USERS= bacula -GROUPS= ${USERS} - -PLIST_SUB+= LIB_VERSION=${PORTVERSION} - -GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share -USE_LDCONFIG= yes - -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -OPTIONS_DEFINE?= MTX NLS IPV6 -MTX_DESC= Install mtx for control of autochanger devices - -.if ${PKGNAMESUFFIX} == "9-server" -OPTIONS_MULTI= BACKEND -OPTIONS_MULTI_BACKEND= SQLITE3 MYSQL PGSQL -OPTIONS_DEFAULT+= PGSQL -.endif - -OPTIONS_SUB= yes - -.if ${PKGNAMESUFFIX} == "9-client" || ${PKGNAMESUFFIX} == "9-server" #Till end of the file - -.if !defined(WITH_CLIENT_ONLY) -LIB_DEPENDS+= libbac-${PORTVERSION}.so:sysutils/bacula9-client -USE_RC_SUBR?= bacula_dir bacula_sd -.endif - -.if defined(WITH_CLIENT_ONLY) -SUB_FILES+= pkg-install.client pkg-deinstall.client pkg-message.client -.else -SUB_FILES+= pkg-message.server -.endif - -CONFIGURE_ARGS+=--with-tcp-wrappers=/usr/lib \ - --enable-smartalloc \ - --sysconfdir=${ETCDIR} \ - --with-working-dir=${BACULA_DIR} \ - --with-scriptdir=${PREFIX}/share/${PORTNAME} \ - --disable-conio \ - --enable-batch-insert \ - --with-plugindir=${PREFIX}/lib \ - --with-dump-email=root@localhost \ - --with-job-email=root@localhost \ - --with-db-name=bacula \ - --with-sbin-perm=755 \ - --with-db-user=bacula \ - --with-logdir=/var/log \ - --with-baseport=9101 - -.if defined(WITH_CLIENT_ONLY) -CONFIGURE_ARGS+=--with-fd-user=root \ - --with-fd-group=wheel -.else -CONFIGURE_ARGS+=--with-dir-user=${BACULA_USER} \ - --with-dir-group=${BACULA_GROUP} \ - --with-sd-user=${BACULA_USER} \ - --with-sd-group=operator -.endif - -# The user/group IDs below are registered, see -# http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#users-and-groups -# -BACULA_USER?= bacula -BACULA_GROUP?= ${BACULA_USER} -BACULA_UID?= bacula -BACULA_GID?= ${BACULA_UID} -BACULA_DIR?= /var/db/bacula - -PLIST_SUB+= BACULA_DIR=${BACULA_DIR} - -SUB_LIST+= BACULA_USER=${BACULA_USER} \ - BACULA_GROUP=${BACULA_GROUP} \ - BACULA_UID=${BACULA_UID} \ - BACULA_GID=${BACULA_GID} \ - BACULA_DIR=${BACULA_DIR} - -NLS_USES= gettext -NLS_CONFIGURE_ENABLE= nls - -# Client only or full server version -.if defined(WITH_CLIENT_ONLY) -CONFFILES= fd -CONFIGURE_ARGS+= --enable-client-only - -PKGDEINSTALL= ${FILESDIR}/pkg-deinstall.client -PKGINSTALL= ${FILESDIR}/pkg-install.client -.else -# Server only Options -CONFFILES= sd dir -# Server default database - -MYSQL_CONFIGURE_ON= --with-mysql=yes -MYSQL_USES= mysql -MYSQL_SUB_LIST= REQ_MYSQL=mysql -MYSQL_SUB_LIST_OFF= REQ_MYSQL="" -SQLITE3_CONFIGURE_ON= --with-sqlite3=yes -SQLITE3_USES= sqlite:3 -PGSQL_CONFIGURE_ON= --with-postgresql=yes -PGSQL_USES= pgsql -PGSQL_SUB_LIST= REQ_PGSQL=postgresql -PGSQL_SUB_LIST_OFF= REQ_PGSQL="" - -MTX_RUN_DEPENDS= ${LOCALBASE}/sbin/mtx:misc/mtx - -.endif - -.include - -# if IPv6 is not in the kernel, it generates many errors -.if ! ${PORT_OPTIONS:MIPV6} -CONFIGURE_ARGS+= --disable-ipv6 -.endif - -CONFIGURE_ARGS+= --with-readline=${LOCALBASE} - -.if defined(WITH_CLIENT_ONLY) -MP8+= bacula.8 bacula-fd.8 bconsole.8 -.else -MP8+= bacula-dir.8 bacula-sd.8 bcopy.8 bextract.8 bls.8 bscan.8 \ - btape.8 btraceback.8 dbcheck.8 bwild.8 bregex.8 -MP1+= bsmtp.1 bacula-tray-monitor.1 -.endif - -MAKE_ENV+= MAN8="${MP8}" MAN1="${MP1}" - -post-patch: - # This port does not install docs. See bacula-docs for that - @${REINPLACE_CMD} -e '/docdir/d' ${WRKSRC}/Makefile.in - # Change $(ECHO) to echo in some Makefile.in files - @${REINPLACE_CMD} -e 's|$$(ECHO)|echo|g' \ - ${WRKSRC}/src/filed/Makefile.in \ - ${WRKSRC}/src/console/Makefile.in \ - ${WRKSRC}/src/cats/Makefile.in \ - ${WRKSRC}/src/dird/Makefile.in \ - ${WRKSRC}/src/stored/Makefile.in \ - ${WRKSRC}/src/tools/Makefile.in - - # Default bconsole.conf is in ${ETCDIR} - @${REINPLACE_CMD} -e 's|./bconsole.conf|${ETCDIR}/bconsole.conf|g' ${WRKSRC}/src/console/console.c - @${REINPLACE_CMD} -e 's|^MAN8 =|MAN8 ?=|g' -e 's|^MAN1 =|MAN1 ?=|g' ${WRKSRC}/manpages/Makefile.in -.if defined(WITH_CLIENT_ONLY) - # In client port only install startup script out of script dir (see below post-install) - # Dont mkdir ${PREFIX}/share/bacula cause it's empty - @${REINPLACE_CMD} -e 's|^\(fd_subdirs = .*\)scripts\(.*\)|\1\2|g' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's|\(.*$${MKDIR} $${DESTDIR}$${scriptdir}\)|#\1|g' ${WRKSRC}/Makefile.in -.else - # In server port don't install filed - @${REINPLACE_CMD} -e '/^fd_subdirs = /s|src/filed||' -e 's|src/console||' \ - ${WRKSRC}/Makefile.in -.endif - -.if !target(post-install) -post-install: -.if defined(WITH_CLIENT_ONLY) - ${MV} ${STAGEDIR}${ETCDIR}/bconsole.conf ${STAGEDIR}${ETCDIR}/bconsole.conf.sample - ${INSTALL_DATA} ${WRKSRC}/examples/sample-query.sql ${STAGEDIR}${LOCALBASE}/share/bacula/query.sql.sample -.else - ${INSTALL_SCRIPT} ${FILESDIR}/chio-bacula ${STAGEDIR}${PREFIX}/sbin - ${INSTALL_DATA} ${FILESDIR}/bacula-barcodes ${STAGEDIR}${ETCDIR}/bacula-barcodes.sample - # bacula-dir attempts to install query.sql as bpart of bacula-server, but that should only installed by bacula-client. - ${RM} ${STAGEDIR}${LOCALBASE}/share/bacula/query.sql - - #the following are installed by the -CLIENT port, and I (ler@lerctr.org) - #don't know how to remove them from being built for the -SERVER port. - ${RM} ${STAGEDIR}${LOCALBASE}/lib/bpipe-fd.so - ${RM} ${STAGEDIR}${LOCALBASE}/lib/libbac-${PORTVERSION}.so - ${RM} ${STAGEDIR}${LOCALBASE}/lib/libbac.so - ${RM} ${STAGEDIR}${LOCALBASE}/lib/libbaccfg-${PORTVERSION}.so - ${RM} ${STAGEDIR}${LOCALBASE}/lib/libbaccfg.so - ${RM} ${STAGEDIR}${LOCALBASE}/lib/libbacfind-${PORTVERSION}.so - ${RM} ${STAGEDIR}${LOCALBASE}/lib/libbacfind.so -.endif - for na in ${CONFFILES}; do \ - ${MV} ${STAGEDIR}${ETCDIR}/bacula-$$na.conf ${STAGEDIR}${ETCDIR}/bacula-$$na.conf.sample; \ - done -.endif -.else -.include "${MASTERDIR}/Makefile.common" -.endif # 9-client and 9-server are defined - -.include diff --git a/sysutils/bacula9-server/Makefile.common b/sysutils/bacula9-server/Makefile.common deleted file mode 100644 index 0208953545a7..000000000000 --- a/sysutils/bacula9-server/Makefile.common +++ /dev/null @@ -1,24 +0,0 @@ -.include - -post-build: -.if ${PKGNAMEPREFIX} == "nagios-check_" - ${MAKE_CMD} -C ${WRKSRC}/examples/nagios/check_bacula -.endif - -do-install: -.if ${PKGNAMESUFFIX} == "9-bat" -# Install config files and preserve existing ones - ${MKDIR} ${STAGEDIR}${ETCDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/src/qt-console/bat.conf ${STAGEDIR}${PREFIX}/etc/bacula/bat.conf.sample - ${INSTALL_MAN} ${WRKSRC}/manpages/bat.1 ${STAGEDIR}${PREFIX}/share/man/man1/ - ${INSTALL_PROGRAM} ${WRKSRC}/src/qt-console/bat ${STAGEDIR}${PREFIX}/sbin -.endif -.if ${PKGNAMEPREFIX} == "nagios-check_" - @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios - ${INSTALL_PROGRAM} ${WRKSRC}/examples/nagios/check_bacula/check_bacula \ - ${STAGEDIR}${PREFIX}/libexec/nagios -.endif -.if ${PKGNAMESUFFIX} == "9-client-static" - ${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 -.endif diff --git a/sysutils/bacula9-server/distinfo b/sysutils/bacula9-server/distinfo deleted file mode 100644 index 987744bde86c..000000000000 --- a/sysutils/bacula9-server/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1607965673 -SHA256 (bacula-9.6.7.tar.gz) = df0f8525ecdba380e74b537ca71adf3b7596593f02189b59ab0ebffc85ccc8de -SIZE (bacula-9.6.7.tar.gz) = 4168102 diff --git a/sysutils/bacula9-server/files/bacula-barcodes b/sysutils/bacula9-server/files/bacula-barcodes deleted file mode 100644 index 0a0b2dc28f24..000000000000 --- a/sysutils/bacula9-server/files/bacula-barcodes +++ /dev/null @@ -1,51 +0,0 @@ -# -# Bacula barcode simulation file -# used by ${PREFIX}/sbin/chio-bacula (FreeBSD) -# -# The volumenames are returned by the "changer list" command -# labeling in the console is done by "label barcodes" -# (then all volumes belog to the default pool). -# All Lines with an "#" at the bedinning are ignored -# -# !!!! If you export an tape and reinsert another one, -# !!!! don't forget to change the volume name in this file! -# -1:Volume1-100 -2:Volume1-101 -3:Volume1-102 -4:Volume1-103 -5:Volume1-104 -6:Volume1-105 -7:Volume1-106 -8:Volume1-107 -9:Volume1-108 -10:Volume1-109 -11:Volume1-110 -12:Volume1-111 -# -# Further volumes exported from the changer -# -# 36GB AIT2 tapes -#Volume1-100 -#Volume1-101 -#Volume1-102 -#Volume1-103 -#Volume1-104 -#Volume1-105 -#Volume1-106 -#Volume1-107 -#Volume1-108 -#Volume1-109 -#Volume1-110 -#Volume1-111 -#Volume1-112 -#Volume1-113 -#Volume1-114 -#Volume1-115 -# -# 50GB AIT2 tapes -#Volume2-200 -#Volume2-201 -#Volume2-202 -#Volume2-203 -#Volume2-204 diff --git a/sysutils/bacula9-server/files/bacula_dir.in b/sysutils/bacula9-server/files/bacula_dir.in deleted file mode 100644 index 57e9fa84df5a..000000000000 --- a/sysutils/bacula9-server/files/bacula_dir.in +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -# PROVIDE: bacula_dir -# REQUIRE: DAEMON %%REQ_MYSQL%% %%REQ_PGSQL%% -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# bacula_dir_enable (bool): Set to NO by default. -# Set it to YES to enable bacula_dir. -# bacula_dir_flags (params): Set params used to start bacula_dir. -# - -. /etc/rc.subr - -name="bacula_dir" -rcvar=${name}_enable -command=%%PREFIX%%/sbin/bacula-dir - -load_rc_config $name - -: ${bacula_dir_enable="NO"} -: ${bacula_dir_flags=" -u bacula -g bacula -v -c %%PREFIX%%/etc/bacula/bacula-dir.conf"} -: ${bacula_dir_pidfile="/var/run/bacula-dir.9101.pid"} -: ${bacula_dir_svcj_options:="net_basic"} - -pidfile="${bacula_dir_pidfile}" - -run_rc_command "$1" diff --git a/sysutils/bacula9-server/files/bacula_fd.in b/sysutils/bacula9-server/files/bacula_fd.in deleted file mode 100644 index e2bd10a4aa0b..000000000000 --- a/sysutils/bacula9-server/files/bacula_fd.in +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -# PROVIDE: bacula_fd -# REQUIRE: DAEMON -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# bacula_fd_enable (bool): Set to NO by default. -# Set it to YES to enable bacula_fd. -# bacula_fd_flags (params): Set params used to start bacula_fd. -# - -. /etc/rc.subr - -name="bacula_fd" -rcvar=${name}_enable -command=%%PREFIX%%/sbin/bacula-fd - -load_rc_config $name - -: ${bacula_fd_enable="NO"} -: ${bacula_fd_flags=" -u root -g wheel -v -c %%PREFIX%%/etc/bacula/bacula-fd.conf"} -: ${bacula_fd_pidfile="/var/run/bacula-fd.9102.pid"} -: ${bacula_fd_svcj_options:="net_basic"} - -pidfile="${bacula_fd_pidfile}" - -run_rc_command "$1" diff --git a/sysutils/bacula9-server/files/bacula_sd.in b/sysutils/bacula9-server/files/bacula_sd.in deleted file mode 100644 index 664d896fabe4..000000000000 --- a/sysutils/bacula9-server/files/bacula_sd.in +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -# PROVIDE: bacula_sd -# REQUIRE: DAEMON -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# bacula_sd_enable (bool): Set to NO by default. -# Set it to YES to enable bacula_sd. -# bacula_sd_flags (params): Set params used to start bacula_sd. -# - -. /etc/rc.subr - -name="bacula_sd" -rcvar=${name}_enable -command=%%PREFIX%%/sbin/bacula-sd - -load_rc_config $name - -: ${bacula_sd_enable="NO"} -: ${bacula_sd_flags=" -u bacula -g bacula -v -c %%PREFIX%%/etc/bacula/bacula-sd.conf"} -: ${bacula_sd_pidfile="/var/run/bacula-sd.9103.pid"} -: ${bacula_sd_svcj_options:="net_basic"} - -pidfile="${bacula_sd_pidfile}" - -run_rc_command "$1" diff --git a/sysutils/bacula9-server/files/chio-bacula b/sysutils/bacula9-server/files/chio-bacula deleted file mode 100644 index 30f6dba8f75f..000000000000 --- a/sysutils/bacula9-server/files/chio-bacula +++ /dev/null @@ -1,200 +0,0 @@ -#!/bin/sh -# -# Bacula interface to FreeBSD chio autoloader command with -# multiple drive support -# (By Lars Köller, lars+bacula@koellers.net, 2004) -# -# If you set in your Device resource -# -# Changer Command = "path-to-this-script/chio-bacula" %c %o %S %a -# you will have the following input to this script: -# -# chio-bacula "changer-device" "command" "slot" "archive-device" "drive-index" -# $1 $2 $3 $4 $5 -# for example: -# -# chio-bacula /dev/sg0 load 1 /dev/nst0 0 (on a FreeBSD system) -# -# If you need to to an offline, refer to the drive as $4 -# e.g. mt -f $f offline -# -# Many changers need an offline after the unload. Also many -# changers need a sleep 60 after the mtx load. -# -# N.B. If you change the script, take care to return either -# the mtx exit code or a 0. If the script exits with a non-zero -# exit code, Bacula will assume the request failed. -# -me=$(basename $0) - -# Debug output, take care: this file is writable by user bacula! -#LOG=/var/db/bacula/chio-bacula.log -#exec 2>>$LOG -#echo "------------------------- $(date) Start $(basename $0) -------------------------" >> $LOG -#set -x - -# Debug -logger -p user.err "$me $@" - -# This simulates a barcode reader in the changer. -# The labels of the virtual barcode reader are located in the BARCODE_FILE -SIMULATE_BARCODE=true -BARCODE_FILE=/usr/local/etc/bacula/bacula-barcodes -MTX=/bin/chio -# Set default values (see case statement below for -# free mapping of drive index and tape device -# We have a double drive Qualstar where drive 1 is the default bacula drive -#TAPE=/dev/bacula-tape -TAPE=/dev/nrsa0 -DRIVE=0 -# Time to wait for (un)loading -SLEEP=20 - -usage() -{ - echo "" - echo "The $me script for bacula" - echo "--------------------------------------" - echo "" - echo "usage: $me [slot] [devicename of tapedrive] [drive index]" - echo "" - echo "Valid commands:" - echo "" - echo "unload Unloads a tape into the slot" - echo " from where it was loaded." - echo "load Loads a tape from the slot " - echo " (slot-base is calculated to 1 as first slot)" - echo "list Lists full storage slots" - echo "loaded Gives slot from where the tape was loaded." - echo " 0 means the tape drive is empty." - echo "slots Gives number of available slots." - echo "" - echo "Example:" - echo " $me /dev/changer load 1 loads a tape from slot 1" - echo "" - exit 2 -} - -# The changer device -if [ -z "$1" ] ; then - usage; -else - CHANGER=$1 -fi -# The command -if [ -z "$2" ] ; then - usage; -else - COMMAND=$2 -fi -# The slot number -if [ ! -z "$3" ]; then - SLOT=$3 - # btape fill says "... slot 1 drive 0" :-( - if [ "$SLOT" = "slot" ]; then - shift - SLOT=$3 - fi -fi -# Set tape device -if [ ! -z "$4" ]; then - TAPE=$4 -fi - -# Here you can map bacula drive number to any tape device -# DRIVE is the chio drive number used below by chio! -case $5 in - 0) - # First Drive in Changer is Bacula drive - DRIVE=0 - #TAPE=/dev/bacula-tape - TAPE=/dev/nrsa0 - ;; - 1) - DRIVE=1 - #TAPE=/dev/bacula-tape2 - TAPE=/dev/nrsa1 - ;; -esac - -# -# Main -# -case ${COMMAND} in - unload) - # enable the following line if you need to eject the cartridge - mt -f ${TAPE} off - sleep 2 - # if we have a slot, try it - if [ ! -z "$SLOT" ]; then - ${MTX} -f ${CHANGER} move drive ${DRIVE} slot $((${SLOT}-1)) - exit $? - fi - # Try other way (works if source element information is valid for drive) - ${MTX} -f ${CHANGER} return drive ${DRIVE} - # If the changer is power cycled with a tape loaded in a drive - # we can compute the slot in case of a complete filled magazine, with - # one slot free. - if [ "$?" != "0" ]; then - free_slot=`${MTX} -f ${CHANGER} stat | grep "^slot " | grep -v "FULL" | awk '{print $2}'` - free_slot=${free_slot%:} - ${MTX} -f ${CHANGER} move drive ${DRIVE} slot $free_slot - fi - ;; - - load) - ${MTX} -f ${CHANGER} move slot $((${SLOT}-1)) drive ${DRIVE} - rtn=$? - # Increase the sleep time if you have a slow device - sleep $SLEEP - exit $rtn - ;; - - list) - if [ "${SIMULATE_BARCODE}" = "true" ]; then - if [ -f "$BARCODE_FILE" ]; then - cat $BARCODE_FILE | grep -v -e "^#" -e "^$" - exit 0 - else - echo "Barcode file $BARCODE_FILE missing ... exiting!" - exit 1 - fi - else - ${MTX} -f ${CHANGER} status | grep "^slot .*: .*FULL>" | awk '{print $2}' | awk -F: '{print $1+1" "}' | tr -d "[\r\n]" - fi - ;; - - loaded) - # echo "Request loaded" - ${MTX} -f ${CHANGER} status -S > /tmp/mtx.$$ - rtn=$? - # Try to get chio slot source from drive entry - SLOT=$(cat /tmp/mtx.$$ | grep "^drive ${DRIVE}: .*slot" | awk '{print $6+1}' | tr -d ">") - if [ -z "$SLOT" ]; then - # This handles the case a source slot is not available (power on - # of the changer with a drive loaded) and all other slots are - # occupied with a tape! - SLOT=$(cat /tmp/mtx.$$ | grep "^slot .*: " | awk '{print $2+1}') - if [ -z "$SLOT" ]; then - echo 0 - else - echo $SLOT - fi - else - echo $SLOT - fi - # All tapes are in the slots - #cat /tmp/mtx.$$ | grep "^drive ${DRIVE}: .* source: <>" | awk "{print 0}" - rm -f /tmp/mtx.$$ - exit $rtn - ;; - - slots) - # echo "Request slots" - ${MTX} -f ${CHANGER} status | grep "^slot " | tail -1 | awk '{print $2+1}' | tr -d ":" - ;; - - *) - usage - ;; -esac diff --git a/sysutils/bacula9-server/files/patch-src_baconfig.h b/sysutils/bacula9-server/files/patch-src_baconfig.h deleted file mode 100644 index 03fce55881fa..000000000000 --- a/sysutils/bacula9-server/files/patch-src_baconfig.h +++ /dev/null @@ -1,13 +0,0 @@ ---- src/baconfig.h.orig 2018-08-29 14:09:36 UTC -+++ src/baconfig.h -@@ -38,6 +38,10 @@ - #define have_tls 0 - #endif - -+#ifndef ENODATA -+#define ENODATA EPIPE -+#endif -+ - #ifndef ETIME - #define ETIME ETIMEDOUT - #endif diff --git a/sysutils/bacula9-server/files/patch-src_console_Makefile.in b/sysutils/bacula9-server/files/patch-src_console_Makefile.in deleted file mode 100644 index d41747a16d07..000000000000 --- a/sysutils/bacula9-server/files/patch-src_console_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- src/console/Makefile.in.orig 2015-08-13 13:52:24 UTC -+++ src/console/Makefile.in -@@ -121,7 +121,7 @@ uninstall: - depend: - @$(MV) Makefile Makefile.bak - @$(SED) "/^# DO NOT DELETE:/,$$ d" Makefile.bak > Makefile -- @$(ECHO) "# DO NOT DELETE: nice dependency list follows" >> Makefile -+ @echo "# DO NOT DELETE: nice dependency list follows" >> Makefile - @$(CXX) -S -M $(CPPFLAGS) $(CONS_INC) -I$(srcdir) -I$(basedir) *.c >> Makefile - @if test -f Makefile ; then \ - $(RMF) Makefile.bak; \ diff --git a/sysutils/bacula9-server/files/patch-src_dird_Makefile.in b/sysutils/bacula9-server/files/patch-src_dird_Makefile.in deleted file mode 100644 index 132291431a90..000000000000 --- a/sysutils/bacula9-server/files/patch-src_dird_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- src/dird/Makefile.in.orig 2015-08-13 13:52:24 UTC -+++ src/dird/Makefile.in -@@ -140,7 +140,7 @@ uninstall: - depend: - @$(MV) Makefile Makefile.bak - @$(SED) "/^# DO NOT DELETE:/,$$ d" Makefile.bak > Makefile -- @$(ECHO) "# DO NOT DELETE: nice dependency list follows" >> Makefile -+ @echo "# DO NOT DELETE: nice dependency list follows" >> Makefile - @$(CXX) -S -M $(CPPFLAGS) $(XINC) -I$(srcdir) -I$(basedir) *.c >> Makefile - @if test -f Makefile ; then \ - $(RMF) Makefile.bak; \ diff --git a/sysutils/bacula9-server/files/patch-src_filed_Makefile.in b/sysutils/bacula9-server/files/patch-src_filed_Makefile.in deleted file mode 100644 index 8886fc40f83d..000000000000 --- a/sysutils/bacula9-server/files/patch-src_filed_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- src/filed/Makefile.in.orig 2015-08-13 13:52:24 UTC -+++ src/filed/Makefile.in -@@ -137,7 +127,7 @@ uninstall: - depend: - @$(MV) Makefile Makefile.bak - @$(SED) "/^# DO NOT DELETE:/,$$ d" Makefile.bak > Makefile -- @$(ECHO) "# DO NOT DELETE: nice dependency list follows" >> Makefile -+ @echo "# DO NOT DELETE: nice dependency list follows" >> Makefile - @$(CXX) -S -M $(CPPFLAGS) $(XINC) $(LZO_INC) -I$(srcdir) -I$(basedir) *.c >> Makefile - @if test -f Makefile ; then \ - $(RMF) Makefile.bak; \ diff --git a/sysutils/bacula9-server/files/patch-src_qt-console_bat.pro.in b/sysutils/bacula9-server/files/patch-src_qt-console_bat.pro.in deleted file mode 100644 index 1bca6f6d819b..000000000000 --- a/sysutils/bacula9-server/files/patch-src_qt-console_bat.pro.in +++ /dev/null @@ -1,11 +0,0 @@ ---- src/qt-console/bat.pro.in.orig 2015-08-13 13:52:24 UTC -+++ src/qt-console/bat.pro.in -@@ -19,7 +19,7 @@ TEMPLATE = app - TARGET = bat - DEPENDPATH += . - INCLUDEPATH += .. . ./console ./restore ./select --LIBS += -L../lib -lbaccfg -lbac -L../findlib -lbacfind @OPENSSL_LIBS@ -+LIBS += -L../lib -lbaccfg -lbac -L../findlib -lbacfind @OPENSSL_LIBS@ -lintl - LIBTOOL_LINK = @QMAKE_LIBTOOL@ --silent --tag=CXX --mode=link - LIBTOOL_INSTALL = @QMAKE_LIBTOOL@ --silent --mode=install - QMAKE_LINK = $${LIBTOOL_LINK} $(CXX) diff --git a/sysutils/bacula9-server/files/pkg-deinstall.client.in b/sysutils/bacula9-server/files/pkg-deinstall.client.in deleted file mode 100644 index 27590d301e06..000000000000 --- a/sysutils/bacula9-server/files/pkg-deinstall.client.in +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin - -# Note how to delete UID/GID -USER=%%BACULA_USER%% -GROUP=%%BACULA_GROUP%% -UID=%%BACULA_UID%% -GID=%%BACULA_UID%% -BACULA_DIR=%%BACULA_DIR%% - -TMPFILE=/tmp/services-$RANDOM-$$ - -case "$2" in -"DEINSTALL") - # Delete entries in /etc/services - sed -e '/# Bacula port start/,/# Bacula port end/{' \ - -e 'd' \ - -e '}' /etc/services > $TMPFILE - mv -f $TMPFILE /etc/services - - if [ -d ${BACULA_DIR} ]; then - echo "Check if ${BACULA_DIR} is empty and delete it to permanently remove the bacula port." - fi - - if pw groupshow "${USER}" 2>/dev/null 1>&2; then - echo "To delete Bacula group permanently, use 'pw groupdel ${GROUP}'" - fi - ;; -esac diff --git a/sysutils/bacula9-server/files/pkg-install.client.in b/sysutils/bacula9-server/files/pkg-install.client.in deleted file mode 100644 index 12e044538074..000000000000 --- a/sysutils/bacula9-server/files/pkg-install.client.in +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin - -# Always add lines in /etc/services -grep -q "bacula-dir" /etc/services -if [ "$?" != "0" ]; then - echo "# Bacula port start -bacula-dir 9101/tcp #Bacula director daemon -bacula-fd 9102/tcp #Bacula file daemon -bacula-sd 9103/tcp #Bacula storage daemon -# Bacula port end" >> /etc/services -fi diff --git a/sysutils/bacula9-server/files/pkg-message.client.in b/sysutils/bacula9-server/files/pkg-message.client.in deleted file mode 100644 index cf425148025f..000000000000 --- a/sysutils/bacula9-server/files/pkg-message.client.in +++ /dev/null @@ -1,10 +0,0 @@ -[ -{ type: install - message: <