/[gentoo-x86]/dev-dotnet/xsp/xsp-2.10.2.ebuild
Gentoo

Contents of /dev-dotnet/xsp/xsp-2.10.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Sep 15 12:46:53 2012 UTC (8 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Fix Connections leaking in Mono.Webserver.FastCgi, bug #432750 by gentoo at pasichnyk dot net. Drop old.

(Portage version: 2.1.11.17/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/xsp-2.10.2.ebuild,v 1.5 2012/06/04 07:12:22 zmedico Exp $
4
5 EAPI=2
6
7 inherit go-mono mono user
8
9 PATCHDIR="${FILESDIR}/2.2/"
10
11 DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
12 HOMEPAGE="http://www.mono-project.com/ASP.NET"
13
14 LICENSE="MIT"
15 SLOT="0"
16 KEYWORDS="amd64 ppc x86"
17
18 IUSE=""
19
20 RDEPEND="dev-db/sqlite:3"
21 DEPEND="${RDEPEND}"
22
23 MAKEOPTS="${MAKEOPTS} -j1"
24
25 pkg_preinst() {
26 enewgroup aspnet
27 # Give aspnet home dir of /tmp since it must create ~/.wapi
28 enewuser aspnet -1 -1 /tmp aspnet
29 }
30
31 src_install() {
32 mv_command="cp -ar" go-mono_src_install
33 newinitd "${PATCHDIR}"/xsp.initd xsp || die
34 newinitd "${PATCHDIR}"/mod-mono-server.initd mod-mono-server || die
35 newconfd "${PATCHDIR}"/xsp.confd xsp || die
36 newconfd "${PATCHDIR}"/mod-mono-server.confd mod-mono-server || die
37
38 keepdir /var/run/aspnet
39 }
40
41 pkg_postinst() {
42 chown aspnet:aspnet /var/run/aspnet
43 }

  ViewVC Help
Powered by ViewVC 1.1.13