Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/spamassassin/
Date: Sat, 02 Mar 2019 05:01:48
Message-Id: 1551502841.69226c91c39c8884801c38f31491da6029903ac5.mjo@gentoo
1 commit: 69226c91c39c8884801c38f31491da6029903ac5
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 2 04:50:16 2019 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 2 05:00:41 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69226c91
7
8 mail-filter/spamassassin: remove "unused" -r3 and -r4 ebuilds.
9
10 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 .../spamassassin/spamassassin-3.4.2-r3.ebuild | 283 --------------------
14 .../spamassassin/spamassassin-3.4.2-r4.ebuild | 284 ---------------------
15 2 files changed, 567 deletions(-)
16
17 diff --git a/mail-filter/spamassassin/spamassassin-3.4.2-r3.ebuild b/mail-filter/spamassassin/spamassassin-3.4.2-r3.ebuild
18 deleted file mode 100644
19 index e1fd1700495..00000000000
20 --- a/mail-filter/spamassassin/spamassassin-3.4.2-r3.ebuild
21 +++ /dev/null
22 @@ -1,283 +0,0 @@
23 -# Copyright 1999-2018 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=6
27 -
28 -inherit perl-functions systemd toolchain-funcs user eapi7-ver
29 -
30 -MY_P="Mail-SpamAssassin-${PV//_/-}"
31 -S="${WORKDIR}/${MY_P}"
32 -DESCRIPTION="An extensible mail filter which can identify and tag spam"
33 -HOMEPAGE="https://spamassassin.apache.org/"
34 -SRC_URI="mirror://apache/spamassassin/source/${MY_P}.tar.bz2"
35 -
36 -LICENSE="Apache-2.0 GPL-2"
37 -SLOT="0"
38 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
39 -IUSE="berkdb cron ipv6 ldap libressl mysql postgres qmail sqlite ssl test"
40 -
41 -# The Makefile.PL script checks for dependencies, but only fails if a
42 -# required (i.e. not optional) dependency is missing. We therefore
43 -# require most of the optional modules only at runtime.
44 -REQDEPEND="dev-lang/perl:=
45 - dev-perl/HTML-Parser
46 - dev-perl/Net-DNS
47 - dev-perl/NetAddr-IP
48 - virtual/perl-Archive-Tar
49 - virtual/perl-Digest-SHA
50 - virtual/perl-IO-Zlib
51 - virtual/perl-Time-HiRes
52 - ssl? (
53 - !libressl? ( dev-libs/openssl:0= )
54 - libressl? ( dev-libs/libressl )
55 - )"
56 -
57 -# SpamAssassin doesn't use libwww-perl except as a fallback for when
58 -# curl/wget are missing, so we depend on one of those instead. Some
59 -# mirrors use https, so we need those utilities to support SSL.
60 -#
61 -# re2c is needed to compile the rules (sa-compile).
62 -#
63 -# We still need the old Digest-SHA1 because razor2 has not been ported
64 -# to Digest-SHA.
65 -OPTDEPEND="app-crypt/gnupg
66 - dev-perl/Digest-SHA1
67 - dev-perl/Encode-Detect
68 - dev-perl/Geo-IP
69 - dev-perl/HTTP-Date
70 - dev-perl/Mail-DKIM
71 - dev-perl/Mail-SPF
72 - dev-perl/Net-Patricia
73 - dev-perl/Net-CIDR-Lite
74 - dev-util/re2c
75 - || ( net-misc/wget[ssl] net-misc/curl[ssl] )
76 - virtual/perl-MIME-Base64
77 - virtual/perl-Pod-Parser
78 - berkdb? ( virtual/perl-DB_File )
79 - ipv6? ( dev-perl/IO-Socket-INET6 )
80 - ldap? ( dev-perl/perl-ldap )
81 - mysql? (
82 - dev-perl/DBI
83 - dev-perl/DBD-mysql
84 - )
85 - postgres? (
86 - dev-perl/DBI
87 - dev-perl/DBD-Pg
88 - )
89 - sqlite? (
90 - dev-perl/DBI
91 - dev-perl/DBD-SQLite
92 - )
93 - ssl? ( dev-perl/IO-Socket-SSL )"
94 -
95 -DEPEND="${REQDEPEND}
96 - test? (
97 - ${OPTDEPEND}
98 - virtual/perl-Test-Harness
99 - )"
100 -RDEPEND="${REQDEPEND} ${OPTDEPEND}"
101 -
102 -PATCHES=(
103 - "${FILESDIR}/spamassassin-3.4.2-bug_7631.patch"
104 - "${FILESDIR}/spamassassin-3.4.2-bug_7632.patch"
105 -)
106 -
107 -src_prepare() {
108 - default
109 -
110 - # The sa_compile test does some weird stuff like hopping around in
111 - # the directory tree and calling "make" to create a dist tarball
112 - # from ${S}. It fails, and is more trouble than it's worth...
113 - perl_rm_files t/sa_compile.t || die 'failed to remove sa_compile test'
114 -
115 - # The spamc tests (which need the networked spamd daemon) fail for
116 - # irrelevant reasons. It's too hard to disable them (unlike the
117 - # spamd tests themselves -- see src_test), so use a crude
118 - # workaround.
119 - perl_rm_files t/spamc_*.t || die 'failed to remove spamc tests'
120 -
121 - # Upstream bug 7622: this thing needs network access but doesn't
122 - # respect the 'run_net_tests' setting.
123 - perl_rm_files t/urilocalbl_geoip.t \
124 - || die 'failed to remove urilocalbl_geoip tests'
125 -}
126 -
127 -src_configure() {
128 - # This is how and where the perl-module eclass disables the
129 - # MakeMaker interactive prompt.
130 - export PERL_MM_USE_DEFAULT=1
131 -
132 - # Set SYSCONFDIR explicitly so we can't get bitten by bug 48205 again
133 - # (just to be sure, nobody knows how it could happen in the first place).
134 - #
135 - # We also set the path to the perl executable explictly. This will be
136 - # used to create the initial shebang line in the scripts (bug 62276).
137 - perl Makefile.PL \
138 - PREFIX="${EPREFIX}/usr" \
139 - INSTALLDIRS=vendor \
140 - SYSCONFDIR="${EPREFIX}/etc" \
141 - DATADIR="${EPREFIX}/usr/share/spamassassin" \
142 - PERL_BIN="${EPREFIX}/usr/bin/perl" \
143 - ENABLE_SSL="$(usex ssl)" \
144 - DESTDIR="${D}" \
145 - || die 'failed to create a Makefile using Makefile.PL'
146 -
147 - # Now configure spamc.
148 - emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" spamc/Makefile
149 -}
150 -
151 -src_compile() {
152 - emake
153 - use qmail && emake spamc/qmail-spamc
154 -}
155 -
156 -src_install () {
157 - emake install
158 - einstalldocs
159 -
160 - # Create the stub dir used by sa-update and friends
161 - keepdir /var/lib/spamassassin
162 -
163 - # Move spamd to sbin where it belongs.
164 - dodir /usr/sbin
165 - mv "${ED}"/usr/bin/spamd "${ED}"/usr/sbin/spamd || die "move spamd failed"
166 -
167 - if use qmail; then
168 - dobin spamc/qmail-spamc
169 - fi
170 -
171 - dosym mail/spamassassin /etc/spamassassin
172 -
173 - # Disable plugin by default
174 - sed -i -e 's/^loadplugin/\#loadplugin/g' \
175 - "${ED}/etc/mail/spamassassin/init.pre" \
176 - || die "failed to disable plugins by default"
177 -
178 - # Add the init and config scripts.
179 - newinitd "${FILESDIR}/3.4.1-spamd.init-r3" spamd
180 - newconfd "${FILESDIR}/3.4.1-spamd.conf-r1" spamd
181 -
182 - systemd_newunit "${FILESDIR}/${PN}.service-r4" "${PN}.service"
183 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf-r2" \
184 - "${PN}.service"
185 -
186 - use postgres && dodoc sql/*_pg.sql
187 - use mysql && dodoc sql/*_mysql.sql
188 -
189 - dodoc NOTICE TRADEMARK CREDITS UPGRADE USAGE sql/README.bayes \
190 - sql/README.awl procmailrc.example sample-nonspam.txt \
191 - sample-spam.txt spamd/PROTOCOL spamd/README.vpopmail \
192 - spamd-apache2/README.apache
193 -
194 - # Rename some files so that they don't clash with others.
195 - newdoc spamd/README README.spamd
196 - newdoc sql/README README.sql
197 - newdoc ldap/README README.ldap
198 -
199 - if use qmail; then
200 - dodoc spamc/README.qmail
201 - fi
202 -
203 - insinto /etc/mail/spamassassin/
204 - insopts -m0400
205 - newins "${FILESDIR}"/secrets.cf secrets.cf.example
206 -
207 - # Create the directory where sa-update stores its GPG key (if you
208 - # choose to import one). If this directory does not exist, the
209 - # import will fail. This is bug 396307. We expect that the import
210 - # will be performed as root, and making the directory accessible
211 - # only to root prevents a warning on the command-line.
212 - diropts -m0700
213 - dodir /etc/mail/spamassassin/sa-update-keys
214 -
215 - if use cron; then
216 - # Install the cron job if they want it.
217 - exeinto /etc/cron.daily
218 - newexe "${FILESDIR}/update-spamassassin-rules.cron" \
219 - update-spamassassin-rules
220 - fi
221 -
222 - # Remove perllocal.pod to avoid file collisions (bug #603338).
223 - perl_delete_localpod || die "failed to remove perllocal.pod"
224 -
225 - # The perl-module eclass calls three other functions to clean
226 - # up in src_install. The first fixes references to ${D} in the
227 - # packlist, and is useful to us, too. The other two functions,
228 - # perl_delete_emptybsdir and perl_remove_temppath, don't seem
229 - # to be needed: there are no empty directories, *.bs files, or
230 - # ${D} paths remaining in our installed image.
231 - perl_fix_packlist || die "failed to fix paths in packlist"
232 -}
233 -
234 -src_test() {
235 - # Trick the test suite into skipping the spamd tests. Setting
236 - # SPAMD_HOST to a non-localhost value causes SKIP_SPAMD_TESTS to be
237 - # set in SATest.pm.
238 - export SPAMD_HOST=disabled
239 - default
240 -}
241 -
242 -pkg_preinst() {
243 - # The spamd daemon runs as this user. Use a real home directory so
244 - # that it can hold SA configuration.
245 - enewuser spamd -1 -1 /home/spamd
246 -
247 - if use mysql || use postgres ; then
248 - local _awlwarn=0
249 - local _v
250 - for _v in ${REPLACING_VERSIONS}; do
251 - if ! ver_test "${_v}" -gt "3.4.2-r3"; then
252 - _awlwarn=1
253 - fi
254 - done
255 - if [[ ${_awlwarn} == 1 ]] ; then
256 - ewarn 'If you used AWL before 3.4.2, the SQL schema has changed.'
257 - ewarn 'You will need to manually ALTER your tables for them to'
258 - ewarn 'continue working. See the UPGRADE documentation for'
259 - ewarn 'details.'
260 - ewarn
261 - fi
262 - fi
263 -}
264 -
265 -pkg_postinst() {
266 - elog
267 - elog 'No rules are installed by default. You will need to run sa-update'
268 - elog 'at least once, and most likely configure SpamAssassin before it'
269 - elog 'will work.'
270 -
271 - if ! use cron; then
272 - elog
273 - elog 'You should consider a cron job for sa-update. One is provided'
274 - elog 'for daily updates if you enable the "cron" USE flag.'
275 - fi
276 - elog
277 - elog 'Configuration and update help can be found on the wiki:'
278 - elog
279 - elog ' https://wiki.gentoo.org/wiki/SpamAssassin'
280 - elog
281 -
282 - if use mysql || use postgres ; then
283 - local _v
284 - for _v in ${REPLACING_VERSIONS}; do
285 - if ver_test "${_v}" -lt "3.4.2-r3"; then
286 - ewarn
287 - ewarn 'If you used AWL before 3.4.2, the SQL schema has changed.'
288 - ewarn 'You will need to manually ALTER your tables for them to'
289 - ewarn 'continue working. See the UPGRADE documentation for'
290 - ewarn 'details.'
291 - ewarn
292 -
293 - # show this only once
294 - break
295 - fi
296 - done
297 - fi
298 -
299 - ewarn 'If this version of SpamAssassin causes permissions issues'
300 - ewarn 'with your user configurations or bayes databases, then you'
301 - ewarn 'may need to set SPAMD_RUN_AS_ROOT=true in your OpenRC service'
302 - ewarn 'configuration file, or remove the --username and --groupname'
303 - ewarn 'flags from the SPAMD_OPTS variable in your systemd service'
304 - ewarn 'configuration file.'
305 -}
306
307 diff --git a/mail-filter/spamassassin/spamassassin-3.4.2-r4.ebuild b/mail-filter/spamassassin/spamassassin-3.4.2-r4.ebuild
308 deleted file mode 100644
309 index 46de7f1fb3f..00000000000
310 --- a/mail-filter/spamassassin/spamassassin-3.4.2-r4.ebuild
311 +++ /dev/null
312 @@ -1,284 +0,0 @@
313 -# Copyright 1999-2019 Gentoo Authors
314 -# Distributed under the terms of the GNU General Public License v2
315 -
316 -EAPI=6
317 -
318 -inherit perl-functions systemd toolchain-funcs user eapi7-ver
319 -
320 -MY_P="Mail-SpamAssassin-${PV//_/-}"
321 -S="${WORKDIR}/${MY_P}"
322 -DESCRIPTION="An extensible mail filter which can identify and tag spam"
323 -HOMEPAGE="https://spamassassin.apache.org/"
324 -SRC_URI="mirror://apache/spamassassin/source/${MY_P}.tar.bz2"
325 -
326 -LICENSE="Apache-2.0 GPL-2"
327 -SLOT="0"
328 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
329 -IUSE="berkdb cron ipv6 ldap libressl mysql postgres qmail sqlite ssl test"
330 -
331 -# The Makefile.PL script checks for dependencies, but only fails if a
332 -# required (i.e. not optional) dependency is missing. We therefore
333 -# require most of the optional modules only at runtime.
334 -REQDEPEND="dev-lang/perl:=
335 - dev-perl/HTML-Parser
336 - dev-perl/Net-DNS
337 - dev-perl/NetAddr-IP
338 - virtual/perl-Archive-Tar
339 - virtual/perl-Digest-SHA
340 - virtual/perl-IO-Zlib
341 - virtual/perl-Time-HiRes
342 - ssl? (
343 - !libressl? ( dev-libs/openssl:0= )
344 - libressl? ( dev-libs/libressl )
345 - )"
346 -
347 -# SpamAssassin doesn't use libwww-perl except as a fallback for when
348 -# curl/wget are missing, so we depend on one of those instead. Some
349 -# mirrors use https, so we need those utilities to support SSL.
350 -#
351 -# re2c is needed to compile the rules (sa-compile).
352 -#
353 -# We still need the old Digest-SHA1 because razor2 has not been ported
354 -# to Digest-SHA.
355 -OPTDEPEND="app-crypt/gnupg
356 - dev-perl/BSD-Resource
357 - dev-perl/Digest-SHA1
358 - dev-perl/Encode-Detect
359 - dev-perl/Geo-IP
360 - dev-perl/HTTP-Date
361 - dev-perl/Mail-DKIM
362 - dev-perl/Mail-SPF
363 - dev-perl/Net-Patricia
364 - dev-perl/Net-CIDR-Lite
365 - dev-util/re2c
366 - || ( net-misc/wget[ssl] net-misc/curl[ssl] )
367 - virtual/perl-MIME-Base64
368 - virtual/perl-Pod-Parser
369 - berkdb? ( virtual/perl-DB_File )
370 - ipv6? ( dev-perl/IO-Socket-INET6 )
371 - ldap? ( dev-perl/perl-ldap )
372 - mysql? (
373 - dev-perl/DBI
374 - dev-perl/DBD-mysql
375 - )
376 - postgres? (
377 - dev-perl/DBI
378 - dev-perl/DBD-Pg
379 - )
380 - sqlite? (
381 - dev-perl/DBI
382 - dev-perl/DBD-SQLite
383 - )
384 - ssl? ( dev-perl/IO-Socket-SSL )"
385 -
386 -DEPEND="${REQDEPEND}
387 - test? (
388 - ${OPTDEPEND}
389 - virtual/perl-Test-Harness
390 - )"
391 -RDEPEND="${REQDEPEND} ${OPTDEPEND}"
392 -
393 -PATCHES=(
394 - "${FILESDIR}/spamassassin-3.4.2-bug_7631.patch"
395 - "${FILESDIR}/spamassassin-3.4.2-bug_7632.patch"
396 -)
397 -
398 -src_prepare() {
399 - default
400 -
401 - # The sa_compile test does some weird stuff like hopping around in
402 - # the directory tree and calling "make" to create a dist tarball
403 - # from ${S}. It fails, and is more trouble than it's worth...
404 - perl_rm_files t/sa_compile.t || die 'failed to remove sa_compile test'
405 -
406 - # The spamc tests (which need the networked spamd daemon) fail for
407 - # irrelevant reasons. It's too hard to disable them (unlike the
408 - # spamd tests themselves -- see src_test), so use a crude
409 - # workaround.
410 - perl_rm_files t/spamc_*.t || die 'failed to remove spamc tests'
411 -
412 - # Upstream bug 7622: this thing needs network access but doesn't
413 - # respect the 'run_net_tests' setting.
414 - perl_rm_files t/urilocalbl_geoip.t \
415 - || die 'failed to remove urilocalbl_geoip tests'
416 -}
417 -
418 -src_configure() {
419 - # This is how and where the perl-module eclass disables the
420 - # MakeMaker interactive prompt.
421 - export PERL_MM_USE_DEFAULT=1
422 -
423 - # Set SYSCONFDIR explicitly so we can't get bitten by bug 48205 again
424 - # (just to be sure, nobody knows how it could happen in the first place).
425 - #
426 - # We also set the path to the perl executable explictly. This will be
427 - # used to create the initial shebang line in the scripts (bug 62276).
428 - perl Makefile.PL \
429 - PREFIX="${EPREFIX}/usr" \
430 - INSTALLDIRS=vendor \
431 - SYSCONFDIR="${EPREFIX}/etc" \
432 - DATADIR="${EPREFIX}/usr/share/spamassassin" \
433 - PERL_BIN="${EPREFIX}/usr/bin/perl" \
434 - ENABLE_SSL="$(usex ssl)" \
435 - DESTDIR="${D}" \
436 - || die 'failed to create a Makefile using Makefile.PL'
437 -
438 - # Now configure spamc.
439 - emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" spamc/Makefile
440 -}
441 -
442 -src_compile() {
443 - emake
444 - use qmail && emake spamc/qmail-spamc
445 -}
446 -
447 -src_install () {
448 - emake install
449 - einstalldocs
450 -
451 - # Create the stub dir used by sa-update and friends
452 - keepdir /var/lib/spamassassin
453 -
454 - # Move spamd to sbin where it belongs.
455 - dodir /usr/sbin
456 - mv "${ED}"/usr/bin/spamd "${ED}"/usr/sbin/spamd || die "move spamd failed"
457 -
458 - if use qmail; then
459 - dobin spamc/qmail-spamc
460 - fi
461 -
462 - dosym mail/spamassassin /etc/spamassassin
463 -
464 - # Disable plugin by default
465 - sed -i -e 's/^loadplugin/\#loadplugin/g' \
466 - "${ED}/etc/mail/spamassassin/init.pre" \
467 - || die "failed to disable plugins by default"
468 -
469 - # Add the init and config scripts.
470 - newinitd "${FILESDIR}/3.4.1-spamd.init-r3" spamd
471 - newconfd "${FILESDIR}/3.4.1-spamd.conf-r1" spamd
472 -
473 - systemd_newunit "${FILESDIR}/${PN}.service-r4" "${PN}.service"
474 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf-r2" \
475 - "${PN}.service"
476 -
477 - use postgres && dodoc sql/*_pg.sql
478 - use mysql && dodoc sql/*_mysql.sql
479 -
480 - dodoc NOTICE TRADEMARK CREDITS UPGRADE USAGE sql/README.bayes \
481 - sql/README.awl procmailrc.example sample-nonspam.txt \
482 - sample-spam.txt spamd/PROTOCOL spamd/README.vpopmail \
483 - spamd-apache2/README.apache
484 -
485 - # Rename some files so that they don't clash with others.
486 - newdoc spamd/README README.spamd
487 - newdoc sql/README README.sql
488 - newdoc ldap/README README.ldap
489 -
490 - if use qmail; then
491 - dodoc spamc/README.qmail
492 - fi
493 -
494 - insinto /etc/mail/spamassassin/
495 - insopts -m0400
496 - newins "${FILESDIR}"/secrets.cf secrets.cf.example
497 -
498 - # Create the directory where sa-update stores its GPG key (if you
499 - # choose to import one). If this directory does not exist, the
500 - # import will fail. This is bug 396307. We expect that the import
501 - # will be performed as root, and making the directory accessible
502 - # only to root prevents a warning on the command-line.
503 - diropts -m0700
504 - dodir /etc/mail/spamassassin/sa-update-keys
505 -
506 - if use cron; then
507 - # Install the cron job if they want it.
508 - exeinto /etc/cron.daily
509 - newexe "${FILESDIR}/update-spamassassin-rules.cron" \
510 - update-spamassassin-rules
511 - fi
512 -
513 - # Remove perllocal.pod to avoid file collisions (bug #603338).
514 - perl_delete_localpod || die "failed to remove perllocal.pod"
515 -
516 - # The perl-module eclass calls three other functions to clean
517 - # up in src_install. The first fixes references to ${D} in the
518 - # packlist, and is useful to us, too. The other two functions,
519 - # perl_delete_emptybsdir and perl_remove_temppath, don't seem
520 - # to be needed: there are no empty directories, *.bs files, or
521 - # ${D} paths remaining in our installed image.
522 - perl_fix_packlist || die "failed to fix paths in packlist"
523 -}
524 -
525 -src_test() {
526 - # Trick the test suite into skipping the spamd tests. Setting
527 - # SPAMD_HOST to a non-localhost value causes SKIP_SPAMD_TESTS to be
528 - # set in SATest.pm.
529 - export SPAMD_HOST=disabled
530 - default
531 -}
532 -
533 -pkg_preinst() {
534 - # The spamd daemon runs as this user. Use a real home directory so
535 - # that it can hold SA configuration.
536 - enewuser spamd -1 -1 /home/spamd
537 -
538 - if use mysql || use postgres ; then
539 - local _awlwarn=0
540 - local _v
541 - for _v in ${REPLACING_VERSIONS}; do
542 - if ! ver_test "${_v}" -gt "3.4.2-r3"; then
543 - _awlwarn=1
544 - fi
545 - done
546 - if [[ ${_awlwarn} == 1 ]] ; then
547 - ewarn 'If you used AWL before 3.4.2, the SQL schema has changed.'
548 - ewarn 'You will need to manually ALTER your tables for them to'
549 - ewarn 'continue working. See the UPGRADE documentation for'
550 - ewarn 'details.'
551 - ewarn
552 - fi
553 - fi
554 -}
555 -
556 -pkg_postinst() {
557 - elog
558 - elog 'No rules are installed by default. You will need to run sa-update'
559 - elog 'at least once, and most likely configure SpamAssassin before it'
560 - elog 'will work.'
561 -
562 - if ! use cron; then
563 - elog
564 - elog 'You should consider a cron job for sa-update. One is provided'
565 - elog 'for daily updates if you enable the "cron" USE flag.'
566 - fi
567 - elog
568 - elog 'Configuration and update help can be found on the wiki:'
569 - elog
570 - elog ' https://wiki.gentoo.org/wiki/SpamAssassin'
571 - elog
572 -
573 - if use mysql || use postgres ; then
574 - local _v
575 - for _v in ${REPLACING_VERSIONS}; do
576 - if ver_test "${_v}" -lt "3.4.2-r3"; then
577 - ewarn
578 - ewarn 'If you used AWL before 3.4.2, the SQL schema has changed.'
579 - ewarn 'You will need to manually ALTER your tables for them to'
580 - ewarn 'continue working. See the UPGRADE documentation for'
581 - ewarn 'details.'
582 - ewarn
583 -
584 - # show this only once
585 - break
586 - fi
587 - done
588 - fi
589 -
590 - ewarn 'If this version of SpamAssassin causes permissions issues'
591 - ewarn 'with your user configurations or bayes databases, then you'
592 - ewarn 'may need to set SPAMD_RUN_AS_ROOT=true in your OpenRC service'
593 - ewarn 'configuration file, or remove the --username and --groupname'
594 - ewarn 'flags from the SPAMD_OPTS variable in your systemd service'
595 - ewarn 'configuration file.'
596 -}