From: | "Pacho Ramos (pacho)" <pacho@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-misc/fcgiwrap: fcgiwrap-1.1.0-r1.ebuild ChangeLog |
Date: | Fri, 02 May 2014 10:40:53 |
Message-Id: | 20140502104049.6EDB82004C@flycatcher.gentoo.org |
1 | pacho 14/05/02 10:40:49 |
2 | |
3 | Modified: ChangeLog |
4 | Added: fcgiwrap-1.1.0-r1.ebuild |
5 | Log: |
6 | Fix unit file and automagic installation of them (#508914 by Alex Xu) |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 | |
10 | Revision Changes Path |
11 | 1.16 www-misc/fcgiwrap/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/ChangeLog?rev=1.16&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/ChangeLog?rev=1.16&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/ChangeLog?r1=1.15&r2=1.16 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/ChangeLog,v |
20 | retrieving revision 1.15 |
21 | retrieving revision 1.16 |
22 | diff -u -r1.15 -r1.16 |
23 | --- ChangeLog 13 Oct 2013 10:19:57 -0000 1.15 |
24 | +++ ChangeLog 2 May 2014 10:40:49 -0000 1.16 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for www-misc/fcgiwrap |
27 | -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/ChangeLog,v 1.15 2013/10/13 10:19:57 tomwij Exp $ |
29 | +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/ChangeLog,v 1.16 2014/05/02 10:40:49 pacho Exp $ |
31 | + |
32 | +*fcgiwrap-1.1.0-r1 (02 May 2014) |
33 | + |
34 | + 02 May 2014; Pacho Ramos <pacho@g.o> +fcgiwrap-1.1.0-r1.ebuild: |
35 | + Fix unit file and automagic installation of them (#508914 by Alex Xu) |
36 | |
37 | 13 Oct 2013; Tom Wijsman <TomWij@g.o> metadata.xml: |
38 | Updated Nikoli's e-mail address for easier automatic assignment. |
39 | |
40 | |
41 | |
42 | 1.1 www-misc/fcgiwrap/fcgiwrap-1.1.0-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-1.1.0-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-1.1.0-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: fcgiwrap-1.1.0-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2014 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $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 $ |
52 | |
53 | EAPI="5" |
54 | |
55 | [[ ${PV} = *9999* ]] && VCS_ECLASS="git" || VCS_ECLASS="" |
56 | inherit autotools systemd toolchain-funcs ${VCS_ECLASS} |
57 | |
58 | DESCRIPTION="Simple FastCGI wrapper for CGI scripts (CGI support for nginx)" |
59 | HOMEPAGE="http://nginx.localdomain.pl/wiki/FcgiWrap" |
60 | |
61 | LICENSE="BSD" |
62 | SLOT="0" |
63 | IUSE="systemd" |
64 | |
65 | if [[ ${PV} == *9999* ]]; then |
66 | EGIT_REPO_URI="git://github.com/gnosek/${PN}.git" |
67 | |
68 | KEYWORDS="" |
69 | else |
70 | SRC_URI="https://github.com/gnosek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
71 | KEYWORDS="~amd64 ~x86" |
72 | fi |
73 | |
74 | RDEPEND="dev-libs/fcgi" |
75 | DEPEND="${RDEPEND} |
76 | virtual/pkgconfig" |
77 | |
78 | DOCS=( README.rst ) |
79 | |
80 | src_prepare() { |
81 | sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \ |
82 | -i Makefile.in || die "sed failed" |
83 | tc-export CC |
84 | |
85 | # Fix systemd units for Gentoo |
86 | sed -i -e '/User/d' systemd/fcgiwrap.service || die |
87 | sed -i -e '/Group/d' systemd/fcgiwrap.service || die |
88 | |
89 | eautoreconf |
90 | } |
91 | |
92 | src_configure() { |
93 | econf \ |
94 | $(use_with systemd) \ |
95 | "$(systemd_with_unitdir)" |
96 | } |
97 | |
98 | pkg_postinst() { |
99 | einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.' |
100 | } |