summaryrefslogtreecommitdiff
path: root/www-misc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-09 01:48:35 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-09 01:48:35 +0000
commit0b832a429ecd6081aa9faa0eb262303b019d87ea (patch)
treec39bb9eaa7bc30cec17f3a3bdef0cf5ed27c6a75 /www-misc
parent80e87db4d9ed551615eb2d0309bf370e79500716 (diff)
gentoo auto-resync : 09:03:2025 - 01:48:35
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/Manifest.gzbin2589 -> 2590 bytes
-rw-r--r--www-misc/fcgiwrap/Manifest5
-rw-r--r--www-misc/fcgiwrap/fcgiwrap-1.1.0_p20150419.ebuild64
-rw-r--r--www-misc/fcgiwrap/files/fcgiwrap-1.1.0-kill.patch25
-rw-r--r--www-misc/fcgiwrap/files/fcgiwrap-1.1.0-systemd.patch25
-rw-r--r--www-misc/fcgiwrap/files/fcgiwrap-1.1.0-uninit-ipv6.patch34
-rw-r--r--www-misc/profile-sync-daemon/Manifest2
-rw-r--r--www-misc/profile-sync-daemon/profile-sync-daemon-6.50.ebuild4
8 files changed, 156 insertions, 3 deletions
diff --git a/www-misc/Manifest.gz b/www-misc/Manifest.gz
index 59fe61a65784..6e6bed579d37 100644
--- a/www-misc/Manifest.gz
+++ b/www-misc/Manifest.gz
Binary files differ
diff --git a/www-misc/fcgiwrap/Manifest b/www-misc/fcgiwrap/Manifest
index 996934fb5bcf..d06369aa12cf 100644
--- a/www-misc/fcgiwrap/Manifest
+++ b/www-misc/fcgiwrap/Manifest
@@ -1,3 +1,8 @@
+AUX fcgiwrap-1.1.0-kill.patch 745 BLAKE2B 68dca1e737916e2400257d29e86e17e5f41c108531ac39a8c36468c5a1fa0ea743f21b87f06e50c241603637446a4f87e8ba1c3aa20780f5015e303fd7b5699f SHA512 981623243b3cce51cb61127060a83454fc491a577ca2e3618d355f202bf2a0a3b7b1df73ebfbcade0491314527af10dc1b9ff711b298c59849eaa0575e05c1c3
+AUX fcgiwrap-1.1.0-systemd.patch 788 BLAKE2B ecd35c1817344f15c8663bc4cc50afc9758fede57bc4c887172ffa0729b7466b3a3c6d3417f4c6d0ce723af6398e76f8abff1aa7e6b8ac8e5042ebc97ddb7b1d SHA512 a931b52f637ec5313d0ff91d61f736ac989362f92a6a7be8a855ad5e3c53fb8eb1a8383e5caeb423e4ee64062e87d4407b54666638bfba670cdcfe550b961724
+AUX fcgiwrap-1.1.0-uninit-ipv6.patch 930 BLAKE2B 1d5d94e2a6d18dbf83c0dd1cb7c260b89bd3e82206f35d437c32b85e224ca9b17016b015af965dd29c45a29b353c9d4cf7c386e9df6c66235b99b47151f4859e SHA512 cef8fc278771aa8b13955d569c7484769e327449e5eb852d01d1f88f1eec73bc71fa0181280db84131e0d28c42076dd6a76a3914cbcc0947a26bbc8c0d862e5a
DIST fcgiwrap-1.1.0.tar.gz 9924 BLAKE2B a96a87bfd1e4845be3a5018e5574edd40a800926ac531a041fae07f6810da509eecf97a19b2debe0ea318f2968f30184f4f6c1c02495777492d32826a0f759a1 SHA512 b8d35762d1d3c94a67602290b0092f0c38cffbbcd3dbc16597abf8b92172909b04450c238de2e430e841a17dd47fdd48d6a001f77539966980ef1af61e447ddc
+DIST fcgiwrap-1.1.0_p20150419.gh.tar.gz 10833 BLAKE2B 3820d2aee99a225656c9b3621f5ccf936b4909e74331a6332925bfbda38e8795339d943768aff4c967381bd52f349f445bcce335e3f94f7fb67ed15e5844a9ad SHA512 87613dcaf617107bb179e5f1c50878f6378fcfcc53237a262881cc8e18a7d8c011215f1642d6d00797f322e08118ff9ed4a1da9fa5d09006f3ffbe20547e4f08
EBUILD fcgiwrap-1.1.0-r2.ebuild 1203 BLAKE2B f484e95935ba1b82cb2048235cb150559aab3a6ec70fb223b122759c74044508f4309192c475485cd0efb94cb77dc6774c5460fe58008d65dbb023dab4e6a167 SHA512 ffdf5b0ac8a10d92674e7546be7872d9c4fb6b210ff28b8cf381a83b58e032fa2480b2981d956bb34b35ddaf1290c700dbbda4490f0d6ed7ad9351b2f6f5ab77
+EBUILD fcgiwrap-1.1.0_p20150419.ebuild 1544 BLAKE2B 84743fb7526a92c1a437eb3857534d36f506c296e9e32f98e6f26d70122441162939d61a574852ebfa8627ab7d02b97d1a13b3617db6aed575667e0f29cae9f3 SHA512 29ba7a6b121bc229910d316c2167243c96df79f7dd790d7bdbd28bc74a16bba2b268809f22a0ca18613cfad609183dd29480a1806b1366157cfeca28ccf4d688
MISC metadata.xml 459 BLAKE2B b5e849549c0e7318e9e1fc39cc89358b5372f64a4c300c343a07d928f3eee4658593720146132cab9dbf9caf5e8aaed80c4d71a64eba449e7108bf048c68268f SHA512 fbdb6a797983a71a11a92cbef40df7745b1a2e96c102c1f41562a861547918bf290b175ec7d41d186a9972375f571afe5e24a7b99fdc086d58b9c892d68fc9b1
diff --git a/www-misc/fcgiwrap/fcgiwrap-1.1.0_p20150419.ebuild b/www-misc/fcgiwrap/fcgiwrap-1.1.0_p20150419.ebuild
new file mode 100644
index 000000000000..d7ecbe02f3e4
--- /dev/null
+++ b/www-misc/fcgiwrap/fcgiwrap-1.1.0_p20150419.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd toolchain-funcs
+
+DESCRIPTION="Simple FastCGI wrapper for CGI scripts (CGI support for nginx)"
+HOMEPAGE="https://github.com/gnosek/fcgiwrap"
+if [[ ${PV} == *_p* ]] ; then
+ FCGIWRAP_COMMIT="99c942c90063c73734e56bacaa65f947772d9186"
+ SRC_URI="https://github.com/gnosek/fcgiwrap/archive/${FCGIWRAP_COMMIT}.tar.gz -> ${P}.gh.tar.gz"
+ S="${WORKDIR}"/${PN}-${FCGIWRAP_COMMIT}
+else
+ # https://github.com/gnosek/fcgiwrap/issues/31
+ SRC_URI="https://github.com/gnosek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="systemd"
+
+RDEPEND="
+ dev-libs/fcgi
+ systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( README.rst )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1.0-kill.patch
+ "${FILESDIR}"/${PN}-1.1.0-systemd.patch
+ "${FILESDIR}"/${PN}-1.1.0-uninit-ipv6.patch
+)
+
+src_prepare() {
+ default
+
+ sed -e "s/-Werror//" \
+ -i configure.ac || die "sed failed"
+ sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
+ -i Makefile.in || die "sed failed"
+
+ tc-export CC
+
+ # Fix systemd units for Gentoo
+ sed -i -e '/User/d' systemd/fcgiwrap.service || die
+ sed -i -e '/Group/d' systemd/fcgiwrap.service || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with systemd) \
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+}
+
+pkg_postinst() {
+ einfo "You may want to install www-servers/spawn-fcgi to use with fcgiwrap."
+}
diff --git a/www-misc/fcgiwrap/files/fcgiwrap-1.1.0-kill.patch b/www-misc/fcgiwrap/files/fcgiwrap-1.1.0-kill.patch
new file mode 100644
index 000000000000..aa627cfa764c
--- /dev/null
+++ b/www-misc/fcgiwrap/files/fcgiwrap-1.1.0-kill.patch
@@ -0,0 +1,25 @@
+https://github.com/gnosek/fcgiwrap/pull/44
+
+From dc0c3b14f0d7bb014a9a4c6c17eb55a123496365 Mon Sep 17 00:00:00 2001
+From: "D.pz" <xpz91@126.me>
+Date: Mon, 28 Aug 2017 23:54:08 +0800
+Subject: [PATCH] 1.fix: kill() parameter sequence wrong
+
+---
+ fcgiwrap.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/fcgiwrap.c b/fcgiwrap.c
+index b44d8aa..bfd9a90 100644
+--- a/fcgiwrap.c
++++ b/fcgiwrap.c
+@@ -205,7 +205,7 @@ static void fcgi_finish(struct fcgi_context *fc, const char* msg)
+ if (fc->fd_stderr >= 0) close(fc->fd_stderr);
+
+ if (fc->cgi_pid)
+- kill(SIGTERM, fc->cgi_pid);
++ kill(fc->cgi_pid, SIGTERM);
+ }
+
+ static const char * fcgi_pass_fd(struct fcgi_context *fc, int *fdp, FCGI_FILE *ffp, char *buf, size_t bufsize)
+
diff --git a/www-misc/fcgiwrap/files/fcgiwrap-1.1.0-systemd.patch b/www-misc/fcgiwrap/files/fcgiwrap-1.1.0-systemd.patch
new file mode 100644
index 000000000000..e943a4e89fda
--- /dev/null
+++ b/www-misc/fcgiwrap/files/fcgiwrap-1.1.0-systemd.patch
@@ -0,0 +1,25 @@
+https://github.com/gnosek/fcgiwrap/pull/39
+
+From 5e9be0eacceaad4eb11b0f49a0cffb70b18b4af3 Mon Sep 17 00:00:00 2001
+From: Juan Orti Alcaine <j.orti.alcaine@gmail.com>
+Date: Fri, 11 Nov 2016 22:40:23 +0100
+Subject: [PATCH] libsystemd-daemon has been renamed to libsystemd
+
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index bb3674e..2b02ef4 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -28,7 +28,7 @@ AC_ARG_WITH([systemd],
+ [], [with_systemd=check])
+ have_systemd=no
+ if test "x$with_systemd" != "xno"; then
+- PKG_CHECK_MODULES(systemd, [libsystemd-daemon],
++ PKG_CHECK_MODULES(systemd, [libsystemd],
+ [AC_DEFINE(HAVE_SYSTEMD, 1, [Define if systemd is available])
+ have_systemd=yes],
+ have_systemd=no)
+
diff --git a/www-misc/fcgiwrap/files/fcgiwrap-1.1.0-uninit-ipv6.patch b/www-misc/fcgiwrap/files/fcgiwrap-1.1.0-uninit-ipv6.patch
new file mode 100644
index 000000000000..3fbd939e36a7
--- /dev/null
+++ b/www-misc/fcgiwrap/files/fcgiwrap-1.1.0-uninit-ipv6.patch
@@ -0,0 +1,34 @@
+https://github.com/gnosek/fcgiwrap/pull/51
+
+From 0b04283bc0f33c8b9e7ec23e2e7fd779da5bda09 Mon Sep 17 00:00:00 2001
+From: Rodrigo Osorio <rodrigo@osorio.me>
+Date: Sat, 28 Mar 2020 18:17:11 +0100
+Subject: [PATCH] Zero-out the sockaddr struct before using it
+
+The sockaddr union struct must be zero-out
+before usage at least for IPv6.
+
+IEEE Std 1003.1, 2004 Edition says:
+---
+The sockaddr_in6 structure shall be set to zero by an
+application prior to using it, since implementations
+are free to have additional, implementation-defined
+fields in sockaddr_in6.
+---
+ fcgiwrap.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/fcgiwrap.c b/fcgiwrap.c
+index b44d8aa..2e0f44f 100644
+--- a/fcgiwrap.c
++++ b/fcgiwrap.c
+@@ -726,6 +726,8 @@ static int setup_socket(char *url) {
+ struct sockaddr_in6 sa_in6;
+ } sa;
+
++ memset(&sa, 0, sizeof(sa));
++
+ if (!strncmp(p, "unix:", sizeof("unix:") - 1)) {
+ p += sizeof("unix:") - 1;
+
+
diff --git a/www-misc/profile-sync-daemon/Manifest b/www-misc/profile-sync-daemon/Manifest
index 03ab9f99f69e..46d24d4a7011 100644
--- a/www-misc/profile-sync-daemon/Manifest
+++ b/www-misc/profile-sync-daemon/Manifest
@@ -5,6 +5,6 @@ DIST profile-sync-daemon-6.35.tar.gz 20578 BLAKE2B f989682396f1423acf26719b74a35
DIST profile-sync-daemon-6.50.tar.gz 21464 BLAKE2B 8a16fdd102fd96acef9b777c9a4ca23a0d8b2f8e40e222acc85fe2f2a2734030b1cddd866905cb63d0b29ba7f5e0268d6f4987a88a6f7a7628b23338729802a1 SHA512 e98f3d0d4970016459560119547f6b769c4a159c0f75530124b799ed51b7f08ba384a372bb64b9f06bbb64740638059c1a2b4a061ea92589fbbdf601ed279c05
EBUILD profile-sync-daemon-5.75.ebuild 853 BLAKE2B d38982d9c5527c0654803ef47845e17905d92107ae49fa73823c052cbf85774c3d5670fe9c5e9c7d03d86c27529d9f48927861a2e0ebf51e966091b8b46da7f1 SHA512 b5c784779f283e2009ca2ad878da5c80c6b1602085059ce1fc2cce8403443ea9de2e704b116222aeac825517753ddb5dd189ffc1e7b856f54eeeb1372d9b9d6e
EBUILD profile-sync-daemon-6.35.ebuild 809 BLAKE2B e51198038fdd50209912eca5a5c388ae741cc566c2e841a5139311c62fcfcf490f962d4cca8966f2932fe74df045bcd9c3827731febff9da5b8666129ee29130 SHA512 1ea62fe7029cf027aca3b174f3b41117ef4e592bffc53c212bf1f323e2e7b0c21bdaff118e4b3fa2fcbb1f158416bc120a0239a9f48300850a8768d6abd3c763
-EBUILD profile-sync-daemon-6.50.ebuild 805 BLAKE2B d2a83efd17040c0852325f343b08ca89e1a95b846a7d3154137c0bae70b74a7efd8acee44016d06530677f25a6040674650d0b1ba6c806259ce2a80cae7204b0 SHA512 5c8d4b4be3fdf6dc72121ff5605d89ae9c653a4b6a615b97c3160ab05e547352e62c470190ac15df961083c72b86b40c06334c9a13a27af440c60489ca57426c
+EBUILD profile-sync-daemon-6.50.ebuild 803 BLAKE2B 52c015ff2168cbd893e1fefb7f4135d745cb6975c54203da7543ca7756a77364457c1032366b09047b1c889696a3dcb680eb6c4e20a4b36d131064cd09b23102 SHA512 2c401462017007932da0ea9cef7feb2c86dec2269f703f861eb456b25fd640f2ecf27015993d923c7c8392b9cab504491f67b2ba2611fc91b5953cb73758fcb6
EBUILD profile-sync-daemon-9999.ebuild 398 BLAKE2B 85b8e2d8a740b7b3c9e5be097cb9f0878c63dc1974812d2135213b2a1a6b173f544686f52112214a121fbc2be07009253b5e7b2d28cd58f144f9b3f8c0d496c2 SHA512 4a60904725f81153de7bf1b19ccda55fe375f0e540787acf3b60527595a9a86a2092321c39ce63717b7a9f37852ca0dda08ea470bed8db5a7b9e05a38bac107c
MISC metadata.xml 485 BLAKE2B 6f0fe0394f1faf2909006d32ffc6c392a83475b1c582eb64326c4d82de665c06259707655e87f5f2b5fba41e7f2373ca0ec49e06f6130afe0c541a6848410f33 SHA512 719713c880a0e978bf85cec0441aa822fc64229e71824d2b7f156e02b98adccf6355fd646b6e65b5088cc07d6af4892a72e69b1c3120c02992089f987e7966f8
diff --git a/www-misc/profile-sync-daemon/profile-sync-daemon-6.50.ebuild b/www-misc/profile-sync-daemon/profile-sync-daemon-6.50.ebuild
index d8a33596e6ea..ae2ef403045d 100644
--- a/www-misc/profile-sync-daemon/profile-sync-daemon-6.50.ebuild
+++ b/www-misc/profile-sync-daemon/profile-sync-daemon-6.50.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/graysky2/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
RDEPEND="
app-shells/bash