commit: 573a93e0ddccfa316cf3b37b3d25717e0a639def Author: Philipp Ammann <philipp.ammann <AT> posteo <DOT> de> AuthorDate: Thu Jul 18 17:54:28 2019 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Thu Jul 18 17:54:28 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=573a93e0
applets: properly disable qtegrity when requested This fixes the final linking stage due to undefined references to qtegrity_main. Bug: https://bugs.gentoo.org/689896 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> applets.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/applets.h b/applets.h index 999cf7a..520ff23 100644 --- a/applets.h +++ b/applets.h @@ -86,7 +86,9 @@ static const struct applet_t { {"qsearch", qsearch_main, "<regex>", "search pkgname/desc"}, {"qsize", qsize_main, "<pkgname>", "calculate size usage"}, {"qtbz2", qtbz2_main, "<misc args>", "manipulate tbz2 packages"}, +#ifdef ENABLE_QTEGRITY {"qtegrity", qtegrity_main, "<misc args>", "verify files with IMA"}, +#endif {"quse", quse_main, "<useflag>", "find pkgs using useflags"}, {"qxpak", qxpak_main, "<misc args>", "manipulate xpak archives"}, @@ -109,8 +111,10 @@ static const struct applet_t { {"uickpkg", qpkg_main, NULL, NULL}, /* {"glsa", qglsa_main, NULL, NULL}, */ +#ifdef ENABLE_QTEGRITY /* alias for qtegrity */ {"integrity", qtegrity_main, NULL, NULL}, +#endif #ifdef ENABLE_QMANIFEST /* old hashgen */
