Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 385081
Collapse All | Expand All

(-)/usr/portage/www-misc/fcgiwrap/fcgiwrap-1.0.2-r1.ebuild (-47 lines)
Lines 1-47 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $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 $
4
5
EAPI="3"
6
7
[[ ${PV} = *9999* ]] && VCS_ECLASS="git" || VCS_ECLASS=""
8
inherit autotools ${VCS_ECLASS}
9
10
DESCRIPTION="Simple FastCGI wrapper for CGI scripts (CGI support for nginx)"
11
HOMEPAGE="http://nginx.localdomain.pl/wiki/FcgiWrap"
12
13
LICENSE="BSD"
14
SLOT="0"
15
IUSE=""
16
17
if [[ ${PV} == *9999* ]]; then
18
	EGIT_REPO_URI="git://github.com/gnosek/${PN}.git"
19
20
	KEYWORDS=""
21
else
22
	MY_REV="2e301c8"
23
	SRC_URI="http://download.github.com/gnosek-${PN}-v${PV}-1-g${MY_REV}.tar.gz -> ${P}.tar.gz"
24
	S="${WORKDIR}/gnosek-${PN}-${MY_REV}"
25
26
	KEYWORDS="~amd64 ~x86"
27
fi
28
29
DEPEND="dev-libs/fcgi"
30
RDEPEND="${DEPEND}"
31
32
src_prepare() {
33
	sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
34
		-i Makefile.in || die "sed failed"
35
36
	eautoreconf
37
}
38
39
src_install() {
40
	einstall DESTDIR="${D}"
41
42
	dodoc README.rst
43
}
44
45
pkg_postinst() {
46
	einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.'
47
}
(-)/usr/portage/www-misc/fcgiwrap/fcgiwrap-1.0.3.ebuild (-8 / +4 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
1
# Copyright 1999-2011 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-1.0.3.ebuild,v 1.3 2010/09/15 16:04:24 mr_bones_ Exp $
3
# $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-1.0.3.ebuild,v 1.3 2010/09/15 16:04:24 mr_bones_ Exp $
4
4
5
EAPI="3"
5
EAPI="4"
6
6
7
[[ ${PV} = *9999* ]] && VCS_ECLASS="git" || VCS_ECLASS=""
7
[[ ${PV} = *9999* ]] && VCS_ECLASS="git" || VCS_ECLASS=""
8
inherit autotools ${VCS_ECLASS}
8
inherit autotools ${VCS_ECLASS}
Lines 30-35 Link Here
30
DEPEND="dev-libs/fcgi"
30
DEPEND="dev-libs/fcgi"
31
RDEPEND="${DEPEND}"
31
RDEPEND="${DEPEND}"
32
32
33
DOCS=( README.rst )
34
33
src_prepare() {
35
src_prepare() {
34
	sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
36
	sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
35
		-i Makefile.in || die "sed failed"
37
		-i Makefile.in || die "sed failed"
Lines 37-48 Link Here
37
	eautoreconf
39
	eautoreconf
38
}
40
}
39
41
40
src_install() {
41
	einstall DESTDIR="${D}"
42
43
	dodoc README.rst
44
}
45
46
pkg_postinst() {
42
pkg_postinst() {
47
	einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.'
43
	einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.'
48
}
44
}
(-)/usr/portage/www-misc/fcgiwrap/fcgiwrap-9999.ebuild (-11 / +7 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-9999.ebuild,v 1.2 2011/09/21 08:55:59 mgorny Exp $
3
# $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-9999.ebuild,v 1.2 2011/09/21 08:55:59 mgorny Exp $
4
4
5
EAPI="3"
5
EAPI="4"
6
6
7
[[ ${PV} = *9999* ]] && VCS_ECLASS="git-2" || VCS_ECLASS=""
7
[[ ${PV} = *9999* ]] && VCS_ECLASS="git-2" || VCS_ECLASS=""
8
inherit autotools ${VCS_ECLASS}
8
inherit autotools ${VCS_ECLASS}
Lines 15-27 Link Here
15
IUSE=""
15
IUSE=""
16
16
17
if [[ ${PV} == *9999* ]]; then
17
if [[ ${PV} == *9999* ]]; then
18
	EGIT_REPO_URI="git://github.com/gnosek/${PN}.git
18
	EGIT_REPO_URI="git://github.com/gnosek/${PN}.git"
19
		https://github.com/gnosek/${PN}.git"
20
19
21
	KEYWORDS=""
20
	KEYWORDS=""
22
else
21
else
23
	MY_REV="2e301c8"
22
	MY_REV="58ec209"
24
	SRC_URI="http://download.github.com/gnosek-${PN}-v${PV}-1-g${MY_REV}.tar.gz -> ${P}.tar.gz"
23
	#SRC_URI="http://download.github.com/gnosek-${P}-4-g${MY_REV}.tar.gz"
24
	SRC_URI="mirror://gentoo/gnosek-${P}-4-g${MY_REV}.tar.gz -> ${P}.tar.gz"
25
	S="${WORKDIR}/gnosek-${PN}-${MY_REV}"
25
	S="${WORKDIR}/gnosek-${PN}-${MY_REV}"
26
26
27
	KEYWORDS="~amd64 ~x86"
27
	KEYWORDS="~amd64 ~x86"
Lines 30-35 Link Here
30
DEPEND="dev-libs/fcgi"
30
DEPEND="dev-libs/fcgi"
31
RDEPEND="${DEPEND}"
31
RDEPEND="${DEPEND}"
32
32
33
DOCS=( README.rst )
34
33
src_prepare() {
35
src_prepare() {
34
	sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
36
	sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
35
		-i Makefile.in || die "sed failed"
37
		-i Makefile.in || die "sed failed"
Lines 37-48 Link Here
37
	eautoreconf
39
	eautoreconf
38
}
40
}
39
41
40
src_install() {
41
	einstall DESTDIR="${D}"
42
43
	dodoc README.rst
44
}
45
46
pkg_postinst() {
42
pkg_postinst() {
47
	einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.'
43
	einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.'
48
}
44
}

Return to bug 385081