Files
bpfire/lfs/libcap
Adolf Belka f05a2a1a6f libcap: Update to version 2.66
- Update from version 2.64 to 2.66
- Update of rootfile
- Changelog
	Release notes for 2.66
	    Fix documentation typos in cap_from_text.3 (Bug: 216514 reported by Paulo
             Andrade.)
	    Some getpcaps code clean up and a fix for PID argument parsing from Jakub Wilk.
	    Slightly more robust Makefiles to address an error with make -j48 test
             observed by Tomasz Kłoczko.
	    Include a simple Go program, captrace, to trace kernel capability validation
             checks
	        This program can be used to figure out what capabilities a program needs
                 to operate.
	        captrace (a wrapper for bpftrace) uses BPF kprobes to monitor the kernel
                 for capability checks and whether or not they succeed for the system, a
                 specific PID or a program's direct execution.
	    Trim down the default file capabilities for contrib/sucap/su to those
             actually needed and set USER and HOME environment variables so bash doesn't
             complain about a sourcing error.
	Release notes for 2.65
	    Fix syntax error in DEBUG build of protected code in setcap.c. (Bug reported
             by yixiangzhike.)
	    Prevent bash from reading the wrong startup files when the capsh --user=xxx
             argument is used to invoke a shell as the user xxx. This is done by capsh
             now changing the USER and HOME environment variables when --user is
             specified. The argument --noenv can be used to suppress this behavior to
             what used to be the problematic default. (Bug: 215926)
	    Improved documentation:
	        Man page info for cap_get_pid() and cap_reset_ambient(). (Bug reports
                 from nomonemo and Tinkerer One.)
	        Improve documentation and help for the captree program.
	    Updated go/Makefile comment about an unfixed Go runtime bug in go1.16 and
             go1.17 (resolved in go1.18+), and the deadlock behavior of the psx-fd test.
	    Refresh the signatures on the two GPG keys morgan@ uses. The 4096 bit one is
             preferred, but the older one is also used for continuity reasons. This set
             of signatures should also be available from the various key servers out there.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-29 11:22:38 +00:00

82 lines
3.3 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2022 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 2.66
THISAPP = libcap-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = e79bf10c6a3dbffe96dc97aad0bed67caa0b3805d9dcaff1e4a8a833396ee5c6da4f7f0d321b254e99a00073bc39021b9f3a4b350d93094d0df4d74889b3ca56
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
# Prevent a static library from being installed
cd $(DIR_APP) && sed -i '/install -m.*STA/d' libcap/Makefile
cd $(DIR_APP) && make GOLANG=no
cd $(DIR_APP) && make install GOLANG=no
rm -vf /lib/libcap.so
ln -svf /lib/libcap.so.2.66 /usr/lib/libcap.so
chmod +x /lib/libcap.so.*
@rm -rf $(DIR_APP)
@$(POSTBUILD)