public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-base/
Date: Sun, 21 Apr 2024 13:28:45 +0000 (UTC)	[thread overview]
Message-ID: <1713705474.fb9136bf44fa3b159042598a7cb90d861e2f0be3.mjo@gentoo> (raw)

commit:     fb9136bf44fa3b159042598a7cb90d861e2f0be3
Author:     Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za>
AuthorDate: Tue Mar 26 10:23:32 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Apr 21 13:17:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb9136bf

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 <AT> uls.co.za>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 net-misc/asterisk-base/Manifest               |  1 +
 net-misc/asterisk-base/asterisk-base-3.ebuild | 39 +++++++++++++++++++++++++++
 net-misc/asterisk-base/metadata.xml           |  3 +++
 3 files changed, 43 insertions(+)

diff --git a/net-misc/asterisk-base/Manifest b/net-misc/asterisk-base/Manifest
new file mode 100644
index 000000000000..84b04d08477f
--- /dev/null
+++ b/net-misc/asterisk-base/Manifest
@@ -0,0 +1 @@
+DIST asterisk-base-3.tar.gz 14589 BLAKE2B 854df19a0aa6cbd6c452ec03f8766f166824580f30edbf158f9e23baa451b092388b5f653999cab63d3232d7ff2c1efb7784c8e69d9ea1f2855dd446613ade87 SHA512 e2b53a3db6cb38fcc8456c3c69806452ecdd748f7d5833c6fdc426f436f92b651d69a902f6f588ffc371903c5a1374a9fc0695a74f9b4e47e75df3b1ce50764e

diff --git a/net-misc/asterisk-base/asterisk-base-3.ebuild b/net-misc/asterisk-base/asterisk-base-3.ebuild
new file mode 100644
index 000000000000..f2c13a235dc3
--- /dev/null
+++ b/net-misc/asterisk-base/asterisk-base-3.ebuild
@@ -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
+}

diff --git a/net-misc/asterisk-base/metadata.xml b/net-misc/asterisk-base/metadata.xml
index 6aebbc46f559..ac7674006c95 100644
--- a/net-misc/asterisk-base/metadata.xml
+++ b/net-misc/asterisk-base/metadata.xml
@@ -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>


             reply	other threads:[~2024-04-21 13:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-21 13:28 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-14 17:55 [gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-base/ Arthur Zamarin
2024-09-14 17:55 Arthur Zamarin
2024-04-21 13:28 Michael Orlitzky
2024-01-12  8:30 Arthur Zamarin
2023-08-24 18:09 Arthur Zamarin
2023-08-24 18:06 Arthur Zamarin
2023-08-11  8:13 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1713705474.fb9136bf44fa3b159042598a7cb90d861e2f0be3.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox