install gtp-tunnel and gtp-link tools
This eases quick setup for demonstration purposes. Change-Id: I674c463989bc1529bfe132b7ec0df7a0052169df
This commit is contained in:
parent
118dd3ab17
commit
465b76dfca
|
@ -51,6 +51,18 @@ Linux kernel into a C API.
|
||||||
This subpackage contains libraries and header files for developing
|
This subpackage contains libraries and header files for developing
|
||||||
applications that want to make use of libgtpnl.
|
applications that want to make use of libgtpnl.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Summary: Libgtpnl user tools
|
||||||
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||||
|
Group: Applications/System
|
||||||
|
Requires: libgtpnl0 = %{version}
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
libgtpnl wraps the genetlink-based GPRS tunnel configuration of the
|
||||||
|
Linux kernel into a C API.
|
||||||
|
|
||||||
|
This subpackage contains sample tools to manage gtp interfaces and tunnels.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
@ -79,4 +91,8 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
|
||||||
%{_libdir}/libgtpnl.so
|
%{_libdir}/libgtpnl.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%{_bindir}/gtp-link
|
||||||
|
%{_bindir}/gtp-tunnel
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
|
@ -43,3 +43,12 @@ Priority: extra
|
||||||
Depends: libgtpnl0 (= ${binary:Version}),
|
Depends: libgtpnl0 (= ${binary:Version}),
|
||||||
${misc:Depends}
|
${misc:Depends}
|
||||||
Description: Debug symbols for Linux kernel GTP-U netlink library
|
Description: Debug symbols for Linux kernel GTP-U netlink library
|
||||||
|
|
||||||
|
Package: libgtpnl-tools
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Section: net
|
||||||
|
Priority: extra
|
||||||
|
Depends: libgtpnl0 (= ${binary:Version}),
|
||||||
|
${misc:Depends}
|
||||||
|
Description: Tools to manage gtp interfaces and tunnels.
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
/usr/bin/gtp-link
|
||||||
|
/usr/bin/gtp-tunnel
|
|
@ -1,6 +1,6 @@
|
||||||
include $(top_srcdir)/Make_global.am
|
include $(top_srcdir)/Make_global.am
|
||||||
|
|
||||||
noinst_PROGRAMS = gtp-link \
|
bin_PROGRAMS = gtp-link \
|
||||||
gtp-tunnel
|
gtp-tunnel
|
||||||
|
|
||||||
gtp_link_SOURCES = gtp-link.c
|
gtp_link_SOURCES = gtp-link.c
|
||||||
|
|
Loading…
Reference in New Issue