diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/Manifest.gz | bin | 54389 -> 54381 bytes | |||
-rw-r--r-- | net-misc/gerbera/Manifest | 4 | ||||
-rw-r--r-- | net-misc/gerbera/gerbera-1.12.1-r1.ebuild | 94 | ||||
-rw-r--r-- | net-misc/gerbera/gerbera-2.1.0.ebuild | 90 | ||||
-rw-r--r-- | net-misc/mosh/Manifest | 2 | ||||
-rw-r--r-- | net-misc/mosh/mosh-1.4.0.ebuild | 2 | ||||
-rw-r--r-- | net-misc/rdate/Manifest | 2 | ||||
-rw-r--r-- | net-misc/rdate/files/rdate-1.10.2-fix-musl-compat-stdint.patch | 180 | ||||
-rw-r--r-- | net-misc/rdate/files/rdate-1.10.2-respect-AR.patch | 40 | ||||
-rw-r--r-- | net-misc/streamlink/Manifest | 2 | ||||
-rw-r--r-- | net-misc/streamlink/streamlink-6.9.0.ebuild | 99 |
11 files changed, 103 insertions, 412 deletions
diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz Binary files differindex 27f257fba781..ad388b5852cf 100644 --- a/net-misc/Manifest.gz +++ b/net-misc/Manifest.gz diff --git a/net-misc/gerbera/Manifest b/net-misc/gerbera/Manifest index f0fa346e9430..3aa97b2748a5 100644 --- a/net-misc/gerbera/Manifest +++ b/net-misc/gerbera/Manifest @@ -2,11 +2,7 @@ AUX gerbera-1.0.0.confd 531 BLAKE2B 712304e55ec4f2be59fdfb7a03f8a52e173f44e6903e AUX gerbera-1.0.0.initd 555 BLAKE2B acd14eaf50dac5eed5fa7b8606e70a9b5166caa71d8f6fb6e5bf5511f3b727a9fe10792cb1e8660b92afe9047d0a845553bc922dcfda832b1f32e8a2ed8b183b SHA512 dfdb6c1b4c7ce252a18303507c9e0df38145865dbcacd1c27026d4bca5203beede99e6315e1abd57fd7713a89860b33aadd07df9448ed54a2ed64c872ee8926d AUX gerbera-1.12.1-gcc14.patch 2571 BLAKE2B cdebe5f239de5136d646e4efb249deda94daa95944dcfd701d9b664f39150adcce86cb96c628fc09e3b3b17103e84181e441a59c2f115f3e659b2fdf49fe8fb9 SHA512 6661d5cfc5bfdbfa97f059d8c715cc3e6a24f89f55fba44d2a0333795e336039076f0165b4f03866947aa3fdf43d2bf0c3b19e56832f925ea429d6be9843130b AUX gerbera-1.3.0.config 6342 BLAKE2B 519b2b0f79803bb516b5bd43a692af38039a273318a3486b67c9f040ab9061fb9a2b2aef484fb9e22b584fa7f5d1e0a4f7e61f896f6f9b1ce4f657349506b873 SHA512 e551413ad62ca849561991880ba9049ebb6662ec06ff21d5483bbcc2499df04c72ac170fc4235ebd05c5d95926cdd7fc4db27083cb10fa4fe38f10a1141bf417 -DIST gerbera-1.12.1.tar.gz 4368573 BLAKE2B 870b1296b89d51086048c5c5a52109f336facbf0bce02313487cb5c80ca4bb9a5590f64683f5ac92a3c3026ef9c3e22275a38fdc52fd8cbe887ec6f3c7b38ab9 SHA512 54f4b9fe38f4890d1cac16d433bd70cb2892f3659fffcd5f52814d2f9377c4a8eb68deb3a13053531609727f7ae6cb5ee12bbf652bc41dd1eabd83e6f8dcc1f2 -DIST gerbera-2.1.0.tar.gz 5828980 BLAKE2B d611b9db723e52d417c64ce6ff8bfd77009ad7b7c2454b8f722810aacfde76b892894e8a70cf4e25474f970b13353eb770d4663f91ac59ac87cea858928005fb SHA512 5069ffb470dc10c5b7e6f95e9d61794e00d8a4473835860e7bca63ff1c34f2b8544b3a7fed8373a20e6bbddb2bc016ecb39a8321e930813e65e444b653e5a24f DIST gerbera-2.2.0.tar.gz 6138157 BLAKE2B eab6008696cf353c50468a686509ed82381375e7b5e5a5a1b38bfcad6e275ca69885df7a8df7ebdf5bb407f7e7ec9401c27e09fbca55ec61ef15c415439b7148 SHA512 6e11d3e40c9a95d278ce4c6f0c914a27fed250e9202bb81c0f539d06622738bfa5b2156ca6bd061872e276858eb203f626c997ddc00810f9d816f4ff9198c97e -EBUILD gerbera-1.12.1-r1.ebuild 2247 BLAKE2B 03d0a04315f26bb90825d4018a6c823631f0e574c6309d7d20d9a733ad7fad5a71d3a92eddfe8039a21acfea7baabba32f1b783ab1f95daec73e957f79c8a680 SHA512 2c36f21d4cbe8ef9dce7e9c21b6b10198ec36553024e146de1d6368497791327ebb4d1f03b34b77bf28a8ee3fed5dd62967adf33d12823fc6bc6b8db430eb23a -EBUILD gerbera-2.1.0.ebuild 2187 BLAKE2B d1da6e1c5d560914b8b15fa47cbb651307047834da549b08758127dbfa1ca46aeeda51bfbf06d6e2b7915465c3239459415073f7a458d6b8749a6bd602bbfcf0 SHA512 d4ac9b9d07c31d4f18a8798f778103b2af78b495206779d03e6f86bc157d62638366456a5d41df5506e94a2d2207151717f6a2dfe410ddb9b208fa49afa7d510 EBUILD gerbera-2.2.0.ebuild 2188 BLAKE2B 74ad7a63bded4509adab9704e71f483f3c8e92a70bf847275b4cec32d007435e54f5212d3141074d05d695799cc4f46c41be46c8314c085b2b5cf647eed6da71 SHA512 cf9ab8bc70ee69f5a36a67be2014756714d65760ffa71bdcaf714f34c5a7b5388f85e1bfd7cb34ae5ea206dc9c2b5547d87ba408628021f1433f85540c78dba7 EBUILD gerbera-9999.ebuild 2189 BLAKE2B fde4d60c9f842c488e0d6a52d934279385620f4a47e66ab2b4ac17201ed992b57e692721baa7bd424964afeb7d4e62bf01c8bf68cd558ae0552025d7271bf8fc SHA512 ba30f3992143f4c877738a6818f6396d6c1f9d04603d8931dc39b32cf7cc9c9d4a944c46da2562b0325eab2dc8d04adf0d14ff64e4c68f900c97fc786367dbc2 MISC metadata.xml 1153 BLAKE2B 160ec07f27637335374b7c1232c65942d661b66ab89f9e145ffcbadd510ea454a52cef9ab8e544ed46c0c11f56f69b1c659b4f604b0c65ada19f66f1d857586e SHA512 95da4ff4383a5fa1467ea5674c38cb6c8b7939fa01e7a66bac42bb2e3d21dfc020c2585bc6e81af602a227c978e3fe1dc3950ef962b17cbbc11a0cea0413d9b3 diff --git a/net-misc/gerbera/gerbera-1.12.1-r1.ebuild b/net-misc/gerbera/gerbera-1.12.1-r1.ebuild deleted file mode 100644 index c7fbd27a2fa3..000000000000 --- a/net-misc/gerbera/gerbera-1.12.1-r1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake linux-info - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://github.com/gerbera/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/gerbera/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ~x86" - S="${WORKDIR}/${P}" -fi - -DESCRIPTION="UPnP Media Server" -HOMEPAGE="https://gerbera.io" - -LICENSE="GPL-2" -SLOT="0" -IUSE="curl debug +exif exiv2 +ffmpeg ffmpegthumbnailer +javascript +magic +matroska mysql systemd +taglib" - -RDEPEND=" - acct-user/gerbera - dev-db/sqlite - dev-libs/libebml:= - dev-libs/libfmt:= - dev-libs/pugixml - dev-libs/spdlog:= - >=net-libs/libupnp-1.14.12:=[ipv6(+),reuseaddr,-blocking-tcp] - sys-apps/util-linux - sys-libs/zlib - virtual/libiconv - curl? ( net-misc/curl ) - exif? ( media-libs/libexif ) - exiv2? ( media-gfx/exiv2:= ) - ffmpeg? ( media-video/ffmpeg:= ) - ffmpegthumbnailer? ( media-video/ffmpegthumbnailer ) - javascript? ( dev-lang/duktape:= ) - magic? ( sys-apps/file ) - matroska? ( media-libs/libmatroska:= ) - mysql? ( dev-db/mysql-connector-c ) - taglib? ( media-libs/taglib ) -" - -DEPEND="${RDEPEND}" - -CONFIG_CHECK="~INOTIFY_USER" - -PATCHES=( - "${FILESDIR}/${PN}-1.12.1-gcc14.patch" -) - -src_configure() { - local mycmakeargs=( - -DWITH_AVCODEC=$(usex ffmpeg) - -DWITH_CURL=$(usex curl) - -DWITH_DEBUG=$(usex debug) - -DWITH_EXIF=$(usex exif) - -DWITH_EXIV2=$(usex exiv2) - -DWITH_FFMPEGTHUMBNAILER=$(usex ffmpegthumbnailer) - -DWITH_INOTIFY=1 - -DWITH_JS=$(usex javascript) - -DWITH_LASTFM=NO - -DWITH_MAGIC=$(usex magic) - -DWITH_MATROSKA=$(usex matroska) - -DWITH_MYSQL=$(usex mysql) - -DWITH_SYSTEMD=$(usex systemd) - -DWITH_TAGLIB=$(usex taglib) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - newinitd "${FILESDIR}"/${PN}-1.0.0.initd ${PN} - newconfd "${FILESDIR}"/${PN}-1.0.0.confd ${PN} - - insinto /etc/${PN} - newins "${FILESDIR}"/${PN}-1.3.0.config config.xml - fperms 0640 /etc/${PN}/config.xml - fowners root:gerbera /etc/${PN}/config.xml -} - -pkg_postinst() { - if use mysql; then - elog "Gerbera has been built with MySQL support and needs" - elog "to be configured before being started. By default" - elog "SQLite will be used." - fi -} diff --git a/net-misc/gerbera/gerbera-2.1.0.ebuild b/net-misc/gerbera/gerbera-2.1.0.ebuild deleted file mode 100644 index b3c80239e4c7..000000000000 --- a/net-misc/gerbera/gerbera-2.1.0.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake linux-info - -DESCRIPTION="UPnP Media Server" -HOMEPAGE="https://gerbera.io" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://github.com/gerbera/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/gerbera/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${P}" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="curl debug +exif exiv2 +ffmpeg ffmpegthumbnailer +javascript +magic +matroska mysql systemd +taglib" - -RDEPEND=" - acct-user/gerbera - dev-db/sqlite - dev-libs/libebml:= - dev-libs/libfmt:= - dev-libs/pugixml - dev-libs/spdlog:= - net-libs/libupnp:=[ipv6(+),reuseaddr,-blocking-tcp] - sys-apps/util-linux - sys-libs/zlib - virtual/libiconv - curl? ( net-misc/curl ) - exif? ( media-libs/libexif ) - exiv2? ( media-gfx/exiv2:= ) - ffmpeg? ( media-video/ffmpeg:= ) - ffmpegthumbnailer? ( media-video/ffmpegthumbnailer ) - javascript? ( dev-lang/duktape:= ) - magic? ( sys-apps/file ) - matroska? ( media-libs/libmatroska:= ) - mysql? ( dev-db/mysql-connector-c:= ) - taglib? ( media-libs/taglib ) -" - -DEPEND="${RDEPEND}" - -CONFIG_CHECK="~INOTIFY_USER" - -src_configure() { - local mycmakeargs=( - -DWITH_AVCODEC=$(usex ffmpeg) - -DWITH_CURL=$(usex curl) - -DWITH_DEBUG=$(usex debug) - -DWITH_EXIF=$(usex exif) - -DWITH_EXIV2=$(usex exiv2) - -DWITH_FFMPEGTHUMBNAILER=$(usex ffmpegthumbnailer) - -DWITH_INOTIFY=1 - -DWITH_JS=$(usex javascript) - -DWITH_LASTFM=NO - -DWITH_MAGIC=$(usex magic) - -DWITH_MATROSKA=$(usex matroska) - -DWITH_MYSQL=$(usex mysql) - -DWITH_SYSTEMD=$(usex systemd) - -DWITH_TAGLIB=$(usex taglib) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - newinitd "${FILESDIR}"/${PN}-1.0.0.initd ${PN} - newconfd "${FILESDIR}"/${PN}-1.0.0.confd ${PN} - - insinto /etc/${PN} - newins "${FILESDIR}"/${PN}-1.3.0.config config.xml - fperms 0640 /etc/${PN}/config.xml - fowners root:gerbera /etc/${PN}/config.xml -} - -pkg_postinst() { - if use mysql; then - elog "Gerbera has been built with MySQL support and needs" - elog "to be configured before being started. By default" - elog "SQLite will be used." - fi -} diff --git a/net-misc/mosh/Manifest b/net-misc/mosh/Manifest index d7051a913586..6bbca6949ede 100644 --- a/net-misc/mosh/Manifest +++ b/net-misc/mosh/Manifest @@ -3,5 +3,5 @@ AUX mosh-1.3.2-bind-misinterpret.patch 432 BLAKE2B 81bda9f9a2d63ed2f5298b399ec92 DIST mosh-1.3.2.tar.gz 359574 BLAKE2B 0b7290da0c5e5af0bfed58594095cb2649fec049fda7c495df326742176033d1716752451d2a9f11ba2c2957e8b8fecd5caa4e8962c8597e8dd67d1de7582ec5 SHA512 f400e8fe7ba2ab7362311fc12a00ec69587505f901988aeee500fc68d38a388218500a3f602111c883ff23a9d43572114fcf0a8bf505df203691e5b597615769 DIST mosh-1.4.0.tar.gz 393465 BLAKE2B 076b70742292dfd012aff70cc7d76eb6568ddd92600ce3f834dfdcb5064526dd3744e1672dd9fd5f172c70f501a6114b016aa8c8256a8168d2ae0a75dd8e7344 SHA512 38c11f52ff1e42965b50a22bf6de80b0fa8ebbff841d825e760abf69c788a2bf5f34e6f7fc047574d595118334eef9edf8da5520b52cdde3ac1a79d7ad70312e EBUILD mosh-1.3.2-r3.ebuild 1577 BLAKE2B fda7bb7e2d6fdc7eca385412a6b03d3c32a5088e188e6343eabc9bb2812d38c2a8c0902c98d67d0e492fa7b9a5d514ffada9bcd5a243d47a98faa17694f500a1 SHA512 a1df5603a7f2d49ad3d7ec5123a6d6d19eae75d2479134c78a87dd329d9e114d5ea02340f78bdd2b99f2e556f9f714c45534c25ea60d73f73793869a3f6c9f98 -EBUILD mosh-1.4.0.ebuild 2013 BLAKE2B 7f5b105e0619b275b2b8bf83ce93eef12c1ac42b6ae97afc3c516c6439950d02969182a3522de36aad814b4fff4fdc08262e87d2857a1f9fd337f627cb6dece5 SHA512 95c6b7af6052be454c72d48f2a58a91366907e77e1625f5b24d2839f6c8851aea8d82316c0bfbab1e0890875d0feb658eda631a34c81778f1149b75ccbda8bc4 +EBUILD mosh-1.4.0.ebuild 2026 BLAKE2B a16a94552d064ee74ae5f37c86efb4e296ada485fef836cbe85a75315011f6bd1c26c9593d69057cee831631cfeabddd000ac32f6760b86a12b0db3c3ea4da24 SHA512 386b5d240cfd244fdfbb53d74aa060f02e4f76819253878381db38c1472fddb061a73128a2dab0abb86d66a1ca803c92d7e2ca519f5aa22b7df15a340c390b6f MISC metadata.xml 1308 BLAKE2B dd0adee201ba12f75e60f781f6642921c2bb64c19b8defb6cd175d48090c7ee083ae6dbcb73c87c080fdd47b28569adbfb3fe64dd2b6ed7d11b3d66be40e2205 SHA512 ef68cfe26d69a3ffa088d6b1efc142861f90d224d41f6b5e2c2536932ddeff6d1d036de0778d164d35a38c9d470d28ee761be08528c7f23a48072cf5d77a5f09 diff --git a/net-misc/mosh/mosh-1.4.0.ebuild b/net-misc/mosh/mosh-1.4.0.ebuild index 123086e09347..8792d6668383 100644 --- a/net-misc/mosh/mosh-1.4.0.ebuild +++ b/net-misc/mosh/mosh-1.4.0.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-3" SLOT="0" if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" fi IUSE="+client examples +hardened nettle +server syslog ufw +utempter" diff --git a/net-misc/rdate/Manifest b/net-misc/rdate/Manifest index e702890c737b..fe81601636f4 100644 --- a/net-misc/rdate/Manifest +++ b/net-misc/rdate/Manifest @@ -1,5 +1,3 @@ -AUX rdate-1.10.2-fix-musl-compat-stdint.patch 4574 BLAKE2B 8228b520bc94c1fce70416035ed4eeafb98c96ed05171eed18f914b6d4a6516fc232f9a46cc22e3a9413fa7d1a8dd3837dc2f67e5a8cc0c315fd1ad9a21ce972 SHA512 85c3cc5ead5a5909ac613e37a2ddf7d837dba8a57b162d72ccb473bf679a2c1d4783fcf3e7fd44ca388146ee999d3dc7e63a9a68ab8f1b6203207f39980c5c49 -AUX rdate-1.10.2-respect-AR.patch 1117 BLAKE2B ad992ef817847c39c779eb1a251df905b3a9c0c70487433dcb22014717c4b10486d06237bc2b12b6827c7016321a88950ff8d40a5072b81d5e9bf8a2a0f834cf SHA512 66912901b7b052203af8c39de81aab08f9c512d46c8eaf2174fc936c7bdeb7a045ad56cbfb81b65dca7cb8790c95174b4021ce227289f4e4edb63d21020e9409 AUX rdate-confd 509 BLAKE2B 92826ed23b867063c8cf1145e7a2f62fe6a904593eca1add05971f06773ae992f08e58bb4f5367660e93937baf7bf3d0fe35a508bdaea44bca104c0871cf6ba8 SHA512 1ebc27949cf5c68828e00cacb20644b6c6b0e833c23b4f9e31144f0e47c10daa06b82909198227cdc7018939cbae09f2fe53de69aa84c8b9a8ecb0ab9eaf1f8f AUX rdate-initd-1.4-r3 525 BLAKE2B 8533f2b589aa860d88a7cdf18931b2a5800a1d82a78db576dfb12189f4b3391535bff5896ef75d6b3ef7373e1ad86c86a82f7422f4c404af8b9b3e414aaad59c SHA512 8563dedff5b2188d5176a882e36d4c8cdab4709ca40e86eb9c76e30f91c3eb78d1da8f971d2c2f4189ef801413e173367d2a8a2b9b37608ef6a84a0e73e39157 DIST rdate-1.11.tar.gz 20210 BLAKE2B 0ff4abebe08f33b45c753dd2912c36e3895c1745b2d78340c7574116f50cd4d05364c5bee97e883b7ad587fcd5261931d928689cd583aa86b43aac408d2a4a6d SHA512 916952c26cdd51c8666bf62cdd823cf8a07fd4487fbf73213d529525b31a90f056120ea2ff16e6d37ea7c662853ba3c15789fef90724b2dbf17c21a6ff3f415d diff --git a/net-misc/rdate/files/rdate-1.10.2-fix-musl-compat-stdint.patch b/net-misc/rdate/files/rdate-1.10.2-fix-musl-compat-stdint.patch deleted file mode 100644 index a6ff70b353d5..000000000000 --- a/net-misc/rdate/files/rdate-1.10.2-fix-musl-compat-stdint.patch +++ /dev/null @@ -1,180 +0,0 @@ -https://github.com/resurrecting-open-source-projects/openrdate/pull/3 - -From: Sam James <sam@gentoo.org> -Date: Thu, 3 Feb 2022 09:23:35 +0000 -Subject: [PATCH] Use <stdint.h> to fix musl compatibility - -uint32_t and friends are provided by <stdint.h> and the types -previously being relied on are non-standard, so let's swap. - -This fixes building rdate on e.g. musl rather than glibc. - -Bug: https://bugs.gentoo.org/832554 -Signed-off-by: Sam James <sam@gentoo.org> ---- a/src/ntp.c -+++ b/src/ntp.c -@@ -52,6 +52,7 @@ - #include <netdb.h> - #include <stdio.h> - #include <stdlib.h> -+#include <stdint.h> - #include <string.h> - #include <time.h> - #include <unistd.h> -@@ -106,11 +107,11 @@ struct ntp_data { - double receive; - double transmit; - double current; -- u_int64_t recvck; -+ uint64_t recvck; - - /* Local State */ - double originate; -- u_int64_t xmitck; -+ uint64_t xmitck; - }; - - void ntp_client(const char *, int, struct timeval *, struct timeval *, int, int, int); -@@ -282,7 +283,7 @@ write_packet(int fd, struct ntp_data *data) - - packet[0] = (NTP_VERSION << 3) | (NTP_MODE_CLIENT); - -- data->xmitck = (u_int64_t)arc4random() << 32 | arc4random(); -+ data->xmitck = (uint64_t)arc4random() << 32 | arc4random(); - - /* - * Send out a random 64-bit number as our transmit time. The NTP -@@ -300,7 +301,7 @@ write_packet(int fd, struct ntp_data *data) - * the transmit field intelligible. - */ - -- *(u_int64_t *)(packet + NTP_TRANSMIT) = data->xmitck; -+ *(uint64_t *)(packet + NTP_TRANSMIT) = data->xmitck; - - data->originate = current_time(JAN_1970); - -@@ -453,7 +454,7 @@ double - current_time(double offset) - { - struct timeval current; -- u_int64_t t; -+ uint64_t t; - - if (gettimeofday(¤t, NULL)) - err(1, "Could not get local time of day"); ---- a/src/ntpleaps.c -+++ b/src/ntpleaps.c -@@ -45,12 +45,13 @@ - #include <fcntl.h> - #include <stdio.h> - #include <stdlib.h> -+#include <stdint.h> - #include <string.h> - #include <unistd.h> - - #include "ntpleaps.h" - --static u_int64_t *leapsecs; -+static uint64_t *leapsecs; - static unsigned int leapsecs_num; - - -@@ -81,10 +82,10 @@ ntpleaps_init(void) - } - - int --ntpleaps_sub(u_int64_t *t) -+ntpleaps_sub(uint64_t *t) - { - unsigned int i = 0; -- u_int64_t u; -+ uint64_t u; - int r = 1; - - if (ntpleaps_init() == -1) -@@ -105,10 +106,10 @@ ntpleaps_sub(u_int64_t *t) - return (r); - } - --u_int32_t --read_be_dword(u_int8_t *ptr) -+uint32_t -+read_be_dword(uint8_t *ptr) - { -- u_int32_t res; -+ uint32_t res; - - memcpy(&res, ptr, 4); - return (ntohl(res)); -@@ -120,10 +121,10 @@ ntpleaps_read(void) - { - int fd; - unsigned int r; -- u_int8_t buf[32]; -- u_int32_t m1, m2, m3; -- u_int64_t s; -- u_int64_t *l; -+ uint8_t buf[32]; -+ uint32_t m1, m2, m3; -+ uint64_t s; -+ uint64_t *l; - - fd = open("/usr/share/zoneinfo/right/UTC", O_RDONLY | O_NDELAY); - if (fd == -1) -@@ -153,7 +154,7 @@ ntpleaps_read(void) - close(fd); - return (-1); - } -- if ((l = (u_int64_t *)malloc(r << 3)) == NULL) { -+ if ((l = (uint64_t *)malloc(r << 3)) == NULL) { - close(fd); - return (-1); - } ---- a/src/ntpleaps.h -+++ b/src/ntpleaps.h -@@ -46,11 +46,13 @@ - #ifndef _NTPLEAPS_H - #define _NTPLEAPS_H - -+#include <stdint.h> -+ - /* Offset between struct timeval.tv_sec and a tai64_t */ - #define NTPLEAPS_OFFSET (4611686018427387914ULL) - - /* Hide this ugly value from programmes */ --#define SEC_TO_TAI64(s) (NTPLEAPS_OFFSET + (u_int64_t)(s)) -+#define SEC_TO_TAI64(s) (NTPLEAPS_OFFSET + (uint64_t)(s)) - #define TAI64_TO_SEC(t) ((t) - NTPLEAPS_OFFSET) - - /* Initializes the leap second table. Does not need to be called -@@ -70,6 +72,6 @@ int ntpleaps_read(void); - * to posix clock tick time. - * returns 0 on success, -1 on error (time is unchanged), 1 on leap second - */ --int ntpleaps_sub(u_int64_t *); -+int ntpleaps_sub(uint64_t *); - - #endif ---- a/src/rfc868time.c -+++ b/src/rfc868time.c -@@ -50,6 +50,7 @@ - #include <stdio.h> - #include <ctype.h> - #include <err.h> -+#include <stdint.h> - #include <string.h> - #include <netdb.h> - #include <unistd.h> -@@ -68,10 +69,10 @@ rfc868time_client (const char *hostname, int family, struct timeval *new, - { - struct addrinfo hints, *res0, *res; - struct timeval old; -- u_int32_t tim; /* RFC 868 states clearly this is an uint32 */ -+ uint32_t tim; /* RFC 868 states clearly this is an uint32 */ - int s; - int error; -- u_int64_t td; -+ uint64_t td; - - memset(&hints, 0, sizeof(hints)); - hints.ai_family = family; diff --git a/net-misc/rdate/files/rdate-1.10.2-respect-AR.patch b/net-misc/rdate/files/rdate-1.10.2-respect-AR.patch deleted file mode 100644 index 05289f3453c9..000000000000 --- a/net-misc/rdate/files/rdate-1.10.2-respect-AR.patch +++ /dev/null @@ -1,40 +0,0 @@ -https://github.com/resurrecting-open-source-projects/openrdate/pull/4 - -From: Sam James <sam@gentoo.org> -Date: Thu, 3 Feb 2022 09:30:53 +0000 -Subject: [PATCH] Respect AR from environment - -Detect `AR` from the environment (first the AR environment variable, but -failing that, ${CHOST}-ar). This allows using different toolchains (e.g. -Clang and LLVM's tooling) and also facilitates cross-compilation. - -Bug: https://bugs.gentoo.org/729998 -Signed-off-by: Sam James <sam@gentoo.org> ---- a/configure.ac -+++ b/configure.ac -@@ -11,6 +11,8 @@ AC_CONFIG_SRCDIR([src/rdate.c]) - AC_CONFIG_HEADERS([config.h]) - AC_ARG_VAR([kernel_version], [the version of the kernel to build against]) - -+AC_CANONICAL_HOST -+ - # Checks for programs. - AC_PROG_CC - -@@ -22,6 +24,8 @@ AC_PROG_INSTALL - AC_PROG_RANLIB - AC_PROG_EGREP - -+AM_PROG_AR -+ - # Checks for libraries. - AC_CHECK_LIB([c], [fork]) - AC_CHECK_LIB([util], [malloc]) -@@ -52,7 +56,6 @@ AC_CHECK_FUNCS([gettimeofday memset select socket]) - AC_PATH_PROG([UNAME], [uname], - [:]) - --AC_CANONICAL_HOST - # Determine the particulars of the host - case "${host}" in - *-*-linux*) diff --git a/net-misc/streamlink/Manifest b/net-misc/streamlink/Manifest index fa3b2c1ceff7..6bf9894e68ed 100644 --- a/net-misc/streamlink/Manifest +++ b/net-misc/streamlink/Manifest @@ -2,9 +2,11 @@ DIST streamlink-6.7.3.tar.gz 742832 BLAKE2B 5f03a036c3f2170d25e43618f36d7b937e80 DIST streamlink-6.7.4.tar.gz 744387 BLAKE2B bd8fb9af560fbe164a63fd1b698100765c716b44b6f3364e6ad072f69d0fdee9d22dd0fda6c297f249915c9a60f10e2089228a8c19244a7ef18b5809632bf96a SHA512 266c66626624814d708a228d4e2e62c443c3973fb139632a88086619c755fa80d97fad077a2a7383f9beb3e2f4464274beb0bb446b85f6f63d6704a88a9c2e29 DIST streamlink-6.8.1.tar.gz 748765 BLAKE2B bf42375bc37432c66e8d2c9d8c3b31cfbda8c990bc4d7b83970198c4f60b5dc30d5ce3daf339bb842bc058955edff55df16da4f4cc0362410eaaff1bb6d74e28 SHA512 51cb03ca2414ec64f95704833568bb48aaae458e77f6ef3f4d858b564908cff4944c07a0b4d3bb648a0fe2bbb6a43a7964333878e31aef0b2a6ff3b9048b8e1d DIST streamlink-6.8.3.tar.gz 753510 BLAKE2B 94ac37947911765d14d135582eb86acb682af3f84e3bb4faeef9d3bb0a2d75f06a4a2b9ca57ac7966e5e4e8b14cdf2a62611e15990705ebd4995442b12badbc9 SHA512 a5053ea38d4f444e478c0ea5d9ff9f858637a29f3bdfca532796bb178ad78e4de17623dabb64cccd141005688ff2dc7349246a01919e507483baea55e084b75c +DIST streamlink-6.9.0.tar.gz 758696 BLAKE2B 14baa37903c4b3084206a59959e47e5c764603da24084361b76a21d013b833ecb49df7d6baa45eb93f3491469deda828553439cc91a0ba6af07f96ce92c13764 SHA512 7ace33553dfdf7e45642347cc468c746ef9a7e400cd5629e326a93d5c0e57d77da1538b00ebf01665f147d41e5b8cc3de241dcc0b6b1b83329ecfb46950f8d00 EBUILD streamlink-6.7.3.ebuild 3511 BLAKE2B dbb535f5f5379b3c4fdc8d63782a517631764df5381cdbad9ddac1279670b174f2b90ce71b8640a51ddc1f4e58feddbdcb5e929d16efd232a83a38da475d9a4b SHA512 e8d23d97c4333ad15590fba842174a9ce91901ca76491e9cafd8517584c9e52df40ba99b24a1282abaa7fd55b83e66d17f707050ba6061511ebad791159c9fa3 EBUILD streamlink-6.7.4.ebuild 3467 BLAKE2B 86cce8c49e044677799d05283a625b9255bb7a8f87df22dc95481a65cef2db6f863f1263a01c84240c59cd85bc3830d75ac6a31c018f9c23ea708c39973647d6 SHA512 6544c612555ba1d853adac93114be7093ac3d33443ab4bcdb272c64e9e3f85d3a644dbab5708d652bf128f7d3fa8ebb3a4ed9b88de8a904ed173e27b1fe0728e EBUILD streamlink-6.8.1.ebuild 3467 BLAKE2B 86cce8c49e044677799d05283a625b9255bb7a8f87df22dc95481a65cef2db6f863f1263a01c84240c59cd85bc3830d75ac6a31c018f9c23ea708c39973647d6 SHA512 6544c612555ba1d853adac93114be7093ac3d33443ab4bcdb272c64e9e3f85d3a644dbab5708d652bf128f7d3fa8ebb3a4ed9b88de8a904ed173e27b1fe0728e EBUILD streamlink-6.8.3.ebuild 3466 BLAKE2B 0c11aab2c26e524bea908dc18050b35351e341679bf50bfa32042c6b4b9e27f672cb36ac19c3a72ea07419878f97afa437920bdbffecb7f71a6c5d243df31341 SHA512 51066d1acb47c5697577edbc6caef6cf1e0941d2701f60d8b3ea6ef251cc6a863538c904a9e7595fe9554443248dba5f913685b43ffdc516758390bbf4d2d2a1 +EBUILD streamlink-6.9.0.ebuild 3467 BLAKE2B 5e1f975a711b9d90e177c52c586e338d43622f35c8ce792caefdb49f26b31e15e51e721bc996df49dffd9bd1c16683e5fb0793177dceb96fb3b97a591f1936b0 SHA512 23a1e4b25c7284bedbf4f8d2b13bf2795dcb2555a25d33d3f74ca12360bb2fc7b1f8585bed8eef7ee1fa08e347bb5b544bf44cb6a72d95d4e21c7a07078a6666 EBUILD streamlink-9999.ebuild 3467 BLAKE2B 5e1f975a711b9d90e177c52c586e338d43622f35c8ce792caefdb49f26b31e15e51e721bc996df49dffd9bd1c16683e5fb0793177dceb96fb3b97a591f1936b0 SHA512 23a1e4b25c7284bedbf4f8d2b13bf2795dcb2555a25d33d3f74ca12360bb2fc7b1f8585bed8eef7ee1fa08e347bb5b544bf44cb6a72d95d4e21c7a07078a6666 MISC metadata.xml 398 BLAKE2B 43aa67d43256cecb95b788e4bab999f73b7b624fa1af0432aa87ffa94071f09e29eab6733468d6607eeb7aa9f81030610dfbcd849f9cb9196d80181ea5712f74 SHA512 2db05f8a1196e44e632b4ee1d85f804d295eb53141cf176e85cbe90cc30e0fee382a5e798e4cc7fd63557d60687d05a671533c2188a2fcf497f6e95292190149 diff --git a/net-misc/streamlink/streamlink-6.9.0.ebuild b/net-misc/streamlink/streamlink-6.9.0.ebuild new file mode 100644 index 000000000000..3e4bc7e2f370 --- /dev/null +++ b/net-misc/streamlink/streamlink-6.9.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://github.com/streamlink/${PN}.git" + inherit git-r3 +fi + +DISTUTILS_SINGLE_IMPL=1 +# >= 6.2.1 uses a bunch of setuptools hooks instead of vanilla setuptools +# https://github.com/streamlink/streamlink/commit/194d9bc193f5285bc1ba33af5fd89209a96ad3a7 +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE='xml(+),threads(+)' +inherit distutils-r1 + +DESCRIPTION="CLI for extracting streams from websites to a video player of your choice" +HOMEPAGE="https://streamlink.github.io/" + +if [[ ${PV} != 9999* ]]; then + SRC_URI="https://github.com/streamlink/${PN}/releases/download/${PV}/${P}.tar.gz" +fi + +LICENSE="BSD-2 Apache-2.0" +SLOT="0" +if [[ ${PV} != 9999* ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +# See https://github.com/streamlink/streamlink/commit/9d8156dd794ee0919297cd90d85bcc11b8a28358 for chardet/charset-normalizer dep +RDEPEND=" + media-video/ffmpeg + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + ' 3.10) + $(python_gen_cond_dep ' + dev-python/certifi[${PYTHON_USEDEP}] + || ( + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/charset-normalizer[${PYTHON_USEDEP}] + ) + >=dev-python/requests-2.26.0[${PYTHON_USEDEP}] + dev-python/isodate[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6.4[${PYTHON_USEDEP}] + >=dev-python/websocket-client-1.2.1[${PYTHON_USEDEP}] + dev-python/pycountry[${PYTHON_USEDEP}] + >=dev-python/pycryptodome-3.4.3[${PYTHON_USEDEP}] + >dev-python/PySocks-1.5.7[${PYTHON_USEDEP}] + >=dev-python/trio-0.22.0[${PYTHON_USEDEP}] + >=dev-python/trio-websocket-0.9.0[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/setuptools-64[${PYTHON_USEDEP}] + >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/freezegun-1.0.0[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-trio[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + ) + ') +" + +if [[ ${PV} == 9999* ]]; then + RDEPEND+=" + $(python_gen_cond_dep ' + >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}] + ') + " +fi + +distutils_enable_tests pytest + +python_test() { + # Skip tests requiring <dev-python/pytest-8.0.0 + # https://github.com/streamlink/streamlink/pull/5901 + EPYTEST_DESELECT+=( + tests/webbrowser/cdp/test_client.py::TestEvaluate::test_exception + tests/webbrowser/cdp/test_client.py::TestEvaluate::test_error + tests/webbrowser/cdp/test_client.py::TestNavigate::test_detach + tests/webbrowser/cdp/test_client.py::TestNavigate::test_error + tests/webbrowser/cdp/test_connection.py::TestCreateConnection::test_failure + tests/webbrowser/cdp/test_connection.py::TestReaderError::test_invalid_json + tests/webbrowser/cdp/test_connection.py::TestReaderError::test_unknown_session_id + 'tests/webbrowser/cdp/test_connection.py::TestSend::test_timeout[Default timeout, response not in time]' + 'tests/webbrowser/cdp/test_connection.py::TestSend::test_timeout[Custom timeout, response not in time]' + tests/webbrowser/cdp/test_connection.py::TestSend::test_bad_command + tests/webbrowser/cdp/test_connection.py::TestSend::test_result_exception + tests/webbrowser/cdp/test_connection.py::TestHandleCmdResponse::test_response_error + tests/webbrowser/cdp/test_connection.py::TestHandleCmdResponse::test_response_no_result + ) + + epytest +} |