deb/rpm: build with --enable-gtp-linux

Allow optional use of the GTP kernel module.

Related: OS#3208
Change-Id: Ic001ec6c5ec9887706a5b27f2a48cd61942ab4ee
osmith/wip
Oliver Smith 2 years ago
parent 798a81d48d
commit 7710080ffd
  1. 2
      contrib/osmo-ggsn.spec.in
  2. 3
      debian/control
  3. 5
      debian/rules

@ -34,6 +34,7 @@ BuildRequires: pkgconfig(libmnl) >= 1.0.3
BuildRequires: pkgconfig(libosmocore) >= 1.1.0
BuildRequires: pkgconfig(libosmoctrl) >= 1.1.0
BuildRequires: pkgconfig(libosmovty) >= 1.1.0
BuildRequires: pkgconfig(libgtpnl) >= 1.2.0
Obsoletes: openggsn
%{?systemd_requires}
@ -69,6 +70,7 @@ applications that want to make use of libgtp.
echo "%{version}" >.tarball-version
autoreconf -fi
%configure \
--enable-gtp-linux \
--disable-static \
--docdir="%{_docdir}/%{name}" \
--with-systemdsystemunitdir=%{_unitdir} \

3
debian/control vendored

@ -8,7 +8,8 @@ Build-Depends: debhelper (>= 9),
libdpkg-perl, git,
dh-autoreconf,
libosmocore-dev (>= 1.4.0),
osmo-gsm-manuals-dev
osmo-gsm-manuals-dev,
libgtpnl-dev (>= 1.2.0)
Standards-Version: 3.9.6
Vcs-Browser: http://git.osmocom.org/osmo-ggsn/
Vcs-Git: git://git.osmocom.org/osmo-ggsn

5
debian/rules vendored

@ -19,7 +19,10 @@ override_dh_strip:
dh_strip -plibgtp6 --dbg-package=libgtp-dbg
override_dh_auto_configure:
dh_auto_configure -- --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals
dh_auto_configure -- \
--enable-gtp-linux \
--with-systemdsystemunitdir=/lib/systemd/system \
--enable-manuals
# Don't create .pdf.gz files (barely saves space and they can't be opened directly by most pdf readers)
override_dh_compress:

Loading…
Cancel
Save