[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/

2021-07-07 Thread Conrad Kostecki
commit: d054ae0523bf99bb780d699ed21e87f7a52729c4
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Wed Jul  7 20:02:05 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Jul  7 20:02:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d054ae05

www-servers/xsp: drop old version

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 www-servers/xsp/xsp-3.8_p2014120900.ebuild | 99 --
 www-servers/xsp/xsp-4.7.1.ebuild   | 95 
 2 files changed, 194 deletions(-)

diff --git a/www-servers/xsp/xsp-3.8_p2014120900.ebuild 
b/www-servers/xsp/xsp-3.8_p2014120900.ebuild
deleted file mode 100644
index e2d9fda01c7..000
--- a/www-servers/xsp/xsp-3.8_p2014120900.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# TODO: We can probably yank the USE_DOTNET/dotnet.eclass stuff
-# but let's be conservative for now
-USE_DOTNET="net35 net40 net45"
-inherit autotools dotnet systemd user
-
-EGIT_COMMIT="e272a2c006211b6b03be2ef5bbb9e3f8fefd0768"
-DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
-HOMEPAGE="http://www.mono-project.com/ASP.NET;
-SRC_URI="https://github.com/mono/xsp/archive/${EGIT_COMMIT}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/xsp-${EGIT_COMMIT}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="developer doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-db/sqlite:3"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/aclocal-fix.patch"
-)
-
-METAFILETOBUILD=xsp.sln
-
-src_prepare() {
-   default
-
-   eaclocal -I build/m4/shamrock -I build/m4/shave ${ACLOCAL_FLAGS}
-   if test -z "${NO_LIBTOOLIZE}" ; then
-   _elibtoolize --force --copy
-   fi
-
-   eautoconf
-   eautomake --gnu --add-missing --force --copy
-}
-
-src_configure() {
-   local myeconfargs=(
-   "--enable-maintainer-mode"
-   )
-
-   use test && myeconfargs+=( "--with_unit_tests" )
-   use doc || myeconfargs+=( "--disable-docs" )
-
-   econf "${myeconfargs[@]}"
-}
-
-#src_compile() {
-#  exbuild xsp.sln
-
-#  if use developer ; then
-#  exbuild /p:DebugSymbols=True ${METAFILETOBUILD}
-#  else
-#  exbuild /p:DebugSymbols=False ${METAFILETOBUILD}
-#  fi
-#}
-
-pkg_preinst() {
-   enewgroup aspnet
-   enewuser aspnet -1 -1 /tmp aspnet
-
-   # enewuser www-data
-   # www-data - is from debian, i think it's the same as aspnet here
-}
-
-src_install() {
-   default
-
-   local PATCHDIR="${FILESDIR}/2.2/"
-
-   newinitd "${PATCHDIR}"/xsp.initd xsp
-   newinitd "${PATCHDIR}"/mod-mono-server-r1.initd mod-mono-server
-   newconfd "${PATCHDIR}"/xsp.confd xsp
-   newconfd "${PATCHDIR}"/mod-mono-server.confd mod-mono-server
-
-   insinto /etc/xsp4
-   doins "${FILESDIR}"/systemd/mono.webapp
-   insinto /etc/xsp4/conf.d
-
-   # mono-xsp4.service was original name from
-   # 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770458;filename=mono-xsp4.service;att=1;msg=5
-   # I think that using the same commands as in debian
-   # systemctl start mono-xsp4.service
-   # systemctl start mono-xsp4
-   # is better than to have shorter command
-   # systemctl start xsp
-   #
-   # insinto /usr/lib/systemd/system
-   systemd_dounit "${FILESDIR}"/systemd/mono-xsp4.service
-
-   keepdir /var/run/aspnet
-}

diff --git a/www-servers/xsp/xsp-4.7.1.ebuild b/www-servers/xsp/xsp-4.7.1.ebuild
deleted file mode 100644
index e5cd0168007..000
--- a/www-servers/xsp/xsp-4.7.1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-USE_DOTNET="net35 net40 net45"
-inherit autotools dotnet systemd user
-
-DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
-HOMEPAGE="http://www.mono-project.com/ASP.NET;
-SRC_URI="https://github.com/mono/xsp/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="developer doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-db/sqlite:3"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/aclocal-fix.patch"
-)
-
-METAFILETOBUILD=xsp.sln
-
-src_prepare() {
-   default
-
-   eaclocal -I build/m4/shamrock -I build/m4/shave ${ACLOCAL_FLAGS}
-   if test -z "${NO_LIBTOOLIZE}" ; then
-   _elibtoolize --force --copy
-   fi
-
-   eautoconf
-   eautomake --gnu --add-missing --force --copy
-}
-
-src_configure() {
-   local myeconfargs=(
-   "--enable-maintainer-mode"
-   )
-
-   use test && myeconfargs+=( "--with_unit_tests" )
-   use doc || myeconfargs+=( "--disable-docs" )
-
-   econf 

[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/

2021-07-07 Thread Conrad Kostecki
commit: d846823d08cafd29d8e714eeedc2ccd807035bb2
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Wed Jul  7 20:01:21 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Jul  7 20:02:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d846823d

www-servers/xsp: migrate to GLEP 81

Closes: https://bugs.gentoo.org/781551
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 www-servers/xsp/xsp-3.8_p2014120900-r1.ebuild | 95 +++
 www-servers/xsp/xsp-4.7.1-r1.ebuild   | 91 +
 2 files changed, 186 insertions(+)

diff --git a/www-servers/xsp/xsp-3.8_p2014120900-r1.ebuild 
b/www-servers/xsp/xsp-3.8_p2014120900-r1.ebuild
new file mode 100644
index 000..c1ec007657b
--- /dev/null
+++ b/www-servers/xsp/xsp-3.8_p2014120900-r1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# TODO: We can probably yank the USE_DOTNET/dotnet.eclass stuff
+# but let's be conservative for now
+USE_DOTNET="net35 net40 net45"
+inherit autotools dotnet systemd
+
+EGIT_COMMIT="e272a2c006211b6b03be2ef5bbb9e3f8fefd0768"
+DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
+HOMEPAGE="http://www.mono-project.com/ASP.NET;
+SRC_URI="https://github.com/mono/xsp/archive/${EGIT_COMMIT}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/xsp-${EGIT_COMMIT}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="developer doc test"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-db/sqlite:3"
+RDEPEND="
+   ${DEPEND}
+   acct-group/aspnet
+   acct-user/aspnet
+"
+
+PATCHES=(
+   "${FILESDIR}/aclocal-fix.patch"
+)
+
+METAFILETOBUILD=xsp.sln
+
+src_prepare() {
+   default
+
+   eaclocal -I build/m4/shamrock -I build/m4/shave ${ACLOCAL_FLAGS}
+   if test -z "${NO_LIBTOOLIZE}" ; then
+   _elibtoolize --force --copy
+   fi
+
+   eautoconf
+   eautomake --gnu --add-missing --force --copy
+}
+
+src_configure() {
+   local myeconfargs=(
+   "--enable-maintainer-mode"
+   )
+
+   use test && myeconfargs+=( "--with_unit_tests" )
+   use doc || myeconfargs+=( "--disable-docs" )
+
+   econf "${myeconfargs[@]}"
+}
+
+#src_compile() {
+#  exbuild xsp.sln
+
+#  if use developer ; then
+#  exbuild /p:DebugSymbols=True ${METAFILETOBUILD}
+#  else
+#  exbuild /p:DebugSymbols=False ${METAFILETOBUILD}
+#  fi
+#}
+
+src_install() {
+   default
+
+   local PATCHDIR="${FILESDIR}/2.2/"
+
+   newinitd "${PATCHDIR}"/xsp.initd xsp
+   newinitd "${PATCHDIR}"/mod-mono-server-r1.initd mod-mono-server
+   newconfd "${PATCHDIR}"/xsp.confd xsp
+   newconfd "${PATCHDIR}"/mod-mono-server.confd mod-mono-server
+
+   insinto /etc/xsp4
+   doins "${FILESDIR}"/systemd/mono.webapp
+   insinto /etc/xsp4/conf.d
+
+   # mono-xsp4.service was original name from
+   # 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770458;filename=mono-xsp4.service;att=1;msg=5
+   # I think that using the same commands as in debian
+   # systemctl start mono-xsp4.service
+   # systemctl start mono-xsp4
+   # is better than to have shorter command
+   # systemctl start xsp
+   #
+   # insinto /usr/lib/systemd/system
+   systemd_dounit "${FILESDIR}"/systemd/mono-xsp4.service
+
+   keepdir /var/run/aspnet
+}

diff --git a/www-servers/xsp/xsp-4.7.1-r1.ebuild 
b/www-servers/xsp/xsp-4.7.1-r1.ebuild
new file mode 100644
index 000..a7a1cdb9550
--- /dev/null
+++ b/www-servers/xsp/xsp-4.7.1-r1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_DOTNET="net35 net40 net45"
+inherit autotools dotnet systemd
+
+DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
+HOMEPAGE="http://www.mono-project.com/ASP.NET;
+SRC_URI="https://github.com/mono/xsp/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="developer doc test"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-db/sqlite:3"
+RDEPEND="
+   ${DEPEND}
+   acct-group/aspnet
+   acct-user/aspnet
+"
+
+PATCHES=(
+   "${FILESDIR}/aclocal-fix.patch"
+)
+
+METAFILETOBUILD=xsp.sln
+
+src_prepare() {
+   default
+
+   eaclocal -I build/m4/shamrock -I build/m4/shave ${ACLOCAL_FLAGS}
+   if test -z "${NO_LIBTOOLIZE}" ; then
+   _elibtoolize --force --copy
+   fi
+
+   eautoconf
+   eautomake --gnu --add-missing --force --copy
+}
+
+src_configure() {
+   local myeconfargs=(
+   "--enable-maintainer-mode"
+   )
+
+   use test && myeconfargs+=( "--with_unit_tests" )
+   use doc || myeconfargs+=( "--disable-docs" )
+
+   econf "${myeconfargs[@]}"
+}
+
+#src_compile() {
+#  

[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/

2021-03-27 Thread Sam James
commit: e2e6fd309a1d5128f9d0cf1378ce8c4ccabd9d63
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 28 04:21:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 04:21:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2e6fd30

www-servers/xsp: fix DoubleEmptyLine

Signed-off-by: Sam James  gentoo.org>

 www-servers/xsp/xsp-3.8_p2014120900.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/www-servers/xsp/xsp-3.8_p2014120900.ebuild 
b/www-servers/xsp/xsp-3.8_p2014120900.ebuild
index c327b001d52..e2d9fda01c7 100644
--- a/www-servers/xsp/xsp-3.8_p2014120900.ebuild
+++ b/www-servers/xsp/xsp-3.8_p2014120900.ebuild
@@ -27,7 +27,6 @@ PATCHES=(
"${FILESDIR}/aclocal-fix.patch"
 )
 
-
 METAFILETOBUILD=xsp.sln
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/

2021-03-27 Thread Sam James
commit: bd8b96ad61d4b7fb83c749e374053e73dccdd432
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 28 04:15:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 04:21:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd8b96ad

www-servers/xsp: switch to tarball for 3.8_p2014120900

Why not?

Signed-off-by: Sam James  gentoo.org>

 www-servers/xsp/Manifest   | 2 +-
 www-servers/xsp/xsp-3.8_p2014120900.ebuild | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/www-servers/xsp/Manifest b/www-servers/xsp/Manifest
index b7faea8c132..14d54fe5854 100644
--- a/www-servers/xsp/Manifest
+++ b/www-servers/xsp/Manifest
@@ -1,2 +1,2 @@
-DIST xsp-3.8_p2014120900.zip 632555 BLAKE2B 
e9c63a1e7ae26b45a6d4bec7aca48fc5f9712ffeb17087f6685009abb3feed4395015e8506b3c1333b59658f0334cadb66d181b35e4508bc807bb9680e360196
 SHA512 
a9d298079cfae4bacac1575f04e58c3106f532c1f283cc243a8a6560561c0a6b535320d1d3e925c7383bd1f7510f31f115d8e85506e31623c175d7f3f606ab91
+DIST xsp-3.8_p2014120900.tar.gz 307722 BLAKE2B 
a6c7723e41490022ea969961f93fa3cb5b5eb583edd6ad1ef40dc38adc29cc9c0de16b7da5e98074b0848cdb7cce1e4c5e0298dc6f7f71d6a5c5e542a662005e
 SHA512 
bf7a8cbeda330be98eb6fb1942ca9d6d8107ceabfb47db36d4b9b1f9d99afb329bad7737a4c9bfbf3ac205e9499dd58b2aa1cf7dfd83e41ee50b3820b05d4596
 DIST xsp-4.7.1.tar.gz 307143 BLAKE2B 
f8a3a09d644d567728e6462df553ff52fdbd17e974dc25aeebd011e7b6c22ef76be69cc49acfd1cdd9edbd30728ce6b7ef5f33ecda50653db219863b17442b36
 SHA512 
f106b073bc17ae8fafcffdf2f0db7284f36b62b648fd79321a0de7f5ed15085a9116deccf464e72b3e6f5daf8d65d0a6a3d55c1b275546a4762fa3236bd58e2b

diff --git a/www-servers/xsp/xsp-3.8_p2014120900.ebuild 
b/www-servers/xsp/xsp-3.8_p2014120900.ebuild
index 803e6c8bd9c..c327b001d52 100644
--- a/www-servers/xsp/xsp-3.8_p2014120900.ebuild
+++ b/www-servers/xsp/xsp-3.8_p2014120900.ebuild
@@ -11,7 +11,7 @@ inherit autotools dotnet systemd user
 EGIT_COMMIT="e272a2c006211b6b03be2ef5bbb9e3f8fefd0768"
 DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
 HOMEPAGE="http://www.mono-project.com/ASP.NET;
-SRC_URI="https://github.com/mono/xsp/archive/${EGIT_COMMIT}.zip -> ${P}.zip"
+SRC_URI="https://github.com/mono/xsp/archive/${EGIT_COMMIT}.tar.gz -> 
${P}.tar.gz"
 S="${WORKDIR}/xsp-${EGIT_COMMIT}"
 
 LICENSE="MIT"
@@ -20,7 +20,6 @@ KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="developer doc test"
 RESTRICT="!test? ( test )"
 
-BDEPEND="app-arch/unzip"
 RDEPEND="dev-db/sqlite:3"
 DEPEND="${RDEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/

2021-03-27 Thread Sam James
commit: 402a3b36a5f58622b18e6a8fa827dde2d2669e14
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 28 04:14:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 04:21:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=402a3b36

www-servers/xsp: tidy variable declarations

Signed-off-by: Sam James  gentoo.org>

 www-servers/xsp/xsp-3.8_p2014120900.ebuild | 13 -
 www-servers/xsp/xsp-4.7.1.ebuild   | 12 ++--
 2 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/www-servers/xsp/xsp-3.8_p2014120900.ebuild 
b/www-servers/xsp/xsp-3.8_p2014120900.ebuild
index 33c34864ddf..803e6c8bd9c 100644
--- a/www-servers/xsp/xsp-3.8_p2014120900.ebuild
+++ b/www-servers/xsp/xsp-3.8_p2014120900.ebuild
@@ -3,9 +3,9 @@
 
 EAPI=7
 
+# TODO: We can probably yank the USE_DOTNET/dotnet.eclass stuff
+# but let's be conservative for now
 USE_DOTNET="net35 net40 net45"
-PATCHDIR="${FILESDIR}/2.2/"
-
 inherit autotools dotnet systemd user
 
 EGIT_COMMIT="e272a2c006211b6b03be2ef5bbb9e3f8fefd0768"
@@ -17,19 +17,20 @@ S="${WORKDIR}/xsp-${EGIT_COMMIT}"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc test developer"
+IUSE="developer doc test"
 RESTRICT="!test? ( test )"
 
 BDEPEND="app-arch/unzip"
 RDEPEND="dev-db/sqlite:3"
 DEPEND="${RDEPEND}"
 
-METAFILETOBUILD=xsp.sln
-
 PATCHES=(
"${FILESDIR}/aclocal-fix.patch"
 )
 
+
+METAFILETOBUILD=xsp.sln
+
 src_prepare() {
default
 
@@ -74,6 +75,8 @@ pkg_preinst() {
 src_install() {
default
 
+   local PATCHDIR="${FILESDIR}/2.2/"
+
newinitd "${PATCHDIR}"/xsp.initd xsp
newinitd "${PATCHDIR}"/mod-mono-server-r1.initd mod-mono-server
newconfd "${PATCHDIR}"/xsp.confd xsp

diff --git a/www-servers/xsp/xsp-4.7.1.ebuild b/www-servers/xsp/xsp-4.7.1.ebuild
index 8bbb25acfcf..e5cd0168007 100644
--- a/www-servers/xsp/xsp-4.7.1.ebuild
+++ b/www-servers/xsp/xsp-4.7.1.ebuild
@@ -4,8 +4,6 @@
 EAPI=7
 
 USE_DOTNET="net35 net40 net45"
-PATCHDIR="${FILESDIR}/2.2/"
-
 inherit autotools dotnet systemd user
 
 DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
@@ -15,18 +13,18 @@ 
SRC_URI="https://github.com/mono/xsp/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc test developer"
+IUSE="developer doc test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="dev-db/sqlite:3"
 DEPEND="${RDEPEND}"
 
-METAFILETOBUILD=xsp.sln
-
 PATCHES=(
"${FILESDIR}/aclocal-fix.patch"
 )
 
+METAFILETOBUILD=xsp.sln
+
 src_prepare() {
default
 
@@ -69,7 +67,9 @@ pkg_preinst() {
 }
 
 src_install() {
-   mv_command="cp -ar" default
+   default
+
+   local PATCHDIR="${FILESDIR}/2.2/"
 
newinitd "${PATCHDIR}"/xsp.initd xsp
newinitd "${PATCHDIR}"/mod-mono-server-r1.initd mod-mono-server



[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/

2021-03-27 Thread Sam James
commit: c6009eeac3a2280ef3db04bee9329f0a6e0eacdf
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 28 03:03:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 03:03:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6009eea

www-servers/xsp: fix whitespace

Signed-off-by: Sam James  gentoo.org>

 www-servers/xsp/xsp-3.8_p2014120900.ebuild | 2 +-
 www-servers/xsp/xsp-4.7.1.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-servers/xsp/xsp-3.8_p2014120900.ebuild 
b/www-servers/xsp/xsp-3.8_p2014120900.ebuild
index a803dddf5dc..dd42bb873c5 100644
--- a/www-servers/xsp/xsp-3.8_p2014120900.ebuild
+++ b/www-servers/xsp/xsp-3.8_p2014120900.ebuild
@@ -38,7 +38,7 @@ src_prepare() {
fi
 
eautoconf
-eautomake --gnu --add-missing --force --copy
+   eautomake --gnu --add-missing --force --copy
 }
 
 src_configure() {

diff --git a/www-servers/xsp/xsp-4.7.1.ebuild b/www-servers/xsp/xsp-4.7.1.ebuild
index 203ad0669e3..8bbb25acfcf 100644
--- a/www-servers/xsp/xsp-4.7.1.ebuild
+++ b/www-servers/xsp/xsp-4.7.1.ebuild
@@ -36,7 +36,7 @@ src_prepare() {
fi
 
eautoconf
-eautomake --gnu --add-missing --force --copy
+   eautomake --gnu --add-missing --force --copy
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/

2021-03-27 Thread Sam James
commit: 3e2b985c7e9fe482199025357aec979834ba49b4
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 28 03:04:27 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 03:04:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e2b985c

www-servers/xsp: add app-arch/unzip BDEPEND

Signed-off-by: Sam James  gentoo.org>

 www-servers/xsp/xsp-3.8_p2014120900.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www-servers/xsp/xsp-3.8_p2014120900.ebuild 
b/www-servers/xsp/xsp-3.8_p2014120900.ebuild
index dd42bb873c5..33c34864ddf 100644
--- a/www-servers/xsp/xsp-3.8_p2014120900.ebuild
+++ b/www-servers/xsp/xsp-3.8_p2014120900.ebuild
@@ -20,6 +20,7 @@ KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="doc test developer"
 RESTRICT="!test? ( test )"
 
+BDEPEND="app-arch/unzip"
 RDEPEND="dev-db/sqlite:3"
 DEPEND="${RDEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/, www-servers/xsp/files/

2021-03-27 Thread Sam James
commit: 748c333b1f45abc1c8d12f606d0f374377d81346
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 28 02:05:18 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 03:00:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=748c333b

www-servers/xsp: port to EAPI 7, drop autotools-utils.eclass

* Port to EAPI 7
* Drop autotools-utils.eclass
* Use normal makefiles to build for now

Closes: https://bugs.gentoo.org/642942
Signed-off-by: Sam James  gentoo.org>

 www-servers/xsp/files/aclocal-fix.patch|  4 +-
 www-servers/xsp/xsp-2014.12-r2014120900.ebuild | 66 ++
 2 files changed, 37 insertions(+), 33 deletions(-)

diff --git a/www-servers/xsp/files/aclocal-fix.patch 
b/www-servers/xsp/files/aclocal-fix.patch
index 49a00050fe8..3e96f8f42a4 100644
--- a/www-servers/xsp/files/aclocal-fix.patch
+++ b/www-servers/xsp/files/aclocal-fix.patch
@@ -1,5 +1,5 @@
 Makefile_old.am2013-07-30 09:11:50.033962122 +0400
-+++ Makefile.am2013-07-30 09:12:20.843574793 +0400
+--- a/Makefile.am
 b/Makefile.am
 @@ -1,10 +1,2 @@
  SUBDIRS=build man src test tools scripts packaging lib
  ACLOCAL_AMFLAGS += -I build/m4

diff --git a/www-servers/xsp/xsp-2014.12-r2014120900.ebuild 
b/www-servers/xsp/xsp-2014.12-r2014120900.ebuild
index 682da894b80..a803dddf5dc 100644
--- a/www-servers/xsp/xsp-2014.12-r2014120900.ebuild
+++ b/www-servers/xsp/xsp-2014.12-r2014120900.ebuild
@@ -1,17 +1,16 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=7
 
 USE_DOTNET="net35 net40 net45"
 PATCHDIR="${FILESDIR}/2.2/"
 
-inherit base eutils systemd dotnet user autotools autotools-utils
+inherit autotools dotnet systemd user
 
+EGIT_COMMIT="e272a2c006211b6b03be2ef5bbb9e3f8fefd0768"
 DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
 HOMEPAGE="http://www.mono-project.com/ASP.NET;
-
-EGIT_COMMIT="e272a2c006211b6b03be2ef5bbb9e3f8fefd0768"
 SRC_URI="https://github.com/mono/xsp/archive/${EGIT_COMMIT}.zip -> ${P}.zip"
 S="${WORKDIR}/xsp-${EGIT_COMMIT}"
 
@@ -24,42 +23,45 @@ RESTRICT="!test? ( test )"
 RDEPEND="dev-db/sqlite:3"
 DEPEND="${RDEPEND}"
 
+METAFILETOBUILD=xsp.sln
+
+PATCHES=(
+   "${FILESDIR}/aclocal-fix.patch"
+)
+
 src_prepare() {
-   epatch "${FILESDIR}/aclocal-fix.patch"
+   default
 
-   if [ -z "$LIBTOOL" ]; then
-   LIBTOOL=`which glibtool 2>/dev/null`
-   if [ ! -x "$LIBTOOL" ]; then
-   LIBTOOL=`which libtool`
-   fi
-   fi
-   eaclocal -I build/m4/shamrock -I build/m4/shave $ACLOCAL_FLAGS
-   if test -z "$NO_LIBTOOLIZE"; then
-   ${LIBTOOL}ize --force --copy
+   eaclocal -I build/m4/shamrock -I build/m4/shave ${ACLOCAL_FLAGS}
+   if test -z "${NO_LIBTOOLIZE}" ; then
+   _elibtoolize --force --copy
fi
+
eautoconf
+eautomake --gnu --add-missing --force --copy
 }
 
 src_configure() {
-   myeconfargs=("--enable-maintainer-mode")
-   use test && myeconfargs+=("--with_unit_tests")
-   use doc || myeconfargs+=("--disable-docs")
-   eautomake --gnu --add-missing --force --copy #nowarn
-   autotools-utils_src_configure
-   ./configure || die
-}
+   local myeconfargs=(
+   "--enable-maintainer-mode"
+   )
 
-METAFILETOBUILD=xsp.sln
+   use test && myeconfargs+=( "--with_unit_tests" )
+   use doc || myeconfargs+=( "--disable-docs" )
 
-src_compile() {
-   exbuild xsp.sln
-   if use developer; then
-   exbuild /p:DebugSymbols=True ${METAFILETOBUILD}
-   else
-   exbuild /p:DebugSymbols=False ${METAFILETOBUILD}
-   fi
+   econf "${myeconfargs[@]}"
 }
 
+#src_compile() {
+#  exbuild xsp.sln
+
+#  if use developer ; then
+#  exbuild /p:DebugSymbols=True ${METAFILETOBUILD}
+#  else
+#  exbuild /p:DebugSymbols=False ${METAFILETOBUILD}
+#  fi
+#}
+
 pkg_preinst() {
enewgroup aspnet
enewuser aspnet -1 -1 /tmp aspnet
@@ -69,7 +71,8 @@ pkg_preinst() {
 }
 
 src_install() {
-   mv_command="cp -ar" autotools-utils_src_install
+   default
+
newinitd "${PATCHDIR}"/xsp.initd xsp
newinitd "${PATCHDIR}"/mod-mono-server-r1.initd mod-mono-server
newconfd "${PATCHDIR}"/xsp.confd xsp
@@ -78,6 +81,7 @@ src_install() {
insinto /etc/xsp4
doins "${FILESDIR}"/systemd/mono.webapp
insinto /etc/xsp4/conf.d
+
# mono-xsp4.service was original name from
# 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770458;filename=mono-xsp4.service;att=1;msg=5
# I think that using the same commands as in debian



[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/

2021-03-27 Thread Sam James
commit: c9106bdfc10e315a72f9e7cf23956add8f2fa2b5
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 28 02:54:13 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 03:00:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9106bdf

www-servers/xsp: add 4.7.1

Closes: https://bugs.gentoo.org/642942
Signed-off-by: Sam James  gentoo.org>

 www-servers/xsp/Manifest |  1 +
 www-servers/xsp/xsp-4.7.1.ebuild | 95 
 2 files changed, 96 insertions(+)

diff --git a/www-servers/xsp/Manifest b/www-servers/xsp/Manifest
index 1d57520ef23..b7faea8c132 100644
--- a/www-servers/xsp/Manifest
+++ b/www-servers/xsp/Manifest
@@ -1 +1,2 @@
 DIST xsp-3.8_p2014120900.zip 632555 BLAKE2B 
e9c63a1e7ae26b45a6d4bec7aca48fc5f9712ffeb17087f6685009abb3feed4395015e8506b3c1333b59658f0334cadb66d181b35e4508bc807bb9680e360196
 SHA512 
a9d298079cfae4bacac1575f04e58c3106f532c1f283cc243a8a6560561c0a6b535320d1d3e925c7383bd1f7510f31f115d8e85506e31623c175d7f3f606ab91
+DIST xsp-4.7.1.tar.gz 307143 BLAKE2B 
f8a3a09d644d567728e6462df553ff52fdbd17e974dc25aeebd011e7b6c22ef76be69cc49acfd1cdd9edbd30728ce6b7ef5f33ecda50653db219863b17442b36
 SHA512 
f106b073bc17ae8fafcffdf2f0db7284f36b62b648fd79321a0de7f5ed15085a9116deccf464e72b3e6f5daf8d65d0a6a3d55c1b275546a4762fa3236bd58e2b

diff --git a/www-servers/xsp/xsp-4.7.1.ebuild b/www-servers/xsp/xsp-4.7.1.ebuild
new file mode 100644
index 000..203ad0669e3
--- /dev/null
+++ b/www-servers/xsp/xsp-4.7.1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_DOTNET="net35 net40 net45"
+PATCHDIR="${FILESDIR}/2.2/"
+
+inherit autotools dotnet systemd user
+
+DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
+HOMEPAGE="http://www.mono-project.com/ASP.NET;
+SRC_URI="https://github.com/mono/xsp/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc test developer"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-db/sqlite:3"
+DEPEND="${RDEPEND}"
+
+METAFILETOBUILD=xsp.sln
+
+PATCHES=(
+   "${FILESDIR}/aclocal-fix.patch"
+)
+
+src_prepare() {
+   default
+
+   eaclocal -I build/m4/shamrock -I build/m4/shave ${ACLOCAL_FLAGS}
+   if test -z "${NO_LIBTOOLIZE}" ; then
+   _elibtoolize --force --copy
+   fi
+
+   eautoconf
+eautomake --gnu --add-missing --force --copy
+}
+
+src_configure() {
+   local myeconfargs=(
+   "--enable-maintainer-mode"
+   )
+
+   use test && myeconfargs+=( "--with_unit_tests" )
+   use doc || myeconfargs+=( "--disable-docs" )
+
+   econf "${myeconfargs[@]}"
+}
+
+#src_compile() {
+#  exbuild xsp.sln
+#
+#  if use developer ; then
+#  exbuild /p:DebugSymbols=True ${METAFILETOBUILD}
+#  else
+#  exbuild /p:DebugSymbols=False ${METAFILETOBUILD}
+#  fi
+#}
+
+pkg_preinst() {
+   enewgroup aspnet
+   enewuser aspnet -1 -1 /tmp aspnet
+
+   # enewuser www-data
+   # www-data - is from debian, i think it's the same as aspnet here
+}
+
+src_install() {
+   mv_command="cp -ar" default
+
+   newinitd "${PATCHDIR}"/xsp.initd xsp
+   newinitd "${PATCHDIR}"/mod-mono-server-r1.initd mod-mono-server
+   newconfd "${PATCHDIR}"/xsp.confd xsp
+   newconfd "${PATCHDIR}"/mod-mono-server.confd mod-mono-server
+
+   insinto /etc/xsp4
+   doins "${FILESDIR}"/systemd/mono.webapp
+   insinto /etc/xsp4/conf.d
+
+   # mono-xsp4.service was original name from
+   # 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770458;filename=mono-xsp4.service;att=1;msg=5
+   # I think that using the same commands as in debian
+   # systemctl start mono-xsp4.service
+   # systemctl start mono-xsp4
+   # is better than to have shorter command
+   # systemctl start xsp
+   #
+   # insinto /usr/lib/systemd/system
+   systemd_dounit "${FILESDIR}"/systemd/mono-xsp4.service
+
+   keepdir /var/run/aspnet
+}



[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/

2021-03-27 Thread Sam James
commit: 21696fb59235a8c9cf752cc10b4c8db060b766f2
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 28 02:07:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 03:00:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21696fb5

www-servers/xsp: rename 2014.12-r2014120900 to 3.8_p2014120900

The old version name doesn't follow convention for git snapshots
and makes adding future actually-released versions difficult.

Signed-off-by: Sam James  gentoo.org>

 www-servers/xsp/Manifest| 2 +-
 .../xsp/{xsp-2014.12-r2014120900.ebuild => xsp-3.8_p2014120900.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-servers/xsp/Manifest b/www-servers/xsp/Manifest
index 612b373d2e7..1d57520ef23 100644
--- a/www-servers/xsp/Manifest
+++ b/www-servers/xsp/Manifest
@@ -1 +1 @@
-DIST xsp-2014.12.zip 632555 BLAKE2B 
e9c63a1e7ae26b45a6d4bec7aca48fc5f9712ffeb17087f6685009abb3feed4395015e8506b3c1333b59658f0334cadb66d181b35e4508bc807bb9680e360196
 SHA512 
a9d298079cfae4bacac1575f04e58c3106f532c1f283cc243a8a6560561c0a6b535320d1d3e925c7383bd1f7510f31f115d8e85506e31623c175d7f3f606ab91
+DIST xsp-3.8_p2014120900.zip 632555 BLAKE2B 
e9c63a1e7ae26b45a6d4bec7aca48fc5f9712ffeb17087f6685009abb3feed4395015e8506b3c1333b59658f0334cadb66d181b35e4508bc807bb9680e360196
 SHA512 
a9d298079cfae4bacac1575f04e58c3106f532c1f283cc243a8a6560561c0a6b535320d1d3e925c7383bd1f7510f31f115d8e85506e31623c175d7f3f606ab91

diff --git a/www-servers/xsp/xsp-2014.12-r2014120900.ebuild 
b/www-servers/xsp/xsp-3.8_p2014120900.ebuild
similarity index 100%
rename from www-servers/xsp/xsp-2014.12-r2014120900.ebuild
rename to www-servers/xsp/xsp-3.8_p2014120900.ebuild



[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/

2017-11-26 Thread David Seifert
commit: f5b3157129a0283b3168847bd52edb5f5be6a80e
Author: David Seifert  gentoo  org>
AuthorDate: Sun Nov 26 13:10:33 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 26 23:26:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5b31571

www-servers/xsp: [QA] Consistent whitespace in metadata.xml

 www-servers/xsp/metadata.xml | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/www-servers/xsp/metadata.xml b/www-servers/xsp/metadata.xml
index 93662ee6a09..fd8812bf8d6 100644
--- a/www-servers/xsp/metadata.xml
+++ b/www-servers/xsp/metadata.xml
@@ -2,8 +2,8 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-dot...@gentoo.org
-Gentoo Dotnet Project
+   dot...@gentoo.org
+   Gentoo Dotnet Project


XSP is a standalone web server written in C# that can be used 
to run
@@ -11,9 +11,9 @@


creates .mdb files for either Release 
and Debug
-use .NET 3.5 Framework
-use .NET 4.0 Framework
-use .NET 4.5 Framework
+   use .NET 3.5 Framework
+   use .NET 4.0 Framework
+   use .NET 4.5 Framework


mono/xsp



[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/files/

2017-02-17 Thread Michael Palimaka
commit: 433a6bf886fb1030e30ba107f758920225fd6703
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Thu Feb 16 16:37:23 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Fri Feb 17 12:25:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=433a6bf8

www-servers/xsp: remove unused patch

 www-servers/xsp/files/xsp-2.10.2-endrequest.patch | 35 ---
 1 file changed, 35 deletions(-)

diff --git a/www-servers/xsp/files/xsp-2.10.2-endrequest.patch 
b/www-servers/xsp/files/xsp-2.10.2-endrequest.patch
deleted file mode 100644
index ff702d3faa..00
--- a/www-servers/xsp/files/xsp-2.10.2-endrequest.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From d2c4a279942a4575b80618719646d0767c077e96 Mon Sep 17 00:00:00 2001
-From: Guillaume Pitel 
-Date: Tue, 6 Mar 2012 17:20:24 +0100
-Subject: [PATCH] Added try/catch around EndRequest Record sending (Bug 3765
- https://bugzilla.xamarin.com/show_bug.cgi?id=3765)
-

- src/Mono.WebServer.FastCgi/Connection.cs |   11 +++
- 1 file changed, 7 insertions(+), 4 deletions(-)
-
-diff --git a/src/Mono.WebServer.FastCgi/Connection.cs 
b/src/Mono.WebServer.FastCgi/Connection.cs
-index 6c70824..0e9ef64 100644
 a/src/Mono.WebServer.FastCgi/Connection.cs
-+++ b/src/Mono.WebServer.FastCgi/Connection.cs
-@@ -319,10 +319,13 @@ public void Run ()
-   {
-   EndRequestBody body = new EndRequestBody (appStatus,
-   protocolStatus);
--  
--  if (IsConnected)
--  new Record (1, RecordType.EndRequest, requestID,
--  body.GetData ()).Send (socket);
-+  try {   
-+  if (IsConnected)
-+  new Record (1, RecordType.EndRequest, 
requestID,
-+  body.GetData ()).Send 
(socket);
-+  } catch (System.Net.Sockets.SocketException) {
-+  }
-+  
-   
-   int index = GetRequestIndex (requestID);
-   
--- 
-1.7.10
-



[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/

2016-06-02 Thread Michael Palimaka
commit: ddd9fa7b84508e222a59e23121227863c647ce21
Author: Michael Palimaka  gentoo  org>
AuthorDate: Thu Jun  2 14:15:54 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Jun  2 14:21:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddd9fa7b

www-servers/xsp: remove trailing whitespace

Package-Manager: portage-2.3.0_rc1

 www-servers/xsp/xsp-2014.12-r2014120900.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/www-servers/xsp/xsp-2014.12-r2014120900.ebuild 
b/www-servers/xsp/xsp-2014.12-r2014120900.ebuild
index 3647107..3a8769c 100644
--- a/www-servers/xsp/xsp-2014.12-r2014120900.ebuild
+++ b/www-servers/xsp/xsp-2014.12-r2014120900.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -78,9 +78,9 @@ src_install() {
insinto /etc/xsp4
doins "${FILESDIR}"/systemd/mono.webapp
insinto /etc/xsp4/conf.d
-   # mono-xsp4.service was original name from 
+   # mono-xsp4.service was original name from
# 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770458;filename=mono-xsp4.service;att=1;msg=5
-   # I think that using the same commands as in debian 
+   # I think that using the same commands as in debian
# systemctl start mono-xsp4.service
# systemctl start mono-xsp4
# is better than to have shorter command



[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/files/2.2/

2016-05-18 Thread Austin English
commit: 2e89c8aa8a5412ad08dc2609fff309a4e99fdba8
Author: Austin English  gentoo  org>
AuthorDate: Wed May 18 06:35:27 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Wed May 18 06:38:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e89c8aa

www-servers/xsp: use #!/sbin/openrc-run instead of #!/sbin/runscript

 www-servers/xsp/files/2.2/mod-mono-server-r1.initd | 2 +-
 www-servers/xsp/files/2.2/mod-mono-server.initd| 2 +-
 www-servers/xsp/files/2.2/xsp.initd| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/www-servers/xsp/files/2.2/mod-mono-server-r1.initd 
b/www-servers/xsp/files/2.2/mod-mono-server-r1.initd
index 6ce6a60..6e091dd 100644
--- a/www-servers/xsp/files/2.2/mod-mono-server-r1.initd
+++ b/www-servers/xsp/files/2.2/mod-mono-server-r1.initd
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
 # Copyright 1999-2015 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 $

diff --git a/www-servers/xsp/files/2.2/mod-mono-server.initd 
b/www-servers/xsp/files/2.2/mod-mono-server.initd
index 49119e5..3906dc9 100644
--- a/www-servers/xsp/files/2.2/mod-mono-server.initd
+++ b/www-servers/xsp/files/2.2/mod-mono-server.initd
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
 # Copyright 1999-2015 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 $

diff --git a/www-servers/xsp/files/2.2/xsp.initd 
b/www-servers/xsp/files/2.2/xsp.initd
index 0432bca..8ae8aab 100644
--- a/www-servers/xsp/files/2.2/xsp.initd
+++ b/www-servers/xsp/files/2.2/xsp.initd
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
 # Copyright 1999-2015 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 $



[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/files/systemd/, www-servers/xsp/

2016-02-18 Thread Patrick Lauer
commit: 664e309a03dfd5620ab9a62d775becd9da2d893f
Author: Patrick Lauer  gentoo  org>
AuthorDate: Thu Feb 18 12:12:12 2016 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Thu Feb 18 12:16:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=664e309a

www-servers/xsp: Remove empty file

Package-Manager: portage-2.2.27

 www-servers/xsp/files/systemd/readme.txt   | 1 -
 www-servers/xsp/xsp-2014.12-r2014120900.ebuild | 1 -
 2 files changed, 2 deletions(-)

diff --git a/www-servers/xsp/files/systemd/readme.txt 
b/www-servers/xsp/files/systemd/readme.txt
deleted file mode 100644
index 8b13789..000
--- a/www-servers/xsp/files/systemd/readme.txt
+++ /dev/null
@@ -1 +0,0 @@
-

diff --git a/www-servers/xsp/xsp-2014.12-r2014120900.ebuild 
b/www-servers/xsp/xsp-2014.12-r2014120900.ebuild
index 735a0b6..3647107 100644
--- a/www-servers/xsp/xsp-2014.12-r2014120900.ebuild
+++ b/www-servers/xsp/xsp-2014.12-r2014120900.ebuild
@@ -78,7 +78,6 @@ src_install() {
insinto /etc/xsp4
doins "${FILESDIR}"/systemd/mono.webapp
insinto /etc/xsp4/conf.d
-   doins "${FILESDIR}"/systemd/readme.txt
# mono-xsp4.service was original name from 
# 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770458;filename=mono-xsp4.service;att=1;msg=5
# I think that using the same commands as in debian 



[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/

2015-10-25 Thread Heather Cynede
commit: e5f99201e400ad15ef01a260910449545c7c02c3
Author: Heather Cynede  gentoo  org>
AuthorDate: Sun Oct 25 18:26:11 2015 +
Commit: Heather Cynede  gentoo  org>
CommitDate: Sun Oct 25 18:26:51 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5f99201

www-servers/xsp: add missing IUSE to metadata

Package-Manager: portage-2.2.23

 www-servers/xsp/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www-servers/xsp/metadata.xml b/www-servers/xsp/metadata.xml
index 3cbbb7b..da62621 100644
--- a/www-servers/xsp/metadata.xml
+++ b/www-servers/xsp/metadata.xml
@@ -8,6 +8,9 @@


creates .mdb files for either Release 
and Debug
+use .NET 3.5 Framework
+use .NET 4.0 Framework
+use .NET 4.5 Framework


mono/xsp



[gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/files/systemd/, www-servers/xsp/, dev-util/monodevelop/, ...

2015-08-14 Thread Heather Cynede
commit: bd550428cf2ab0ab5cbff764d5b83456a508146b
Author: Heather Cynede cynede AT gentoo DOT org
AuthorDate: Fri Aug 14 08:59:41 2015 +
Commit: Heather Cynede cynede AT gentoo DOT org
CommitDate: Fri Aug 14 08:59:41 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd550428

dev-dotnet/xsp - www-servers/xsp

 dev-util/monodevelop/monodevelop-5.9.5.5.ebuild|  2 +-
 www-servers/xsp/Manifest   |  1 +
 www-servers/xsp/files/2.2/mod-mono-server-r1.initd | 83 +++
 www-servers/xsp/files/2.2/mod-mono-server.confd| 34 
 www-servers/xsp/files/2.2/mod-mono-server.initd| 81 +++
 www-servers/xsp/files/2.2/xsp.confd| 12 +++
 www-servers/xsp/files/2.2/xsp.initd| 38 +
 www-servers/xsp/files/aclocal-fix.patch| 13 +++
 www-servers/xsp/files/systemd/mono-xsp4.service| 15 
 www-servers/xsp/files/systemd/mono.webapp  | 10 +++
 www-servers/xsp/files/systemd/readme.txt   |  1 +
 www-servers/xsp/files/xsp-2.10.2-endrequest.patch  | 35 
 www-servers/xsp/metadata.xml   | 12 +++
 www-servers/xsp/xsp-2014.12-r2014120900.ebuild | 94 ++
 14 files changed, 430 insertions(+), 1 deletion(-)

diff --git a/dev-util/monodevelop/monodevelop-5.9.5.5.ebuild 
b/dev-util/monodevelop/monodevelop-5.9.5.5.ebuild
index 2e06b6f..a9aa414 100644
--- a/dev-util/monodevelop/monodevelop-5.9.5.5.ebuild
+++ b/dev-util/monodevelop/monodevelop-5.9.5.5.ebuild
@@ -26,7 +26,7 @@ RDEPEND==dev-lang/mono-3.2.8
=dev-dotnet/nuget-2.8.3
gnome? ( =dev-dotnet/gnome-sharp-2.24.2-r1 )
=dev-dotnet/gtk-sharp-2.12.21:2
-   =dev-dotnet/xsp-2
+   =www-servers/xsp-2
dev-util/ctags
sys-apps/dbus[X]
subversion? ( dev-vcs/subversion )

diff --git a/www-servers/xsp/Manifest b/www-servers/xsp/Manifest
new file mode 100644
index 000..43adeba
--- /dev/null
+++ b/www-servers/xsp/Manifest
@@ -0,0 +1 @@
+DIST xsp-2014.12.zip 632555 SHA256 
1d115e3fe0bbcb3957be20e670e086ebddff3acaa5f641a9c143ea46d12e055c SHA512 
a9d298079cfae4bacac1575f04e58c3106f532c1f283cc243a8a6560561c0a6b535320d1d3e925c7383bd1f7510f31f115d8e85506e31623c175d7f3f606ab91
 WHIRLPOOL 
a5e06f72f51717682d80f6ac6554320db72a05d6d6c40439196073d118706607f99bf810d82e8cc68cf9e54bd0f7d176cc882fa74babb8d78308cbe7c4d9d8cc

diff --git a/www-servers/xsp/files/2.2/mod-mono-server-r1.initd 
b/www-servers/xsp/files/2.2/mod-mono-server-r1.initd
new file mode 100644
index 000..6ce6a60
--- /dev/null
+++ b/www-servers/xsp/files/2.2/mod-mono-server-r1.initd
@@ -0,0 +1,83 @@
+#!/sbin/runscript
+# Copyright 1999-2015 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