mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-misc/asterisk-base: add 3
Minor change to init script to accomodate merged-usr. A few other changes as suggested by Michał, including externalizing the codebase into it's own package (now at https://github.com/jkroonza/asterisk-base). Closes: https://github.com/gentoo/gentoo/pull/35925 Closes: https://bugs.gentoo.org/927663 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
committed by
Michael Orlitzky
parent
44d2f783b0
commit
fb9136bf44
1
net-misc/asterisk-base/Manifest
Normal file
1
net-misc/asterisk-base/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST asterisk-base-3.tar.gz 14589 BLAKE2B 854df19a0aa6cbd6c452ec03f8766f166824580f30edbf158f9e23baa451b092388b5f653999cab63d3232d7ff2c1efb7784c8e69d9ea1f2855dd446613ade87 SHA512 e2b53a3db6cb38fcc8456c3c69806452ecdd748f7d5833c6fdc426f436f92b651d69a902f6f588ffc371903c5a1374a9fc0695a74f9b4e47e75df3b1ce50764e
|
||||
39
net-misc/asterisk-base/asterisk-base-3.ebuild
Normal file
39
net-misc/asterisk-base/asterisk-base-3.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 2023-2024 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://www.gentoo.org/wiki/No_homepage"
|
||||
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
|
||||
!<=net-misc/asterisk-16.30.0:0/16
|
||||
!<=net-misc/asterisk-18.18.0:0/18
|
||||
!<=net-misc/asterisk-20.3.0:0/20
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
@@ -9,4 +9,7 @@
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">jkroonza/asterisk-base</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user