Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/fms/
Date: Wed, 01 Feb 2023 19:27:25
Message-Id: 1675279599.2325db9f8d7f957d7189d30fc8880a8f43f26816.asturm@gentoo
1 commit: 2325db9f8d7f957d7189d30fc8880a8f43f26816
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 28 18:31:08 2023 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 1 19:26:39 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2325db9f
7
8 net-p2p/fms: drop 0.3.82-r1, 0.3.83
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 net-p2p/fms/Manifest | 2 -
13 net-p2p/fms/fms-0.3.82-r1.ebuild | 97 -------------------------------------
14 net-p2p/fms/fms-0.3.83.ebuild | 101 ---------------------------------------
15 3 files changed, 200 deletions(-)
16
17 diff --git a/net-p2p/fms/Manifest b/net-p2p/fms/Manifest
18 index 557cd4fb9ecb..acba217e0e9b 100644
19 --- a/net-p2p/fms/Manifest
20 +++ b/net-p2p/fms/Manifest
21 @@ -1,3 +1 @@
22 -DIST fms-src-0.3.82.zip 4786920 BLAKE2B c18630b8b1b8871290f1d66c4638b99c110e0f49bef11517aa83760274707fd5d0b53c053ea3b38a0c35018de4a4b6f3dd426499228997bac377bb1f04f784fb SHA512 2a72cbc7e23eb16cc12bd373944d1da090030602a09d0c1cf2fd8688a7b1a98ff649f1d0aa8b525b65987394d81acbb9b7558fcb21cea90a7646067a16600673
23 -DIST fms-src-0.3.83.zip 4813813 BLAKE2B 07b28fa1ef151ca75e547515c8771fc425aa78003980f20134c4d3b670ccaa4c20b24dc0517194dd4675d9b3b8c8f84e929a94921945d156ae5b0b898a7fad56 SHA512 140f76f4a5c0582c3df031e4001f8870c761249d3af0226acefc9ee646973c9dee4f65ab8964ae43a6ec29de735bea0155603f596ec5a07ff7458d0ffd2ee4d3
24 DIST fms-src-0.3.84.zip 4913007 BLAKE2B ec96d26ea5fedaf2109c0b1aa00d1dfa82e5b45bfe7db8a58cab9f682c16f41b05a2d3e51a4ece2a148101d36472499d1592d9dab66dd544402e8cc8cc37a5ff SHA512 e3fe163e3aefafbdeebeb67601bb940db2015eb8d8ca334f9bcfc41c86b704fc450e039f1301106c299011ef02d5fb7c28b97782bf3252d320adf3bac230b744
25
26 diff --git a/net-p2p/fms/fms-0.3.82-r1.ebuild b/net-p2p/fms/fms-0.3.82-r1.ebuild
27 deleted file mode 100644
28 index ca07782f8477..000000000000
29 --- a/net-p2p/fms/fms-0.3.82-r1.ebuild
30 +++ /dev/null
31 @@ -1,97 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -inherit edos2unix cmake
38 -
39 -DESCRIPTION="A spam-resistant message board application for Freenet"
40 -# FMS only has a homepage within freenet, so the closest is a wiki linking to it
41 -HOMEPAGE="https://github.com/freenet/wiki/wiki/FMS"
42 -SRC_URI="https://dev.gentoo.org/~tommy/distfiles/${PN}-src-${PV}.zip"
43 -S="${WORKDIR}"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE="frost ssl"
49 -
50 -CDEPEND="
51 - acct-group/freenet
52 - acct-user/freenet
53 -"
54 -
55 -RDEPEND="
56 - ${CDEPEND}
57 - dev-db/sqlite:3=
58 - dev-libs/poco
59 - frost? ( net-libs/mbedtls:0= )
60 - ssl? ( net-libs/mbedtls:0= )
61 -"
62 -DEPEND="${RDEPEND}"
63 -BDEPEND="
64 - ${CDEPEND}
65 - app-arch/unzip
66 - virtual/libiconv
67 -"
68 -
69 -PATCHES=( "${FILESDIR}/${PN}-use-system-libs4.patch" )
70 -
71 -DOCS=( "readme.txt" )
72 -
73 -src_prepare() {
74 - # Convert encoding due applied patch
75 - edos2unix src/http/pages/showfilepage.cpp
76 - edos2unix CMakeLists.txt
77 -
78 - # Remove bundled libs
79 - rm -fr libs || die
80 -
81 - cmake_src_prepare
82 -}
83 -
84 -src_configure() {
85 - local mycmakeargs=(
86 - -DDO_CHARSET_CONVERSION="ON"
87 - -DFCP_SSL_SUPPORT="$(usex ssl 'ON' 'OFF')"
88 - -DFROST_SUPPORT="$(usex frost 'ON' 'OFF')"
89 - -DI_HAVE_READ_THE_README="ON"
90 - -DUSE_BUNDLED_SQLITE="OFF"
91 - )
92 -
93 - cmake_src_configure
94 -}
95 -
96 -src_install() {
97 - dobin "${BUILD_DIR}"/fms
98 -
99 - insinto /var/freenet/fms
100 - doins *.htm
101 - doins -r fonts images styles translations
102 -
103 - fperms -R o-rwx /var/freenet/fms
104 - fowners -R freenet:freenet /var/freenet/fms
105 -
106 - newinitd "${FILESDIR}/fms.initd" fms
107 -
108 - einstalldocs
109 -}
110 -
111 -pkg_postinst() {
112 - if ! has_version 'net-p2p/freenet' ; then
113 - ewarn "FMS needs a freenet node to upload and download messages."
114 - ewarn "Please make sure to have a node you can connect to"
115 - ewarn "or install net-p2p/freenet to get FMS working."
116 - fi
117 -
118 - einfo "By default, the FMS NNTP server will listen on port 1119,"
119 - einfo "and the web configuration interface will be running at"
120 - einfo "http://localhost:8080."
121 - einfo "For more information, read the installed readme.txt."
122 -
123 - if use frost; then
124 - einfo
125 - einfo "You need to enable frost on the configuration page"
126 - einfo "and restart FMS for frost support."
127 - fi
128 -}
129
130 diff --git a/net-p2p/fms/fms-0.3.83.ebuild b/net-p2p/fms/fms-0.3.83.ebuild
131 deleted file mode 100644
132 index 4923e8506423..000000000000
133 --- a/net-p2p/fms/fms-0.3.83.ebuild
134 +++ /dev/null
135 @@ -1,101 +0,0 @@
136 -# Copyright 1999-2021 Gentoo Authors
137 -# Distributed under the terms of the GNU General Public License v2
138 -
139 -EAPI=7
140 -
141 -inherit edos2unix cmake
142 -
143 -DESCRIPTION="A spam-resistant message board application for Freenet"
144 -# FMS only has a homepage within freenet, so the closest is a wiki linking to it
145 -HOMEPAGE="https://github.com/freenet/wiki/wiki/FMS"
146 -SRC_URI="https://dev.gentoo.org/~tommy/distfiles/${PN}-src-${PV}.zip"
147 -S="${WORKDIR}"
148 -
149 -LICENSE="GPL-2"
150 -SLOT="0"
151 -KEYWORDS="~amd64 ~x86"
152 -IUSE="frost ssl"
153 -
154 -CDEPEND="
155 - acct-group/freenet
156 - acct-user/freenet
157 -"
158 -
159 -RDEPEND="
160 - ${CDEPEND}
161 - dev-db/sqlite:3=
162 - dev-libs/poco
163 - frost? ( net-libs/mbedtls:0= )
164 - ssl? ( net-libs/mbedtls:0= )
165 -"
166 -DEPEND="${RDEPEND}"
167 -BDEPEND="
168 - ${CDEPEND}
169 - app-arch/unzip
170 - virtual/libiconv
171 -"
172 -
173 -PATCHES=(
174 - "${FILESDIR}/${PN}-use-system-libs4.patch"
175 - "${FILESDIR}/${P}-fix-for-mbedtls-3.patch"
176 -)
177 -
178 -DOCS=( "readme.txt" )
179 -
180 -src_prepare() {
181 - # Convert encoding due applied patch
182 - edos2unix src/http/pages/showfilepage.cpp
183 - edos2unix CMakeLists.txt
184 - edos2unix include/freenet/fcpv2.h
185 -
186 - # Remove bundled libs
187 - rm -fr libs || die
188 -
189 - cmake_src_prepare
190 -}
191 -
192 -src_configure() {
193 - local mycmakeargs=(
194 - -DDO_CHARSET_CONVERSION="ON"
195 - -DFCP_SSL_SUPPORT="$(usex ssl 'ON' 'OFF')"
196 - -DFROST_SUPPORT="$(usex frost 'ON' 'OFF')"
197 - -DI_HAVE_READ_THE_README="ON"
198 - -DUSE_BUNDLED_SQLITE="OFF"
199 - )
200 -
201 - cmake_src_configure
202 -}
203 -
204 -src_install() {
205 - dobin "${BUILD_DIR}"/fms
206 -
207 - insinto /var/freenet/fms
208 - doins *.htm
209 - doins -r fonts images styles translations
210 -
211 - fperms -R o-rwx /var/freenet/fms
212 - fowners -R freenet:freenet /var/freenet/fms
213 -
214 - newinitd "${FILESDIR}/fms.initd" fms
215 -
216 - einstalldocs
217 -}
218 -
219 -pkg_postinst() {
220 - if ! has_version 'net-p2p/freenet' ; then
221 - ewarn "FMS needs a freenet node to upload and download messages."
222 - ewarn "Please make sure to have a node you can connect to"
223 - ewarn "or install net-p2p/freenet to get FMS working."
224 - fi
225 -
226 - einfo "By default, the FMS NNTP server will listen on port 1119,"
227 - einfo "and the web configuration interface will be running at"
228 - einfo "http://localhost:8080."
229 - einfo "For more information, read the installed readme.txt."
230 -
231 - if use frost; then
232 - einfo
233 - einfo "You need to enable frost on the configuration page"
234 - einfo "and restart FMS for frost support."
235 - fi
236 -}