diff options
Diffstat (limited to 'dev-dotnet')
-rw-r--r-- | dev-dotnet/xsp/Manifest | 38 | ||||
-rw-r--r-- | dev-dotnet/xsp/files/1.2.5/mod-mono-server.confd | 34 | ||||
-rw-r--r-- | dev-dotnet/xsp/files/1.2.5/mod-mono-server.initd | 81 | ||||
-rw-r--r-- | dev-dotnet/xsp/files/1.2.5/xsp.confd | 12 | ||||
-rw-r--r-- | dev-dotnet/xsp/files/1.2.5/xsp.initd | 38 |
5 files changed, 196 insertions, 7 deletions
diff --git a/dev-dotnet/xsp/Manifest b/dev-dotnet/xsp/Manifest index d451c0ca348e..36011e5cd26c 100644 --- a/dev-dotnet/xsp/Manifest +++ b/dev-dotnet/xsp/Manifest @@ -49,9 +49,26 @@ AUX 1.2.4/xsp.initd 905 RMD160 10f296cfe612cb031dbed8c7a7a5b0d090db316d SHA1 567 MD5 696b752ba48148ccf7e31b0ee9654a39 files/1.2.4/xsp.initd 905 RMD160 10f296cfe612cb031dbed8c7a7a5b0d090db316d files/1.2.4/xsp.initd 905 SHA256 fa3f5c391405bc9854b80ade000f5502bdcc9424715ecc7adc2a33a0c232974d files/1.2.4/xsp.initd 905 +AUX 1.2.5/mod-mono-server.confd 1336 RMD160 f7a513b7630bdf33b370c12f4cbe0d48de2cc1a3 SHA1 eb084f4d2aced2f9b06b03f6b072c4316987bdf2 SHA256 c72c6280995aafa170ad7f62afd45fe7e4ecad727dbf60e09fa5750153be7492 +MD5 ede67830ead605cfa38a6140b5e412ae files/1.2.5/mod-mono-server.confd 1336 +RMD160 f7a513b7630bdf33b370c12f4cbe0d48de2cc1a3 files/1.2.5/mod-mono-server.confd 1336 +SHA256 c72c6280995aafa170ad7f62afd45fe7e4ecad727dbf60e09fa5750153be7492 files/1.2.5/mod-mono-server.confd 1336 +AUX 1.2.5/mod-mono-server.initd 2027 RMD160 8d707b0787bcdac075ddd07685dab7eea3bacd1b SHA1 34b9f6c3adb79d63025f2a8e7e7afa105785f7b3 SHA256 c37001d436fccabf5f343bc8f658033ec610b831ead537d9cd63455d78598c0d +MD5 5e4074fd3ad457c419d10c1332221963 files/1.2.5/mod-mono-server.initd 2027 +RMD160 8d707b0787bcdac075ddd07685dab7eea3bacd1b files/1.2.5/mod-mono-server.initd 2027 +SHA256 c37001d436fccabf5f343bc8f658033ec610b831ead537d9cd63455d78598c0d files/1.2.5/mod-mono-server.initd 2027 +AUX 1.2.5/xsp.confd 416 RMD160 80bdddea4c2423305d8f149f3ec12e201d57e4f5 SHA1 e37b482de6d3c719c6c8c5de3e9df36b6c6e1e07 SHA256 e915445f50af21f9b41a60279e715ae3b27760e4da98484e6f263530f77314fe +MD5 f3746657c15c6d6296690b82a61b49ae files/1.2.5/xsp.confd 416 +RMD160 80bdddea4c2423305d8f149f3ec12e201d57e4f5 files/1.2.5/xsp.confd 416 +SHA256 e915445f50af21f9b41a60279e715ae3b27760e4da98484e6f263530f77314fe files/1.2.5/xsp.confd 416 +AUX 1.2.5/xsp.initd 905 RMD160 10f296cfe612cb031dbed8c7a7a5b0d090db316d SHA1 5677be96ccdaf05ae53230de4a9f619b17fecc6d SHA256 fa3f5c391405bc9854b80ade000f5502bdcc9424715ecc7adc2a33a0c232974d +MD5 696b752ba48148ccf7e31b0ee9654a39 files/1.2.5/xsp.initd 905 +RMD160 10f296cfe612cb031dbed8c7a7a5b0d090db316d files/1.2.5/xsp.initd 905 +SHA256 fa3f5c391405bc9854b80ade000f5502bdcc9424715ecc7adc2a33a0c232974d files/1.2.5/xsp.initd 905 DIST xsp-1.2.1.tar.gz 230521 RMD160 51a72584a024071ea28a1691ffaa495c0a91e995 SHA1 a6378a98ff1a97333b600f850f71398df11c2db1 SHA256 76c7c03d2cf411c52e90f1b6262214865efe7d3b89d51d5277537ba6bfee2d20 DIST xsp-1.2.3.tar.gz 230891 RMD160 b475bce2cd802c162c4a3883efbf84d1ac225df9 SHA1 5006a7ef201b0fefd2c02a93f11b4fd048c83fa4 SHA256 710e9b139c9049fa56192f5d4f9da205be835ae0614e4d44e14f47a83db31deb DIST xsp-1.2.4.tar.bz2 181358 RMD160 a14569f37287149c31fc5f9f3f2a97169d7ec491 SHA1 2ecd06bae4d36f4d7b4dba0bfdb85dbcd4dded19 SHA256 89fb84c627374a74978670521576256e1a0bf95509f0af3f5e4e3408e77d4a71 +DIST xsp-1.2.5.tar.bz2 189396 RMD160 4ee53b38f38f2a0e70c8e23d788431eb7d2d5366 SHA1 39d17f3ada215090d76b88a863cc32696f18acc3 SHA256 25c246b7ed3e82a5f3562c2c15db551332830de4c238a53e3260ab7d40cd015a EBUILD xsp-1.2.1.ebuild 1369 RMD160 aff2d360e32b2d416750e993706874a4095ec1df SHA1 2945bf7dcd1eef4eaf547c40f8b7a26f45e17b7a SHA256 2a2e3406622773b2908b927f9ff527ad86c684fb492348d17c30379623c9eaab MD5 06dc1ef9291aca715fd52ce6d0951440 xsp-1.2.1.ebuild 1369 RMD160 aff2d360e32b2d416750e993706874a4095ec1df xsp-1.2.1.ebuild 1369 @@ -68,10 +85,14 @@ EBUILD xsp-1.2.4.ebuild 1386 RMD160 f41f0bee520327fa97860ee3aeca00320fcc15b4 SHA MD5 c42589e67b57fcfac3f31f4e0abd7228 xsp-1.2.4.ebuild 1386 RMD160 f41f0bee520327fa97860ee3aeca00320fcc15b4 xsp-1.2.4.ebuild 1386 SHA256 8204d9bc558b3f15523f8eb20eddc6c21b582cccf7ff2500b45a8cfeaf1478de xsp-1.2.4.ebuild 1386 -MISC ChangeLog 8163 RMD160 a744075f5e7e07f60bb3a1053a661140dc3ced47 SHA1 a4d4fb91fd45e9893e0af0b19e055dffaa4e5633 SHA256 b88aa8492f5952279f03b42c86f4cae9d6dc39893078d305c93d4ee31a322b5b -MD5 cf27e1aa004e3f94adf675decc9b40f6 ChangeLog 8163 -RMD160 a744075f5e7e07f60bb3a1053a661140dc3ced47 ChangeLog 8163 -SHA256 b88aa8492f5952279f03b42c86f4cae9d6dc39893078d305c93d4ee31a322b5b ChangeLog 8163 +EBUILD xsp-1.2.5.ebuild 1583 RMD160 25c7029b22916a63e74d0e498f8df3e808012c48 SHA1 558398d995fdf80c336acacb59833e0970ada4e1 SHA256 e5cdba82551426e9b3248557ab318bb9c573de0c57f7aa6254a9a8c601e34b87 +MD5 f9356d6276f69c5373d2d7c2c02eda04 xsp-1.2.5.ebuild 1583 +RMD160 25c7029b22916a63e74d0e498f8df3e808012c48 xsp-1.2.5.ebuild 1583 +SHA256 e5cdba82551426e9b3248557ab318bb9c573de0c57f7aa6254a9a8c601e34b87 xsp-1.2.5.ebuild 1583 +MISC ChangeLog 8398 RMD160 c238e64efef73c54b5e218257a34e6a771adc6ac SHA1 e5fb4b84960bc8026d9f17d5e32fa7526afef1e3 SHA256 94e889acaae1cd92e73c38333f6b0a19fb52f46a6c2c313ecb3674fed21d4597 +MD5 b72f33418bd309af8ab95c1685ec8bbd ChangeLog 8398 +RMD160 c238e64efef73c54b5e218257a34e6a771adc6ac ChangeLog 8398 +SHA256 94e889acaae1cd92e73c38333f6b0a19fb52f46a6c2c313ecb3674fed21d4597 ChangeLog 8398 MISC metadata.xml 564 RMD160 98a10a829910f0b74c8a557e8b5c3e48a8470453 SHA1 aecaa7afa722045adaa69cc6e9e6c13272577179 SHA256 a3a84429c5a6f0a07a90c3154904e7e56ea7f7881796edde77a4b52a0d19753c MD5 93fbf3f3094a9f8b5e20409810fd8a7f metadata.xml 564 RMD160 98a10a829910f0b74c8a557e8b5c3e48a8470453 metadata.xml 564 @@ -88,10 +109,13 @@ SHA256 914de8b7c1b897f8d8108bd1924815cad7cf4ed5fd8999901685b9b3aa9d03cc files/di MD5 ef5cfeb802aacf3c85051b8403ca387d files/digest-xsp-1.2.4-r1 232 RMD160 1271d1bdd9152f0cc47eddf6beaec768b4f01367 files/digest-xsp-1.2.4-r1 232 SHA256 914de8b7c1b897f8d8108bd1924815cad7cf4ed5fd8999901685b9b3aa9d03cc files/digest-xsp-1.2.4-r1 232 +MD5 d75563a022e3e3ba233ccbf35b2f0fe6 files/digest-xsp-1.2.5 232 +RMD160 59b818e194352371b627d1635008e39fe6401c38 files/digest-xsp-1.2.5 232 +SHA256 5b27af6c06d4dd7708bb65a019d11f23c3757477f7702f92376a7f433aca5b0f files/digest-xsp-1.2.5 232 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFG0zo0yvXkcyXx2ogRAkL6AJ42qU0Qg02B2FAQdqIYUGU3XiKGxwCgpJPi -8DCJrPWrDNgcI928dl+MO+g= -=S/xI +iD8DBQFG5ZyfyvXkcyXx2ogRAo+2AKCcPC7wLjxCCS5/9TAtQPZ89Pq3YQCfb7qg +hM9o50ffbfIW3RnWzOaeUl0= +=BwG8 -----END PGP SIGNATURE----- diff --git a/dev-dotnet/xsp/files/1.2.5/mod-mono-server.confd b/dev-dotnet/xsp/files/1.2.5/mod-mono-server.confd new file mode 100644 index 000000000000..1b2f8ff0db13 --- /dev/null +++ b/dev-dotnet/xsp/files/1.2.5/mod-mono-server.confd @@ -0,0 +1,34 @@ +# Config file for /etc/init.d/mod-mono-server +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/files/1.2.5/mod-mono-server.confd,v 1.1 2007/09/10 19:36:20 jurek 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/1.2.5/mod-mono-server.initd b/dev-dotnet/xsp/files/1.2.5/mod-mono-server.initd new file mode 100644 index 000000000000..2a3747b08d2a --- /dev/null +++ b/dev-dotnet/xsp/files/1.2.5/mod-mono-server.initd @@ -0,0 +1,81 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/files/1.2.5/mod-mono-server.initd,v 1.1 2007/09/10 19:36:20 jurek 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/1.2.5/xsp.confd b/dev-dotnet/xsp/files/1.2.5/xsp.confd new file mode 100644 index 000000000000..d2d6bed4e4a4 --- /dev/null +++ b/dev-dotnet/xsp/files/1.2.5/xsp.confd @@ -0,0 +1,12 @@ +# Config file for /etc/init.d/xsp +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/files/1.2.5/xsp.confd,v 1.1 2007/09/10 19:36:20 jurek 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/1.2.5/xsp.initd b/dev-dotnet/xsp/files/1.2.5/xsp.initd new file mode 100644 index 000000000000..22a42e943a1e --- /dev/null +++ b/dev-dotnet/xsp/files/1.2.5/xsp.initd @@ -0,0 +1,38 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/files/1.2.5/xsp.initd,v 1.1 2007/09/10 19:36:20 jurek 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 $? +} + |