mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 10:35:53 +02:00
- Update from version 2.67 to 2.69 - Update of rootfile - Changelog Release notes for 2.69 2023-05-14 19:10:04 -0700 An audit was performed on libcap and friends by https://x41-dsec.de/ https://x41-dsec.de/news/2023/05/15/libcap-source-code-audit/ The audit (final report, 2023-05-10) https://drive.google.com/file/d/1lsuC_tQbQ5pCE2Sy_skw0a7hTzQyQh2C/view?usp=sharing was sponsored by the the Open Source Technology Improvement Fund, https://ostif.org/ (blog). Five issues were found. Four of them are addressed in this release. Each issue was labeled in the audit results as follows: LCAP-CR-23-01 (SEVERITY) LOW (CVE-2023-2602) - found by David Gstir LCAP-CR-23-02 (SEVERITY) MEDIUM (CVE-2023-2603) - found by Richard Weinberger LCAP-CR-23-100 (SEVERITY) NONE LCAP-CR-23-101 (SEVERITY) NONE Man page style improvement from Emanuele Torre Partially revive the ability to build the binaries fully statically. This was needed to make bleeding edge kernel debugging/testing via qemu+busybox work again. Addressing an issue I realized only when I tried to answer this stackexchange question. https://unix.stackexchange.com/questions/741532/launch-process-with-limited-capabilities-on-minimal-busybox-based-system Release notes for 2.68 2023-03-25 17:03:17 -0700 Force libcap internal functions to be hidden outside the library (Bug 217014) Expanded the list of man page (links) to all of the supported API functions. fixed some formatting issues with the libpsx(3) manpage. Add support for a markdown preamble and postscript when generating .md versions of the man pages (Bug 217007) psx package clean up fix some copy-paste errors with TestShared() added a more complete psx testing into this test as well cap package clean up drop an unnecessary use of ", _" in the sources cleaned up cap.NamedCount documentation Converted goapps/web/README to .md format and fixed the instructions to indicate go mod tidy is needed. cap_compare test binary now cleans up after itself (Bug 217018) Figured out how to cross compile Go programs for arm (i.e. RPi) that use C code, don't use cgo but do use the psx package (all part of investigating bug 216610). Eliminate use of vendor directory Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
85 lines
3.4 KiB
Plaintext
85 lines
3.4 KiB
Plaintext
###############################################################################
|
|
# #
|
|
# IPFire.org - A linux based firewall #
|
|
# Copyright (C) 2007-2023 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.69
|
|
|
|
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 = 94d1fef7666a1c383a8b96f1f6092bd242164631532868b628d2f5de71b42a371d041a978ef7fbadfee3eeb433165444995d1078cd790275bc0433a7875a697e
|
|
|
|
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 \
|
|
prefix=/usr \
|
|
exec_prefix= \
|
|
lib_prefix=/usr
|
|
cd $(DIR_APP) && make install GOLANG=no \
|
|
prefix=/usr \
|
|
exec_prefix= \
|
|
lib_prefix=/usr
|
|
@rm -rf $(DIR_APP)
|
|
@$(POSTBUILD)
|