Diff asterisk-18.18.0 with a asterisk-18.18.1

/usr/portage/net-misc/asterisk/asterisk-18.18.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/"
12 12
SRC_URI="https://downloads.asterisk.org/pub/telephony/asterisk/releases/${P}.tar.gz"
13 13
LICENSE="GPL-2"
14 14
SLOT="0/${PV%%.*}"
15
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
15
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
16 16

  
17 17
IUSE_VOICEMAIL_STORAGE=(
18 18
	voicemail_storage_odbc
......
99 99
	net-misc/asterisk-moh-opsound
100 100
	selinux? ( sec-policy/selinux-asterisk )
101 101
	syslog? ( virtual/logger )"
102
PDEPEND="net-misc/asterisk-base"
102 103

  
103 104
BDEPEND="dev-libs/libxml2:2
104 105
	virtual/pkgconfig"
......
312 313
	diropts -m 0750 -o asterisk -g asterisk
313 314
	keepdir /var/log/asterisk/{cdr-csv,cdr-custom}
314 315

  
315
	newsbin "${FILESDIR}/asterisk_wrapper-18.17.1-20.2.1" asterisk_wrapper
316
	newinitd "${FILESDIR}"/initd-18.17.1-20.2.1 asterisk
317
	newconfd "${FILESDIR}"/confd-16.26.1-18.12.1 asterisk
318

  
319
	systemd_dounit "${FILESDIR}"/asterisk.service
320
	newtmpfiles "${FILESDIR}"/asterisk.tmpfiles-16.22.0-18.8.0.conf asterisk.conf
321
	systemd_install_serviced "${FILESDIR}"/asterisk.service.conf
322

  
323 316
	# Reset diropts else dodoc uses it for doc installations.
324 317
	diropts -m0755
325 318

  
......
329 322
	# install extra documentation
330 323
	use doc && dodoc doc/*.{txt,pdf}
331 324

  
332
	# install logrotate snippet; bug #329281
333
	#
334
	insinto /etc/logrotate.d
335
	newins "${FILESDIR}/1.6.2/asterisk.logrotate4" asterisk
336

  
337 325
	# Asterisk installs a few folders that's empty by design,
338 326
	# but still required.  This finds them, and marks them for
339 327
	# portage.
......
343 331
}
344 332

  
345 333
pkg_postinst() {
346
	tmpfiles_process asterisk.conf
347

  
348 334
	if [ -z "${REPLACING_VERSIONS}" ]; then
349 335
		elog "Asterisk Wiki: https://wiki.asterisk.org/wiki/"
350 336
		elog "Gentoo VoIP IRC Channel: #gentoo-voip @ irc.libera.chat"
Thank you!