Сравнение postfix-3.8.2 с postfix-3.9_pre20230924

/usr/portage/mail-mta/postfix/postfix-3.9_pre20230924.ebuild 2023-10-09 14:52:31.592368403 +0300
4 4
EAPI=8
5 5
inherit pam systemd toolchain-funcs
6 6

  
7
MY_PV="${PV/_rc/-RC}"
7
MY_PV="${PV/_pre/-}"
8 8
MY_SRC="${PN}-${MY_PV}"
9
MY_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official"
9
MY_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/experimental"
10 10
RC_VER="2.7"
11 11

  
12 12
DESCRIPTION="A fast and secure drop-in replacement for sendmail"
......
16 16
LICENSE="|| ( IBM EPL-2.0 )"
17 17
SLOT="0"
18 18
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
19
IUSE="+berkdb cdb dovecot-sasl +eai ldap ldap-bind lmdb mbox memcached mysql nis pam postgres sasl selinux sqlite ssl"
19
IUSE="berkdb cdb dovecot-sasl +eai ldap ldap-bind lmdb mbox memcached mysql nis pam postgres sasl selinux sqlite ssl"
20 20

  
21 21
DEPEND="
22 22
	acct-group/postfix
......
260 260
	insinto /usr/include/postfix
261 261
	doins include/*.h
262 262

  
263
	if has_version mail-mta/postfix; then
264
		# let the sysadmin decide when to change the compatibility_level
265
		sed -i -e /^compatibility_level/"s/^/#/" "${D}"/etc/postfix/main.cf || die
266
	fi
267

  
268 263
	systemd_dounit "${FILESDIR}/${PN}.service"
269 264
}
270 265

  
271 266
pkg_postinst() {
267
	# warn if no aliases database
272 268
	# do not assume berkdb
273 269
	if [[ ! -e /etc/mail/aliases.db \
274 270
	   && ! -e /etc/mail/aliases.cdb \
......
279 275
		ewarn "work correctly without it."
280 276
		ewarn
281 277
	fi
278
	# run newaliases anyway. otherwise, we might break when switching
279
	# default database implementation - from berkdb to cdb for example
280
	"${EROOT}"/usr/bin/newaliases
282 281

  
283 282
	# check and fix file permissions
284 283
	"${EROOT}"/usr/sbin/postfix set-permissions
Спасибо!