mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-misc/asterisk-base: add 4
Signed-off-by: Jaco Kroon <jkroon@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST asterisk-base-3.tar.gz 14589 BLAKE2B 854df19a0aa6cbd6c452ec03f8766f166824580f30edbf158f9e23baa451b092388b5f653999cab63d3232d7ff2c1efb7784c8e69d9ea1f2855dd446613ade87 SHA512 e2b53a3db6cb38fcc8456c3c69806452ecdd748f7d5833c6fdc426f436f92b651d69a902f6f588ffc371903c5a1374a9fc0695a74f9b4e47e75df3b1ce50764e
|
||||
DIST asterisk-base-4.tar.gz 14708 BLAKE2B 5c54d65ca7c1de2f24c069a4f666a91c42f3e1f2137ed84aaa61b8fd626b15d87e81d0c2ac6643f8557db06672dab3193a13e55da2c40924f9406fae36ce1b87 SHA512 a450d419ac9d736a0ffc25abd9f6441b72365d9e4156163bd1e536eb84f2cd3efff1a918a20f16479ca979bc571f69de34c7e995f22695a1a34af685b5b2dea7
|
||||
|
||||
34
net-misc/asterisk-base/asterisk-base-4.ebuild
Normal file
34
net-misc/asterisk-base/asterisk-base-4.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 2023-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit systemd tmpfiles
|
||||
|
||||
DESCRIPTION="Gentoo Asterisk init scripts"
|
||||
HOMEPAGE="https://github.com/jkroonza/asterisk-base"
|
||||
SRC_URI="https://github.com/jkroonza/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
RDEPEND="net-misc/asterisk"
|
||||
|
||||
src_install() {
|
||||
newinitd initd asterisk
|
||||
newconfd confd asterisk
|
||||
dosbin asterisk_wrapper
|
||||
|
||||
systemd_dounit asterisk.service
|
||||
systemd_install_serviced asterisk.service.conf asterisk.service
|
||||
|
||||
newtmpfiles tmpfiles.conf asterisk.conf
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins logrotate asterisk
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process asterisk.conf
|
||||
}
|
||||
Reference in New Issue
Block a user