mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
mail-filter/gld: Port to ver_replacing
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit toolchain-funcs
|
||||
inherit eapi9-ver toolchain-funcs
|
||||
|
||||
DESCRIPTION="Standalone anti-spam greylisting algorithm on top of Postfix"
|
||||
HOMEPAGE="https://www.gasmi.net/gld.html"
|
||||
@@ -74,12 +74,9 @@ pkg_preinst() {
|
||||
elog "details on how to setup gld."
|
||||
elog
|
||||
elog "The sql files have been installed to /usr/share/${PN}/sql."
|
||||
local old_ver
|
||||
for old_ver in ${REPLACING_VERSIONS} ; do
|
||||
if ver_test ${old_ver} -eq "1.7-r1" ; then
|
||||
elog "You might want to use the ALTER_TABLE command to change the"
|
||||
elog "ip field width to 39 chars to accomodate ipv6 addresses."
|
||||
elog "Please see your sql server documentation."
|
||||
fi
|
||||
done
|
||||
if ver_replacing -eq "1.7-r1" ; then
|
||||
elog "You might want to use the ALTER_TABLE command to change the"
|
||||
elog "ip field width to 39 chars to accomodate ipv6 addresses."
|
||||
elog "Please see your sql server documentation."
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user