diff options
author | Jurek Bartuszek <jurek@gentoo.org> | 2007-12-14 20:10:31 +0000 |
---|---|---|
committer | Jurek Bartuszek <jurek@gentoo.org> | 2007-12-14 20:10:31 +0000 |
commit | 29801c29ea944fe74e7e1ba9bd640f71ff9e1147 (patch) | |
tree | 7796f17aac2e94decbd01eafdc8d8b06a8b84b4e /dev-dotnet/xsp | |
parent | dev-lang/mono-basic-1.2.6: version bump (diff) | |
download | historical-29801c29ea944fe74e7e1ba9bd640f71ff9e1147.tar.gz historical-29801c29ea944fe74e7e1ba9bd640f71ff9e1147.tar.bz2 historical-29801c29ea944fe74e7e1ba9bd640f71ff9e1147.zip |
dev-dotnet/xsp-1.2.6: version bump
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'dev-dotnet/xsp')
-rw-r--r-- | dev-dotnet/xsp/ChangeLog | 9 | ||||
-rw-r--r-- | dev-dotnet/xsp/Manifest | 38 | ||||
-rw-r--r-- | dev-dotnet/xsp/files/1.2.6/mod-mono-server.confd | 34 | ||||
-rw-r--r-- | dev-dotnet/xsp/files/1.2.6/mod-mono-server.initd | 81 | ||||
-rw-r--r-- | dev-dotnet/xsp/files/1.2.6/xsp.confd | 12 | ||||
-rw-r--r-- | dev-dotnet/xsp/files/1.2.6/xsp.initd | 38 | ||||
-rw-r--r-- | dev-dotnet/xsp/files/digest-xsp-1.2.6 | 3 | ||||
-rw-r--r-- | dev-dotnet/xsp/xsp-1.2.6.ebuild | 66 |
8 files changed, 273 insertions, 8 deletions
diff --git a/dev-dotnet/xsp/ChangeLog b/dev-dotnet/xsp/ChangeLog index 480f6621f2d4..f201ac085c3d 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.48 2007/09/11 10:24:03 jurek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/ChangeLog,v 1.49 2007/12/14 20:10:30 jurek Exp $ + +*xsp-1.2.6 (14 Dec 2007) + + 14 Dec 2007; Jurek Bartuszek <jurek@gentoo.org> + +files/1.2.6/mod-mono-server.confd, +files/1.2.6/mod-mono-server.initd, + +files/1.2.6/xsp.confd, +files/1.2.6/xsp.initd, +xsp-1.2.6.ebuild: + Version bump 11 Sep 2007; Jurek Bartuszek <jurek@gentoo.org> Manifest: Fixed digests (bug #192076) diff --git a/dev-dotnet/xsp/Manifest b/dev-dotnet/xsp/Manifest index f81ceb385672..f0adf03348fb 100644 --- a/dev-dotnet/xsp/Manifest +++ b/dev-dotnet/xsp/Manifest @@ -65,10 +65,27 @@ AUX 1.2.5/xsp.initd 905 RMD160 3c2cd62e3c3c7f2c01c69bc4aef50bfbb2a77711 SHA1 35d MD5 1f5241a8059737169a8a42798cca111f files/1.2.5/xsp.initd 905 RMD160 3c2cd62e3c3c7f2c01c69bc4aef50bfbb2a77711 files/1.2.5/xsp.initd 905 SHA256 fe16f0f748c8523c95d927e8eeb5da6c6bf6f13c4dcaf506ee3650835ca88375 files/1.2.5/xsp.initd 905 +AUX 1.2.6/mod-mono-server.confd 1336 RMD160 84a08f1fa3fc4c01b2fa01423c9053d5bce83ab9 SHA1 6f0748dc800743d04399ad28f08c99f4d39c45cb SHA256 c3d1af382324f86182c6eb1c9f58c09b1a0323086f70e3e1a1a6800e992e6577 +MD5 2f550c2259c72fb13615f80b0eab8dd6 files/1.2.6/mod-mono-server.confd 1336 +RMD160 84a08f1fa3fc4c01b2fa01423c9053d5bce83ab9 files/1.2.6/mod-mono-server.confd 1336 +SHA256 c3d1af382324f86182c6eb1c9f58c09b1a0323086f70e3e1a1a6800e992e6577 files/1.2.6/mod-mono-server.confd 1336 +AUX 1.2.6/mod-mono-server.initd 2027 RMD160 6a46ad91eb132cc936ed6e23b5b15daa3c7e23eb SHA1 0e03fd8e3bd8c1f0de61dc123b897895d4f57d03 SHA256 89a2ac34ac34a955ff5e1f099c9cfb30e1494670c8d856758151bfc82b2455d2 +MD5 87cf26ad6a294b42264f5695f1e2c247 files/1.2.6/mod-mono-server.initd 2027 +RMD160 6a46ad91eb132cc936ed6e23b5b15daa3c7e23eb files/1.2.6/mod-mono-server.initd 2027 +SHA256 89a2ac34ac34a955ff5e1f099c9cfb30e1494670c8d856758151bfc82b2455d2 files/1.2.6/mod-mono-server.initd 2027 +AUX 1.2.6/xsp.confd 416 RMD160 ee081e7e4af21bd3d9aa99f2f093f3cf731167cb SHA1 af3d5ae74c99fb5991e981f49f5f3b4c99a23d34 SHA256 8198f654c73127fde695bb016759bade8f8e92cd3aa23407c3ad1ba5f61fe08c +MD5 e668480e4821bd254beef374e8e6454e files/1.2.6/xsp.confd 416 +RMD160 ee081e7e4af21bd3d9aa99f2f093f3cf731167cb files/1.2.6/xsp.confd 416 +SHA256 8198f654c73127fde695bb016759bade8f8e92cd3aa23407c3ad1ba5f61fe08c files/1.2.6/xsp.confd 416 +AUX 1.2.6/xsp.initd 905 RMD160 0e24bce5b45a736083396d950256ef89be50c503 SHA1 fa1ca6d1d44b4bd350a397f225756f5c292473da SHA256 2f2dfe6a888004dce811cedc615d06d445544bc1884a1ec175214651d3921759 +MD5 c47e6362d8e7a64a7db032c3db3c902f files/1.2.6/xsp.initd 905 +RMD160 0e24bce5b45a736083396d950256ef89be50c503 files/1.2.6/xsp.initd 905 +SHA256 2f2dfe6a888004dce811cedc615d06d445544bc1884a1ec175214651d3921759 files/1.2.6/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 +DIST xsp-1.2.6.tar.bz2 239078 RMD160 820db0443dc0956aaffb6448c75259295da86bd7 SHA1 111f09312536579e463573c6aec3eade3ef9bff6 SHA256 5cecf84ee068c744fb4a54fb4701da60bdc0a53fc64c424aca60543601a54093 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 @@ -89,10 +106,14 @@ EBUILD xsp-1.2.5.ebuild 1583 RMD160 25c7029b22916a63e74d0e498f8df3e808012c48 SHA 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 8489 RMD160 5559949768fc7b5173d0212e2ada3dbf36833b5b SHA1 017ca9249cfe80bd6dc8a5a40293518adefb8ca8 SHA256 1cfebf8420d69351a0109c86f14ed1f0eaadab160478a08a1cec803868753fea -MD5 d562a4fb90d506f9126a31068e3bdf2b ChangeLog 8489 -RMD160 5559949768fc7b5173d0212e2ada3dbf36833b5b ChangeLog 8489 -SHA256 1cfebf8420d69351a0109c86f14ed1f0eaadab160478a08a1cec803868753fea ChangeLog 8489 +EBUILD xsp-1.2.6.ebuild 1591 RMD160 e42b43c42b564875ebcbaa01a6b07fb0f826dd29 SHA1 1878e95a29be6df090a437527501fdcc0667c17a SHA256 5fa9a12a441232b23d4f0dbc354d803e6359f85101b603a49b113cc3a5d8febd +MD5 2702b419d3abfb430a6df9cb0af0d5b1 xsp-1.2.6.ebuild 1591 +RMD160 e42b43c42b564875ebcbaa01a6b07fb0f826dd29 xsp-1.2.6.ebuild 1591 +SHA256 5fa9a12a441232b23d4f0dbc354d803e6359f85101b603a49b113cc3a5d8febd xsp-1.2.6.ebuild 1591 +MISC ChangeLog 8724 RMD160 ec0df1b70bb32ae504496ef8c93cc0c02e14ac47 SHA1 a0273df4687f993d123caf8ffd0493af4ad90b85 SHA256 a5344fa64193a30d98b4747bd889bd5758e454ec8d701485d19ed55a4ce1aaa0 +MD5 79c5270862312b8b51f0c5cefce865bc ChangeLog 8724 +RMD160 ec0df1b70bb32ae504496ef8c93cc0c02e14ac47 ChangeLog 8724 +SHA256 a5344fa64193a30d98b4747bd889bd5758e454ec8d701485d19ed55a4ce1aaa0 ChangeLog 8724 MISC metadata.xml 564 RMD160 98a10a829910f0b74c8a557e8b5c3e48a8470453 SHA1 aecaa7afa722045adaa69cc6e9e6c13272577179 SHA256 a3a84429c5a6f0a07a90c3154904e7e56ea7f7881796edde77a4b52a0d19753c MD5 93fbf3f3094a9f8b5e20409810fd8a7f metadata.xml 564 RMD160 98a10a829910f0b74c8a557e8b5c3e48a8470453 metadata.xml 564 @@ -112,10 +133,13 @@ SHA256 914de8b7c1b897f8d8108bd1924815cad7cf4ed5fd8999901685b9b3aa9d03cc files/di 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 +MD5 862db0661a7df3a16074d625d003abec files/digest-xsp-1.2.6 232 +RMD160 adacc51352fc9f6d27ad8e5d202f4f9dbd19e0b1 files/digest-xsp-1.2.6 232 +SHA256 7b80907e3084bceaf2b3cc517c7cc4c976e4b0b994adcba6f12815e64db6b9f3 files/digest-xsp-1.2.6 232 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFG5mzJyvXkcyXx2ogRAp2lAJ48ZNlcSO6cbfZN8xVmCtK5VQovgwCfe4UD -F7yNBT+4y1EgeCZ0YNVgBcA= -=6oHZ +iD8DBQFHYuM7yvXkcyXx2ogRAlO/AKCJHMhAXlwJwlYXwAd/ho3eJx1wxgCgmIqe +8NkzB5gYp4p7ngoW8QOi/IY= +=TVKB -----END PGP SIGNATURE----- diff --git a/dev-dotnet/xsp/files/1.2.6/mod-mono-server.confd b/dev-dotnet/xsp/files/1.2.6/mod-mono-server.confd new file mode 100644 index 000000000000..65c9d0c8caad --- /dev/null +++ b/dev-dotnet/xsp/files/1.2.6/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.6/mod-mono-server.confd,v 1.1 2007/12/14 20:10:31 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.6/mod-mono-server.initd b/dev-dotnet/xsp/files/1.2.6/mod-mono-server.initd new file mode 100644 index 000000000000..03128a345e86 --- /dev/null +++ b/dev-dotnet/xsp/files/1.2.6/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.6/mod-mono-server.initd,v 1.1 2007/12/14 20:10:31 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.6/xsp.confd b/dev-dotnet/xsp/files/1.2.6/xsp.confd new file mode 100644 index 000000000000..46784d13b71c --- /dev/null +++ b/dev-dotnet/xsp/files/1.2.6/xsp.confd @@ -0,0 +1,12 @@ +# Config file for /etc/init.d/xsp +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/files/1.2.6/xsp.confd,v 1.1 2007/12/14 20:10:31 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.6/xsp.initd b/dev-dotnet/xsp/files/1.2.6/xsp.initd new file mode 100644 index 000000000000..a2a4d27e1cd1 --- /dev/null +++ b/dev-dotnet/xsp/files/1.2.6/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.6/xsp.initd,v 1.1 2007/12/14 20:10:31 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.6 b/dev-dotnet/xsp/files/digest-xsp-1.2.6 new file mode 100644 index 000000000000..2de4d67f52bc --- /dev/null +++ b/dev-dotnet/xsp/files/digest-xsp-1.2.6 @@ -0,0 +1,3 @@ +MD5 61dd61398f041002292e5514c28decd3 xsp-1.2.6.tar.bz2 239078 +RMD160 820db0443dc0956aaffb6448c75259295da86bd7 xsp-1.2.6.tar.bz2 239078 +SHA256 5cecf84ee068c744fb4a54fb4701da60bdc0a53fc64c424aca60543601a54093 xsp-1.2.6.tar.bz2 239078 diff --git a/dev-dotnet/xsp/xsp-1.2.6.ebuild b/dev-dotnet/xsp/xsp-1.2.6.ebuild new file mode 100644 index 000000000000..9010596592f8 --- /dev/null +++ b/dev-dotnet/xsp/xsp-1.2.6.ebuild @@ -0,0 +1,66 @@ +# 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.6.ebuild,v 1.1 2007/12/14 20:10:30 jurek Exp $ + +inherit mono multilib autotools eutils + +DESCRIPTION="XSP ASP.NET host" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/sources/${PN}/${P}.tar.bz2" + +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 -j1 || { + echo + eerror "If xsp fails to build, try unmerging and re-emerging it." + die "make failed" + } +} + +src_install() { + make DESTDIR="${D}" install || die + + sed -i -e "s#/usr/lib/#/usr/$(get_libdir)/#" \ + "${D}"/usr/bin/xsp{,2} \ + "${D}"/usr/bin/mod-mono-server{,2} \ + "${D}"/usr/bin/asp-state{,2} \ + "${D}"/usr/bin/dbsessmgr{,2} \ + || die + + newinitd "${FILESDIR}"/${PV}/xsp.initd xsp + newinitd "${FILESDIR}"/${PV}/mod-mono-server.initd mod-mono-server + newconfd "${FILESDIR}"/${PV}/xsp.confd xsp + newconfd "${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 +} |