Change in osmo-ggsn[master]: deb/rpm: build with --enable-gtp-linux

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Fri Feb 19 18:33:54 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/23000 )


Change subject: deb/rpm: build with --enable-gtp-linux
......................................................................

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

Allow optional use of the GTP kernel module.

Related: OS#3208
Change-Id: Ic001ec6c5ec9887706a5b27f2a48cd61942ab4ee
---
M contrib/osmo-ggsn.spec.in
M debian/control
M debian/rules
3 files changed, 8 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/00/23000/1

diff --git a/contrib/osmo-ggsn.spec.in b/contrib/osmo-ggsn.spec.in
index 4e8b11e..83a1ca7 100644
--- a/contrib/osmo-ggsn.spec.in
+++ b/contrib/osmo-ggsn.spec.in
@@ -34,6 +34,7 @@
 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 @@
 echo "%{version}" >.tarball-version
 autoreconf -fi
 %configure \
+  --enable-gtp-linux \
   --disable-static \
   --docdir="%{_docdir}/%{name}" \
   --with-systemdsystemunitdir=%{_unitdir} \
diff --git a/debian/control b/debian/control
index 0822773..1fd1937 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,8 @@
                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
diff --git a/debian/rules b/debian/rules
index c5c7708..c11700c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,10 @@
 	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:

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/23000
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: Ic001ec6c5ec9887706a5b27f2a48cd61942ab4ee
Gerrit-Change-Number: 23000
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210219/b16c5494/attachment.htm>


More information about the gerrit-log mailing list