mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v2 03/17] host-swig: version bump 4.0.1 -> 4.5.1
Date: Sat, 31 Oct 2026 21:38:04 +0100	[thread overview]
Message-ID: <20261031203823.357406-4-oss-lists@triops.cz> (raw)
In-Reply-To: <20261031203823.357406-1-oss-lists@triops.cz>

From: Ladislav Michl <ladis@triops.cz>

Only the code generator is needed for the SELinux python wrappers, so
disable all language checks.

Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
 CHANGES:
 - v2: None

 rules/host-swig.in   | 19 +---------------
 rules/host-swig.make | 53 ++++++++++++++++----------------------------
 2 files changed, 20 insertions(+), 52 deletions(-)

diff --git a/rules/host-swig.in b/rules/host-swig.in
index 56a23fcce..25a974d8f 100644
--- a/rules/host-swig.in
+++ b/rules/host-swig.in
@@ -3,21 +3,4 @@
 config HOST_SWIG
 	tristate
 	default y if ALLYES
-	select HOST_ZLIB
-	select HOST_LIBPCRE
-	select HOST_PYTHON	if HOST_SWIG_PYTHON_SUPPORT
-	select HOST_PYTHON3	if HOST_SWIG_PYTHON3_SUPPORT
-	select HOST_SYSTEM_JDK	if HOST_SWIG_JAVA_SUPPORT
-
-if HOST_SWIG
-
-config HOST_SWIG_JAVA_SUPPORT
-	bool
-
-config HOST_SWIG_PYTHON_SUPPORT
-	bool
-
-config HOST_SWIG_PYTHON3_SUPPORT
-	bool
-
-endif
+	select HOST_PCRE2
diff --git a/rules/host-swig.make b/rules/host-swig.make
index 0bdfe858f..2aef23ba0 100644
--- a/rules/host-swig.make
+++ b/rules/host-swig.make
@@ -14,50 +14,35 @@ HOST_PACKAGES-$(PTXCONF_HOST_SWIG) += host-swig
 #
 # Paths and names
 #
-HOST_SWIG_VERSION	:= 4.0.1
-HOST_SWIG_MD5		:= 54cc40b3804816f7d38ab510b6f13b04
+HOST_SWIG_VERSION	:= 4.5.1
+HOST_SWIG_SHA256	:= 7fec50b27deddab5455a9633780b6341eddfb96215a7619e93a76eb27178f653
 HOST_SWIG		:= swig-$(HOST_SWIG_VERSION)
 HOST_SWIG_SUFFIX	:= tar.gz
-HOST_SWIG_URL		:= $(call ptx/mirror, SF, swig/$(HOST_SWIG).$(HOST_SWIG_SUFFIX))
+HOST_SWIG_URL		:= $(call ptx/mirror, SF, swig/swig/$(HOST_SWIG)/$(HOST_SWIG).$(HOST_SWIG_SUFFIX))
 HOST_SWIG_SOURCE	:= $(SRCDIR)/$(HOST_SWIG).$(HOST_SWIG_SUFFIX)
 HOST_SWIG_DIR		:= $(HOST_BUILDDIR)/$(HOST_SWIG)
+HOST_SWIG_LICENSE	:= GPL-3.0-or-later AND BSD-3-Clause AND custom
+HOST_SWIG_LICENSE_FILES	:= \
+	file://LICENSE;md5=e7807a6282784a7dde4c846626b08fc6 \
+	file://LICENSE-GPL;md5=d32239bcb673463ab874e80d47fae504 \
+	file://LICENSE-UNIVERSITIES;md5=8ce9dcc8f7c994de4a408b205c72ba08
+HOST_SWIG_CVE_PRODUCT	:= swig_project:swig
 
 # ----------------------------------------------------------------------------
 # Prepare
 # ----------------------------------------------------------------------------
 
-#
-# autoconf
-#
-HOST_SWIG_CONF_TOOL := autoconf
-HOST_SWIG_DEVPKG := NO
-
-# no := due to CROSS_PYTHON
-HOST_SWIG_CONF_OPT = \
+HOST_SWIG_CONF_TOOL	:= autoconf
+HOST_SWIG_DEVPKG	:= NO
+HOST_SWIG_CONF_OPT	:= \
 	$(HOST_AUTOCONF_SYSROOT) \
+	--disable-ccache \
+	--disable-cpp11-testing \
+	--without-maximum-compile-warnings \
+	--with-pcre \
+	--with-pcre2-prefix=$(PTXDIST_SYSROOT_HOST)/usr \
+	--without-clang-format \
 	--without-boost \
-	--without-x \
-	--without-tcl \
-	$(call ptx/ifdef, PTXCONF_HOST_SWIG_PYTHON_SUPPORT, --with-python=$(CROSS_PYTHON), --without-python) \
-	$(call ptx/ifdef, PTXCONF_HOST_SWIG_PYTHON3_SUPPORT, --with-python=$(CROSS_PYTHON3), --without-python3) \
-	--without-perl5 \
-	--without-octave \
-	$(call ptx/ifdef, PTXCONF_HOST_SWIG_JAVA_SUPPORT, --with-java=$(PTXCONF_SETUP_JAVA_SDK), --without-java) \
-	--without-gcj \
-	--without-android \
-	--without-guile \
-	--without-mzscheme \
-	--without-ruby \
-	--without-php \
-	--without-ocaml \
-	--without-pike \
-	--without-chicken \
-	--without-csharp \
-	--without-lua \
-	--without-allegrocl \
-	--without-clisp \
-	--without-r \
-	--without-go \
-	--without-d
+	--without-alllang
 
 # vim: syntax=make
-- 
2.47.3




  parent reply	other threads:[~2026-10-31 20:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-31 20:38 [ptxdist] [PATCH v2 00/17] selinux: back at version 3.11 Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 01/17] selinux: add common version and URL Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 02/17] Revert "python: remove after more than one year in staging" Ladislav Michl
2026-10-31 20:38 ` Ladislav Michl [this message]
2026-10-31 20:38 ` [ptxdist] [PATCH v2 04/17] Revert "*libsepol: remove" Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 05/17] libsepol: version bump 2.1.8 -> 3.11 Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 06/17] Revert "libselinux: remove after more than one year in staging" Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 07/17] libselinux: version bump 2.1.12 -> 3.11 Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 08/17] audit: new package Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 09/17] Revert "libsemanage: remove after more than one year in staging" Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 10/17] libsemanage: version bump 2.1.9 -> 3.11 Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 11/17] Revert "checkpolicy: remove after more than one year in staging" Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 12/17] checkpolicy: version bump 2.1.11 -> 3.11 Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 13/17] Revert "policycoreutils: remove after more than one year in staging" Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 14/17] policycoreutils: version bump 2.1.13 -> 3.11 Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 15/17] Revert "sepolgen: remove after one year in staging" Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 16/17] sepolgen: version bump 1.1.8 -> 3.11 Ladislav Michl
2026-10-31 20:38 ` [ptxdist] [PATCH v2 17/17] selinux: restore the global option Ladislav Michl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261031203823.357406-4-oss-lists@triops.cz \
    --to=oss-lists@triops.cz \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox