* [gentoo-commits] repo/gentoo:master commit in: www-nginx/ngx-vod/, www-nginx/ngx-vod/files/
@ 2025-07-05 7:27 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2025-07-05 7:27 UTC (permalink / raw
To: gentoo-commits
commit: 96b5ade276c70faeba6bcc071d17da7ad027487a
Author: Zurab Kvachadze <zurabid2016 <AT> gmail <DOT> com>
AuthorDate: Wed Feb 26 20:29:45 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <zurabid2016 <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/37590
Signed-off-by: Sam James <sam <AT> 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 <zurabid2016@gmail.com>
+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 <zurabid2016@gmail.com>
+---
+ 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 <sched.h>"
++ngx_feature_incs="#include <time.h>"
+ 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>zurabid2016@gmail.com</email>
+ <name>Zurab Kvachadze</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/kaltura/nginx-vod-module/issues</bugs-to>
+ <remote-id type="github">kaltura/nginx-vod-module</remote-id>
+ </upstream>
+</pkgmetadata>
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"
+)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-07-05 7:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-05 7:27 [gentoo-commits] repo/gentoo:master commit in: www-nginx/ngx-vod/, www-nginx/ngx-vod/files/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox