Debian packaging for osmo-cbc
Change-Id: Ieaee1537fca0942cd8e8f8da6620a1b8451a8889
This commit is contained in:
parent
a3c73d9212
commit
c9336ed70e
|
@ -0,0 +1,5 @@
|
||||||
|
osmo-cbc (0.1) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Initial release.
|
||||||
|
|
||||||
|
-- Harald Welte <lafore@gnumonks.org> Wed, 06 Jan 2021 12:13:12 +0100
|
|
@ -0,0 +1 @@
|
||||||
|
9
|
|
@ -0,0 +1,44 @@
|
||||||
|
Source: osmo-cbc
|
||||||
|
Section: net
|
||||||
|
Priority: extra
|
||||||
|
Maintainer: Osmocom team <openbsc@lists.osmocom.org>
|
||||||
|
Build-Depends: debhelper (>=9),
|
||||||
|
dh-autoreconf,
|
||||||
|
autotools-dev,
|
||||||
|
autoconf,
|
||||||
|
automake,
|
||||||
|
libtool,
|
||||||
|
pkg-config,
|
||||||
|
python3-minimal,
|
||||||
|
libtalloc-dev,
|
||||||
|
libosmocore-dev,
|
||||||
|
libosmo-netif-dev,
|
||||||
|
libulfius-dev,
|
||||||
|
libjansson-dev,
|
||||||
|
osmo-gsm-manuals-dev
|
||||||
|
Standards-Version: 3.9.8
|
||||||
|
Vcs-Git: git://git.osmocom.org/osmo-cbc.git
|
||||||
|
Vcs-Browser: https://git.osmocom.org/osmo-cbc/
|
||||||
|
Homepage: https://projects.osmocom.org/projects/osmo-cbc
|
||||||
|
|
||||||
|
Package: osmo-cbc
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: foreign
|
||||||
|
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||||
|
Description: OsmoCBC: Osmocom's Cell Broadcast Center
|
||||||
|
|
||||||
|
Package: osmo-cbc-dbg
|
||||||
|
Section: debug
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Depends: osmo-cbc (= ${binary:Version}), ${misc:Depends}
|
||||||
|
Description: OsmoCBC: Osmocom's Cell Broadcast Center
|
||||||
|
|
||||||
|
Package: osmo-cbc-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.
|
|
@ -0,0 +1 @@
|
||||||
|
usr/share/doc/osmo-cbc-doc/*.pdf
|
|
@ -0,0 +1,4 @@
|
||||||
|
/etc/osmocom/osmo-cbc.cfg
|
||||||
|
lib/systemd/system/osmo-cbc.service
|
||||||
|
usr/bin/osmo-cbc
|
||||||
|
usr/share/doc/osmo-cbc/examples/osmo-cbc/*.cfg usr/share/doc/osmo-bsc/examples`
|
|
@ -0,0 +1,66 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
# You must remove unused comment lines for the released package.
|
||||||
|
# See debhelper(7) (uncomment to enable)
|
||||||
|
# This is an autogenerated template for debian/rules.
|
||||||
|
#
|
||||||
|
# Output every command that modifies files on the build system.
|
||||||
|
#export DH_VERBOSE = 1
|
||||||
|
#
|
||||||
|
# Copy some variable definitions from pkg-info.mk and vendor.mk
|
||||||
|
# under /usr/share/dpkg/ to here if they are useful.
|
||||||
|
#
|
||||||
|
# See FEATURE AREAS/ENVIRONMENT in dpkg-buildflags(1)
|
||||||
|
# Apply all hardening options
|
||||||
|
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
# Package maintainers to append CFLAGS
|
||||||
|
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
||||||
|
# Package maintainers to append LDFLAGS
|
||||||
|
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||||
|
#
|
||||||
|
# With debhelper version 9 or newer, the dh command exports
|
||||||
|
# all buildflags. So there is no need to include the
|
||||||
|
# /usr/share/dpkg/buildflags.mk file here if compat is 9 or newer.
|
||||||
|
#
|
||||||
|
# These are rarely used code. (START)
|
||||||
|
#
|
||||||
|
# The following include for *.mk magically sets miscellaneous
|
||||||
|
# variables while honoring existing values of pertinent
|
||||||
|
# environment variables:
|
||||||
|
#
|
||||||
|
# Architecture-related variables such as DEB_TARGET_MULTIARCH:
|
||||||
|
#include /usr/share/dpkg/architecture.mk
|
||||||
|
# Vendor-related variables such as DEB_VENDOR:
|
||||||
|
#include /usr/share/dpkg/vendor.mk
|
||||||
|
# Package-related variables such as DEB_DISTRIBUTION
|
||||||
|
#include /usr/share/dpkg/pkg-info.mk
|
||||||
|
#
|
||||||
|
# You may alternatively set them susing a simple script such as:
|
||||||
|
# DEB_VENDOR ?= $(shell dpkg-vendor --query Vendor)
|
||||||
|
#
|
||||||
|
# These are rarely used code. (END)
|
||||||
|
#
|
||||||
|
|
||||||
|
# main packaging script based on dh7 syntax
|
||||||
|
%:
|
||||||
|
dh $@ --with autoreconf
|
||||||
|
|
||||||
|
# debmake generated override targets
|
||||||
|
CONFIGURE_FLAGS += --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals
|
||||||
|
override_dh_auto_configure:
|
||||||
|
dh_auto_configure -- $(CONFIGURE_FLAGS)
|
||||||
|
#
|
||||||
|
# Do not install libtool archive, python .pyc .pyo
|
||||||
|
#override_dh_install:
|
||||||
|
# dh_install --list-missing -X.la -X.pyc -X.pyo
|
||||||
|
|
||||||
|
# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
|
||||||
|
override_dh_strip:
|
||||||
|
dh_strip -posmo-cbc --dbg-package=osmo-cbc-dbg
|
||||||
|
|
||||||
|
# Print test results in case of a failure
|
||||||
|
override_dh_auto_test:
|
||||||
|
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
|
||||||
|
|
||||||
|
# Don't create .pdf.gz files (barely saves space and they can't be opened directly by most pdf readers)
|
||||||
|
override_dh_compress:
|
||||||
|
dh_compress -X.pdf
|
Loading…
Reference in New Issue