diff --git a/dev-dotnet/xsp/ChangeLog b/dev-dotnet/xsp/ChangeLog new file mode 100644 index 0000000..8b8a849 --- /dev/null +++ b/dev-dotnet/xsp/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-dotnet/xsp +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*xsp-2.6.5 (20 Apr 2013) + + 20 Apr 2013; Mario Fetka + +files/2.2/configure-fix.patch, +files/2.2/mod-mono-server-r1.initd, + +files/2.2/mod-mono-server-r1.initd.txt, +files/2.2/mod-mono-server.confd, + +files/2.2/mod-mono-server.initd, +files/2.2/xsp.confd, +files/2.2/xsp.initd, + +metadata.xml, +xsp-2.6.5.ebuild: + Readd old mono for iFolder System diff --git a/dev-dotnet/xsp/Manifest b/dev-dotnet/xsp/Manifest new file mode 100644 index 0000000..67ec05c --- /dev/null +++ b/dev-dotnet/xsp/Manifest @@ -0,0 +1,11 @@ +AUX 2.2/configure-fix.patch 988 SHA256 2740c0012a0387871b9e567f8ba2602b3d6e4f611de8397c7cdeb69bd2f96294 SHA512 41b852f9a071966a704201b3804b75bd958ea8428ab383c008ffdb7e22fe37fc777e041ef9a416aa8647a7b6698e4219c549a6394b31776d06c9d58a82a8c43f WHIRLPOOL 667ce5054ba4bdc2f8e9cc3b62008cdd7ba5a29cced9a7702ffdb73e87fae26b80c6b54050130ae0f4784bb9551fb13e0a52d1b4538da89e1b8701a6182802cc +AUX 2.2/mod-mono-server-r1.initd 2071 SHA256 7998270fddc96ad33e2bbc8f125f0f17527bbbb0221f115f85f6443ede8a7552 SHA512 0a47a003de317b43256c64c69296c3d4fcc620638438c7adc6efed3d9a0543ae47f0b97f7457ea3d062f92770007eb2a84c4d901d9105cbf66e4f6ed352fa058 WHIRLPOOL 6b94af0ec35ee757fd248e90edd2855ffa02345006d000e8429f5e14dd5a9a619043d53b10bb626bb12f47bc6ff18033c6b51e7c4cc1a513c41f175331da8814 +AUX 2.2/mod-mono-server-r1.initd.txt 2071 SHA256 7998270fddc96ad33e2bbc8f125f0f17527bbbb0221f115f85f6443ede8a7552 SHA512 0a47a003de317b43256c64c69296c3d4fcc620638438c7adc6efed3d9a0543ae47f0b97f7457ea3d062f92770007eb2a84c4d901d9105cbf66e4f6ed352fa058 WHIRLPOOL 6b94af0ec35ee757fd248e90edd2855ffa02345006d000e8429f5e14dd5a9a619043d53b10bb626bb12f47bc6ff18033c6b51e7c4cc1a513c41f175331da8814 +AUX 2.2/mod-mono-server.confd 1284 SHA256 afece05a71e3a13127ecc40c0f6948dd19adf72feb093c4027d77d3e79a0b335 SHA512 853c7fa497e511ac0429bbb04754e6835ca41abf4b9d27a6a2ab692d8cb597f46bb08af9b07bfcecd8a90e03dc5359092a3d0818e32b771a39e7df57d89f60ca WHIRLPOOL 70cd604f43ef4e06f1d7a20aeba7d8cbc2b42ea1e22a1dbc82d2c360a21796c56f2d1cac13a20b324e4bca8c62c4af8f7068dd63bb1bbd2da4c7e29aa66ed37a +AUX 2.2/mod-mono-server.initd 1975 SHA256 b0e395374e09cb8a37ba3ae758bd1fac73f01e7375ffe00835dfa55f6a9414d2 SHA512 e79de86dfb654faf95d6ce80ae4d039d04662ed5cd85170635bfe7289db16c57e9935e02b0a39ec00eea038fa4b7715092593cce49974904aac9a67643a4311c WHIRLPOOL 883faf627e1bd0ab6ba8587bf971bd54d3218aa92f2c17133887fc3a7793c11470b1ea3b653e3900fe1ff9ad99a8f2c37c7f6b6afa53e8d95194da627d9d8244 +AUX 2.2/xsp.confd 364 SHA256 002d95fea743bbf18bbff3fb4af5397cf775519afaf1493384b28125c0efdc38 SHA512 00f7c6149a5def1e0afbabdf11c641d3570f0f10517e03ec582e737d43d473e7fec2e728b30e9be71f9e7b42d49b91cc55d575251691f046da9e6061b26a3e17 WHIRLPOOL d431178d742df19bb6ed4b135f73a65404d788d2d4b1c43837721b0632cb7454f87d7ff718f185dc2f4436a9625816a447a7af0bb23c9f07ea7e73aff2f81f34 +AUX 2.2/xsp.initd 853 SHA256 4555edb94baed5bd0dad72d510313a31219879df57b5ceda7b2d62a9d32b2edb SHA512 2d27d72abd87c2a186b0c16377f5f5c2ec7bff4e9b04aeb3eff0fa5401fbca6b4e12fbb5d7d4dbd3c47822f820a8b67edbd19246eca50cafbdf85ded39b1ca7a WHIRLPOOL 9a048a1c24c568e2f2586c8bfdd548ef3f2c532bfb2f37e6d3bfae9c82e63b07f3b959cd1988562808f51cc92809d28843a798714bfad4835249b5dfba867606 +DIST xsp-2.6.5.tar.bz2 264085 SHA256 fcbc43b43652f0a8a9f831dc4f79fa854a64787d37cdbc8584e2d7ccf254a636 SHA512 4828885948bd7b79aeba8992ba2cc7a1b2a37690932ef09ff61c14be161d2823d20d4d70710c8b83e6d45435a0db1673761d436a92e484e19c6f75bc232409e2 WHIRLPOOL 808d6c8517b5720ced213c66c75748be2bca984ee73aee01d647da0cb7a240d561e30a9b15db6092e11200a198710db1d2d5a981c14d4b19ef4c4138146c13c4 +EBUILD xsp-2.6.5.ebuild 1019 SHA256 ef57903ae0ae99db9f2f093df0727b4e27bc04668bf6a354f4f685ff4037893e SHA512 987bd9b8b6ebeea9a85b53a1e6af6f321110e1b96fcbcb98a3677601b7fb1383b0b96f703ffb5b0b1915d0196ba08ef9fa8b3a98a5604f346f2c2fecb8276d4b WHIRLPOOL 2d2f97e36c0d5280d44ae6b8df9c1e455be4929334ff9c4ececfac8b4286ea2f28f32ac6eac835bb263644c66169a5817b3d72ab4ca8b665087adb354c056c79 +MISC ChangeLog 492 SHA256 4f7df41d3fa8b5c9575e5d15e7dc516e85b094b8154604f3d2659c5b2971a75e SHA512 b01e17911d2a50963542c941e2f1cc128a755af0dac8fdfcb6f256f3cde6f9135f0e942948962e3040c6eb28215d61d386fd44839419acdc14264bce24d64d3d WHIRLPOOL d6ca421dd22d5b08d65ee03156f6a00942350482ae329ed00f9b6753317137d1434e58fd3adf6e41f0ebfa5ac41ac4922d51110add7718bf62a175b716ffdca7 +MISC metadata.xml 309 SHA256 1a04b4ee014e693577e1a05accf4670bf3d4461e5b5ded22dfe285fa929e0369 SHA512 35c4a860a64742157608ef403569f79c8383d9d89b04bf6793071a5d68080d8d15be2aacc897c6cb1c9eb5179a7654746a57ad0682eef1d7ad93a598cbad7de7 WHIRLPOOL 2ede1cd166f1c4f91490bdd1409423d9286101fac1b4ea7b487e35636bc3caceea46c8fc93d395c883604232bff81aa9b9ee901bbb2520af1ea199c05e3e12ee diff --git a/dev-dotnet/xsp/files/2.2/configure-fix.patch b/dev-dotnet/xsp/files/2.2/configure-fix.patch new file mode 100644 index 0000000..46be173 --- /dev/null +++ b/dev-dotnet/xsp/files/2.2/configure-fix.patch @@ -0,0 +1,30 @@ +diff -NrU5 xsp-2.2.orig/configure.in xsp-2.2/configure.in +--- xsp-2.2.orig/configure.in 2009-01-18 00:13:11.000000000 +0100 ++++ xsp-2.2/configure.in 2009-01-18 00:14:53.000000000 +0100 +@@ -15,24 +15,22 @@ + # + # --enable-tracing + # + AC_MSG_CHECKING([if tracing is requested]) + AC_ARG_ENABLE([tracing], +- AC_HELP_STRING([--enable-tracing],[enable producing XSP tracing messages]), +- [enable_tracing=$withval], +- [enable_tracing=no]) ++ [AC_HELP_STRING([--enable-tracing],[enable producing XSP tracing messages])] ) + + if test "x$enable_tracing" != "xno" ; then + AC_MSG_RESULT([yes]) + WEBTRACING="-define:WEBTRACE -define:TRACE" + else + AC_MSG_RESULT([no]) + WEBTRACING="" + fi + + AC_ARG_WITH([runtime], +- AC_HELP_STRING([--with-runtime],[use the specified runtime when xsp is installed]), ++ [AC_HELP_STRING([--with-runtime],[use the specified runtime when xsp is installed])], + [RUNTIME=$withval]) + + AC_PATH_PROG(CSC, csc, no) + AC_PATH_PROG(MCS, mcs, no) + AC_PATH_PROG(GMCS, gmcs, no) diff --git a/dev-dotnet/xsp/files/2.2/mod-mono-server-r1.initd b/dev-dotnet/xsp/files/2.2/mod-mono-server-r1.initd new file mode 100644 index 0000000..0093be3 --- /dev/null +++ b/dev-dotnet/xsp/files/2.2/mod-mono-server-r1.initd @@ -0,0 +1,83 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id: mod-mono-server-r1.initd,v 1.1 2012/01/22 12:54:29 pacho Exp $ + +depend() { + use net + after dotnet +} + +start() { + [ -z "$MonoServerRootDir" ] && \ + MonoServerRootDir="/usr/lib/xsp/test" + [ -z "$MonoApplications" ] && \ + MonoApplications="/mono:/usr/lib/xsp/test,/:." + [ -z "$UnixSocketFileName" ] && \ + UnixSocketFileName="/tmp/mod_mono_server" + [ -z "$MonoServerAddress" ] && \ + MonoServerAddress=127.0.0.1 + [ -z "$MonoServerPort" ] && \ + MonoServerPort=8080 + [ -z "$MonoServerVersion" ] && \ + MonoServerVersion=1 + + MONO_SERVER_OPTS="--root ${MonoServerRootDir} \ +--applications ${MonoApplications} --nonstop" + + [ -n "$MonoApplicationsConfigDir" ] && \ + MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \ +--appconfigdir ${MonoApplicationsConfigDir}" + + case "$MonoServerChannel" in + "tcp" ) + MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \ +--address ${MonoServerAddress} --port ${MonoServerPort}" + ;; + + "unix" ) + [ -f "$UnixSocketFileName" ] && rm -f $UnixSocketFileName + MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \ +--filename ${UnixSocketFileName}" + ;; + + * ) + eerror "Please set a valid value for MonoServerChannel" + return 1 + ;; + esac + + if [ ${MonoServerVersion} -eq 1 ]; then + modmonoserverpath=1.0/mod-mono-server.exe + elif [ ${MonoServerVersion} -eq 2 ]; then + modmonoserverpath=2.0/mod-mono-server2.exe + elif [ ${MonoServerVersion} -eq 4 ]; then + modmonoserverpath=4.0/mod-mono-server4.exe + else + eerror "MonoServerVersion was not properly set. Check your /etc/conf.d/mod-mono-server" + return 1 + fi + + export MONO_SHARED_DIR=/tmp + + ebegin "Starting mod-mono-server" + + start-stop-daemon --quiet --start \ + --background \ + --make-pidfile \ + --pidfile /var/run/aspnet/mod-mono-server.pid \ + --user aspnet \ + --exec /usr/bin/mono /usr/lib/mono/${modmonoserverpath} \ + -- $MONO_SERVER_OPTS + + eend $? +} + +stop() { + ebegin "Stopping mod-mono-server" + + start-stop-daemon --quiet --stop \ + --pidfile /var/run/aspnet/mod-mono-server.pid + + eend $? +} diff --git a/dev-dotnet/xsp/files/2.2/mod-mono-server-r1.initd.txt b/dev-dotnet/xsp/files/2.2/mod-mono-server-r1.initd.txt new file mode 100644 index 0000000..0093be3 --- /dev/null +++ b/dev-dotnet/xsp/files/2.2/mod-mono-server-r1.initd.txt @@ -0,0 +1,83 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id: mod-mono-server-r1.initd,v 1.1 2012/01/22 12:54:29 pacho Exp $ + +depend() { + use net + after dotnet +} + +start() { + [ -z "$MonoServerRootDir" ] && \ + MonoServerRootDir="/usr/lib/xsp/test" + [ -z "$MonoApplications" ] && \ + MonoApplications="/mono:/usr/lib/xsp/test,/:." + [ -z "$UnixSocketFileName" ] && \ + UnixSocketFileName="/tmp/mod_mono_server" + [ -z "$MonoServerAddress" ] && \ + MonoServerAddress=127.0.0.1 + [ -z "$MonoServerPort" ] && \ + MonoServerPort=8080 + [ -z "$MonoServerVersion" ] && \ + MonoServerVersion=1 + + MONO_SERVER_OPTS="--root ${MonoServerRootDir} \ +--applications ${MonoApplications} --nonstop" + + [ -n "$MonoApplicationsConfigDir" ] && \ + MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \ +--appconfigdir ${MonoApplicationsConfigDir}" + + case "$MonoServerChannel" in + "tcp" ) + MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \ +--address ${MonoServerAddress} --port ${MonoServerPort}" + ;; + + "unix" ) + [ -f "$UnixSocketFileName" ] && rm -f $UnixSocketFileName + MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \ +--filename ${UnixSocketFileName}" + ;; + + * ) + eerror "Please set a valid value for MonoServerChannel" + return 1 + ;; + esac + + if [ ${MonoServerVersion} -eq 1 ]; then + modmonoserverpath=1.0/mod-mono-server.exe + elif [ ${MonoServerVersion} -eq 2 ]; then + modmonoserverpath=2.0/mod-mono-server2.exe + elif [ ${MonoServerVersion} -eq 4 ]; then + modmonoserverpath=4.0/mod-mono-server4.exe + else + eerror "MonoServerVersion was not properly set. Check your /etc/conf.d/mod-mono-server" + return 1 + fi + + export MONO_SHARED_DIR=/tmp + + ebegin "Starting mod-mono-server" + + start-stop-daemon --quiet --start \ + --background \ + --make-pidfile \ + --pidfile /var/run/aspnet/mod-mono-server.pid \ + --user aspnet \ + --exec /usr/bin/mono /usr/lib/mono/${modmonoserverpath} \ + -- $MONO_SERVER_OPTS + + eend $? +} + +stop() { + ebegin "Stopping mod-mono-server" + + start-stop-daemon --quiet --stop \ + --pidfile /var/run/aspnet/mod-mono-server.pid + + eend $? +} diff --git a/dev-dotnet/xsp/files/2.2/mod-mono-server.confd b/dev-dotnet/xsp/files/2.2/mod-mono-server.confd new file mode 100644 index 0000000..7cefdbe --- /dev/null +++ b/dev-dotnet/xsp/files/2.2/mod-mono-server.confd @@ -0,0 +1,34 @@ +# Config file for /etc/init.d/mod-mono-server +# $Id: mod-mono-server.confd,v 1.1 2009/01/18 17:44:04 loki_val Exp $ + +# Configuration directives for mod-mono-server.exe. For more information on +# these variables, see the man page for xsp(1). + +# This is the document root; trailing slash is not necessary +#MonoServerRootDir="/usr/lib/xsp/test" + +# Directory to search for files with an `.webapp' extension. +#MonoApplicationsConfigDir="/usr/lib/xsp/test" + +# Comma separated list of directories (in the form virtual:real) for all +# applications managed by the server. For example: +# /app1:/var/www/localhost/htdocs/app1,/app2:/var/www/localhost/htdocs/app2 +MonoApplications="/mono:/usr/lib/xsp/test" + +# The communication channel used between mod-mono-server and mod_mono. +# unix - A unix socket +# tcp - A TCP connection +MonoServerChannel="unix" + +# When the comm. channel is "unix", the local filename used by the socket. +UnixSocketFileName="/tmp/mod_mono_server" + +# When the comm. channel is "tcp", IP address for the server to listen on. +#MonoServerAddress=127.0.0.1 + +# When the comm. channel is "tcp", port for the server to listen on. +#MonoServerPort=8080 + +# If you want to host .NET 2.0 applications you have to set this to 2. +# Otherwise, leave it unchaged +MonoServerVersion=1 diff --git a/dev-dotnet/xsp/files/2.2/mod-mono-server.initd b/dev-dotnet/xsp/files/2.2/mod-mono-server.initd new file mode 100644 index 0000000..b3b364e --- /dev/null +++ b/dev-dotnet/xsp/files/2.2/mod-mono-server.initd @@ -0,0 +1,81 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id: mod-mono-server.initd,v 1.1 2009/01/18 17:44:04 loki_val Exp $ + +depend() { + use net + after dotnet +} + +start() { + [ -z "$MonoServerRootDir" ] && \ + MonoServerRootDir="/usr/lib/xsp/test" + [ -z "$MonoApplications" ] && \ + MonoApplications="/mono:/usr/lib/xsp/test,/:." + [ -z "$UnixSocketFileName" ] && \ + UnixSocketFileName="/tmp/mod_mono_server" + [ -z "$MonoServerAddress" ] && \ + MonoServerAddress=127.0.0.1 + [ -z "$MonoServerPort" ] && \ + MonoServerPort=8080 + [ -z "$MonoServerVersion" ] && \ + MonoServerVersion=1 + + MONO_SERVER_OPTS="--root ${MonoServerRootDir} \ +--applications ${MonoApplications} --nonstop" + + [ -n "$MonoApplicationsConfigDir" ] && \ + MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \ +--appconfigdir ${MonoApplicationsConfigDir}" + + case "$MonoServerChannel" in + "tcp" ) + MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \ +--address ${MonoServerAddress} --port ${MonoServerPort}" + ;; + + "unix" ) + [ -f "$UnixSocketFileName" ] && rm -f $UnixSocketFileName + MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \ +--filename ${UnixSocketFileName}" + ;; + + * ) + eerror "Please set a valid value for MonoServerChannel" + return 1 + ;; + esac + + if [ ${MonoServerVersion} -eq 1 ]; then + modmonoserverpath=1.0/mod-mono-server.exe + elif [ ${MonoServerVersion} -eq 2 ]; then + modmonoserverpath=2.0/mod-mono-server2.exe + else + eerror "MonoServerVersion was not properly set. Check your /etc/conf.d/xsp" + return 1 + fi + + export MONO_SHARED_DIR=/tmp + + ebegin "Starting mod-mono-server" + + start-stop-daemon --quiet --start \ + --background \ + --make-pidfile \ + --pidfile /var/run/aspnet/mod-mono-server.pid \ + --chuid aspnet \ + --exec /usr/bin/mono /usr/lib/mono/${modmonoserverpath} \ + -- $MONO_SERVER_OPTS + + eend $? +} + +stop() { + ebegin "Stopping mod-mono-server" + + start-stop-daemon -o --quiet --stop \ + --pidfile /var/run/aspnet/mod-mono-server.pid + + eend $? +} diff --git a/dev-dotnet/xsp/files/2.2/xsp.confd b/dev-dotnet/xsp/files/2.2/xsp.confd new file mode 100644 index 0000000..45a79a5 --- /dev/null +++ b/dev-dotnet/xsp/files/2.2/xsp.confd @@ -0,0 +1,12 @@ +# Config file for /etc/init.d/xsp +# $Id: xsp.confd,v 1.1 2009/01/18 17:44:04 loki_val Exp $ + +# This is the document root; trailing slash is not necessary +MonoServerRoot=/usr/lib/xsp/test + +# Port for the server to run on +MonoServerPort=8000 + +# If you want to host .NET 2.0 applications you have to set this to 2. +# Otherwise, leave it unchanged +MonoServerVersion=1 diff --git a/dev-dotnet/xsp/files/2.2/xsp.initd b/dev-dotnet/xsp/files/2.2/xsp.initd new file mode 100644 index 0000000..8b102e5 --- /dev/null +++ b/dev-dotnet/xsp/files/2.2/xsp.initd @@ -0,0 +1,38 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id: xsp.initd,v 1.1 2009/01/18 17:44:04 loki_val Exp $ + +depend() { + need net + after dotnet +} + +start() { + ebegin "Starting xsp" + + if [ ${MonoServerVersion} -eq 1 ]; then + xsppath=1.0/xsp.exe + elif [ ${MonoServerVersion} -eq 2 ]; then + xsppath=2.0/xsp2.exe + else + eerror "MonoServerVersion was not properly set. Check your config file" + return 1 + fi + + start-stop-daemon --quiet --start \ + --background \ + --make-pidfile \ + --pidfile /var/run/aspnet/xsp.pid \ + --chuid aspnet \ + --exec /usr/bin/mono /usr/lib/mono/${xsppath} -- --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 0000000..c264eda --- /dev/null +++ b/dev-dotnet/xsp/metadata.xml @@ -0,0 +1,9 @@ + + + + dotnet + + XSP is a standalone web server written in C# that can be used to run + your ASP.NET applications. + + diff --git a/dev-dotnet/xsp/xsp-2.6.5.ebuild b/dev-dotnet/xsp/xsp-2.6.5.ebuild new file mode 100644 index 0000000..51d5bff --- /dev/null +++ b/dev-dotnet/xsp/xsp-2.6.5.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/Attic/xsp-2.6.5.ebuild,v 1.5 2011/07/08 09:59:55 pacho dead $ + +EAPI=2 + +inherit go-mono mono + +PATCHDIR="${FILESDIR}/2.2/" + +DESCRIPTION="XSP is a small web server that can host ASP.NET pages" +HOMEPAGE="http://www.go-mono.com/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +IUSE="" + +RDEPEND="dev-db/sqlite:3" +DEPEND="${RDEPEND}" + +MAKEOPTS="${MAKEOPTS} -j1" + +pkg_preinst() { + enewgroup aspnet + # Give aspnet home dir of /tmp since it must create ~/.wapi + enewuser aspnet -1 -1 /tmp aspnet +} + +src_install() { + mv_command="cp -ar" go-mono_src_install + newinitd "${PATCHDIR}"/xsp.initd xsp || die + newinitd "${PATCHDIR}"/mod-mono-server.initd mod-mono-server || die + newconfd "${PATCHDIR}"/xsp.confd xsp || die + newconfd "${PATCHDIR}"/mod-mono-server.confd mod-mono-server || die + + keepdir /var/run/aspnet +} + +pkg_postinst() { + chown aspnet:aspnet /var/run/aspnet +}