Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-misc/fcgiwrap: metadata.xml ChangeLog fcgiwrap-9999.ebuild fcgiwrap-1.0.2-r1.ebuild
Date: Tue, 29 Jun 2010 13:18:04
Message-Id: 20100629131800.189332C621@corvid.gentoo.org
1 pva 10/06/29 13:17:59
2
3 Added: metadata.xml ChangeLog fcgiwrap-9999.ebuild
4 fcgiwrap-1.0.2-r1.ebuild
5 Log:
6 Initial import, bug #325413, thank Nikoli for this job.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 www-misc/fcgiwrap/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd></herd>
21 <maintainer>
22 <email>pva@g.o</email>
23 <name>Peter Volkov</name>
24 </maintainer>
25 <maintainer>
26 <email>nikoli@×××××××.com</email>
27 <name>Nikoli</name>
28 </maintainer>
29 <longdescription lang="en">
30 fcgiwrap is a simple server for running CGI applications over FastCGI. It
31 hopes to provide clean CGI support to Nginx (and other web servers that may
32 need it).
33 </longdescription>
34 </pkgmetadata>
35
36
37
38
39 1.1 www-misc/fcgiwrap/ChangeLog
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/ChangeLog?rev=1.1&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/ChangeLog?rev=1.1&content-type=text/plain
43
44 Index: ChangeLog
45 ===================================================================
46 # ChangeLog for www-misc/fcgiwrap
47 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
48 # $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/ChangeLog,v 1.1 2010/06/29 13:17:59 pva Exp $
49
50 *fcgiwrap-9999 (29 Jun 2010)
51 *fcgiwrap-1.0.2-r1 (29 Jun 2010)
52
53 29 Jun 2010; Peter Volkov <pva@g.o> +fcgiwrap-1.0.2-r1.ebuild,
54 +fcgiwrap-9999.ebuild, +metadata.xml:
55 Initial import, bug #325413, thank Nikoli for this job.
56
57
58
59
60 1.1 www-misc/fcgiwrap/fcgiwrap-9999.ebuild
61
62 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-9999.ebuild?rev=1.1&view=markup
63 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-9999.ebuild?rev=1.1&content-type=text/plain
64
65 Index: fcgiwrap-9999.ebuild
66 ===================================================================
67 # Copyright 1999-2010 Gentoo Foundation
68 # Distributed under the terms of the GNU General Public License v2
69 # $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-9999.ebuild,v 1.1 2010/06/29 13:17:59 pva Exp $
70
71 EAPI="3"
72
73 [[ ${PV} = *9999* ]] && VCS_ECLASS="git" || VCS_ECLASS=""
74 inherit autotools ${VCS_ECLASS}
75
76 DESCRIPTION="Simple FastCGI wrapper for CGI scripts (CGI support for nginx)"
77 HOMEPAGE="http://nginx.localdomain.pl/wiki/FcgiWrap"
78
79 LICENSE="BSD"
80 SLOT="0"
81 IUSE=""
82
83 if [[ ${PV} == *9999* ]]; then
84 EGIT_REPO_URI="git://github.com/gnosek/${PN}.git"
85
86 KEYWORDS=""
87 else
88 MY_REV="2e301c8"
89 SRC_URI="http://download.github.com/gnosek-${PN}-v${PV}-1-g${MY_REV}.tar.gz -> ${P}.tar.gz"
90 S="${WORKDIR}/gnosek-${PN}-${MY_REV}"
91
92 KEYWORDS="~amd64 ~x86"
93 fi
94
95 DEPEND="dev-libs/fcgi"
96 RDEPEND="${DEPEND}"
97
98 src_prepare() {
99 sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
100 -i Makefile.in || die "sed failed"
101
102 eautoreconf
103 }
104
105 src_install() {
106 einstall DESTDIR="${D}"
107
108 dodoc README.rst
109 }
110
111 pkg_postinst() {
112 einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.'
113 }
114
115
116
117 1.1 www-misc/fcgiwrap/fcgiwrap-1.0.2-r1.ebuild
118
119 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-1.0.2-r1.ebuild?rev=1.1&view=markup
120 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-1.0.2-r1.ebuild?rev=1.1&content-type=text/plain
121
122 Index: fcgiwrap-1.0.2-r1.ebuild
123 ===================================================================
124 # Copyright 1999-2010 Gentoo Foundation
125 # Distributed under the terms of the GNU General Public License v2
126 # $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-1.0.2-r1.ebuild,v 1.1 2010/06/29 13:17:59 pva Exp $
127
128 EAPI="3"
129
130 [[ ${PV} = *9999* ]] && VCS_ECLASS="git" || VCS_ECLASS=""
131 inherit autotools ${VCS_ECLASS}
132
133 DESCRIPTION="Simple FastCGI wrapper for CGI scripts (CGI support for nginx)"
134 HOMEPAGE="http://nginx.localdomain.pl/wiki/FcgiWrap"
135
136 LICENSE="BSD"
137 SLOT="0"
138 IUSE=""
139
140 if [[ ${PV} == *9999* ]]; then
141 EGIT_REPO_URI="git://github.com/gnosek/${PN}.git"
142
143 KEYWORDS=""
144 else
145 MY_REV="2e301c8"
146 SRC_URI="http://download.github.com/gnosek-${PN}-v${PV}-1-g${MY_REV}.tar.gz -> ${P}.tar.gz"
147 S="${WORKDIR}/gnosek-${PN}-${MY_REV}"
148
149 KEYWORDS="~amd64 ~x86"
150 fi
151
152 DEPEND="dev-libs/fcgi"
153 RDEPEND="${DEPEND}"
154
155 src_prepare() {
156 sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
157 -i Makefile.in || die "sed failed"
158
159 eautoreconf
160 }
161
162 src_install() {
163 einstall DESTDIR="${D}"
164
165 dodoc README.rst
166 }
167
168 pkg_postinst() {
169 einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.'
170 }