summaryrefslogtreecommitdiff
path: root/www-misc/fcgiwrap
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-misc/fcgiwrap
reinit the tree, so we can have metadata
Diffstat (limited to 'www-misc/fcgiwrap')
-rw-r--r--www-misc/fcgiwrap/Manifest8
-rw-r--r--www-misc/fcgiwrap/fcgiwrap-1.1.0-r1.ebuild58
-rw-r--r--www-misc/fcgiwrap/fcgiwrap-1.1.0_pre20150419.ebuild63
-rw-r--r--www-misc/fcgiwrap/fcgiwrap-9999.ebuild59
-rw-r--r--www-misc/fcgiwrap/metadata.xml13
5 files changed, 201 insertions, 0 deletions
diff --git a/www-misc/fcgiwrap/Manifest b/www-misc/fcgiwrap/Manifest
new file mode 100644
index 000000000000..650caa309641
--- /dev/null
+++ b/www-misc/fcgiwrap/Manifest
@@ -0,0 +1,8 @@
+DIST fcgiwrap-1.1.0.tar.gz 9924 SHA256 4c7de0db2634c38297d5fcef61ab4a3e21856dd7247d49c33d9b19542bd1c61f SHA512 b8d35762d1d3c94a67602290b0092f0c38cffbbcd3dbc16597abf8b92172909b04450c238de2e430e841a17dd47fdd48d6a001f77539966980ef1af61e447ddc WHIRLPOOL 0df7ab6de6b97db0e516f2ec79185391f0cd2ca2f3ea81b88739546f41a613be3e469394baf3901708b337c8fc7145529e0afb8e884b9ca52d0fba664487e7c0
+DIST fcgiwrap-1.1.0_pre20150419.tar.gz 10834 SHA256 2aefec1bac8cb6131ff994dee7440a3e12f7761bf35152ceb38c472cb4becf9a SHA512 48df3f0b5ad15d172b7ee883d53c59ecbd78c0c401ef1452df8fc03af1a7aed153464b2515ca18881af70f6baf6c80e0b405d1dde4888a20397b9db272ea6ba4 WHIRLPOOL 83aa10235c232efc96af3ae7c37da0565d34183e965733512ec2b8c7f94b29989cc9285adf35f69ada0acf13ff27641e37fa64ff676a3890853164dcbe13c852
+EBUILD fcgiwrap-1.1.0-r1.ebuild 1313 SHA256 a4c1b6d8ef5fcf07d93f94ec158ec1294cd532a1b07ddc59227af239c5fef170 SHA512 82c1d923eaf31578f7bd53beb1e342773dcb0d6d151f892c1e0281944c4bb91b5a9f65075b23045844f7374ac8ceb4948dfc92577060e0645355f1a7f520ae31 WHIRLPOOL 7042481883029dbda435a33d797b9b55dbacc82039539f96c5fda436dc5ca7d63da35428a55478cc91b9f14dcee7c5d1e7f6839e5ee1e45650c409c2fa08ed0b
+EBUILD fcgiwrap-1.1.0_pre20150419.ebuild 1471 SHA256 969ece1ae48b4095189ac6a104821eacd64b5957bc89f49e3a7936449d30257f SHA512 abbcfea26e21a59350035aec6c6ea3d109a56735bc8a00de81226d7e73afe39f5951ce9b3537118f9c2e678e518fa5af5caad4b9af05a12070bd74d02109c211 WHIRLPOOL da8ad47571aacbe1f0906a6567a013fdfeadc6239f22570ae6f924b2f1b3227e62803ab96183dcc8e88cc0671b989ebc3bdd236ad6aa463a9513711a451a22cb
+EBUILD fcgiwrap-9999.ebuild 1361 SHA256 e6c9524edc15014640ee42bc1edd04b39469ade26b6d471875b556573a46318a SHA512 0271ad94f88ec1c158f6c1e52e7037ada92f5c29f872eb8941b42d215c4465642e8ca7c8a905f4dc65fa02559f2995d42225fb048dc0a9ec0833b36d60d87e32 WHIRLPOOL 2ce03af86009c08ea0bd9e658d0777c0ea1ec2b36564cb4968842512230ee85fdf5df8838097471de2b535eb7d141f7bb029831a35e9b821773263fac9e32c33
+MISC ChangeLog 3415 SHA256 2c930316f614bdf7c9d4a26775a53175fa8136a941c5e1b0e9be261fd0815856 SHA512 acc2ce5bb43061fa3626a5d198d69089f571fa2ccf5168a6154c560929f293b7ef873e4c85692fce513ad643c8136e0b2cd1e43824a936c49c76a8a47068893d WHIRLPOOL 8012001d2c5e346cf4d0e81c49a6aa3f0c0144c8171770dbaafc06d27f8ec7553c9913e7b4ae65b7a4c13009a37b1a3988844d362dd90d8f1ee47207d0a0a8e8
+MISC ChangeLog-2015 3151 SHA256 80c748fb9317ed3bc160ef63d123237859f9d9d5cd2941c43e3ebf397301ecb0 SHA512 3ac0b720240431c34fa8bcd8d7fa76a0a33f945e592e8325cfa5f349387815fc3b588274a6ab5ec62ad27801623b4b5c131c07efb037cddb430c9df00ba5785a WHIRLPOOL ae86261266f31b6554f1e019df1b52eb4bacc48dbe7bd8fc667864531bc1691d61dd1a8e41b3dbd2d81f23cf2f6ad8c4e5f17239114e2f69220b3090ec90db3c
+MISC metadata.xml 458 SHA256 36fe0becd3a4300693f5f11364acd85b657cb95bdae17709b36862479880652a SHA512 d668390a3f179b243abeed455b9fe85eaef426848c1484572a564d1d631835ddd069046bbd84f5841ce60eadf81866ed69b60ce0b4bb301a91f5695441c3a1c9 WHIRLPOOL 6e987c9ebe4bea1c6dd68645839fde9eae68df2924392921dfd44ad4426a605d8961170d092a9686e2e579e4c929f14822abbd28f2a07cfe83e27543ba6d9964
diff --git a/www-misc/fcgiwrap/fcgiwrap-1.1.0-r1.ebuild b/www-misc/fcgiwrap/fcgiwrap-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..e30a45f61524
--- /dev/null
+++ b/www-misc/fcgiwrap/fcgiwrap-1.1.0-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+[[ ${PV} = *9999* ]] && VCS_ECLASS="git-r3" || VCS_ECLASS=""
+inherit autotools systemd toolchain-funcs ${VCS_ECLASS}
+
+DESCRIPTION="Simple FastCGI wrapper for CGI scripts (CGI support for nginx)"
+HOMEPAGE="https://github.com/gnosek/fcgiwrap"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="systemd"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/gnosek/${PN}.git"
+else
+ SRC_URI="https://github.com/gnosek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="amd64 ~arm x86"
+fi
+
+RDEPEND="
+ dev-libs/fcgi
+ systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( README.rst )
+
+src_prepare() {
+ sed -e "s/-Werror//" \
+ -i configure.ac || die "sed failed"
+
+ sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
+ -i Makefile.in || die "sed failed"
+
+ sed -e "s/libsystemd-daemon/libsystemd/" \
+ -i configure.ac || 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) \
+ "$(systemd_with_unitdir)"
+}
+
+pkg_postinst() {
+ einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.'
+}
diff --git a/www-misc/fcgiwrap/fcgiwrap-1.1.0_pre20150419.ebuild b/www-misc/fcgiwrap/fcgiwrap-1.1.0_pre20150419.ebuild
new file mode 100644
index 000000000000..b6310e79a9d5
--- /dev/null
+++ b/www-misc/fcgiwrap/fcgiwrap-1.1.0_pre20150419.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+[[ ${PV} = *9999* ]] && VCS_ECLASS="git-r3" || VCS_ECLASS=""
+inherit autotools systemd toolchain-funcs ${VCS_ECLASS}
+
+DESCRIPTION="Simple FastCGI wrapper for CGI scripts (CGI support for nginx)"
+HOMEPAGE="https://github.com/gnosek/fcgiwrap"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="systemd"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/gnosek/${PN}.git"
+else
+ MY_REV="99c942c90063c73734e56bacaa65f947772d9186"
+ MY_P="gnosek-fcgiwrap-${MY_REV:0:7}"
+ SRC_URI="https://github.com/gnosek/${PN}/tarball/${MY_REV} -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+RDEPEND="
+ dev-libs/fcgi
+ systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( README.rst )
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed -e "s/-Werror//" \
+ -i configure.ac || die "sed failed"
+
+ sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
+ -i Makefile.in || die "sed failed"
+
+ sed -e "s/libsystemd-daemon/libsystemd/" \
+ -i configure.ac || 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
+
+ eapply_user
+ 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/fcgiwrap-9999.ebuild b/www-misc/fcgiwrap/fcgiwrap-9999.ebuild
new file mode 100644
index 000000000000..a51f3f4835ab
--- /dev/null
+++ b/www-misc/fcgiwrap/fcgiwrap-9999.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+[[ ${PV} = *9999* ]] && VCS_ECLASS="git-r3" || VCS_ECLASS=""
+inherit autotools systemd toolchain-funcs ${VCS_ECLASS}
+
+DESCRIPTION="Simple FastCGI wrapper for CGI scripts (CGI support for nginx)"
+HOMEPAGE="https://github.com/gnosek/fcgiwrap"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="systemd"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/gnosek/${PN}.git"
+else
+ SRC_URI="https://github.com/gnosek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+RDEPEND="
+ dev-libs/fcgi
+ systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( README.rst )
+
+src_prepare() {
+ sed -e "s/-Werror//" \
+ -i configure.ac || die "sed failed"
+
+ sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
+ -i Makefile.in || die "sed failed"
+
+ sed -e "s/libsystemd-daemon/libsystemd/" \
+ -i configure.ac || 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
+
+ eapply_user
+ 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/metadata.xml b/www-misc/fcgiwrap/metadata.xml
new file mode 100644
index 000000000000..3f9aecf50673
--- /dev/null
+++ b/www-misc/fcgiwrap/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+ <longdescription lang="en">
+ fcgiwrap is a simple server for running CGI applications over FastCGI. It
+ hopes to provide clean CGI support to Nginx (and other web servers that may
+ need it).
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gnosek/fcgiwrap</remote-id>
+ </upstream>
+</pkgmetadata>