www-misc/slowcgi: stabilize
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
1
www-misc/slowcgi/Manifest
Normal file
1
www-misc/slowcgi/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST slowcgi-7.4.tar.gz 15571 BLAKE2B c317abf5b44814a8791710da4b151bd0120c710e6360ccd907c2fb4dda1b376f539bfbd93c15176bfc12529a576f40153164fc0a94dd77fcd83fda159757f76e SHA512 320f4ea19057008e8efef3225a8bbe007ea18fd21076f42803dc6ecd45bc443dc5052a38063ee6859077cd8b3bc792c39ee0e2e9bd1a52ecfb8d683fd31def53
|
||||||
@@ -1,10 +1,6 @@
|
|||||||
# Copyright 2026 Shin'ya Minazuki
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
# vim: ft=sh
|
# vim: ft=sh
|
||||||
|
|
||||||
# Drop privileges to this user instead of nginx:nginx
|
|
||||||
# This is used by the -U and -u switches
|
|
||||||
# slowcgi_user="nginx"
|
|
||||||
|
|
||||||
# Options to pass to the slowcgi(8) daemon
|
# Options to pass to the slowcgi(8) daemon
|
||||||
# This overrides the default options set in /etc/init.d/slowcgi
|
# This overrides the default options set in /etc/init.d/slowcgi
|
||||||
# slowcgi_args=""
|
# slowcgi_args=""
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
# Copyright 2026 Shin'ya Minazuki
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
|
||||||
: ${slowcgi_args=""}
|
: ${slowcgi_args=""}
|
||||||
: ${slowcgi_user="nginx"}
|
|
||||||
|
|
||||||
name="FastCGI to CGI wrapper server"
|
name="FastCGI to CGI wrapper server"
|
||||||
command=/usr/sbin/slowcgi
|
command=/usr/sbin/slowcgi
|
||||||
|
|||||||
35
www-misc/slowcgi/slowcgi-7.4.ebuild
Normal file
35
www-misc/slowcgi/slowcgi-7.4.ebuild
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="FastCGI to CGI wrapper ported from OpenBSD"
|
||||||
|
HOMEPAGE="https://github.com/adaugherity/slowcgi-portable"
|
||||||
|
SRC_URI="https://mirror.chaotic.ninja/software/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="ISC"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
acct-group/nginx
|
||||||
|
acct-user/nginx
|
||||||
|
dev-libs/libbsd
|
||||||
|
dev-libs/libevent
|
||||||
|
www-servers/nginx
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" mandir="${EPREFIX}/usr/share/man" sbindir="${EPREFIX}/usr/sbin" install
|
||||||
|
newinitd "${FILESDIR}/slowcgi.initd-r1" "${PN}"
|
||||||
|
newconfd "${FILESDIR}/slowcgi.confd-r1" "${PN}"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user