Gentoo Archives: gentoo-commits

From: Thomas Beierlein <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/ax25-apps/files/, media-radio/ax25-apps/
Date: Mon, 30 Mar 2020 18:12:33
Message-Id: 1585591920.04c4732a5628a9e534104a7431a003a18f932367.tomjbe@gentoo
1 commit: 04c4732a5628a9e534104a7431a003a18f932367
2 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 30 17:29:24 2020 +0000
4 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 30 18:12:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04c4732a
7
8 media-radio/ax25-apps: Minor version bump
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
12
13 media-radio/ax25-apps/Manifest | 1 +
14 media-radio/ax25-apps/ax25-apps-0.0.8_rc5.ebuild | 49 ++++++++++++++++++++++
15 .../files/ax25-apps-0.0.8_rc5-tinfo.patch | 14 +++++++
16 3 files changed, 64 insertions(+)
17
18 diff --git a/media-radio/ax25-apps/Manifest b/media-radio/ax25-apps/Manifest
19 index 922a82c89bc..2d9b3a3d608 100644
20 --- a/media-radio/ax25-apps/Manifest
21 +++ b/media-radio/ax25-apps/Manifest
22 @@ -1 +1,2 @@
23 DIST ax25-apps-0.0.8-rc4.tar.gz 442172 BLAKE2B 59a622c0e675cadc90a7d728b899b1820153d6b9e35f3ccdbac74d191f844d1642dd2e9192d6dce0f1208cbc26b98cb1643f8d1041ec3802b833ad5cbc903f81 SHA512 c99b553c5cadb0e389c1cb35e79fea61b628c76f5ef35c35876e492afc7ab796f8781c3ab5987a096f0816389e9772274fe54e88c16fca0fd30013da3d74d38b
24 +DIST ax25-apps-0.0.8-rc5.tar.gz 479590 BLAKE2B baa4814ebb68c435a9986158dcdad1333376c75202db8e3595ec35851fabb3c718e7015a721d587ee307b8b8c918a690b898addcf4194532f6d26b70219c4c98 SHA512 5886f79dcdd4b02374289e04a61101b1ccdcdd936a6a98bdefa7b091689381de75f722a0bf32a914c85a3759c7b42489fabf74a53492fe2f937b22c953fc230d
25
26 diff --git a/media-radio/ax25-apps/ax25-apps-0.0.8_rc5.ebuild b/media-radio/ax25-apps/ax25-apps-0.0.8_rc5.ebuild
27 new file mode 100644
28 index 00000000000..939745d8650
29 --- /dev/null
30 +++ b/media-radio/ax25-apps/ax25-apps-0.0.8_rc5.ebuild
31 @@ -0,0 +1,49 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +inherit autotools
37 +
38 +MY_P=${P/_/-}
39 +
40 +DESCRIPTION="Basic AX.25 (Amateur Radio) user tools, additional daemons"
41 +HOMEPAGE="http://www.linux-ax25.org"
42 +SRC_URI="http://www.linux-ax25.org/pub/${PN}/${MY_P}.tar.gz"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~ppc ~x86"
47 +IUSE=""
48 +
49 +RDEPEND=">=dev-libs/libax25-0.0.12_rc2
50 + sys-libs/ncurses:="
51 +DEPEND="${RDEPEND}
52 + virtual/pkgconfig
53 + !dev-ruby/listen"
54 +
55 +S=${WORKDIR}/${MY_P}
56 +
57 +src_prepare() {
58 + eapply_user
59 + # fix missing prototype for malloc
60 + sed -i -e "/^#include /i #include <stdlib.h>" ax25ipd/routing.c || die
61 + eapply "$FILESDIR"/$PN-0.0.8_rc5-tinfo.patch
62 + eautoreconf
63 +}
64 +
65 +src_install() {
66 + default
67 +
68 + newinitd "${FILESDIR}"/ax25ipd.rc ax25ipd
69 + newinitd "${FILESDIR}"/ax25mond.rc ax25mond
70 + newinitd "${FILESDIR}"/ax25rtd.rc ax25rtd
71 +
72 + rm -rf "${ED}"/usr/share/doc/ax25-apps
73 +
74 + dodoc AUTHORS ChangeLog NEWS README ax25ipd/README.ax25ipd \
75 + ax25rtd/README.ax25rtd ax25ipd/HISTORY.ax25ipd ax25rtd/TODO.ax25rtd
76 +
77 + dodir /var/lib/ax25/ax25rtd
78 + touch "${ED}"/var/lib/ax25/ax25rtd/ax25_route
79 + touch "${ED}"/var/lib/ax25/ax25rtd/ip_route
80 +}
81
82 diff --git a/media-radio/ax25-apps/files/ax25-apps-0.0.8_rc5-tinfo.patch b/media-radio/ax25-apps/files/ax25-apps-0.0.8_rc5-tinfo.patch
83 new file mode 100644
84 index 00000000000..7c49d6cbb94
85 --- /dev/null
86 +++ b/media-radio/ax25-apps/files/ax25-apps-0.0.8_rc5-tinfo.patch
87 @@ -0,0 +1,14 @@
88 +# fix tinfo handling (bug 529776)
89 +diff --git a/configure.ac b/configure.ac
90 +index 0c4398a..097d1bd 100644
91 +--- a/configure.ac
92 ++++ b/configure.ac
93 +@@ -18,7 +18,7 @@ dnl Checks for libraries.
94 + AC_SUBST(AX25_LIB)
95 + AC_SUBST(NCURSES_LIB)
96 + AC_CHECK_LIB(ax25, ax25_config_load_ports, AX25_LIB="-lax25", AC_MSG_ERROR(Could not find the libax25 libraries; aborting))
97 +-AC_CHECK_LIB(ncursesw, initscr,NCURSES_LIB="-lncursesw", AC_MSG_ERROR(Could not find the ncursesw library; aborting))
98 ++PKG_CHECK_MODULES(ncursesw, ncursesw, [NCURSES_LIB="$ncursesw_LIBS"], AC_MSG_ERROR(Could not find the ncursesw library; aborting))
99 +
100 + dnl Checks for working glibc 2.1 headers
101 + AC_CHECK_TYPES([struct ax25_fwd_struct], [],