From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D834B13933E for ; Wed, 7 Jul 2021 20:04:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A33F1E0D76; Wed, 7 Jul 2021 20:04:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79B7EE0D76 for ; Wed, 7 Jul 2021 20:04:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2D048342B7A for ; Wed, 7 Jul 2021 20:04:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B40857C8 for ; Wed, 7 Jul 2021 20:04:17 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1625688139.d846823d08cafd29d8e714eeedc2ccd807035bb2.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/xsp/xsp-3.8_p2014120900-r1.ebuild www-servers/xsp/xsp-4.7.1-r1.ebuild X-VCS-Directories: www-servers/xsp/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: d846823d08cafd29d8e714eeedc2ccd807035bb2 X-VCS-Branch: master Date: Wed, 7 Jul 2021 20:04:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: feabab3b-68f4-40ad-ad0b-744bb815aac3 X-Archives-Hash: a999e6561f45e07429c6825db1552ae9 commit: d846823d08cafd29d8e714eeedc2ccd807035bb2 Author: Conrad Kostecki gentoo org> AuthorDate: Wed Jul 7 20:01:21 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Jul 7 20:02:19 2021 +0000 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 00000000000..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 00000000000..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() { +# 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 +}