Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/xsp/
Date: Wed, 07 Jul 2021 20:04:21
Message-Id: 1625688140.d054ae0523bf99bb780d699ed21e87f7a52729c4.conikost@gentoo
1 commit: d054ae0523bf99bb780d699ed21e87f7a52729c4
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 7 20:02:05 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 7 20:02:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d054ae05
7
8 www-servers/xsp: drop old version
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 www-servers/xsp/xsp-3.8_p2014120900.ebuild | 99 ------------------------------
14 www-servers/xsp/xsp-4.7.1.ebuild | 95 ----------------------------
15 2 files changed, 194 deletions(-)
16
17 diff --git a/www-servers/xsp/xsp-3.8_p2014120900.ebuild b/www-servers/xsp/xsp-3.8_p2014120900.ebuild
18 deleted file mode 100644
19 index e2d9fda01c7..00000000000
20 --- a/www-servers/xsp/xsp-3.8_p2014120900.ebuild
21 +++ /dev/null
22 @@ -1,99 +0,0 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -# TODO: We can probably yank the USE_DOTNET/dotnet.eclass stuff
29 -# but let's be conservative for now
30 -USE_DOTNET="net35 net40 net45"
31 -inherit autotools dotnet systemd user
32 -
33 -EGIT_COMMIT="e272a2c006211b6b03be2ef5bbb9e3f8fefd0768"
34 -DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
35 -HOMEPAGE="http://www.mono-project.com/ASP.NET"
36 -SRC_URI="https://github.com/mono/xsp/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
37 -S="${WORKDIR}/xsp-${EGIT_COMMIT}"
38 -
39 -LICENSE="MIT"
40 -SLOT="0"
41 -KEYWORDS="~amd64 ~ppc ~x86"
42 -IUSE="developer doc test"
43 -RESTRICT="!test? ( test )"
44 -
45 -RDEPEND="dev-db/sqlite:3"
46 -DEPEND="${RDEPEND}"
47 -
48 -PATCHES=(
49 - "${FILESDIR}/aclocal-fix.patch"
50 -)
51 -
52 -METAFILETOBUILD=xsp.sln
53 -
54 -src_prepare() {
55 - default
56 -
57 - eaclocal -I build/m4/shamrock -I build/m4/shave ${ACLOCAL_FLAGS}
58 - if test -z "${NO_LIBTOOLIZE}" ; then
59 - _elibtoolize --force --copy
60 - fi
61 -
62 - eautoconf
63 - eautomake --gnu --add-missing --force --copy
64 -}
65 -
66 -src_configure() {
67 - local myeconfargs=(
68 - "--enable-maintainer-mode"
69 - )
70 -
71 - use test && myeconfargs+=( "--with_unit_tests" )
72 - use doc || myeconfargs+=( "--disable-docs" )
73 -
74 - econf "${myeconfargs[@]}"
75 -}
76 -
77 -#src_compile() {
78 -# exbuild xsp.sln
79 -
80 -# if use developer ; then
81 -# exbuild /p:DebugSymbols=True ${METAFILETOBUILD}
82 -# else
83 -# exbuild /p:DebugSymbols=False ${METAFILETOBUILD}
84 -# fi
85 -#}
86 -
87 -pkg_preinst() {
88 - enewgroup aspnet
89 - enewuser aspnet -1 -1 /tmp aspnet
90 -
91 - # enewuser www-data
92 - # www-data - is from debian, i think it's the same as aspnet here
93 -}
94 -
95 -src_install() {
96 - default
97 -
98 - local PATCHDIR="${FILESDIR}/2.2/"
99 -
100 - newinitd "${PATCHDIR}"/xsp.initd xsp
101 - newinitd "${PATCHDIR}"/mod-mono-server-r1.initd mod-mono-server
102 - newconfd "${PATCHDIR}"/xsp.confd xsp
103 - newconfd "${PATCHDIR}"/mod-mono-server.confd mod-mono-server
104 -
105 - insinto /etc/xsp4
106 - doins "${FILESDIR}"/systemd/mono.webapp
107 - insinto /etc/xsp4/conf.d
108 -
109 - # mono-xsp4.service was original name from
110 - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770458;filename=mono-xsp4.service;att=1;msg=5
111 - # I think that using the same commands as in debian
112 - # systemctl start mono-xsp4.service
113 - # systemctl start mono-xsp4
114 - # is better than to have shorter command
115 - # systemctl start xsp
116 - #
117 - # insinto /usr/lib/systemd/system
118 - systemd_dounit "${FILESDIR}"/systemd/mono-xsp4.service
119 -
120 - keepdir /var/run/aspnet
121 -}
122
123 diff --git a/www-servers/xsp/xsp-4.7.1.ebuild b/www-servers/xsp/xsp-4.7.1.ebuild
124 deleted file mode 100644
125 index e5cd0168007..00000000000
126 --- a/www-servers/xsp/xsp-4.7.1.ebuild
127 +++ /dev/null
128 @@ -1,95 +0,0 @@
129 -# Copyright 1999-2021 Gentoo Authors
130 -# Distributed under the terms of the GNU General Public License v2
131 -
132 -EAPI=7
133 -
134 -USE_DOTNET="net35 net40 net45"
135 -inherit autotools dotnet systemd user
136 -
137 -DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
138 -HOMEPAGE="http://www.mono-project.com/ASP.NET"
139 -SRC_URI="https://github.com/mono/xsp/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
140 -
141 -LICENSE="MIT"
142 -SLOT="0"
143 -KEYWORDS="~amd64 ~ppc ~x86"
144 -IUSE="developer doc test"
145 -RESTRICT="!test? ( test )"
146 -
147 -RDEPEND="dev-db/sqlite:3"
148 -DEPEND="${RDEPEND}"
149 -
150 -PATCHES=(
151 - "${FILESDIR}/aclocal-fix.patch"
152 -)
153 -
154 -METAFILETOBUILD=xsp.sln
155 -
156 -src_prepare() {
157 - default
158 -
159 - eaclocal -I build/m4/shamrock -I build/m4/shave ${ACLOCAL_FLAGS}
160 - if test -z "${NO_LIBTOOLIZE}" ; then
161 - _elibtoolize --force --copy
162 - fi
163 -
164 - eautoconf
165 - eautomake --gnu --add-missing --force --copy
166 -}
167 -
168 -src_configure() {
169 - local myeconfargs=(
170 - "--enable-maintainer-mode"
171 - )
172 -
173 - use test && myeconfargs+=( "--with_unit_tests" )
174 - use doc || myeconfargs+=( "--disable-docs" )
175 -
176 - econf "${myeconfargs[@]}"
177 -}
178 -
179 -#src_compile() {
180 -# exbuild xsp.sln
181 -#
182 -# if use developer ; then
183 -# exbuild /p:DebugSymbols=True ${METAFILETOBUILD}
184 -# else
185 -# exbuild /p:DebugSymbols=False ${METAFILETOBUILD}
186 -# fi
187 -#}
188 -
189 -pkg_preinst() {
190 - enewgroup aspnet
191 - enewuser aspnet -1 -1 /tmp aspnet
192 -
193 - # enewuser www-data
194 - # www-data - is from debian, i think it's the same as aspnet here
195 -}
196 -
197 -src_install() {
198 - default
199 -
200 - local PATCHDIR="${FILESDIR}/2.2/"
201 -
202 - newinitd "${PATCHDIR}"/xsp.initd xsp
203 - newinitd "${PATCHDIR}"/mod-mono-server-r1.initd mod-mono-server
204 - newconfd "${PATCHDIR}"/xsp.confd xsp
205 - newconfd "${PATCHDIR}"/mod-mono-server.confd mod-mono-server
206 -
207 - insinto /etc/xsp4
208 - doins "${FILESDIR}"/systemd/mono.webapp
209 - insinto /etc/xsp4/conf.d
210 -
211 - # mono-xsp4.service was original name from
212 - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770458;filename=mono-xsp4.service;att=1;msg=5
213 - # I think that using the same commands as in debian
214 - # systemctl start mono-xsp4.service
215 - # systemctl start mono-xsp4
216 - # is better than to have shorter command
217 - # systemctl start xsp
218 - #
219 - # insinto /usr/lib/systemd/system
220 - systemd_dounit "${FILESDIR}"/systemd/mono-xsp4.service
221 -
222 - keepdir /var/run/aspnet
223 -}