1 |
commit: 8db1fc902d345f1cb9280935e2239dd4d9a6fecf |
2 |
Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 2 16:18:11 2016 +0000 |
4 |
Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 2 16:59:43 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8db1fc90 |
7 |
|
8 |
net-wireless/osmocom: modernize |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
net-libs/libosmo-netif/libosmo-netif-9999.ebuild | 23 +++++++++++++++++++++++ |
13 |
net-libs/libosmo-netif/metadata.xml | 8 ++++++++ |
14 |
net-misc/lcr/lcr-9999.ebuild | 3 ++- |
15 |
net-wireless/openbsc/openbsc-9999.ebuild | 1 - |
16 |
net-wireless/osmobts/osmobts-9999.ebuild | 11 +++++------ |
17 |
5 files changed, 38 insertions(+), 8 deletions(-) |
18 |
|
19 |
diff --git a/net-libs/libosmo-netif/libosmo-netif-9999.ebuild b/net-libs/libosmo-netif/libosmo-netif-9999.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000..2fb6bdf |
22 |
--- /dev/null |
23 |
+++ b/net-libs/libosmo-netif/libosmo-netif-9999.ebuild |
24 |
@@ -0,0 +1,23 @@ |
25 |
+# Copyright 1999-2016 Gentoo Foundation |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+# $Id$ |
28 |
+ |
29 |
+EAPI=5 |
30 |
+ |
31 |
+inherit autotools eutils git-2 |
32 |
+ |
33 |
+DESCRIPTION="Utility functions for OsmocomBB, OpenBSC and related projects" |
34 |
+HOMEPAGE="http://bb.osmocom.org/trac/wiki/" |
35 |
+EGIT_REPO_URI="git://git.osmocom.org/${PN}.git" |
36 |
+KEYWORDS="" |
37 |
+ |
38 |
+LICENSE="GPL-2" |
39 |
+SLOT="0" |
40 |
+IUSE="" |
41 |
+ |
42 |
+RDEPEND="net-libs/libosmocore net-libs/libosmo-abis" |
43 |
+DEPEND="${RDEPEND}" |
44 |
+ |
45 |
+src_prepare() { |
46 |
+ eautoreconf |
47 |
+} |
48 |
|
49 |
diff --git a/net-libs/libosmo-netif/metadata.xml b/net-libs/libosmo-netif/metadata.xml |
50 |
new file mode 100644 |
51 |
index 00000000..1570f89 |
52 |
--- /dev/null |
53 |
+++ b/net-libs/libosmo-netif/metadata.xml |
54 |
@@ -0,0 +1,8 @@ |
55 |
+<?xml version="1.0" encoding="UTF-8"?> |
56 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
57 |
+<pkgmetadata> |
58 |
+ <maintainer type="project"> |
59 |
+ <email>radio@g.o</email> |
60 |
+ <name>Radio</name> |
61 |
+ </maintainer> |
62 |
+</pkgmetadata> |
63 |
|
64 |
diff --git a/net-misc/lcr/lcr-9999.ebuild b/net-misc/lcr/lcr-9999.ebuild |
65 |
index fd6b40b..8efd7d8 100644 |
66 |
--- a/net-misc/lcr/lcr-9999.ebuild |
67 |
+++ b/net-misc/lcr/lcr-9999.ebuild |
68 |
@@ -27,11 +27,12 @@ DEPEND=" |
69 |
RDEPEND="${DEPEND}" |
70 |
|
71 |
src_prepare() { |
72 |
+ sed -i 's:#!/usr/bin/env python:#!/usr/bin/env python2:' "${S}"/libgsmhr/fetch_sources.py |
73 |
eautoreconf |
74 |
} |
75 |
|
76 |
src_configure() { |
77 |
- econf \ |
78 |
+ CXXFLAGS="$CXXFLAGS -I./include" CFLAGS="$CFLAGS -I./include" econf \ |
79 |
$(use_with asterisk) \ |
80 |
$(use_with ssl) \ |
81 |
$(use_with gsm-bs) \ |
82 |
|
83 |
diff --git a/net-wireless/openbsc/openbsc-9999.ebuild b/net-wireless/openbsc/openbsc-9999.ebuild |
84 |
index a8b1130..8ba6088 100644 |
85 |
--- a/net-wireless/openbsc/openbsc-9999.ebuild |
86 |
+++ b/net-wireless/openbsc/openbsc-9999.ebuild |
87 |
@@ -9,7 +9,6 @@ inherit autotools git-2 eutils |
88 |
DESCRIPTION="OpenBSC, OsmoSGSN, OsmoBSC and other programs" |
89 |
HOMEPAGE="http://openbsc.osmocom.org/trac/wiki/OpenBSC" |
90 |
EGIT_REPO_URI="git://git.osmocom.org/${PN}.git" |
91 |
-EGIT_BRANCH="jolly/testing" |
92 |
|
93 |
LICENSE="GPL-2" |
94 |
SLOT="0" |
95 |
|
96 |
diff --git a/net-wireless/osmobts/osmobts-9999.ebuild b/net-wireless/osmobts/osmobts-9999.ebuild |
97 |
index 7f7a4e9..40f564b 100644 |
98 |
--- a/net-wireless/osmobts/osmobts-9999.ebuild |
99 |
+++ b/net-wireless/osmobts/osmobts-9999.ebuild |
100 |
@@ -1,4 +1,4 @@ |
101 |
-# Copyright 1999-2014 Gentoo Foundation |
102 |
+# Copyright 1999-2016 Gentoo Foundation |
103 |
# Distributed under the terms of the GNU General Public License v2 |
104 |
# $Id$ |
105 |
|
106 |
@@ -9,7 +9,6 @@ inherit autotools git-2 |
107 |
DESCRIPTION="Osmocom BTS-Side code (Abis, scheduling)" |
108 |
HOMEPAGE="http://openbsc.osmocom.org/trac/wiki/OsmoBTS" |
109 |
EGIT_REPO_URI="git://git.osmocom.org/osmo-bts.git" |
110 |
-EGIT_BRANCH="jolly/trx" |
111 |
|
112 |
LICENSE="GPL-2" |
113 |
SLOT="0" |
114 |
@@ -20,12 +19,12 @@ DEPEND="net-libs/libosmocore net-libs/libosmo-abis" |
115 |
RDEPEND="${DEPEND}" |
116 |
|
117 |
src_prepare() { |
118 |
- mkdir -p ../openbsc/openbsc/include/openbsc ../openbsc/openbsc/src/libcommon/ || die |
119 |
- wget -O ../openbsc/openbsc/include/openbsc/gsm_data_shared.h http://cgit.osmocom.org/openbsc/plain/openbsc/include/openbsc/gsm_data_shared.h?h=jolly/testing || die |
120 |
- wget -O ../openbsc/openbsc/src/libcommon/gsm_data_shared.c http://cgit.osmocom.org/openbsc/plain/openbsc/src/libcommon/gsm_data_shared.c?h=jolly/testing || die |
121 |
eautoreconf |
122 |
+ wget -O "${S}"/include/openbsc/gsm_data_shared.h http://cgit.osmocom.org/openbsc/plain/openbsc/include/openbsc/gsm_data_shared.h || die |
123 |
+ wget -O "${S}"/src/common/gsm_data_shared.c http://cgit.osmocom.org/openbsc/plain/openbsc/src/libcommon/gsm_data_shared.c || die |
124 |
+ |
125 |
} |
126 |
|
127 |
src_configure() { |
128 |
- econf --enable-trx |
129 |
+ econf --enable-trx --with-openbsc="${S}"/include/openbsc |
130 |
} |