From 82eb6bdb98837e53892a9b08307c96307a7e1f1f Mon Sep 17 00:00:00 2001 From: Jurek Bartuszek Date: Tue, 13 Feb 2007 19:44:39 +0000 Subject: [PATCH] dev-dotnet/xsp: Version bump (1.2.3) Package-Manager: portage-2.1.2-r9 --- dev-dotnet/xsp/ChangeLog | 9 ++- dev-dotnet/xsp/Manifest | 32 +++++++- .../xsp/files/1.2.3/mod-mono-server.confd | 34 ++++++++ .../xsp/files/1.2.3/mod-mono-server.initd | 81 +++++++++++++++++++ dev-dotnet/xsp/files/1.2.3/xsp.confd | 12 +++ dev-dotnet/xsp/files/1.2.3/xsp.initd | 38 +++++++++ dev-dotnet/xsp/files/digest-xsp-1.2.3 | 3 + dev-dotnet/xsp/xsp-1.2.3.ebuild | 58 +++++++++++++ 8 files changed, 262 insertions(+), 5 deletions(-) create mode 100644 dev-dotnet/xsp/files/1.2.3/mod-mono-server.confd create mode 100644 dev-dotnet/xsp/files/1.2.3/mod-mono-server.initd create mode 100644 dev-dotnet/xsp/files/1.2.3/xsp.confd create mode 100644 dev-dotnet/xsp/files/1.2.3/xsp.initd create mode 100644 dev-dotnet/xsp/files/digest-xsp-1.2.3 create mode 100644 dev-dotnet/xsp/xsp-1.2.3.ebuild diff --git a/dev-dotnet/xsp/ChangeLog b/dev-dotnet/xsp/ChangeLog index 62a664e52f3e..fdff13900fb6 100644 --- a/dev-dotnet/xsp/ChangeLog +++ b/dev-dotnet/xsp/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-dotnet/xsp # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/ChangeLog,v 1.38 2007/02/01 23:42:02 jurek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/ChangeLog,v 1.39 2007/02/13 19:44:39 jurek Exp $ + +*xsp-1.2.3 (13 Feb 2007) + + 13 Feb 2007; Jurek Bartuszek + +files/1.2.3/mod-mono-server.confd, +files/1.2.3/mod-mono-server.initd, + +files/1.2.3/xsp.confd, +files/1.2.3/xsp.initd, +xsp-1.2.3.ebuild: + Version bump 01 Feb 2007; Jurek Bartuszek -files/1.1.13/mod-mono-server.confd, -files/1.1.13/xsp.confd, diff --git a/dev-dotnet/xsp/Manifest b/dev-dotnet/xsp/Manifest index d469e190b0a3..12435f95b2e6 100644 --- a/dev-dotnet/xsp/Manifest +++ b/dev-dotnet/xsp/Manifest @@ -14,15 +14,36 @@ AUX 1.2.1/xsp.initd 905 RMD160 215caa01bec370b9c8a5696e07e97556bf13747d SHA1 e14 MD5 9cfe265a3c1471a8d4abaa713c2d5d4a files/1.2.1/xsp.initd 905 RMD160 215caa01bec370b9c8a5696e07e97556bf13747d files/1.2.1/xsp.initd 905 SHA256 a95c7cc015fbd090f59d3fd70ecae86c6e278544d05cac3d26ed127a028125a9 files/1.2.1/xsp.initd 905 +AUX 1.2.3/mod-mono-server.confd 1336 RMD160 38c1592f0b7bd3113d526b61cd4e406564549c4a SHA1 bd9cc87782ac1bb073b88570bf2cdfa79184b1cd SHA256 5559aebeab47cfee35b31fc9facf2dcb23d29ff5ad298c48c0a4dd9eae7e841d +MD5 a46d11dbf1e205651363ff4307b67e7e files/1.2.3/mod-mono-server.confd 1336 +RMD160 38c1592f0b7bd3113d526b61cd4e406564549c4a files/1.2.3/mod-mono-server.confd 1336 +SHA256 5559aebeab47cfee35b31fc9facf2dcb23d29ff5ad298c48c0a4dd9eae7e841d files/1.2.3/mod-mono-server.confd 1336 +AUX 1.2.3/mod-mono-server.initd 2027 RMD160 91e654e2d2c3e3c403fc2320f694f266f5ad88e0 SHA1 48aa51743bcc9832bbdc9a4d2a95218ecb438163 SHA256 437f47c4d199d12c763f76f21e23dbdbf2119ba1566c25b03717ec11d9d3cf88 +MD5 7cd24b4877ff55155f20fe40b0a2fb6b files/1.2.3/mod-mono-server.initd 2027 +RMD160 91e654e2d2c3e3c403fc2320f694f266f5ad88e0 files/1.2.3/mod-mono-server.initd 2027 +SHA256 437f47c4d199d12c763f76f21e23dbdbf2119ba1566c25b03717ec11d9d3cf88 files/1.2.3/mod-mono-server.initd 2027 +AUX 1.2.3/xsp.confd 416 RMD160 bb1e0092c6dec31ed65f052fa6878800fc41e13a SHA1 486f4bc1f9021f9beebf905075f57b435986a976 SHA256 52a601a1b09435e9533cfd10e97942092ad237f038ddd173758a46c6f89d413c +MD5 c65332f324cfc21c9b21d1a870b152c6 files/1.2.3/xsp.confd 416 +RMD160 bb1e0092c6dec31ed65f052fa6878800fc41e13a files/1.2.3/xsp.confd 416 +SHA256 52a601a1b09435e9533cfd10e97942092ad237f038ddd173758a46c6f89d413c files/1.2.3/xsp.confd 416 +AUX 1.2.3/xsp.initd 905 RMD160 461d7b4fd3a7d9d3545d0f7145974b98937a41ad SHA1 14b898fc886966570f24eb18a0ce805664255e9c SHA256 fb790091422c68dd1900104fa823cdb1626afc063b3f85bcd0f982655d844189 +MD5 dc20e343a3f36242ac011938caf6c01a files/1.2.3/xsp.initd 905 +RMD160 461d7b4fd3a7d9d3545d0f7145974b98937a41ad files/1.2.3/xsp.initd 905 +SHA256 fb790091422c68dd1900104fa823cdb1626afc063b3f85bcd0f982655d844189 files/1.2.3/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 EBUILD xsp-1.2.1.ebuild 1408 RMD160 9790ab69a2d1af275b7de5692d0a999ce15abbe1 SHA1 a9363d53e41b43b874ee13306b54b873b07dea1a SHA256 c99aa36129ed49afbd4572b304419da0e3029267db4a2805669f64f84ee52031 MD5 4ba7d20c734e8cac93d3b6bdd74ab4d0 xsp-1.2.1.ebuild 1408 RMD160 9790ab69a2d1af275b7de5692d0a999ce15abbe1 xsp-1.2.1.ebuild 1408 SHA256 c99aa36129ed49afbd4572b304419da0e3029267db4a2805669f64f84ee52031 xsp-1.2.1.ebuild 1408 -MISC ChangeLog 6942 RMD160 55cbf1a913d11232009aa5a0100ae70f0bce8323 SHA1 0d9095f14da10cb12e6f2cdeb2b3f93c5e600539 SHA256 1189537cc04c9c475ab8c4c65a4f8e07e2929b3e227a17b66f62dcb24d592606 -MD5 6358b7360b13872bf2acd73c5f628110 ChangeLog 6942 -RMD160 55cbf1a913d11232009aa5a0100ae70f0bce8323 ChangeLog 6942 -SHA256 1189537cc04c9c475ab8c4c65a4f8e07e2929b3e227a17b66f62dcb24d592606 ChangeLog 6942 +EBUILD xsp-1.2.3.ebuild 1409 RMD160 4dcdfb18d4ad10f56706e67764c805deae034dc6 SHA1 329205f1a92b802ce610059eeb3eee1c2607b9ba SHA256 92abe2c405c72aeeab0291f202d1827dc55e9e85b95f672c0f29620ababf3bde +MD5 a49b39cb33ec5a0a0527886e5b6f296a xsp-1.2.3.ebuild 1409 +RMD160 4dcdfb18d4ad10f56706e67764c805deae034dc6 xsp-1.2.3.ebuild 1409 +SHA256 92abe2c405c72aeeab0291f202d1827dc55e9e85b95f672c0f29620ababf3bde xsp-1.2.3.ebuild 1409 +MISC ChangeLog 7177 RMD160 0bfe088a668ab2691564fa1c1547d6dd06cab10a SHA1 911c347061150d5ecf600bab3164454ce78d82e9 SHA256 f8509a6743bbc87be483c651edf3d29ce2610bf33eef7887939c228c2e9f7e62 +MD5 490a75154642aa7b5c02f899504f4b76 ChangeLog 7177 +RMD160 0bfe088a668ab2691564fa1c1547d6dd06cab10a ChangeLog 7177 +SHA256 f8509a6743bbc87be483c651edf3d29ce2610bf33eef7887939c228c2e9f7e62 ChangeLog 7177 MISC metadata.xml 564 RMD160 98a10a829910f0b74c8a557e8b5c3e48a8470453 SHA1 aecaa7afa722045adaa69cc6e9e6c13272577179 SHA256 a3a84429c5a6f0a07a90c3154904e7e56ea7f7881796edde77a4b52a0d19753c MD5 93fbf3f3094a9f8b5e20409810fd8a7f metadata.xml 564 RMD160 98a10a829910f0b74c8a557e8b5c3e48a8470453 metadata.xml 564 @@ -30,3 +51,6 @@ SHA256 a3a84429c5a6f0a07a90c3154904e7e56ea7f7881796edde77a4b52a0d19753c metadata MD5 eb1ed10b13fa098a922bd5e8786aecdd files/digest-xsp-1.2.1 229 RMD160 cb467a3b1d6a88adcf31c084afdcf8e75709fec6 files/digest-xsp-1.2.1 229 SHA256 c7b75cbd1baf99fdd3f3a11aa3dfdb5ca1776ec21d1b7090743f244e980e02dc files/digest-xsp-1.2.1 229 +MD5 1e83abd10d50736714120b0cb3796e61 files/digest-xsp-1.2.3 229 +RMD160 4a82afbfbf7e2a5a871327d70139d3aeed7212c1 files/digest-xsp-1.2.3 229 +SHA256 4ab4555447056ab5ba08cc3509bb0005a048dd703f486c1fc54d469796b01a30 files/digest-xsp-1.2.3 229 diff --git a/dev-dotnet/xsp/files/1.2.3/mod-mono-server.confd b/dev-dotnet/xsp/files/1.2.3/mod-mono-server.confd new file mode 100644 index 000000000000..63b00fae54c0 --- /dev/null +++ b/dev-dotnet/xsp/files/1.2.3/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.3/mod-mono-server.confd,v 1.1 2007/02/13 19:44:39 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.3/mod-mono-server.initd b/dev-dotnet/xsp/files/1.2.3/mod-mono-server.initd new file mode 100644 index 000000000000..24c1ecad35bd --- /dev/null +++ b/dev-dotnet/xsp/files/1.2.3/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.3/mod-mono-server.initd,v 1.1 2007/02/13 19:44:39 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.3/xsp.confd b/dev-dotnet/xsp/files/1.2.3/xsp.confd new file mode 100644 index 000000000000..53fa2f45149b --- /dev/null +++ b/dev-dotnet/xsp/files/1.2.3/xsp.confd @@ -0,0 +1,12 @@ +# Config file for /etc/init.d/xsp +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/files/1.2.3/xsp.confd,v 1.1 2007/02/13 19:44:39 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.3/xsp.initd b/dev-dotnet/xsp/files/1.2.3/xsp.initd new file mode 100644 index 000000000000..8dc3ae06ac2c --- /dev/null +++ b/dev-dotnet/xsp/files/1.2.3/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.3/xsp.initd,v 1.1 2007/02/13 19:44:39 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 $? +} + diff --git a/dev-dotnet/xsp/files/digest-xsp-1.2.3 b/dev-dotnet/xsp/files/digest-xsp-1.2.3 new file mode 100644 index 000000000000..3e8c11b73fde --- /dev/null +++ b/dev-dotnet/xsp/files/digest-xsp-1.2.3 @@ -0,0 +1,3 @@ +MD5 bdd6bd7d2dab9e117fc1fd4c03aac45b xsp-1.2.3.tar.gz 230891 +RMD160 b475bce2cd802c162c4a3883efbf84d1ac225df9 xsp-1.2.3.tar.gz 230891 +SHA256 710e9b139c9049fa56192f5d4f9da205be835ae0614e4d44e14f47a83db31deb xsp-1.2.3.tar.gz 230891 diff --git a/dev-dotnet/xsp/xsp-1.2.3.ebuild b/dev-dotnet/xsp/xsp-1.2.3.ebuild new file mode 100644 index 000000000000..035a2961b25b --- /dev/null +++ b/dev-dotnet/xsp/xsp-1.2.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/xsp-1.2.3.ebuild,v 1.1 2007/02/13 19:44:39 jurek Exp $ + +inherit mono autotools eutils + +DESCRIPTION="XSP ASP.NET host" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/sources/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="" + +DEPEND=">=dev-lang/mono-${PV}" + +pkg_preinst() { + enewgroup aspnet + + # Give aspnet home dir of /tmp since it must create ~/.wapi + enewuser aspnet -1 -1 /tmp aspnet +} + +src_unpack() { + unpack ${A} + cd ${S} + sed -i -e "s:mkinstalldirs) \$(data:mkinstalldirs) \$(DESTDIR)\$(data:" \ + -e "s:gif \$(data:gif \$(DESTDIR)\$(data:" \ + ${S}/test/2.0/treeview/Makefile.am + eautoreconf +} + +src_compile() { + econf || die "./configure failed!" + emake || { + echo + eerror "If xsp fails to build, try unmerging and re-emerging it." + die "make failed" + } +} + +src_install() { + make DESTDIR=${D} install || die + exeinto /etc/init.d ; newexe ${FILESDIR}/${PV}/xsp.initd xsp + newexe ${FILESDIR}/${PV}/mod-mono-server.initd mod-mono-server + insinto /etc/conf.d ; newins ${FILESDIR}/${PV}/xsp.confd xsp + newins ${FILESDIR}/${PV}/mod-mono-server.confd mod-mono-server + + keepdir /var/run/aspnet + + dodoc README ChangeLog AUTHORS INSTALL NEWS +} + +pkg_postinst() { + chown aspnet:aspnet /var/run/aspnet +} -- 2.26.2