libcap: Update to 2.29

Fixed PKG_LICENSE.

Added PKG_BUILD_PARALLEL for faster compilation.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-01-02 22:17:18 -08:00
parent 2e992a0794
commit caf6d5ed2a
3 changed files with 13 additions and 11 deletions

View File

@@ -1,8 +1,8 @@
--- a/progs/capsh.c
+++ b/progs/capsh.c
@@ -24,6 +24,9 @@
@@ -25,6 +25,9 @@
#include <sys/wait.h>
#include <sys/prctl.h>
#include <unistd.h>
+#ifndef SHELL
+#define SHELL "/bin/sh"
@@ -10,7 +10,7 @@
#define MAX_GROUPS 100 /* max number of supplementary groups for user */
static char *binary(unsigned long value)
@@ -692,10 +695,10 @@ int main(int argc, char *argv[], char *envp[])
@@ -756,10 +759,10 @@ int main(int argc, char *argv[], char *envp[])
} else if (!strcmp("--print", argv[i])) {
arg_print();
} else if ((!strcmp("--", argv[i])) || (!strcmp("==", argv[i]))) {
@@ -23,7 +23,7 @@
exit(1);
} else {
usage:
@@ -720,7 +723,7 @@ int main(int argc, char *argv[], char *envp[])
@@ -789,7 +792,7 @@ int main(int argc, char *argv[], char *envp[])
" --killit=<n> send signal(n) to child\n"
" --forkfor=<n> fork and make child sleep for <n> sec\n"
" == re-exec(capsh) with args as for --\n"