From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 03 Jun 2025 11:09:32 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uMNeG-003FoE-0o for lore@lore.pengutronix.de; Tue, 03 Jun 2025 11:09:32 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1uMNeF-0004pl-Ss; Tue, 03 Jun 2025 11:09:31 +0200 Received: from mail.thorsis.com ([2003:a:e28:26e4::10]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1uMNdr-0004PZ-AU for ptxdist@pengutronix.de; Tue, 03 Jun 2025 11:09:09 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 944AC1481326; Tue, 3 Jun 2025 11:09:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thorsis.com; s=dkim; t=1748941746; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=Jskah0FH+to0+F1+soCXXM+MYXOHHHJkOyVE8iHOFEw=; b=FkNKbjHY4tMSpX3pcbg8UAyTmTVxJ+/gQQhZCDwToV/T/kfJp2ThoTRoVgghFlOFwOw4mj Mz0nH+EF1GRSv8mKpIxVdTWUFuttzhrUa5cCst2gGcdY59XOmAsQD57ibjBcTuLKAjhwBf hhscJU4YXsMZ8w8TftGKiNA025pgnFzjNfbs0guUCWt9SYMb2nRxZD4Y6tCidmQga4ya81 0htv2XXRCVQeBAloR2enLkAksBARH4LgWhA93EuIi9uGzSlU5VE2R3efWtRLwlCeBelRKN Bx7ZzQCEvPRJbXvqwVKtG7ql3N/aWgWDkZslRX3pkdfsWux1FAAoQDeNRR9PvA== To: ptxdist@pengutronix.de Date: Tue, 3 Jun 2025 11:08:59 +0200 Message-Id: <20250603090901.1066406-2-ada@thorsis.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250603090901.1066406-1-ada@thorsis.com> References: <20250603090901.1066406-1-ada@thorsis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.3 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH v2 1/3] libonig: Add new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Alexander Dahl via ptxdist Reply-To: ptxdist@pengutronix.de Cc: Alexander Dahl , Andreas Helmcke Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false The jq package has this as optional dependency and shipped it as vendor code in a submodule, which might break the build, and makes specifying license unnecessarily difficult. Split into separate package. Note, the upstream project is EOL, but so would be the jq submodule. Link: https://lore.ptxdist.org/ptxdist/1302b7b6-e272-48c1-8daf-e7519389c670@ela-soft.com/ Signed-off-by: Alexander Dahl --- rules/libonig.in | 11 ++++++++++ rules/libonig.make | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 rules/libonig.in create mode 100644 rules/libonig.make diff --git a/rules/libonig.in b/rules/libonig.in new file mode 100644 index 000000000..fa909fcb6 --- /dev/null +++ b/rules/libonig.in @@ -0,0 +1,11 @@ +## SECTION=system_libraries + +config LIBONIG + tristate + prompt "libonig" + help + Oniguruma is a modern and flexible regular expressions library. + It encompasses features from different regular expression + implementations that traditionally exist in different languages. + +# vim: ft=kconfig noet ts=8 sw=8 diff --git a/rules/libonig.make b/rules/libonig.make new file mode 100644 index 000000000..3397f553f --- /dev/null +++ b/rules/libonig.make @@ -0,0 +1,52 @@ +# -*-makefile-*- +# +# Copyright (C) 2025 by Alexander Dahl +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_LIBONIG) += libonig + +# +# Paths and names +# +LIBONIG_VERSION := 6.9.10 +LIBONIG_MD5 := 46c48d072eafe29a0dd0489df7f6f212 +LIBONIG := onig-$(LIBONIG_VERSION) +LIBONIG_SUFFIX := tar.gz +LIBONIG_URL := https://github.com/kkos/oniguruma/releases/download/v$(LIBONIG_VERSION)/$(LIBONIG).$(LIBONIG_SUFFIX) +LIBONIG_SOURCE := $(SRCDIR)/$(LIBONIG).$(LIBONIG_SUFFIX) +LIBONIG_DIR := $(BUILDDIR)/$(LIBONIG) +LIBONIG_LICENSE := BSD-2-Clause +LIBONIG_LICENSE_FILES := file://COPYING;md5=e6365c225bb5cc4321d0913f0baffa04 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBONIG_CONF_TOOL := autoconf + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libonig.targetinstall: + @$(call targetinfo) + + @$(call install_init, libonig) + @$(call install_fixup, libonig,PRIORITY,optional) + @$(call install_fixup, libonig,SECTION,base) + @$(call install_fixup, libonig,AUTHOR,"Alexander Dahl ") + @$(call install_fixup, libonig,DESCRIPTION,missing) + + @$(call install_lib, libonig, 0, 0, 0644, libonig) + + @$(call install_finish, libonig) + + @$(call touch) + +# vim: ft=make noet ts=8 sw=8 -- 2.39.5