diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
| commit | 290aebdea65a02557706eaeda477fef0437b6a48 (patch) | |
| tree | f87a939169a508a2e943570501b64cc16b411cda /app-misc/jq | |
| parent | 6783ddcd4b73d9ce586a71770caed352bec93b16 (diff) | |
| download | baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip | |
Adding metadata
Diffstat (limited to 'app-misc/jq')
| -rw-r--r-- | app-misc/jq/Manifest | 2 | ||||
| -rw-r--r-- | app-misc/jq/files/jq-1.6-r3-never-bundle-oniguruma.patch | 27 | ||||
| -rw-r--r-- | app-misc/jq/files/jq-1.7.1-runpath.patch | 38 | ||||
| -rw-r--r-- | app-misc/jq/jq-1.7.1-r1.ebuild | 87 | ||||
| -rw-r--r-- | app-misc/jq/jq-1.8.1.ebuild | 86 | ||||
| -rw-r--r-- | app-misc/jq/metadata.xml | 19 |
6 files changed, 0 insertions, 259 deletions
diff --git a/app-misc/jq/Manifest b/app-misc/jq/Manifest deleted file mode 100644 index 4e91097584ae..000000000000 --- a/app-misc/jq/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST jq-1.7.1.gh.tar.gz 1323338 BLAKE2B 17e3b68e23f9a7f1aa8749ede6c0b8fe435990899886f0c96da36d130c17d13609ba7f910321316f0c3b35985360f8cb5e6a3b12caea5e9bc7792e128798f137 SHA512 af9c444e5306423182f467a53acdf45bb8aefa058a47f490ce16395f0aebfb7627e3843f65e96f41cd9d4b72b8ad274ab0bdb061abc6990b1158f86d2256d4ec -DIST jq-1.8.1.gh.tar.gz 1409730 BLAKE2B 8a7cad88d62c6ec4388d8859eca2e7acdf0053f1277d61bccf87cdb6eafb69a0a00574c6b0bd5f46a512a3857ca880a9ac5f0732b3ea5e29a17fd67b90e193e7 SHA512 7eece5744008710d6098d2b945b52250184e981ed3b7a66d4e8e1d0484539a281031900fa9dda7e1004a3fcfa8b5be39814d499c66c34707b35962a365d24fde diff --git a/app-misc/jq/files/jq-1.6-r3-never-bundle-oniguruma.patch b/app-misc/jq/files/jq-1.6-r3-never-bundle-oniguruma.patch deleted file mode 100644 index 75ab111f8810..000000000000 --- a/app-misc/jq/files/jq-1.6-r3-never-bundle-oniguruma.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/Makefile.am b/Makefile.am -index 6344b4e..86d968e 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -47,7 +47,7 @@ AM_YFLAGS = --warnings=all -d - - lib_LTLIBRARIES = libjq.la - libjq_la_SOURCES = ${LIBJQ_SRC} --libjq_la_LIBADD = -lm -+libjq_la_LIBADD = -lm $(onig_LIBS) - libjq_la_LDFLAGS = $(onig_LDFLAGS) -export-symbols-regex '^j[qv]_' -version-info 1:4:0 - - if WIN32 -diff --git a/configure.ac b/configure.ac -index 280694c..d96026e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -249,6 +249,9 @@ AS_IF([test "x$with_oniguruma" != xno], [ - onig_CFLAGS="-I${with_oniguruma}/include" - onig_LDFLAGS="-L${with_oniguruma}/lib" - ]) -+ ], [ -+ # with_oniguruma == yes -+ PKG_CHECK_MODULES([onig], [oniguruma]) - ]) - AS_IF([test "x$build_oniguruma" = xno], [ - # check for ONIGURUMA library, either in /usr or where requested diff --git a/app-misc/jq/files/jq-1.7.1-runpath.patch b/app-misc/jq/files/jq-1.7.1-runpath.patch deleted file mode 100644 index 542218ca24c2..000000000000 --- a/app-misc/jq/files/jq-1.7.1-runpath.patch +++ /dev/null @@ -1,38 +0,0 @@ -Fixes: https://github.com/gentoo/gentoo/commit/df24c1f97695d8a64a82577cd785e85ebe7ad4e7 -Upstream-PR: https://github.com/jqlang/jq/pull/3212 - -From f23a7373d079a4d4fd1f975936e81f35a66dfe84 Mon Sep 17 00:00:00 2001 -From: orbea <orbea@riseup.net> -Date: Mon, 2 Dec 2024 09:46:33 -0800 -Subject: [PATCH] build: fix insecure RUNPATH - -In Gentoo -static-libtool-libs causes a QA Notice. - - * QA Notice: The following files contain insecure RUNPATHs - * Please file a bug about this at https://bugs.gentoo.org/ - * with the maintainer of the package. - * /var/tmp/portage/app-misc/jq-1.7.1/image/usr/bin/jqn RPATH: /var/tmp/portage/app-misc/jq-1.7.1/work/jq-jq-1.7.1/.libs - -Gentoo-Issue: https://bugs.gentoo.org/945698 -Signed-off-by: orbea <orbea@riseup.net> ---- - Makefile.am | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index a183477fde..3f36993c0a 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -132,11 +132,10 @@ CLEANFILES = src/version.h .remake-version-h src/builtin.inc src/config_opts.inc - - bin_PROGRAMS = jq - jq_SOURCES = src/main.c src/version.h --jq_LDFLAGS = -static-libtool-libs - jq_LDADD = libjq.la -lm - - if ENABLE_ALL_STATIC --jq_LDFLAGS += -all-static -+jq_LDFLAGS = -all-static - endif - - ### Tests (make check) diff --git a/app-misc/jq/jq-1.7.1-r1.ebuild b/app-misc/jq/jq-1.7.1-r1.ebuild deleted file mode 100644 index 8ba4db1f24da..000000000000 --- a/app-misc/jq/jq-1.7.1-r1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic - -MY_PV="${PV/_/}" -MY_P="${PN}-${MY_PV}" -DESCRIPTION="A lightweight and flexible command-line JSON processor" -HOMEPAGE="https://stedolan.github.io/jq/" -SRC_URI="https://github.com/jqlang/jq/archive/refs/tags/${MY_P}.tar.gz -> ${P}.gh.tar.gz" -S="${WORKDIR}/${PN}-${MY_P}" - -LICENSE="MIT CC-BY-3.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="+oniguruma static-libs test" - -ONIGURUMA_MINPV='>=dev-libs/oniguruma-6.9.3' # Keep this in sync with bundled modules/oniguruma/ -DEPEND=" - >=sys-devel/bison-3.0 - app-alternatives/lex - oniguruma? ( ${ONIGURUMA_MINPV}:=[static-libs?] ) -" -RDEPEND=" - !static-libs? ( - oniguruma? ( ${ONIGURUMA_MINPV}[static-libs?] ) - ) -" -PATCHES=( - "${FILESDIR}"/jq-1.6-r3-never-bundle-oniguruma.patch - "${FILESDIR}"/jq-1.7.1-runpath.patch -) - -RESTRICT="!test? ( test )" -REQUIRED_USE="test? ( oniguruma )" - -src_prepare() { - sed -e '/^dist_doc_DATA/d; s:-Wextra ::' -i Makefile.am || die - printf "#!/bin/sh\\nprintf '%s'\\n\n" "${MY_PV}" > scripts/version || die - - # jq-1.6-r3-never-bundle-oniguruma makes sure we build with the system oniguruma, - # but the bundled copy of oniguruma still gets eautoreconf'd since it - # exists; save the cycles by nuking it. - sed -e '/modules\/oniguruma/d' -i Makefile.am || die - rm -rf "${S}"/modules/oniguruma || die - - default - - sed -i "s/\[jq_version\]/[${MY_PV}]/" configure.ac || die - - eautoreconf -} - -src_configure() { - # TODO: Drop on next release > 1.7.1 - # bug #944014 - append-cflags -std=gnu17 - - local econfargs=( - # don't try to rebuild docs - --disable-docs - --disable-valgrind - --disable-maintainer-mode - $(use_enable static-libs static) - $(use_with oniguruma oniguruma yes) - ) - econf "${econfargs[@]}" -} - -src_test() { - if ! LD_LIBRARY_PATH="${S}/.libs" nonfatal emake check; then - if [[ -r "${S}/test-suite.log" ]]; then - eerror "Tests failed, outputting testsuite log" - cat "${S}/test-suite.log" - fi - die "Tests failed" - fi -} - -src_install() { - local DOCS=( AUTHORS NEWS.md README.md SECURITY.md ) - default - - use static-libs || { find "${D}" -name '*.la' -delete || die; } -} diff --git a/app-misc/jq/jq-1.8.1.ebuild b/app-misc/jq/jq-1.8.1.ebuild deleted file mode 100644 index 14a0f948a5be..000000000000 --- a/app-misc/jq/jq-1.8.1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic - -MY_PV="${PV/_/}" -MY_P="${PN}-${MY_PV}" -DESCRIPTION="A lightweight and flexible command-line JSON processor" -HOMEPAGE="https://stedolan.github.io/jq/" -SRC_URI="https://github.com/jqlang/jq/archive/refs/tags/${MY_P}.tar.gz -> ${P}.gh.tar.gz" -S="${WORKDIR}/${PN}-${MY_P}" - -LICENSE="MIT icu CC-BY-3.0" -SLOT="0/1" -KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="+oniguruma static-libs test" - -ONIGURUMA_MINPV='>=dev-libs/oniguruma-6.9.10' # Keep this in sync with bundled vendor/oniguruma/ -DEPEND=" - >=sys-devel/bison-3.0 - app-alternatives/lex - oniguruma? ( ${ONIGURUMA_MINPV}:=[static-libs?] ) -" -RDEPEND=" - !static-libs? ( - oniguruma? ( ${ONIGURUMA_MINPV}[static-libs?] ) - ) -" -PATCHES=( - "${FILESDIR}"/jq-1.6-r3-never-bundle-oniguruma.patch -) - -RESTRICT="!test? ( test )" -REQUIRED_USE="test? ( oniguruma )" - -src_prepare() { - sed -e '/^dist_doc_DATA/d; s:-Wextra ::' -i Makefile.am || die - printf "#!/bin/sh\\nprintf '%s'\\n\n" "${MY_PV}" > scripts/version || die - - # jq-1.6-r3-never-bundle-oniguruma makes sure we build with the system oniguruma, - # but the bundled copy of oniguruma still gets eautoreconf'd since it - # exists; save the cycles by nuking it. - sed -e '/vendor\/oniguruma/d' -i Makefile.am || die - rm -rf "${S}"/vendor/oniguruma || die - - default - - sed -i "s/\[jq_version\]/[${MY_PV}]/" configure.ac || die - - eautoreconf -} - -src_configure() { - # TODO: Drop on next release > 1.7.1 - # bug #944014 - append-cflags -std=gnu17 - - local econfargs=( - # don't try to rebuild docs - --disable-docs - --enable-valgrind=no - --disable-maintainer-mode - $(use_enable static-libs static) - $(use_with oniguruma oniguruma yes) - ) - econf "${econfargs[@]}" -} - -src_test() { - if ! LD_LIBRARY_PATH="${S}/.libs" nonfatal emake check; then - if [[ -r "${S}/test-suite.log" ]]; then - eerror "Tests failed, outputting testsuite log" - cat "${S}/test-suite.log" - fi - die "Tests failed" - fi -} - -src_install() { - local DOCS=( AUTHORS NEWS.md README.md SECURITY.md ) - default - - use static-libs || { find "${D}" -name '*.la' -delete || die; } -} diff --git a/app-misc/jq/metadata.xml b/app-misc/jq/metadata.xml deleted file mode 100644 index 120d7d167cb6..000000000000 --- a/app-misc/jq/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>vpayno+gentoo@gmail.com</email> - <name>Victor Payno</name> - </maintainer> - <maintainer type="person"> - <email>chutzpah@gentoo.org</email> - <name>Patrick McLean</name> - </maintainer> - <use> - <flag name="oniguruma">Use <pkg>dev-libs/oniguruma</pkg> for regular expression support</flag> - </use> - <upstream> - <remote-id type="cpe">cpe:/a:jq_project:jq</remote-id> - </upstream> - <origin>baldeagleos-repo</origin> -</pkgmetadata> |
