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/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged.
Change subject: Proper Debian packaging with split packages, -dbg, -doc, ...
......................................................................
Proper Debian packaging with split packages, -dbg, -doc, ...
Change-Id: I58ce90a9b8e4fc41ceb6a112df1f4503008743a7
---
M debian/control
A debian/libosmo-sccp-dev.install
A debian/libosmo-sigtran-dev.install
A debian/libosmo-sigtran-doc.install
A debian/libosmo-sigtran0.install
A debian/osmo-stp.install
A debian/osmo-stp.service
M debian/rules
8 files changed, 126 insertions(+), 7 deletions(-)
Approvals:
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/debian/control b/debian/control
index a59dede..8b8f66b 100644
--- a/debian/control
+++ b/debian/control
@@ -25,10 +25,99 @@
Depends: ${misc:Depends}
Multi-Arch: same
Section: libdevel
-Description: Development files for libosmosccp, libosmomtp and libosmoxua
+Description: Development files for libsccp, libmtp and libxua
SCCP is a network layer protocol that provides extended routing, flow control,
segmentation, connection-orientation, and error correction facilities in
Signaling System 7 telecommunications networks.
It is heavily used in cellular networks such as GSM.
.
This package contains the development files for the library.
+
+Package: libosmo-sigtran0
+Section: libs
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Description: Osmocom SIGTRAN library (SCCP, SUA, M3UA and more)
+ This is a shared library containing SS7/SIGTRAN related functionality,
+ including connection-less and connection-oriented SCCP as per ITU-T Q.71x,
+ M3UA (MTP3 User Adaptation) according to IETF RFC4666,
+ SUA (SCCP User Adpatation) according to IETF RFC3868
+ as well as MTP-level routing function and handling of signaling links,
+ linksets, ASPs, SGs, etc.
+
+Package: libosmo-sigtran-dbg
+Architecture: any
+Section: debug
+Multi-Arch: same
+Depends: libosmo-sigtran0 (= ${binary:Version}),
+ ${misc:Depends}
+Description: Documentation for the Osmocom SIGTRAN library
+ libosmo-sigtran is a shared library containing SS7/SIGTRAN related functionality,
+ including connection-less and connection-oriented SCCP as per ITU-T Q.71x,
+ M3UA (MTP3 User Adaptation) according to IETF RFC4666,
+ SUA (SCCP User Adpatation) according to IETF RFC3868
+ as well as MTP-level routing function and handling of signaling links,
+ linksets, ASPs, SGs, etc.
+
+
+Package: libosmo-sigtran-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+ libosmo-sigtran0 (= ${binary:Version}),
+ libjs-query
+Description: Documentation for the Osmocom SIGTRAN library
+ libosmo-sigtran is a shared library containing SS7/SIGTRAN related functionality,
+ including connection-less and connection-oriented SCCP as per ITU-T Q.71x,
+ M3UA (MTP3 User Adaptation) according to IETF RFC4666,
+ SUA (SCCP User Adpatation) according to IETF RFC3868
+ as well as MTP-level routing function and handling of signaling links,
+ linksets, ASPs, SGs, etc.
+
+Package: libosmo-sigtran-dev
+Architecture: any
+Multi-Arch: same
+Section: libdevel
+Depends: ${misc:Depends},
+ libosmo-sigtran0 (= ${binary:Version}),
+ libosmocore-dev,
+ libosmo-netif-dev
+Description: Development headers for the Osmocom SIGTRAN library
+ libosmo-sigtran is a shared library containing SS7/SIGTRAN related functionality,
+ including connection-less and connection-oriented SCCP as per ITU-T Q.71x,
+ M3UA (MTP3 User Adaptation) according to IETF RFC4666,
+ SUA (SCCP User Adpatation) according to IETF RFC3868
+ as well as MTP-level routing function and handling of signaling links,
+ linksets, ASPs, SGs, etc.
+
+Package: osmo-stp
+Architecture: any
+Multi-Arch: same
+Section: net
+Depends: libosmo-sigtran0,
+ ${shlib:Depends},
+ ${misc:Depends}
+Description: Osmocom SIGTRAN STP (Signaling Transfer Point)
+ This is the Osmocom (Open Source Mobile Communications) implementation
+ of a Signaling Transfer Point (STP) for SS7/SIGTRAN telecommunication
+ networks. At this point it is a very minimal implementation, missing
+ lots of the functionality usually present in a STP, such as Global Title
+ Routing, Global Title Translation.
+
+Package: osmo-stp-dbg
+Architecture: any
+Multi-Arch: same
+Section: debug
+Depends: ${misc:Depends},
+ osmo-stp (= ${binary:Version})
+Description: Debug symbols for Osmocom SIGTRAN STP (Signaling Transfer Point)
+ This package contains debug symbols for the Osmocom SIGTRAN STP (OsmoSTP).
+ .
+ OsmoSTP is the Osmocom (Open Source Mobile Communications) implementation
+ of a Signaling Transfer Point (STP) for SS7/SIGTRAN telecommunication
+ networks. At this point it is a very minimal implementation, missing
+ lots of the functionality usually present in a STP, such as Global Title
+ Routing, Global Title Translation.
diff --git a/debian/libosmo-sccp-dev.install b/debian/libosmo-sccp-dev.install
new file mode 100644
index 0000000..0404a9c
--- /dev/null
+++ b/debian/libosmo-sccp-dev.install
@@ -0,0 +1,7 @@
+usr/include/osmocom/sccp
+usr/lib/*/libsccp.a
+usr/lib/*/libmtp.a
+usr/lib/*/libxua.a
+usr/lib/*/pkgconfig/libosmo-sccp.pc
+usr/lib/*/pkgconfig/libosmo-mtp.pc
+usr/lib/*/pkgconfig/libosmo-xua.pc
diff --git a/debian/libosmo-sigtran-dev.install b/debian/libosmo-sigtran-dev.install
new file mode 100644
index 0000000..a556f90
--- /dev/null
+++ b/debian/libosmo-sigtran-dev.install
@@ -0,0 +1,5 @@
+usr/include/osmocom/sigtran
+usr/lib/*/libosmo-sigtran*.a
+usr/lib/*/libosmo-sigtran*.so
+usr/lib/*/libosmo-sigtran*.la
+usr/lib/*/pkgconfig/libosmo-sigtran.pc
diff --git a/debian/libosmo-sigtran-doc.install b/debian/libosmo-sigtran-doc.install
new file mode 100644
index 0000000..c6a1ec7
--- /dev/null
+++ b/debian/libosmo-sigtran-doc.install
@@ -0,0 +1 @@
+usr/share/doc/libosmo-sccp/sigtran/
diff --git a/debian/libosmo-sigtran0.install b/debian/libosmo-sigtran0.install
new file mode 100644
index 0000000..9779f4c
--- /dev/null
+++ b/debian/libosmo-sigtran0.install
@@ -0,0 +1 @@
+usr/lib/*/libosmo-sigtran*.so.*
diff --git a/debian/osmo-stp.install b/debian/osmo-stp.install
new file mode 100644
index 0000000..74ce048
--- /dev/null
+++ b/debian/osmo-stp.install
@@ -0,0 +1 @@
+/usr/bin/osmo-stp
diff --git a/debian/osmo-stp.service b/debian/osmo-stp.service
new file mode 120000
index 0000000..55f37c2
--- /dev/null
+++ b/debian/osmo-stp.service
@@ -0,0 +1 @@
+../contrib/systemd/osmo-stp.service
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index c42676a..279568f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,15 +11,29 @@
%:
dh $@ --with autoreconf
-override_dh_autoreconf:
- echo $(VERSION) > .tarball-version
- dh_autoreconf
+override_dh_strip:
+ dh_strip -plibosmo-sigtran0 --dbg-package=libosmo-sigtran-dbg
+ dh_strip -posmo-stp --dbg-package=osmo-stp-dbg
-override_dh_clean:
- dh_clean
- rm -f .version tests/package.m4 tests/testsuite
+override_dh_install:
+ sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
+ dh_install
# Print test results in case of a failure
override_dh_auto_test:
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
+override_dh_autoreconf:
+ echo $(VERSION) > .tarball-version
+ dh_autoreconf
+
+override_dh_auto_configure:
+ dh_auto_configure -- --enable-static
+
+# Print test results in case of a failure
+override_dh_auto_test:
+ dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
+
+override_dh_clean:
+ dh_clean
+ rm -f .version tests/package.m4 tests/testsuite
--
To view, visit https://gerrit.osmocom.org/4459
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I58ce90a9b8e4fc41ceb6a112df1f4503008743a7
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder