diff options
author | Peter Johanson <latexer@gentoo.org> | 2004-05-21 20:18:45 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2004-05-21 20:18:45 +0000 |
commit | 6487ef9179c4a49c214de05cc45bd78b65b48dd5 (patch) | |
tree | d58809b7b717209857ca81707b80d380e199b488 /dev-dotnet | |
parent | add in vim 6.3b beta (diff) | |
download | gentoo-2-6487ef9179c4a49c214de05cc45bd78b65b48dd5.tar.gz gentoo-2-6487ef9179c4a49c214de05cc45bd78b65b48dd5.tar.bz2 gentoo-2-6487ef9179c4a49c214de05cc45bd78b65b48dd5.zip |
Initial commit. Thanks to every on bug #41652 for the ebuilds, script, etc.
Diffstat (limited to 'dev-dotnet')
-rw-r--r-- | dev-dotnet/xsp/ChangeLog | 10 | ||||
-rw-r--r-- | dev-dotnet/xsp/Manifest | 4 | ||||
-rw-r--r-- | dev-dotnet/xsp/files/digest-xsp-0.13 | 1 | ||||
-rw-r--r-- | dev-dotnet/xsp/files/xsp.confd | 11 | ||||
-rw-r--r-- | dev-dotnet/xsp/files/xsp.initd | 29 | ||||
-rw-r--r-- | dev-dotnet/xsp/metadata.xml | 8 | ||||
-rw-r--r-- | dev-dotnet/xsp/xsp-0.13.ebuild | 41 |
7 files changed, 104 insertions, 0 deletions
diff --git a/dev-dotnet/xsp/ChangeLog b/dev-dotnet/xsp/ChangeLog new file mode 100644 index 000000000000..0ed172770c7e --- /dev/null +++ b/dev-dotnet/xsp/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-dotnet/xsp +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/ChangeLog,v 1.1 2004/05/21 20:18:45 latexer Exp $ + +*xsp-0.13 (21 May 2004) + + 21 May 2004; Peter Johanson <latexer@gentoo.org> metadata.xml, + xsp-0.13.ebuild, files/xsp.confd, files/xsp.initd: + Initial commit. Thanks to everyone in bug #41652 for the ebuilds, inits, etc. + diff --git a/dev-dotnet/xsp/Manifest b/dev-dotnet/xsp/Manifest new file mode 100644 index 000000000000..3adbcdc48eba --- /dev/null +++ b/dev-dotnet/xsp/Manifest @@ -0,0 +1,4 @@ +MD5 7decedae0dc98b603c99aa034e31f969 xsp-0.13.ebuild 960 +MD5 b9ad1f9879e49c0e9dd64197c018cd0e files/digest-xsp-0.13 60 +MD5 2e90169830cdb771c77b1fbd5b3607d2 files/xsp.confd 205 +MD5 57972edb2081b5f0d219a940bdd54b0d files/xsp.initd 584 diff --git a/dev-dotnet/xsp/files/digest-xsp-0.13 b/dev-dotnet/xsp/files/digest-xsp-0.13 new file mode 100644 index 000000000000..a0652e1960be --- /dev/null +++ b/dev-dotnet/xsp/files/digest-xsp-0.13 @@ -0,0 +1 @@ +MD5 501ed946397b6c823bace747931fd1b9 xsp-0.13.tar.gz 234328 diff --git a/dev-dotnet/xsp/files/xsp.confd b/dev-dotnet/xsp/files/xsp.confd new file mode 100644 index 000000000000..b4f06edfc819 --- /dev/null +++ b/dev-dotnet/xsp/files/xsp.confd @@ -0,0 +1,11 @@ +# Config file for /etc/init.d/xsp +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/files/xsp.confd,v 1.1 2004/05/21 20:18:45 latexer Exp $ + +# This is the document root; trailing slash is not necessary +MonoServerRoot=/usr/share/doc/xsp/test + +# Port for the server to run on +MonoServerPort=8000 + + + diff --git a/dev-dotnet/xsp/files/xsp.initd b/dev-dotnet/xsp/files/xsp.initd new file mode 100644 index 000000000000..67d96e519dc7 --- /dev/null +++ b/dev-dotnet/xsp/files/xsp.initd @@ -0,0 +1,29 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/files/xsp.initd,v 1.1 2004/05/21 20:18:45 latexer Exp $ + +depend() { + need net + after dotnet +} + +start() { + ebegin "Starting xsp" + + start-stop-daemon --quiet --start \ + --background \ + --make-pidfile \ + --pidfile /var/run/aspnet/xsp.pid \ + --chuid aspnet \ + --exec /usr/bin/mono /usr/bin/xsp.exe -- --root ${MonoServerRoot} --port ${MonoServerPort} --nonstop + eend $? +} + +stop() { + ebegin "Stopping xsp" + start-stop-daemon -o --quiet --stop \ + --pidfile /var/run/aspnet/xsp.pid + eend $? +} + diff --git a/dev-dotnet/xsp/metadata.xml b/dev-dotnet/xsp/metadata.xml new file mode 100644 index 000000000000..ba7eb92cb2fb --- /dev/null +++ b/dev-dotnet/xsp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dotnet</herd> +<maintainer> + <email>latexer@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/dev-dotnet/xsp/xsp-0.13.ebuild b/dev-dotnet/xsp/xsp-0.13.ebuild new file mode 100644 index 000000000000..160aa03a718c --- /dev/null +++ b/dev-dotnet/xsp/xsp-0.13.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/xsp-0.13.ebuild,v 1.1 2004/05/21 20:18:45 latexer Exp $ + +inherit mono + +DESCRIPTION="XSP ASP.NET host" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/archive/beta1/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" + +DEPEND=">=dev-dotnet/mono-0.91" + +src_compile() { + econf || die "./configure failed!" + emake || die "make failed" +} + +src_install() { + enewgroup aspnet + + # Give aspnet home dir of /tmp since it must create ~/.wapi + enewuser aspnet -1 /bin/false /tmp aspnet + + einstall DESTDIR=${D} || die + exeinto /etc/init.d ; newexe ${FILESDIR}/xsp.initd xsp + insinto /etc/conf.d ; newins ${FILESDIR}/xsp.confd xsp + + keepdir /var/run/aspnet + + dodoc README ChangeLog AUTHORS INSTALL NEWS +} + +pkg_postinst() { + chown aspnet:aspnet /var/run/aspnet +} |