From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2BF53158012 for ; Mon, 12 Dec 2022 03:09:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A14FE0817; Mon, 12 Dec 2022 03:09:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D6BAE0817 for ; Mon, 12 Dec 2022 03:09:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C7B18340EB2 for ; Mon, 12 Dec 2022 03:09:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2BB943A5 for ; Mon, 12 Dec 2022 03:09:49 +0000 (UTC) From: "Marc Schiffbauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marc Schiffbauer" Message-ID: <1670814548.d177f676b26123262e0012dc71c22d2065034bd2.mschiff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/bareos/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/bareos/bareos-21.1.5-r1.ebuild X-VCS-Directories: app-backup/bareos/ X-VCS-Committer: mschiff X-VCS-Committer-Name: Marc Schiffbauer X-VCS-Revision: d177f676b26123262e0012dc71c22d2065034bd2 X-VCS-Branch: master Date: Mon, 12 Dec 2022 03:09:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 69fa995e-2dca-4b97-95fb-bc2ed446410a X-Archives-Hash: 4d7a4d64b52c3a5817824907d5579c66 commit: d177f676b26123262e0012dc71c22d2065034bd2 Author: Marc Schiffbauer gentoo org> AuthorDate: Mon Dec 12 03:09:08 2022 +0000 Commit: Marc Schiffbauer gentoo org> CommitDate: Mon Dec 12 03:09:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d177f676 app-backup/bareos: fix USE=clientonly install Closes: https://bugs.gentoo.org/885449 Signed-off-by: Marc Schiffbauer gentoo.org> app-backup/bareos/bareos-21.1.5-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app-backup/bareos/bareos-21.1.5-r1.ebuild b/app-backup/bareos/bareos-21.1.5-r1.ebuild index 1652a021f7bc..724051b6d17d 100644 --- a/app-backup/bareos/bareos-21.1.5-r1.ebuild +++ b/app-backup/bareos/bareos-21.1.5-r1.ebuild @@ -360,7 +360,10 @@ src_install() { keepdir /var/lib/bareos keepdir /var/lib/bareos/storage - diropts -m0755 -o bareos -g bareos + # set log directory ownership + if ! use clientonly; then + diropts -m0755 -o bareos -g bareos + fi keepdir /var/log/bareos newtmpfiles "${FILESDIR}"/tmpfiles.d-bareos.conf bareos.conf