[pacman-dev] [PATCH 1/4] makepkg: fix find_lib{depends, provides} results
Neither function was checking for the existence of actual results before
calling printf, resulting in them returning a list with a single empty
value if there were no depends/provides.
Signed-off-by: Andrew Gregory
The PKGINFO format cannot handle values that contain newlines.
Signed-off-by: Andrew Gregory
On 06/11/16 08:08, Andrew Gregory wrote:
The PKGINFO format cannot handle values that contain newlines.
Signed-off-by: Andrew Gregory
--- Many package fields get processed in such a way that getting a newline into a .PKGINFO file is actually not all that easy. One way to do it is with PACKAGER (e.g. `PACKAGER=foo$'\n'bar makepkg`). Ideally there would be a lint_package check for this, but we don't currently have an easy way to loop through all package variables and this is the most reliable way to be sure that we check everything we write.
OK.
Allows lint_package to prevent makepkg from creating an invalid package.
Signed-off-by: Andrew Gregory
libalpm's local database format does not support paths with newlines.
Signed-off-by: Andrew Gregory
On 06/11/16 08:08, Andrew Gregory wrote:
libalpm's local database format does not support paths with newlines.
Signed-off-by: Andrew Gregory
--- scripts/Makefile.am | 1 + scripts/libmakepkg/lint_package/file_names.sh.in | 42 ++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 scripts/libmakepkg/lint_package/file_names.sh.in
OK. Needed an addition to scripts/po/POTFILES.in A
participants (2)
-
Allan McRae
-
Andrew Gregory