summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-05-02 10:40:50 +0000
committerPacho Ramos <pacho@gentoo.org>2014-05-02 10:40:50 +0000
commitf3fd5b8a4c1dd55333e6ff02ad4440148cee8d66 (patch)
tree3e6047328278f4f3f0889dac79c123b6f4d0dbb9 /www-misc
parentIntroduce multilib support, bug #499390. (diff)
downloadhistorical-f3fd5b8a4c1dd55333e6ff02ad4440148cee8d66.tar.gz
historical-f3fd5b8a4c1dd55333e6ff02ad4440148cee8d66.tar.bz2
historical-f3fd5b8a4c1dd55333e6ff02ad4440148cee8d66.zip
Fix unit file and automagic installation of them (#508914 by Alex Xu)
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/fcgiwrap/ChangeLog9
-rw-r--r--www-misc/fcgiwrap/Manifest13
-rw-r--r--www-misc/fcgiwrap/fcgiwrap-1.1.0-r1.ebuild52
3 files changed, 64 insertions, 10 deletions
diff --git a/www-misc/fcgiwrap/ChangeLog b/www-misc/fcgiwrap/ChangeLog
index 947ad53d6391..1df4eae0829d 100644
--- a/www-misc/fcgiwrap/ChangeLog
+++ b/www-misc/fcgiwrap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-misc/fcgiwrap
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/ChangeLog,v 1.15 2013/10/13 10:19:57 tomwij Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/ChangeLog,v 1.16 2014/05/02 10:40:49 pacho Exp $
+
+*fcgiwrap-1.1.0-r1 (02 May 2014)
+
+ 02 May 2014; Pacho Ramos <pacho@gentoo.org> +fcgiwrap-1.1.0-r1.ebuild:
+ Fix unit file and automagic installation of them (#508914 by Alex Xu)
13 Oct 2013; Tom Wijsman <TomWij@gentoo.org> metadata.xml:
Updated Nikoli's e-mail address for easier automatic assignment.
diff --git a/www-misc/fcgiwrap/Manifest b/www-misc/fcgiwrap/Manifest
index d2059fef3b34..5e7e51077075 100644
--- a/www-misc/fcgiwrap/Manifest
+++ b/www-misc/fcgiwrap/Manifest
@@ -4,18 +4,15 @@ Hash: SHA256
DIST fcgiwrap-1.0.3.tar.gz 8846 SHA256 26578d698f006f6aecc83fa9608aa0fd04dd586dab75324114ff9b5d87869e66 SHA512 795e8849f57864877933bab63b23e3dc19f71780dd696484c4f9e39cf4b9362f7c0f923fce808fd7ee1aabed989eca40ed7031732c5e369cf731ab380a2a0195 WHIRLPOOL 1705ae8b17d19140d54114eef6ba211ecc45c9c9ef2109139c4e31107d761082f76f98f6b9233b5b4d01261f2433060afb99040afa500d981c8570f418dd6992
DIST fcgiwrap-1.1.0.tar.gz 9924 SHA256 4c7de0db2634c38297d5fcef61ab4a3e21856dd7247d49c33d9b19542bd1c61f SHA512 b8d35762d1d3c94a67602290b0092f0c38cffbbcd3dbc16597abf8b92172909b04450c238de2e430e841a17dd47fdd48d6a001f77539966980ef1af61e447ddc WHIRLPOOL 0df7ab6de6b97db0e516f2ec79185391f0cd2ca2f3ea81b88739546f41a613be3e469394baf3901708b337c8fc7145529e0afb8e884b9ca52d0fba664487e7c0
EBUILD fcgiwrap-1.0.3-r1.ebuild 1065 SHA256 8313a6c7f1ec3f81db03193a9ebe3a6e973aaaf3be5f3332503f9ba92b0d5088 SHA512 5e41e7684c72efc9aa8bb84f0122f0f5d6ee27b3592159c70402056540c42553267c35ade4ee3456591d53de0086c1d0f10a1a9b1e3073138112f2a8ef5e86fa WHIRLPOOL 7bdfdc07d908ab9aaed8ca29e5fc8128d07f124fadda97e5bc1d02039a9bbe1a9335211a10ffa4c1e6ec52ce2582ca6234d6f40d5cdcc9d2a13b49a0457b0841
+EBUILD fcgiwrap-1.1.0-r1.ebuild 1262 SHA256 2b84b231f48cc70f2de1531a93693f8ab0202f6428fb0b54ae404997eb3320da SHA512 c6a53ccbdf1359a1295f63a5e9446a56fb14cc9bff48dcbf34ef2d3409e214b8decd06b2383b9ebb8639c08ea0d9a7e260e5a835e357aa0ba754b6e1d89f3ba7 WHIRLPOOL ae96747ddcf80d99d7eaf9b5c5fa0bbadda0f9d46b46d7773e863ff8464752a7db0c7d10a115bc373d2759fd7ecef775d3bbcad7af8c0caa3857b129024dfe50
EBUILD fcgiwrap-1.1.0.ebuild 1024 SHA256 75274aff8e90445c184d86e90f8d99c767d01a0ecb4d1cfc0f40f199689bcb79 SHA512 b0358b2b346cf4d682f6a78e4f41fecb25b700c4a883c9c414ba309636afbbeb4ac459c9c9ac24d81ea8f233f45e811da3317556af3d14e1c9deb60c4f61fc18 WHIRLPOOL a29adf60cbc9799b87720d3fce9aa51e28f75183ea2c8319c4fd205525821146e21f2fb970053dfe640cbc1bfdfd8b91261657e841683a08220a2ac22bc42de9
EBUILD fcgiwrap-9999.ebuild 1065 SHA256 1bc9ec95da6c0150bf6d9d4da820b331ce52b8c012bd0e94d8e6d99009f0cf3e SHA512 e38220df40d7146ca8d804d1731c1ad28ae9171cc9e47e6ed6a922d4be2935b301cd7d6e35eda797a637b049133ee98d3413b4ea0f0c6b4bdf52b8e4595907be WHIRLPOOL 28d78f21c6f705cba0ecfed82e0f0e73340e31ae8f2efda2ae1ca0e5097117008e9187881716d3d0666e047b432fc0a4a011024dcd2a2eb1f7406565690719e2
-MISC ChangeLog 2403 SHA256 47dc78ae002399d593c5b2fd5d08415f305db61a68f59281f8ac2ba7355f77b3 SHA512 e4a0fdcf1966e6c8dde5a9f8674380b01ae8d8b906fe485e3fe876ed94b3d5750160baeb2124c147db10dc5a1d6728bea0b99a214db2cf09251d07d2540393e1 WHIRLPOOL 1eeaa967d2ede9d6a31707be09f5ab65840b257bec0d1b650a5aeffb780aeaf7b102235a4b595d1f8011cf06f1f713b892551f63a2f3575ed4e6b50790fb711f
+MISC ChangeLog 2582 SHA256 c4b455939c2e6a7b2191cbeed8b4f506d1129d83ed7c45bf76db01c315762564 SHA512 5667821a868acdfaed19344c291efae72205e3f3825fcee1d72c06ce10661056a8ed942cf5b7d705c06a58856b99bc205a69fbbc6d074bf2b024ac0161253157 WHIRLPOOL a92235c2374bb2f18d9ff4efb12b6184ca72cf88f5824f52f8d5c9d22c5c6615645f27cd55efb92e295cd1ecd2013c37d037a8a8d0ec8ddeda04c9c347a5cced
MISC metadata.xml 459 SHA256 f4e4fdbf6e80838d11d4c810fa5cd7594b7a9951e10c0aa4f41ec02aebc5f6ab SHA512 27727a723b6c9000afc1921b2e01e8c0a87243b38cce8c2970830549034d46efcd59ecb5e26fb7ebd495a87352399d7882becd0e63b3f5301d1d5d97944972d5 WHIRLPOOL 68188bb4759798f8ca49dc7621ba5484e2115c89a2cbbc459229ccaefe5d3aa3983098f468ef23ceeea877e7dddefa58ed08a06d3d0fd1d967ffb895593a43cf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQEcBAEBCAAGBQJSWnPRAAoJEJWyH81tNOV9XuEIAJO+QJMb+ue2ZprPdj2EbWRj
-YpdSvx53/R2TaJYh3blb62rsv86D+VKhI0JFbePyV/AEN7wfFWIDoP/MTVEbS56m
-o5/9Gf0f2vJB6yPvpa7406CDQLwhOauQIWHECqeB/+s/uyJxYj1gsoN1tpl+pwTc
-J5eJRo9J2liH3VL4TqOSWLFxfTe2I90jRa7LQtOhup90Oi50IXzC+c9qUJRBBKlM
-x4hLKx5slwuXm1/5clnWzPucpP3YwwmxY3nvxLo2azhYsVAY5OHY8EbNiJiqJWGB
-YQgdlu0yOfyqbGrynehTeJumrGs3Q3nbbFEORCyuy6pp4PVOXjc0lp6szqqlOYw=
-=EN6W
+iEYEAREIAAYFAlNjdjIACgkQCaWpQKGI+9TR2ACfXYqRFIfEMUSz+cS98jbUOo2I
+IMcAmwSA7O3FoCE9eMP9MxNeoxN/RLUn
+=62Yz
-----END PGP SIGNATURE-----
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..e29ef3d5e1c7
--- /dev/null
+++ b/www-misc/fcgiwrap/fcgiwrap-1.1.0-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-1.1.0-r1.ebuild,v 1.1 2014/05/02 10:40:49 pacho Exp $
+
+EAPI="5"
+
+[[ ${PV} = *9999* ]] && VCS_ECLASS="git" || VCS_ECLASS=""
+inherit autotools systemd toolchain-funcs ${VCS_ECLASS}
+
+DESCRIPTION="Simple FastCGI wrapper for CGI scripts (CGI support for nginx)"
+HOMEPAGE="http://nginx.localdomain.pl/wiki/FcgiWrap"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="systemd"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="git://github.com/gnosek/${PN}.git"
+
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/gnosek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+RDEPEND="dev-libs/fcgi"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( README.rst )
+
+src_prepare() {
+ 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) \
+ "$(systemd_with_unitdir)"
+}
+
+pkg_postinst() {
+ einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.'
+}