From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 12 Jun 2025 21:32:40 +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 1uPnfE-006c01-0f for lore@lore.pengutronix.de; Thu, 12 Jun 2025 21:32:40 +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 1uPnfE-0007lF-0g; Thu, 12 Jun 2025 21:32:40 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1uPnee-0005tP-LP; Thu, 12 Jun 2025 21:32:04 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uPnee-003AiD-1Z; Thu, 12 Jun 2025 21:32:04 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1uPnee-009jok-1Q; Thu, 12 Jun 2025 21:32:04 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 12 Jun 2025 21:32:04 +0200 Message-Id: <20250612193204.2321067-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250603090901.1066406-2-ada@thorsis.com> References: <20250603090901.1066406-2-ada@thorsis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] 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: , Reply-To: ptxdist@pengutronix.de Cc: Alexander Dahl 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 Thanks, applied as 8e3c02fe52e9be4c2ba2e2aae59f0fb8ea11a6a0. Michael [sent from post-receive hook] On Thu, 12 Jun 2025 21:32:04 +0200, Alexander Dahl wrote: > 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 > Message-Id: <20250603090901.1066406-2-ada@thorsis.com> > Signed-off-by: Michael Olbrich > > diff --git a/rules/libonig.in b/rules/libonig.in > new file mode 100644 > index 000000000000..fa909fcb6197 > --- /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 000000000000..3397f553f720 > --- /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