aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Ammann <philipp.ammann@posteo.de>2019-07-18 19:54:28 +0200
committerFabian Groffen <grobian@gentoo.org>2019-07-18 19:54:28 +0200
commit573a93e0ddccfa316cf3b37b3d25717e0a639def (patch)
treed411c6f0f53b56c2201f1f0062eb208123181e89 /applets.h
parenttravis: fix typo, ensure we recompile files after configure (diff)
downloadportage-utils-573a93e0ddccfa316cf3b37b3d25717e0a639def.tar.gz
portage-utils-573a93e0ddccfa316cf3b37b3d25717e0a639def.tar.bz2
portage-utils-573a93e0ddccfa316cf3b37b3d25717e0a639def.zip
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@gentoo.org>
Diffstat (limited to 'applets.h')
-rw-r--r--applets.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/applets.h b/applets.h
index 999cf7a0..520ff239 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 */