public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Beierlein" <tomjbe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/ax25-apps/
Date: Wed,  7 Aug 2024 06:50:06 +0000 (UTC)	[thread overview]
Message-ID: <1723013033.592c58d93087f740f229951301f3f722b6b4859b.tomjbe@gentoo> (raw)

commit:     592c58d93087f740f229951301f3f722b6b4859b
Author:     Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Thu Aug  1 16:56:31 2024 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Wed Aug  7 06:43:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=592c58d9

media-radio/ax25-apps: bump EAPI & fix issues

- update HOMEPAGE & SRC_URI
- add slot operator
- move `eapply_user`
- remove --force flag from rm & change the command
- remove virtual/pkgconfig from RDEPEND
- remove IUSE
- add comment

Signed-off-by: Filip Kobierski <fkobi <AT> pm.me>
Closes: https://github.com/gentoo/gentoo/pull/37887
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 .../ax25-apps/ax25-apps-0.0.8_rc5-r1.ebuild        | 57 ++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/media-radio/ax25-apps/ax25-apps-0.0.8_rc5-r1.ebuild b/media-radio/ax25-apps/ax25-apps-0.0.8_rc5-r1.ebuild
new file mode 100644
index 000000000000..b2cbb93ef638
--- /dev/null
+++ b/media-radio/ax25-apps/ax25-apps-0.0.8_rc5-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="Basic AX.25 (Amateur Radio) user tools, additional daemons"
+HOMEPAGE="
+	https://linux-ax25.in-berlin.de/
+	https://packet-radio.net/ax-25/
+" # NOTE: ...in-berlin.de does not work but subdomains do
+SRC_URI="
+	https://linux-ax25.in-berlin.de/pub/${PN}/${MY_P}.tar.gz
+	https://ham.packet-radio.net/packet/ax25/ax25-apps/${MY_P}.tar.gz
+"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="
+	>=dev-libs/libax25-0.0.12_rc2:=
+	sys-libs/ncurses:=
+	!dev-ruby/listen
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	# fix missing prototype for malloc
+	sed -i -e "/^#include /i #include <stdlib.h>" ax25ipd/routing.c || die
+	eapply "${FILESDIR}"/${PN}-0.0.8_rc5-tinfo.patch
+	eapply_user
+	eautoreconf
+}
+
+src_install() {
+	default
+
+	newinitd "${FILESDIR}"/ax25ipd.rc ax25ipd
+	newinitd "${FILESDIR}"/ax25mond.rc ax25mond
+	newinitd "${FILESDIR}"/ax25rtd.rc ax25rtd
+
+	# HACK: one should not create instead of removing
+	rm -r "${ED}"/usr/share/doc/${PF} || die
+
+	dodoc AUTHORS ChangeLog NEWS README ax25ipd/README.ax25ipd \
+		ax25rtd/README.ax25rtd ax25ipd/HISTORY.ax25ipd ax25rtd/TODO.ax25rtd
+
+	dodir /var/lib/ax25/ax25rtd
+	touch "${ED}"/var/lib/ax25/ax25rtd/ax25_route || die
+	touch "${ED}"/var/lib/ax25/ax25rtd/ip_route || die
+}


             reply	other threads:[~2024-08-07  6:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-07  6:50 Thomas Beierlein [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-15 10:26 [gentoo-commits] repo/gentoo:master commit in: media-radio/ax25-apps/ Thomas Beierlein
2025-03-08 14:34 Jakov Smolić
2025-03-08 14:34 Jakov Smolić
2025-03-08 13:07 Jakov Smolić
2020-05-30  4:38 Thomas Beierlein
2020-05-28 15:45 Agostino Sarubbo
2020-05-26 19:31 Agostino Sarubbo
2020-05-25  9:36 Sergei Trofimovich
2020-02-08 17:20 Thomas Beierlein
2015-12-21 17:57 Thomas Beierlein

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=1723013033.592c58d93087f740f229951301f3f722b6b4859b.tomjbe@gentoo \
    --to=tomjbe@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