From 577ac46eeac6c240e91ec588f45890c7fced03fb Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 18 Jun 2021 09:23:28 -0500 Subject: Ensure capsh in installed from the libcap package. --- chapter08/libcap.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chapter08') 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 -- cgit v1.2.3-54-g00ecf