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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 86901158083 for ; Wed, 18 Sep 2024 20:25:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22DF9E29A7; Wed, 18 Sep 2024 20:25:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9FA1BE29A6 for ; Wed, 18 Sep 2024 20:25:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DDD3234069F for ; Wed, 18 Sep 2024 20:25:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3EAF127EB for ; Wed, 18 Sep 2024 20:25:38 +0000 (UTC) From: "Petr Vaněk" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petr Vaněk" Message-ID: <1726691108.8d9427dfed80d6569efe05085d70e30d1936c57d.arkamar@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/xsp/xsp-4.7.1-r2.ebuild X-VCS-Directories: www-servers/xsp/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: 8d9427dfed80d6569efe05085d70e30d1936c57d X-VCS-Branch: master Date: Wed, 18 Sep 2024 20:25:38 +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: c3a1786d-ea44-4643-a17e-01f52dae7123 X-Archives-Hash: 68184964e449ac2b0a73b8842ab21ba0 commit: 8d9427dfed80d6569efe05085d70e30d1936c57d Author: Petr Vaněk gentoo org> AuthorDate: Wed Sep 18 20:19:41 2024 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Wed Sep 18 20:25:08 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d9427df www-servers/xsp: configuration and installation fixes - correct configuration arguments for test and doc USE flags - remove unused developer USE flag - remove commented src_compile function - remove keepdir for /var/run/aspnet - update HOMEPAGE Closes: https://bugs.gentoo.org/628774 Closes: https://bugs.gentoo.org/634240 Signed-off-by: Petr Vaněk gentoo.org> www-servers/xsp/xsp-4.7.1-r2.ebuild | 78 +++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/www-servers/xsp/xsp-4.7.1-r2.ebuild b/www-servers/xsp/xsp-4.7.1-r2.ebuild new file mode 100644 index 000000000000..8a89773c5328 --- /dev/null +++ b/www-servers/xsp/xsp-4.7.1-r2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2024 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="https://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" +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_with test unit-tests) + $(use_enable doc docs) + ) + + econf "${myeconfargs[@]}" +} + +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 +}