From: "Petr Vaněk" <arkamar@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/
Date: Wed, 18 Sep 2024 20:25:38 +0000 (UTC) [thread overview]
Message-ID: <1726691108.8d9427dfed80d6569efe05085d70e30d1936c57d.arkamar@gentoo> (raw)
commit: 8d9427dfed80d6569efe05085d70e30d1936c57d
Author: Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 18 20:19:41 2024 +0000
Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> 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 <arkamar <AT> 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
+}
next reply other threads:[~2024-09-18 20:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-18 20:25 Petr Vaněk [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-18 20:25 [gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/ Petr Vaněk
2021-07-07 20:04 Conrad Kostecki
2021-07-07 20:04 Conrad Kostecki
2021-03-28 4:21 Sam James
2021-03-28 4:21 Sam James
2021-03-28 4:21 Sam James
2021-03-28 3:05 Sam James
2021-03-28 3:05 Sam James
2021-03-28 3:02 Sam James
2021-03-28 3:02 Sam James
2017-11-26 23:26 David Seifert
2016-06-02 14:21 Michael Palimaka
2015-10-25 18:29 Heather Cynede
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1726691108.8d9427dfed80d6569efe05085d70e30d1936c57d.arkamar@gentoo \
--to=arkamar@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox