summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Anderson <telans@posteo.de>2021-03-07 12:57:16 +0100
committerDavid Seifert <soap@gentoo.org>2021-03-07 12:57:16 +0100
commitcd0713596b560d06ed2451b7eddef5b9b3d35ea4 (patch)
tree1d1ee6a5e317e24da9a83bc5ff555a15cc7e252f /net-misc
parentnet-mail/fetchmail: migrate to tmpfiles.eclass (diff)
downloadgentoo-cd0713596b560d06ed2451b7eddef5b9b3d35ea4.tar.gz
gentoo-cd0713596b560d06ed2451b7eddef5b9b3d35ea4.tar.bz2
gentoo-cd0713596b560d06ed2451b7eddef5b9b3d35ea4.zip
net-misc/asterisk: migrate to tmpfiles.eclass
Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans@posteo.de> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/asterisk/asterisk-13.38.1-r2.ebuild4
-rw-r--r--net-misc/asterisk/asterisk-16.15.1-r2.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/net-misc/asterisk/asterisk-13.38.1-r2.ebuild b/net-misc/asterisk/asterisk-13.38.1-r2.ebuild
index 628b768ef5e..00fb2c78dce 100644
--- a/net-misc/asterisk/asterisk-13.38.1-r2.ebuild
+++ b/net-misc/asterisk/asterisk-13.38.1-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
LUA_COMPAT=( lua5-{1..4} )
-inherit autotools linux-info lua-single systemd toolchain-funcs
+inherit autotools linux-info lua-single systemd toolchain-funcs tmpfiles
DESCRIPTION="Asterisk: A Modular Open Source PBX System"
HOMEPAGE="https://www.asterisk.org/"
@@ -275,7 +275,7 @@ src_install() {
newconfd "${FILESDIR}"/confd-13.32.0 asterisk
systemd_dounit "${FILESDIR}"/asterisk.service
- systemd_newtmpfilesd "${FILESDIR}"/asterisk.tmpfiles2.conf asterisk.conf
+ newtmpfiles "${FILESDIR}"/asterisk.tmpfiles2.conf asterisk.conf
systemd_install_serviced "${FILESDIR}"/asterisk.service.conf
# Reset diropts else dodoc uses it for doc installations.
diff --git a/net-misc/asterisk/asterisk-16.15.1-r2.ebuild b/net-misc/asterisk/asterisk-16.15.1-r2.ebuild
index f5718280906..206d2a33b37 100644
--- a/net-misc/asterisk/asterisk-16.15.1-r2.ebuild
+++ b/net-misc/asterisk/asterisk-16.15.1-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
LUA_COMPAT=( lua5-{1..4} )
-inherit autotools linux-info lua-single systemd toolchain-funcs
+inherit autotools linux-info lua-single systemd toolchain-funcs tmpfiles
DESCRIPTION="Asterisk: A Modular Open Source PBX System"
HOMEPAGE="https://www.asterisk.org/"
@@ -284,7 +284,7 @@ src_install() {
newconfd "${FILESDIR}"/confd-13.32.0 asterisk
systemd_dounit "${FILESDIR}"/asterisk.service
- systemd_newtmpfilesd "${FILESDIR}"/asterisk.tmpfiles2.conf asterisk.conf
+ newtmpfiles "${FILESDIR}"/asterisk.tmpfiles2.conf asterisk.conf
systemd_install_serviced "${FILESDIR}"/asterisk.service.conf
# Reset diropts else dodoc uses it for doc installations.