commit:     31991cf623421898a80026fda9594903ad4b5604
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  8 07:07:58 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Jan  8 07:31:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31991cf6

app-forensics/aide: always enable 'zlib' on 0.17.4-r3

 - while it compiles fine without zlib support, runtime does not work
   without it.

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../aide/{aide-0.17.4-r3.ebuild => aide-0.17.4-r4.ebuild}        | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/app-forensics/aide/aide-0.17.4-r3.ebuild 
b/app-forensics/aide/aide-0.17.4-r4.ebuild
similarity index 95%
rename from app-forensics/aide/aide-0.17.4-r3.ebuild
rename to app-forensics/aide/aide-0.17.4-r4.ebuild
index 4623eda866ff..0684f4728854 100644
--- a/app-forensics/aide/aide-0.17.4-r3.ebuild
+++ b/app-forensics/aide/aide-0.17.4-r4.ebuild
@@ -12,9 +12,10 @@ 
SRC_URI="https://github.com/aide/aide/releases/download/v${PV}/${P}.tar.gz";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 x86"
-IUSE="acl audit curl e2fs mhash selinux xattr zlib"
+IUSE="acl audit curl e2fs mhash selinux xattr"
 
 DEPEND="dev-libs/libpcre
+       sys-libs/zlib
        acl? ( virtual/acl )
        audit? ( sys-process/audit )
        curl? ( net-misc/curl )
@@ -25,8 +26,7 @@ DEPEND="dev-libs/libpcre
        )
        mhash? ( app-crypt/mhash )
        selinux? ( sys-libs/libselinux )
-       xattr? ( sys-apps/attr )
-       zlib? ( sys-libs/zlib )"
+       xattr? ( sys-apps/attr )"
 RDEPEND="${DEPEND}
        selinux? ( sec-policy/selinux-aide )"
 BDEPEND="sys-devel/bison
@@ -73,7 +73,8 @@ src_configure() {
                --without-locale
 
                --without-prelink
-               $(use_with zlib)
+
+               --with-zlib
                $(use_with curl)
                $(use_with acl posix-acl)
                $(use_with selinux)

Reply via email to