From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3D234158074 for ; Sat, 05 Jul 2025 07:28:19 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2AA123421C1 for ; Sat, 05 Jul 2025 07:28:19 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 31E0F110571; Sat, 05 Jul 2025 07:27:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 230F511056E for ; Sat, 05 Jul 2025 07:27:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D37DD342199 for ; Sat, 05 Jul 2025 07:27:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 767662E12 for ; Sat, 05 Jul 2025 07:27:38 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1751700430.96b5ade276c70faeba6bcc071d17da7ad027487a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-nginx/ngx-vod/, www-nginx/ngx-vod/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-nginx/ngx-vod/Manifest www-nginx/ngx-vod/files/ngx-vod-1.33-fix-clock-gettime-config-check.patch www-nginx/ngx-vod/metadata.xml www-nginx/ngx-vod/ngx-vod-1.33.ebuild X-VCS-Directories: www-nginx/ngx-vod/files/ www-nginx/ngx-vod/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 96b5ade276c70faeba6bcc071d17da7ad027487a X-VCS-Branch: master Date: Sat, 05 Jul 2025 07:27:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f1936a14-a195-4b83-9c0f-876713a1b97a X-Archives-Hash: d88f3cf52739127c784c04caef334094 commit: 96b5ade276c70faeba6bcc071d17da7ad027487a Author: Zurab Kvachadze gmail com> AuthorDate: Wed Feb 26 20:29:45 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jul 5 07:27:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96b5ade2 www-nginx/ngx-vod: new package, add 1.33 This commit separates ngx-vod, previousy bundled with www-servers/nginx, into its own package. ngx-vod[1] is a "NGINX-based MP4 Repackager". [1]: https://github.com/kaltura/nginx-vod-module Signed-off-by: Zurab Kvachadze gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/37590 Signed-off-by: Sam James gentoo.org> www-nginx/ngx-vod/Manifest | 1 + ...x-vod-1.33-fix-clock-gettime-config-check.patch | 36 ++++++++++++++++++++++ www-nginx/ngx-vod/metadata.xml | 16 ++++++++++ www-nginx/ngx-vod/ngx-vod-1.33.ebuild | 34 ++++++++++++++++++++ 4 files changed, 87 insertions(+) diff --git a/www-nginx/ngx-vod/Manifest b/www-nginx/ngx-vod/Manifest new file mode 100644 index 000000000000..c581cd812cfa --- /dev/null +++ b/www-nginx/ngx-vod/Manifest @@ -0,0 +1 @@ +DIST ngx-vod-1.33.tar.gz 471858 BLAKE2B fa5cb9fd185b30c5c53b25a6f103213b3d04dac5d2d81db72f9749a51548e09e3e17dccc636d748aff8d21c6623484c77fdeb10d70854480759665d140d42e0e SHA512 29ef77f1bbdb2410ff317ebdd7434f31b8ec370ae6b617b92e745e87c11bc820b451181d1d2b57156b414348da14ac448b689b32b17ab418144292eda094512d diff --git a/www-nginx/ngx-vod/files/ngx-vod-1.33-fix-clock-gettime-config-check.patch b/www-nginx/ngx-vod/files/ngx-vod-1.33-fix-clock-gettime-config-check.patch new file mode 100644 index 000000000000..5923976c13e9 --- /dev/null +++ b/www-nginx/ngx-vod/files/ngx-vod-1.33-fix-clock-gettime-config-check.patch @@ -0,0 +1,36 @@ +From a6c50b75c1a17460119f02cc32c79dd9e9b22d5c Mon Sep 17 00:00:00 2001 +From: Zurab Kvachadze +Date: Wed, 26 Feb 2025 20:08:17 +0100 +Subject: [PATCH] config: make clock_gettime() check work + +The clock_gettime() function is provided by time.h, but the check +includes sched.h. Additionally, the function expects two arguments, but +none are given. + +This commit fixes both issues, making the check actually work. + +Signed-off-by: Zurab Kvachadze +--- + config | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/config b/config +index 7a627a9..5150e79 100644 +--- a/config ++++ b/config +@@ -127,10 +127,10 @@ ngx_feature_test="iconv_open(NULL, NULL);" + ngx_feature="clock_gettime()" + ngx_feature_name="NGX_HAVE_CLOCK_GETTIME" + ngx_feature_run=no +-ngx_feature_incs="#include " ++ngx_feature_incs="#include " + ngx_feature_path= + ngx_feature_libs= +-ngx_feature_test="clock_gettime()" ++ngx_feature_test="clockid_t c; clock_gettime(c, NULL)" + . auto/feature + + if [ $ngx_found != yes ]; then +-- +2.45.3 + diff --git a/www-nginx/ngx-vod/metadata.xml b/www-nginx/ngx-vod/metadata.xml new file mode 100644 index 000000000000..3d3ca3fe81bf --- /dev/null +++ b/www-nginx/ngx-vod/metadata.xml @@ -0,0 +1,16 @@ + + + + + zurabid2016@gmail.com + Zurab Kvachadze + + + proxy-maint@gentoo.org + Proxy Maintainers + + + https://github.com/kaltura/nginx-vod-module/issues + kaltura/nginx-vod-module + + diff --git a/www-nginx/ngx-vod/ngx-vod-1.33.ebuild b/www-nginx/ngx-vod/ngx-vod-1.33.ebuild new file mode 100644 index 000000000000..02c0d8330c53 --- /dev/null +++ b/www-nginx/ngx-vod/ngx-vod-1.33.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="nginx-vod-module" +NGINX_MOD_S="${WORKDIR}/${MY_PN}-${PV}" + +inherit nginx-module + +DESCRIPTION="NGINX-based MP4 Repackager" +HOMEPAGE="https://github.com/kaltura/nginx-vod-module" +SRC_URI=" + https://github.com/kaltura/nginx-vod-module/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz +" + +LICENSE="AGPL-3+" +SLOT="0" + +# Uses custom Python-based testing framework. +RESTRICT="test" + +DEPEND=" + dev-libs/openssl:= + dev-libs/libxml2 + media-video/ffmpeg:= + sys-libs/zlib:= + virtual/libiconv +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-1.33-fix-clock-gettime-config-check.patch" +)