debian,RPM: package with PFCP support

- depend on libosmo-pfcp
- configure --enable-pfcp

Related: SYS#5895
Change-Id: I54dfe600d45541fecbb4c05bf75f147934c230f0
This commit is contained in:
Neels Hofmeyr 2022-08-09 17:48:52 +02:00 committed by neels
parent 791babf40e
commit b08b19c990
3 changed files with 5 additions and 1 deletions

View File

@ -45,6 +45,7 @@ BuildRequires: pkgconfig(libosmovty) >= 1.7.0
BuildRequires: pkgconfig(libosmo-hnbap) >= 1.3.0 BuildRequires: pkgconfig(libosmo-hnbap) >= 1.3.0
BuildRequires: pkgconfig(libosmo-ranap) >= 1.3.0 BuildRequires: pkgconfig(libosmo-ranap) >= 1.3.0
BuildRequires: pkgconfig(libosmo-rua) >= 1.3.0 BuildRequires: pkgconfig(libosmo-rua) >= 1.3.0
BuildRequires: pkgconfig(libosmo-pfcp) >= 0.1.0
BuildRequires: pkgconfig(talloc) BuildRequires: pkgconfig(talloc)
BuildRequires: pkgconfig(libasn1c) >= 0.9.30 BuildRequires: pkgconfig(libasn1c) >= 0.9.30
%{?systemd_requires} %{?systemd_requires}
@ -60,7 +61,8 @@ echo "%{version}" >.tarball-version
autoreconf -fi autoreconf -fi
%configure \ %configure \
--docdir=%{_docdir}/%{name} \ --docdir=%{_docdir}/%{name} \
--with-systemdsystemunitdir=%{_unitdir} --with-systemdsystemunitdir=%{_unitdir} \
--enable-pfcp
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install

1
debian/control vendored
View File

@ -21,6 +21,7 @@ Build-Depends: debhelper (>=9),
libosmo-hnbap-dev (>= 1.3.0), libosmo-hnbap-dev (>= 1.3.0),
libosmo-ranap-dev (>= 1.3.0), libosmo-ranap-dev (>= 1.3.0),
libosmo-rua-dev (>= 1.3.0), libosmo-rua-dev (>= 1.3.0),
libosmo-pfcp-dev (>= 0.1.0),
osmo-gsm-manuals-dev (>= 1.3.0) osmo-gsm-manuals-dev (>= 1.3.0)
Standards-Version: 3.9.8 Standards-Version: 3.9.8
Vcs-Git: https://gitea.osmocom.org/cellular-infrastructure/osmo-hnbgw Vcs-Git: https://gitea.osmocom.org/cellular-infrastructure/osmo-hnbgw

1
debian/rules vendored
View File

@ -46,6 +46,7 @@
# debmake generated override targets # debmake generated override targets
CONFIGURE_FLAGS += --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals CONFIGURE_FLAGS += --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals
CONFIGURE_FLAGS += --enable-pfcp
override_dh_auto_configure: override_dh_auto_configure:
dh_auto_configure -- $(CONFIGURE_FLAGS) dh_auto_configure -- $(CONFIGURE_FLAGS)
# #