From 814f4cf860e299a046b649eaee5463427984c09c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 8 Jul 2021 15:03:58 +0100 Subject: gentoo resync : 08.07.2021 --- www-servers/xsp/Manifest | 4 +- www-servers/xsp/xsp-3.8_p2014120900-r1.ebuild | 95 +++++++++++++++++++++++++ www-servers/xsp/xsp-3.8_p2014120900.ebuild | 99 --------------------------- www-servers/xsp/xsp-4.7.1-r1.ebuild | 91 ++++++++++++++++++++++++ www-servers/xsp/xsp-4.7.1.ebuild | 95 ------------------------- 5 files changed, 188 insertions(+), 196 deletions(-) create mode 100644 www-servers/xsp/xsp-3.8_p2014120900-r1.ebuild delete mode 100644 www-servers/xsp/xsp-3.8_p2014120900.ebuild create mode 100644 www-servers/xsp/xsp-4.7.1-r1.ebuild delete mode 100644 www-servers/xsp/xsp-4.7.1.ebuild (limited to 'www-servers/xsp') diff --git a/www-servers/xsp/Manifest b/www-servers/xsp/Manifest index 7f881bde99d4..f4e31e71242d 100644 --- a/www-servers/xsp/Manifest +++ b/www-servers/xsp/Manifest @@ -8,6 +8,6 @@ AUX systemd/mono-xsp4.service 340 BLAKE2B 96674d1c6cdfffcfa0a2530ea58c99b4cea8e7 AUX systemd/mono.webapp 315 BLAKE2B 159a9c27bba5956dad1b7a2ec1587bd35782d1cb236b9c957c1906b52faeceb4d333e91872b9505e73153a4d16bc1ed6aa76b3b296c1641cb0dc04fc4f56744f SHA512 e7b33fa0f36b27854c8a215cacab25760b5ff91f12415dbd9406e1f92cb0faf035bcfb14b8e0b37c22ff73f0a9c31a1cf9ac213c9167e5f8618a943440e0384d DIST xsp-3.8_p2014120900.tar.gz 307722 BLAKE2B a6c7723e41490022ea969961f93fa3cb5b5eb583edd6ad1ef40dc38adc29cc9c0de16b7da5e98074b0848cdb7cce1e4c5e0298dc6f7f71d6a5c5e542a662005e SHA512 bf7a8cbeda330be98eb6fb1942ca9d6d8107ceabfb47db36d4b9b1f9d99afb329bad7737a4c9bfbf3ac205e9499dd58b2aa1cf7dfd83e41ee50b3820b05d4596 DIST xsp-4.7.1.tar.gz 307143 BLAKE2B f8a3a09d644d567728e6462df553ff52fdbd17e974dc25aeebd011e7b6c22ef76be69cc49acfd1cdd9edbd30728ce6b7ef5f33ecda50653db219863b17442b36 SHA512 f106b073bc17ae8fafcffdf2f0db7284f36b62b648fd79321a0de7f5ed15085a9116deccf464e72b3e6f5daf8d65d0a6a3d55c1b275546a4762fa3236bd58e2b -EBUILD xsp-3.8_p2014120900.ebuild 2374 BLAKE2B ce4456beb45e060bd2a63bf09e76f0cc5590a8c833fb39e45dc96e0ad8ac75cdd2ff16152f6a5875689b67c78855cf70eed7af4a297b0bf9a92915845522f5c3 SHA512 d6b446f48ce3c324091fcd2a70be54eff6c7653ea110826082da0a3d5850aea86ac8405577f2b0e05885478f701fbd338075bfbb43f1a6feb507d6a997d9c844 -EBUILD xsp-4.7.1.ebuild 2187 BLAKE2B c981767421b5c1969b2c34586760d0a2611eafcf5e0ec85e8ee5654e12d1b47b757ee4c5b09b9c8bace21053d0d9b78652434486a42ecee8ab675a3689fd814e SHA512 6cdf7f14015e9b30035114e67e606d908e10c81a1c5befe00feb21e16f1960a9f7c81de4ca7efe0be52d419397ae13306c389197de77280ad17d86d9fcf19c37 +EBUILD xsp-3.8_p2014120900-r1.ebuild 2247 BLAKE2B 8b918f68477de9cbdb3890c69c950e92bed1f5393f5341be8bf7227ac53cd7d2dfab49639c4809ee2f48a9fe7db26f28029ae31c53b841b447508a360c4390c9 SHA512 435c76b49a51f47d0acb51d820b9eb83462070ab7afa3db4f47625c2537c98a9649df532c01ccc166d02d1d28f7e0eee9910f4cd2ab43b0486a134c2a0e24a87 +EBUILD xsp-4.7.1-r1.ebuild 2060 BLAKE2B d40381e27b281a8ba71c5777f864f7e363597d35c074b049127ffae926cfd6a4b44387278b2f49f3355cc688b422860c1f795e9831773b0880d5200d41d3054d SHA512 09e9c8c68cf78581c98d10d0cbdd0325662e80f252b577fe7b16b67965ca4271102add2fe653fedd3f5322ce7cee66d75e8464b677aeb1855e890ba2c13e28d3 MISC metadata.xml 488 BLAKE2B 8725ea89fc8e394963ede0b84af83b2ec69f0b9a88a47c00a64dbc86f5be17264132a909839a57d2d13a315c8bbe082f6410456229bf23e2ad890c0580a1e9b1 SHA512 71a3eea4ed3a14bbc71524738e0b7a80a25a3e34905fbb2aef2e66830099d5addab8bb95b1d9e7ee5df0861a75651c43b1835e404bd2dba5db5e00d86bed0c52 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 000000000000..c1ec007657b4 --- /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-3.8_p2014120900.ebuild b/www-servers/xsp/xsp-3.8_p2014120900.ebuild deleted file mode 100644 index e2d9fda01c70..000000000000 --- 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-r1.ebuild b/www-servers/xsp/xsp-4.7.1-r1.ebuild new file mode 100644 index 000000000000..a7a1cdb95503 --- /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() { +# 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.ebuild b/www-servers/xsp/xsp-4.7.1.ebuild deleted file mode 100644 index e5cd0168007c..000000000000 --- 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 "${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 -} -- cgit v1.2.3