From b08b19c9905809c6a227a486a1937ba821bc3d31 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Tue, 9 Aug 2022 17:48:52 +0200 Subject: [PATCH] debian,RPM: package with PFCP support - depend on libosmo-pfcp - configure --enable-pfcp Related: SYS#5895 Change-Id: I54dfe600d45541fecbb4c05bf75f147934c230f0 --- contrib/osmo-hnbgw.spec.in | 4 +++- debian/control | 1 + debian/rules | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/osmo-hnbgw.spec.in b/contrib/osmo-hnbgw.spec.in index a4379fa..75b1e51 100644 --- a/contrib/osmo-hnbgw.spec.in +++ b/contrib/osmo-hnbgw.spec.in @@ -45,6 +45,7 @@ BuildRequires: pkgconfig(libosmovty) >= 1.7.0 BuildRequires: pkgconfig(libosmo-hnbap) >= 1.3.0 BuildRequires: pkgconfig(libosmo-ranap) >= 1.3.0 BuildRequires: pkgconfig(libosmo-rua) >= 1.3.0 +BuildRequires: pkgconfig(libosmo-pfcp) >= 0.1.0 BuildRequires: pkgconfig(talloc) BuildRequires: pkgconfig(libasn1c) >= 0.9.30 %{?systemd_requires} @@ -60,7 +61,8 @@ echo "%{version}" >.tarball-version autoreconf -fi %configure \ --docdir=%{_docdir}/%{name} \ - --with-systemdsystemunitdir=%{_unitdir} + --with-systemdsystemunitdir=%{_unitdir} \ + --enable-pfcp make %{?_smp_mflags} %install diff --git a/debian/control b/debian/control index 3fe8035..0aed0f4 100644 --- a/debian/control +++ b/debian/control @@ -21,6 +21,7 @@ Build-Depends: debhelper (>=9), libosmo-hnbap-dev (>= 1.3.0), libosmo-ranap-dev (>= 1.3.0), libosmo-rua-dev (>= 1.3.0), + libosmo-pfcp-dev (>= 0.1.0), osmo-gsm-manuals-dev (>= 1.3.0) Standards-Version: 3.9.8 Vcs-Git: https://gitea.osmocom.org/cellular-infrastructure/osmo-hnbgw diff --git a/debian/rules b/debian/rules index bce8ed6..f341a84 100755 --- a/debian/rules +++ b/debian/rules @@ -46,6 +46,7 @@ # debmake generated override targets CONFIGURE_FLAGS += --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals +CONFIGURE_FLAGS += --enable-pfcp override_dh_auto_configure: dh_auto_configure -- $(CONFIGURE_FLAGS) #