rpm/lib
Michal Domonkos 78fd1fc05f Sanitize awk and find-debuginfo paths in macros
Commit adad2be2e4 moved the detection of
awk outside of makemacros() so that we could require it at build time,
but that isn't ideal.  These are two separate use cases, really, they
just happen to involve awk in both cases.

In the first case (build time), keep using find_program(REQUIRED) as
normal, however for makemacros(), revert back to the custom findutil()
function.

The find-debuginfo script is the same story so fix that too while at it.
In practice, it's not likely for there to be multiple implementations of
this script installed on the build system for this to matter, so this
change is mostly just for the sake of consistency.

Also add a short description of findutil() to make its purpose a bit
clearer to the casual onlooker.

Fixes: #2926
2024-03-14 10:04:47 +01:00
..
backend Drop a leftover sqlite pragma case_sensitive_like 2024-02-27 10:47:25 +02:00
CMakeLists.txt Sanitize awk and find-debuginfo paths in macros 2024-03-14 10:04:47 +01:00
cpio.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
cpio.h Remove leading directories from doxygen notation 2022-03-10 08:40:07 +02:00
depends.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
formats.c Implement --json query format 2024-02-19 11:47:54 +02:00
fprint.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
fprint.h Remove leading directories from doxygen notation 2022-03-10 08:40:07 +02:00
fsm.c Tip-toe around rpmfiFN() thin ice in fsm 2024-01-31 10:13:08 +02:00
fsm.h Remove leading directories from doxygen notation 2022-03-10 08:40:07 +02:00
gentagtbl.sh Use actual enum values in tag table sentinel to avoid int/enum mismatch 2010-09-21 15:26:25 +03:00
header.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
header_internal.h At long long last, make entryInfo opaque outside header.c 2023-02-15 10:49:57 +02:00
headerfmt.c Implement --json query format 2024-02-19 11:47:54 +02:00
headerutil.c Fix a tiny memory leak 2021-03-04 16:22:54 +02:00
manifest.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
manifest.h Remove leading directories from doxygen notation 2022-03-10 08:40:07 +02:00
misc.h Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
order.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
package.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
poptALL.c Fix a memleak on invalid command line options 2024-02-21 16:07:05 +02:00
poptI.c Automatically create sysuser users and groups on install 2023-03-30 13:59:28 +03:00
poptQV.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
psm.c Pass arg2 to file trigger scripts 2024-02-09 10:21:20 +02:00
query.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
relocation.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmal.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmal.h Remove leading directories from doxygen notation 2022-03-10 08:40:07 +02:00
rpmchecksig.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmchroot.c Axe the experimental non-privileged chroot support from b4c832ca 2023-09-15 16:23:46 +03:00
rpmchroot.h Add "c++ protection" to (hopefully) all of our internal headers 2010-09-21 15:21:12 +03:00
rpmdb.c Kick out an "experimental" %_query_selector_match from 2001 2024-03-11 13:37:34 +01:00
rpmdb_internal.h Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmds.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmds_internal.h Axe --nopromote and most of the related infrastructure 2020-05-27 14:14:00 +02:00
rpmfi.c Ignore %config flag where not supported 2024-02-21 12:26:01 +01:00
rpmfi_internal.h Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmfs.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmfs.h Reset file actions between rpmtsRun() calls (RhBug:1076552) 2014-03-21 12:44:03 +02:00
rpmgi.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmgi.h Remove leading directories from doxygen notation 2022-03-10 08:40:07 +02:00
rpminstall.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmlead.c Remove lead checks other than the "magic number" check 2023-10-26 09:57:10 +03:00
rpmlead.h Remove leading directories from doxygen notation 2022-03-10 08:40:07 +02:00
rpmlock.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmlock.h Export rpmlock release method internally as well 2013-03-11 11:12:35 +02:00
rpmplugins.c Add a build option for enabling address sanitizer, use for CI 2024-01-31 10:13:08 +02:00
rpmplugins.h Make the plugin API public 2023-09-13 14:51:25 +03:00
rpmprob.c Add a pre-flight check for removed packages too 2020-06-02 15:25:57 +02:00
rpmps.c Fix couple of incorrect sizeof() uses 2011-03-17 14:08:54 +02:00
rpmrc.c Remember to free user/group cache on librpm shutdown (again) 2024-01-22 13:09:32 +02:00
rpmscript.c Fix a theoretical use of uninitialized struct members 2024-01-24 12:44:34 +02:00
rpmscript.h Make rpmscript machinery chroot-aware 2023-03-30 13:59:28 +03:00
rpmtd.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmte.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmte_internal.h Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmtriggers.c Pass arg2 to file trigger scripts 2024-02-09 10:21:20 +02:00
rpmtriggers.h Pass arg2 to file trigger scripts 2024-02-09 10:21:20 +02:00
rpmts.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmts_internal.h Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmug.c Simplify the cache lookup logic, no functional changes 2024-01-22 13:09:32 +02:00
rpmug.h Make rpmug*() properly internal to librpm now that we can 2023-12-04 16:27:04 +02:00
rpmvs.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmvs.h Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
signature.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
signature.h Remove leading directories from doxygen notation 2022-03-10 08:40:07 +02:00
tagexts.c Don't use _nl_msg_cat_cntr if it's not available 2024-01-23 12:47:31 +02:00
tagname.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
transaction.c Pass arg2 to file trigger scripts 2024-02-09 10:21:20 +02:00
verify.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00