public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 9cf1ac083d4dd56095416e67bb65b281f102a88b
@ 2026-11-29 14:54 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2026-11-29 14:54 UTC (permalink / raw)
  To: ipfire-scm

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  9cf1ac083d4dd56095416e67bb65b281f102a88b (commit)
       via  1f8a9ba5722601ee72d40543ea6d046aeed605f0 (commit)
      from  a0a189aaf1388d4df84dfcd6f7ba578873960a18 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9cf1ac083d4dd56095416e67bb65b281f102a88b
Author: Michael Tremer <michael.tremer@ipfire.org>
Date:   Sun Nov 29 14:50:40 2026 +0000

    core208: Ship systemd-detect-virt
    
    Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>

commit 1f8a9ba5722601ee72d40543ea6d046aeed605f0
Author: Michael Tremer <michael.tremer@ipfire.org>
Date:   Sun Nov 29 14:51:40 2026 +0000

    libcpuid: New package
    
    Fireinfo uses it to identify the CPU and its feature level on x86 and
    ARM. It builds on all architectures and just does not know any CPUs on
    those that it does not support.
    
    Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 config/rootfiles/common/libcpuid             | 10 ++++++++++
 config/rootfiles/core/208/filelists/files    |  1 +
 config/rootfiles/core/208/filelists/libcpuid |  1 +
 lfs/{libidn2 => libcpuid}                    | 11 ++++-------
 make.sh                                      |  1 +
 5 files changed, 17 insertions(+), 7 deletions(-)
 create mode 100644 config/rootfiles/common/libcpuid
 create mode 120000 config/rootfiles/core/208/filelists/libcpuid
 copy lfs/{libidn2 => libcpuid} (92%)

Difference in files:
diff --git a/config/rootfiles/common/libcpuid b/config/rootfiles/common/libcpuid
new file mode 100644
index 000000000..5a7917457
--- /dev/null
+++ b/config/rootfiles/common/libcpuid
@@ -0,0 +1,10 @@
+usr/bin/cpuid_tool
+#usr/include/libcpuid
+#usr/include/libcpuid/libcpuid.h
+#usr/include/libcpuid/libcpuid_constants.h
+#usr/include/libcpuid/libcpuid_types.h
+#usr/lib/libcpuid.la
+#usr/lib/libcpuid.so
+usr/lib/libcpuid.so.17
+usr/lib/libcpuid.so.17.1.2
+#usr/lib/pkgconfig/libcpuid.pc
diff --git a/config/rootfiles/core/208/filelists/files b/config/rootfiles/core/208/filelists/files
index 80b0ffb08..0edbf7b1c 100644
--- a/config/rootfiles/core/208/filelists/files
+++ b/config/rootfiles/core/208/filelists/files
@@ -8,6 +8,7 @@ etc/rc.d/init.d/wlanclient
 srv/web/ipfire/cgi-bin/dhcp.cgi
 usr/bin/captive-cleanup
 usr/bin/suricata-report-cron
+usr/bin/systemd-detect-virt
 usr/lib/firewall/firewall-lib.pl
 usr/lib/firewall/rules.pl
 usr/lib/knot-resolver/config.lua
diff --git a/config/rootfiles/core/208/filelists/libcpuid b/config/rootfiles/core/208/filelists/libcpuid
new file mode 120000
index 000000000..296e8ddad
--- /dev/null
+++ b/config/rootfiles/core/208/filelists/libcpuid
@@ -0,0 +1 @@
+../../../common/libcpuid
\ No newline at end of file
diff --git a/lfs/libcpuid b/lfs/libcpuid
new file mode 100644
index 000000000..8862af061
--- /dev/null
+++ b/lfs/libcpuid
@@ -0,0 +1,79 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2025  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.8.2
+
+THISAPP    = libcpuid-$(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 = 33478fd971471cbdc52b29efc88dd593fd6980fc8e94fe8e3d588e9d96a306838a567a59a15e467e1199c5f594e4a1c7d185227bb1b4a145063ee30373506000
+
+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)
+	cd $(DIR_APP) && autoreconf -fi
+	cd $(DIR_APP) && ./configure \
+				--prefix=/usr \
+				--disable-static
+	cd $(DIR_APP) && make $(MAKETUNING)
+	cd $(DIR_APP) && make install
+	@rm -rf $(DIR_APP)
+	@$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 0af0cc371..83477ba5e 100755
--- a/make.sh
+++ b/make.sh
@@ -1861,6 +1861,7 @@ build_system() {
 	lfsmake2 efibootmgr
 	lfsmake2 p11-kit
 	lfsmake2 ca-certificates
+	lfsmake2 libcpuid
 	lfsmake2 fireinfo
 	lfsmake2 libnet
 	lfsmake2 libnl-3


hooks/post-receive
--
IPFire 2.x development tree


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-29 14:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-29 14:54 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 9cf1ac083d4dd56095416e67bb65b281f102a88b Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox