mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 10:35:53 +02:00
- Update from version 0.3.112 to 0.3.113 - Update of rootfile - Changelog 0.3.113 harness: add test for aio poll missed events Verify structure padding is correct at build time Fix struct io_iocb_sockaddr padding for 32bit architectures Fix struct io_iocb_vector padding for 32bit architectures Use generic syscall number schema for loongarch Add endian detection and bit width detection for loongarch Add loongarch to supported architectures in libaio.spec cases/16.t: loongarch only supports eventfd2 Fix test issue with gcc-11 harness: Skip the test if io_pgetevents() is not implemented harness: Print better error messages on error conditions in 22.t harness: Fix PROT_WRITE mmap check harness: fix read into PROT_WRITE mmap test harness: skip 22.p if async_poll isn't supported harness: Handle -ENOTSUP from io_submit() with RWF_NOWAIT harness: Add fallback code for filesystems not supporting O_DIRECT harness: add support for skipping tests harness: Make the test exit with a code matching the pass/fail state harness: Make RISC-V use SYS_eventfd2 instead of unavailable SYS_eventfd harness: Use run-time _SC_PAGE_SIZE instead of build-time PAGESIZE harness: Use destination strncpy() expression for sizeof() argument Use ctx consistently for io_context_t instead of ctx_id man: Escape verbatim \n in order to make it through roff man: Fold short lines man: Fix markup man: Fix title header man: Fix typos man: Add "None" to empty sections man: Remove spurious text man: Remove spurious spaces man: Fix period formatting man: Fix casing man: End sentences with a period man: Refer to libaio.h instead of libio.h man: Use the correct troff macro for comments man: Add missing space in man page references harness: allow running tests against the installed library Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
81 lines
3.2 KiB
Plaintext
81 lines
3.2 KiB
Plaintext
###############################################################################
|
|
# #
|
|
# IPFire.org - A linux based firewall #
|
|
# Copyright (C) 2007-2018 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 = 0.3.113
|
|
|
|
THISAPP = libaio-$(VER)
|
|
DL_FILE = $(THISAPP).tar.gz
|
|
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 = 2379c88670310b36942563d10f29dfcba0f49391952ffe7fe18b0c917f33ef610405fe13297d1dbb34b7ad1d3066d4a32587a7fb20babba2f264cfc2ab289e57
|
|
|
|
install : $(TARGET)
|
|
|
|
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
|
|
|
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
|
|
|
b2 : $(subst %,%_BLAKE2,$(objects))
|
|
|
|
dist:
|
|
@$(PAK)
|
|
|
|
###############################################################################
|
|
# 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)
|
|
cd $(DIR_APP) && sed -e "s@-nostdlib -nostartfiles@@g" -i src/Makefile
|
|
cd $(DIR_APP) && make $(MAKETUNING)
|
|
cd $(DIR_APP) && make prefix=/usr install
|
|
@rm -rf $(DIR_APP)
|
|
@$(POSTBUILD)
|