aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-05-24 19:24:47 +0200
committerWynn Wolf Arbor2020-05-24 19:24:47 +0200
commit93a7deda1734d5dee44dc963a804dd797bac5fec (patch)
treec9eecb0ec78dab6c06e4919b45fc751bb6cc0021
parentbffc2f868984937e277f60965122b33f30cf17ad (diff)
downloadpramantha-93a7deda1734d5dee44dc963a804dd797bac5fec.tar.gz
www-misc/slowcgi: Add 6.7
Package-Manager: Portage-2.3.99, Repoman-2.3.22
-rw-r--r--www-misc/slowcgi/Manifest4
-rw-r--r--www-misc/slowcgi/files/slowcgi.confd1
-rw-r--r--www-misc/slowcgi/files/slowcgi.initd9
-rw-r--r--www-misc/slowcgi/metadata.xml7
-rw-r--r--www-misc/slowcgi/slowcgi-6.7.ebuild23
5 files changed, 44 insertions, 0 deletions
diff --git a/www-misc/slowcgi/Manifest b/www-misc/slowcgi/Manifest
new file mode 100644
index 0000000..50656f3
--- /dev/null
+++ b/www-misc/slowcgi/Manifest
@@ -0,0 +1,4 @@
+AUX slowcgi.confd 62 BLAKE2B 85d620a16d9d58f85c72e25f483a5cdf8ac8263f4d271b2ec159293e4da7e052e12b6f47d67f27ac1fe71065a58c61954f8825160c75b7b2a99291551a415574 SHA512 786f2e9be3fab6123d2fb13e0f8d75e991526850a7a7e2bfef82c56272f9f584157658842e08fda7ada16eda8a38fa3c03683fb211a207380466467ad8f55525
+AUX slowcgi.initd 250 BLAKE2B bc4da30f282896926dc374a169f6d4ef35525022e0864fcd778cbcdddfe701cc08bde8e385584123ac61a8c56b4711c07579fc7e791b0e98592a10844ff07779 SHA512 343ccfe9ea3d2bec667bd9ba4c7816041ff49f6e2894d447cf6dc0faad4d597fb72cb8afc53122bf5585e772ca2083bd8d6dd395fc513fc0a03039a9f352073f
+EBUILD slowcgi-6.7.ebuild 502 BLAKE2B 271547e765d705c2cc396756e8e576c209e487fb6b37501ba025e3e634f57c75c0d6993e8bed1040893a3a27c67a0dcec0e737a4afbbaaf743c2e4945d7ada96 SHA512 50c08acd8cdd7423b0dc1b1fa9fb83d7ffae015e336bf94b8c06826b53b1b7c748f883e92c483609d5b9756120ba7b69a13e9acb103a0d1705184764b3a3f7c0
+MISC metadata.xml 223 BLAKE2B 2c1cd83f1f1d25a43ea978cd66b5c9f6020889613dfaed65d6745858a45d4bf50fda775305420e41c36cafd63d63746ed894411acbced66ab8ae04906dfb8592 SHA512 4f71eacfeb2b21a4ea746ce1663777937b920e942c94eef1fe93c3557e207c9fdb2569369d56637cba563dc50179d62195db6225123ecfedc303600b8a0bb49b
diff --git a/www-misc/slowcgi/files/slowcgi.confd b/www-misc/slowcgi/files/slowcgi.confd
new file mode 100644
index 0000000..89e9e8f
--- /dev/null
+++ b/www-misc/slowcgi/files/slowcgi.confd
@@ -0,0 +1 @@
+SLOWCGI_OPTS="-d -p / -s /run/slowcgi.sock -U caddy -u caddy"
diff --git a/www-misc/slowcgi/files/slowcgi.initd b/www-misc/slowcgi/files/slowcgi.initd
new file mode 100644
index 0000000..8c983f9
--- /dev/null
+++ b/www-misc/slowcgi/files/slowcgi.initd
@@ -0,0 +1,9 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="${RC_SVCNAME}"
+command="slowcgi"
+command_args="${SLOWCGI_OPTS}"
+command_background=yes
+pidfile="/run/${RC_SVCNAME}.pid"
diff --git a/www-misc/slowcgi/metadata.xml b/www-misc/slowcgi/metadata.xml
new file mode 100644
index 0000000..c84abce
--- /dev/null
+++ b/www-misc/slowcgi/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wolf@oriole.systems</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-misc/slowcgi/slowcgi-6.7.ebuild b/www-misc/slowcgi/slowcgi-6.7.ebuild
new file mode 100644
index 0000000..6af92e1
--- /dev/null
+++ b/www-misc/slowcgi/slowcgi-6.7.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit git-r3
+
+DESCRIPTION="a FastCGI to CGI wrapper server"
+HOMEPAGE="https://git.oriole.systems/slowcgi.git"
+EGIT_REPO_URI="https://git.oriole.systems/slowcgi.git"
+EGIT_COMMIT="${PV}"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+src_install() {
+ emake PREFIX=/usr DESTDIR="${D}" install
+
+ newinitd "${FILESDIR}"/slowcgi.initd slowcgi
+ newconfd "${FILESDIR}"/slowcgi.confd slowcgi
+}