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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC35315ACFC for ; Sun, 30 Apr 2023 11:52:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9128E0844; Sun, 30 Apr 2023 11:52:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 87764E0844 for ; Sun, 30 Apr 2023 11:52:45 +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 AC8EA341137 for ; Sun, 30 Apr 2023 11:52:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 004E4A46 for ; Sun, 30 Apr 2023 11:52:43 +0000 (UTC) From: "Thomas Beierlein" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Beierlein" Message-ID: <1682855544.5a9cfdbcfc7b6ec8128ba6a561d7c164d4f4217f.tomjbe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/bacula/files/, app-backup/bacula/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/bacula/bacula-11.0.6-r3.ebuild app-backup/bacula/bacula-13.0.2-r1.ebuild app-backup/bacula/bacula-13.0.2.ebuild app-backup/bacula/files/bacula-11.0.2-fix-config.patch X-VCS-Directories: app-backup/bacula/ app-backup/bacula/files/ X-VCS-Committer: tomjbe X-VCS-Committer-Name: Thomas Beierlein X-VCS-Revision: 5a9cfdbcfc7b6ec8128ba6a561d7c164d4f4217f X-VCS-Branch: master Date: Sun, 30 Apr 2023 11:52:43 +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: 55df7db1-8a4b-4a02-9317-f0939a999822 X-Archives-Hash: db392698b284ec92dccd837b334bf0a9 commit: 5a9cfdbcfc7b6ec8128ba6a561d7c164d4f4217f Author: Thomas Beierlein gentoo org> AuthorDate: Sun Apr 30 11:48:39 2023 +0000 Commit: Thomas Beierlein gentoo org> CommitDate: Sun Apr 30 11:52:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a9cfdbc app-backup/bacula: Fix implicit function declaration - supress false positive in bacula-13.0.2 and bacula-11.0.6 - additional fix real problem in bacula-11.0.2 Closes: https://bugs.gentoo.org/900663 Signed-off-by: Thomas Beierlein gentoo.org> ...acula-13.0.2.ebuild => bacula-11.0.6-r3.ebuild} | 16 +++++++++---- ...acula-13.0.2.ebuild => bacula-13.0.2-r1.ebuild} | 7 ++++++ .../bacula/files/bacula-11.0.2-fix-config.patch | 27 ++++++++++++++++++++++ 3 files changed, 46 insertions(+), 4 deletions(-) diff --git a/app-backup/bacula/bacula-13.0.2.ebuild b/app-backup/bacula/bacula-11.0.6-r3.ebuild similarity index 97% copy from app-backup/bacula/bacula-13.0.2.ebuild copy to app-backup/bacula/bacula-11.0.6-r3.ebuild index ad270ef3da0a..7a092c2c85a6 100644 --- a/app-backup/bacula/bacula-13.0.2.ebuild +++ b/app-backup/bacula/bacula-11.0.6-r3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=8 +EAPI=7 inherit desktop libtool qmake-utils systemd @@ -72,6 +72,13 @@ REQUIRED_USE=" static? ( bacula-clientonly ) " +# suppress warning wrt 'implicit function declaration' in config logs +# bug 900663 +QA_CONFIG_IMPL_DECL_SKIP=( + makedev # designed to check availability in + # used header file +) + S=${WORKDIR}/${MY_P} pkg_setup() { @@ -130,6 +137,9 @@ src_prepare() { sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die sed -i -e "s/strip /# strip /" src/console/Makefile.in || die + # fix 'implicit function declaration' bug 900663 + eapply -p0 "${FILESDIR}/${PN}-11.0.2-fix-config.patch" + eapply_user # Fix systemd unit files: @@ -156,8 +166,7 @@ src_prepare() { sed -i -e 's/ manpages//' Makefile.in || die # correct installation for plugins to mode 0755 (bug #725946) - sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/Makefile ||die - sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/docker/Makefile ||die + sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/Makefile.in ||die # fix bundled libtool (bug 466696) # But first move directory with M4 macros out of the way. @@ -232,7 +241,6 @@ src_compile() { src_install() { emake DESTDIR="${D}" install doicon scripts/bacula.png - keepdir /var/lib/bacula/tmp # remove not needed .la files #840957 find "${ED}" -name '*.la' -delete || die diff --git a/app-backup/bacula/bacula-13.0.2.ebuild b/app-backup/bacula/bacula-13.0.2-r1.ebuild similarity index 98% rename from app-backup/bacula/bacula-13.0.2.ebuild rename to app-backup/bacula/bacula-13.0.2-r1.ebuild index ad270ef3da0a..31f0e4ddc989 100644 --- a/app-backup/bacula/bacula-13.0.2.ebuild +++ b/app-backup/bacula/bacula-13.0.2-r1.ebuild @@ -72,6 +72,13 @@ REQUIRED_USE=" static? ( bacula-clientonly ) " +# suppress warning wrt 'implicit function declaration' in config logs +# bug 900663 +QA_CONFIG_IMPL_DECL_SKIP=( + makedev # designed to check availability in + # used header file +) + S=${WORKDIR}/${MY_P} pkg_setup() { diff --git a/app-backup/bacula/files/bacula-11.0.2-fix-config.patch b/app-backup/bacula/files/bacula-11.0.2-fix-config.patch new file mode 100644 index 000000000000..67b73528b52d --- /dev/null +++ b/app-backup/bacula/files/bacula-11.0.2-fix-config.patch @@ -0,0 +1,27 @@ +--- configure.orig 2023-04-30 13:40:55.498111399 +0200 ++++ configure 2023-04-30 13:41:19.426932141 +0200 +@@ -29413,7 +29413,7 @@ + #include + #include + +- void main(void) { ++ int main(void) { + struct addrinfo hints, *ai; + int error; + +@@ -29422,12 +29422,12 @@ + hints.ai_socktype = SOCK_STREAM; + error = getaddrinfo("127.0.0.1", NULL, &hints, &ai); + if (error) { +- exit(1); ++ return(1); + } + if (ai->ai_addr->sa_family != AF_INET) { +- exit(1); ++ return(1); + } +- exit(0); ++ return(0); + } + + _ACEOF