Diff asterisk-20.3.0 with a asterisk-20.3.1

/usr/portage/net-misc/asterisk/asterisk-20.3.1.ebuild 2023-10-09 14:52:34.628368480 +0300
5 5

  
6 6
LUA_COMPAT=( lua5-{1..4} )
7 7

  
8
inherit autotools linux-info lua-single systemd toolchain-funcs tmpfiles
8
inherit autotools linux-info lua-single toolchain-funcs
9 9

  
10 10
DESCRIPTION="Asterisk: A Modular Open Source PBX System"
11 11
HOMEPAGE="https://www.asterisk.org/"
......
98 98
	net-misc/asterisk-extra-sounds
99 99
	net-misc/asterisk-moh-opsound
100 100
	selinux? ( sec-policy/selinux-asterisk )"
101
PDEPEND="net-misc/asterisk-base"
101 102

  
102 103
BDEPEND="dev-libs/libxml2:2
103 104
	virtual/pkgconfig"
......
308 309
	diropts -m 0750 -o asterisk -g asterisk
309 310
	keepdir /var/log/asterisk/{cdr-csv,cdr-custom}
310 311

  
311
	newsbin "${FILESDIR}/asterisk_wrapper-18.17.1-20.2.1" asterisk_wrapper
312
	newinitd "${FILESDIR}"/initd-18.17.1-20.2.1 asterisk
313
	newconfd "${FILESDIR}"/confd-16.26.1-18.12.1 asterisk
314

  
315
	systemd_dounit "${FILESDIR}"/asterisk.service
316
	newtmpfiles "${FILESDIR}"/asterisk.tmpfiles-16.22.0-18.8.0.conf asterisk.conf
317
	systemd_install_serviced "${FILESDIR}"/asterisk.service.conf
318

  
319 312
	# Reset diropts else dodoc uses it for doc installations.
320 313
	diropts -m0755
321 314

  
......
325 318
	# install extra documentation
326 319
	use doc && dodoc doc/*.{txt,pdf}
327 320

  
328
	# install logrotate snippet; bug #329281
329
	#
330
	insinto /etc/logrotate.d
331
	newins "${FILESDIR}/1.6.2/asterisk.logrotate4" asterisk
332

  
333 321
	# Asterisk installs a few folders that's empty by design,
334 322
	# but still required.  This finds them, and marks them for
335 323
	# portage.
......
339 327
}
340 328

  
341 329
pkg_postinst() {
342
	tmpfiles_process asterisk.conf
343

  
344 330
	if [ -z "${REPLACING_VERSIONS}" ]; then
345 331
		elog "Asterisk Wiki: https://wiki.asterisk.org/wiki/"
346 332
		elog "Gentoo VoIP IRC Channel: #gentoo-voip @ irc.libera.chat"
Thank you!