aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2022-08-09 18:19:54 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2022-08-09 18:21:23 +0200
commit006a93d7d41151549825441105c1e738d6ba7238 (patch)
tree627d54407bbed8cd7b92384e6edd1eec4f65805d /debian
parentd554dfb60142a69690fad0dbde7d22ed5173f842 (diff)
debian packaging of libosmo-gtlv and libosmo-pfcp
Fix debian packaging, so far a copy-paste from osmo-upf.git crept in here by accident. Related: SYS#5895 Change-Id: Id7169fc67b4f8f77dfbeff9f199e6557ced67a53
Diffstat (limited to 'debian')
-rw-r--r--debian/control98
-rw-r--r--debian/copyright6
-rw-r--r--debian/libosmo-gtlv.install1
-rwxr-xr-xdebian/rules1
4 files changed, 79 insertions, 27 deletions
diff --git a/debian/control b/debian/control
index 04b8224..0d5d644 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
-Source: osmo-upf
-Section: net
-Priority: extra
-Maintainer: Osmocom team <openbsc@lists.osmocom.org>
+Source: libosmo-pfcp
+Section: libs
+Priority: optional
+Maintainer: Osmocom team <osmocom-net-gprs@lists.osmocom.org>
Build-Depends: debhelper (>=9),
dh-autoreconf,
autotools-dev,
@@ -12,31 +12,81 @@ Build-Depends: debhelper (>=9),
pkg-config,
python3-minimal,
libtalloc-dev,
- libosmocore-dev (>= 1.6.0),
- osmo-gsm-manuals-dev (>= 1.2.0)
+ libosmocore-dev (>= 1.6.0)
Standards-Version: 3.9.8
-Vcs-Git: git://git.osmocom.org/osmo-upf.git
-Vcs-Browser: https://git.osmocom.org/osmo-upf/
-Homepage: https://projects.osmocom.org/projects/osmo-upf
+Vcs-Git: git://git.osmocom.org/libosmo-pfcp.git
+Vcs-Browser: https://git.osmocom.org/libosmo-pfcp/
+Homepage: https://projects.osmocom.org/projects/libosmo-pfcp
-Package: osmo-upf
+Package: libosmo-gtlv1
+Section: libs
Architecture: any
-Multi-Arch: foreign
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Description: OsmoUPF: Osmocom User Plane Function
+Multi-Arch: same
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Depends: ${misc:Depends},
+ libosmocore-dev,
+ libtalloc-dev
+Description: Generic TLV and TLIV protocol support
+ Decoding, encoding and logging of protocols using a Tag-Length-Value and/or
+ Tag-Length-Instance-Value structure.
-Package: osmo-upf-dbg
+Package: libosmo-gtlv-dev
+Architecture: any
+Multi-Arch: same
+Section: libdevel
+Depends: ${misc:Depends},
+ libosmo-gtlv1 (= ${binary:Version})
+Description: Development headers for libosmo-gtlv
+ libosmo-gtlv implements decoding, encoding and logging of protocols using a
+ Tag-Length-Value and/or Tag-Length-Instance-Value structure. This package in
+ particular contains the files for compiling a program using this library.
+
+Package: libosmo-gtlv-dbg
+Architecture: any
+Multi-Arch: same
Section: debug
+Priority: extra
+Depends: libosmo-gtlv1 (= ${binary:Version}),
+ ${misc:Depends}
+Description: Debug symbols for libosmo-gtlv
+ libosmo-gtlv implements decoding, encoding and logging of protocols using a
+ Tag-Length-Value and/or Tag-Length-Instance-Value structure. This package in
+ particular contains the debug symbols for this library.
+
+Package: libosmo-pfcp1
+Section: libs
Architecture: any
Multi-Arch: same
-Depends: osmo-upf (= ${binary:Version}), ${misc:Depends}
-Description: OsmoUPF: Osmocom User Plane Function
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Depends: ${misc:Depends},
+ libosmocore-dev,
+ libtalloc-dev,
+ libosmo-gtlv1
+Description: PFCP protocol support
+ Decoding, encoding and endpoint implementation of the Packet Forwarding Control Protocol
+ (3GPP TS 29.244).
-Package: osmo-upf-doc
-Architecture: all
-Section: doc
-Priority: optional
-Depends: ${misc:Depends}
-Description: ${misc:Package} PDF documentation
- Various manuals: user manual, VTY reference manual and/or
- protocol/interface manuals.
+Package: libosmo-pfcp-dev
+Architecture: any
+Multi-Arch: same
+Section: libdevel
+Depends: ${misc:Depends},
+ libosmo-pfcp1 (= ${binary:Version})
+Description: Development headers for libosmo-pfcp
+ libosmo-pfcp implements decoding, encoding and endpoint implementation of the
+ Packet Forwarding Control Protocol (3GPP TS 29.244). This package in particular
+ contains the files for compiling a program using this library.
+
+Package: libosmo-pfcp-dbg
+Architecture: any
+Multi-Arch: same
+Section: debug
+Priority: extra
+Depends: libosmo-pfcp1 (= ${binary:Version}),
+ ${misc:Depends}
+Description: Debug symbols for libosmo-pfcp
+ libosmo-pfcp implements decoding, encoding and endpoint implementation of the
+ Packet Forwarding Control Protocol (3GPP TS 29.244). This package in particular
+ contains the debug symbols for this library.
diff --git a/debian/copyright b/debian/copyright
index 84c249f..aa284b9 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,9 +1,9 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: osmo-upf
-Source: git://git.osmocom.org/osmo-upf
+Upstream-Name: libosmo-pfcp
+Source: git://git.osmocom.org/libosmo-pfcp
Files: *
-Copyright: 2021-2022 sysmocom - s.f.m.c. GmbH <info@sysmocom.de>
+Copyright: 2022 sysmocom - s.f.m.c. GmbH <info@sysmocom.de>
License: AGPL-3.0+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/debian/libosmo-gtlv.install b/debian/libosmo-gtlv.install
new file mode 100644
index 0000000..dba9905
--- /dev/null
+++ b/debian/libosmo-gtlv.install
@@ -0,0 +1 @@
+usr/lib/*/libosmo-gtlv*.so.*
diff --git a/debian/rules b/debian/rules
index b206acd..6569657 100755
--- a/debian/rules
+++ b/debian/rules
@@ -55,6 +55,7 @@ override_dh_auto_configure:
# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
override_dh_strip:
+ dh_strip -plibosmo-gtlv --dbg-package=libosmo-gtlv-dbg
dh_strip -plibosmo-pfcp --dbg-package=libosmo-pfcp-dbg
# Print test results in case of a failure