From 577ac46eeac6c240e91ec588f45890c7fced03fb Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 18 Jun 2021 09:23:28 -0500 Subject: [PATCH] Ensure capsh in installed from the libcap package. --- chapter01/changelog.xml | 9 +++++++++ chapter08/libcap.xml | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 1ed4589ef..872082ac1 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,15 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2021-06-18 + + + [bdubbs] - Ensure libcap installs capsh. + + + + 2021-06-15 diff --git a/chapter08/libcap.xml b/chapter08/libcap.xml index d8fc15175..05d4a6ff0 100644 --- a/chapter08/libcap.xml +++ b/chapter08/libcap.xml @@ -43,6 +43,10 @@ Installation of Libcap + First, fix an upstream oversight in the latest release: + +sed -i 's/ $(PROGS)/& capsh/' progs/Makefile + Prevent static libraries from being installed: sed -i '/install -m.*STA/d' libcap/Makefile