debian: Initial commit of packaging metadata

Change-Id: I9396f96c5686d0251feb485795147416637d740a
This commit is contained in:
Matt Johnson 2020-09-08 01:08:17 -07:00
parent 654ebc02fe
commit 6f718e3632
3 changed files with 44 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
osmo-dia2gsup (0.0.1) UNRELEASED; urgency=medium
* Initial Release
-- Matt Johnson <matt9j@cs.washington.edu> Tue, 08 Sep 2020 04:09:03 +0000

24
debian/control vendored Normal file
View File

@ -0,0 +1,24 @@
Source: osmo-dia2gsup
Section: net
Priority: optional
Maintainer: Osmocom team <openbsc@lists.osmocom.org>
Build-Depends: debhelper (>= 10~),
debhelper-compat (=10),
pkg-config,
erlang-base-hipe | erlang-base,
erlang-dev,
erlang-dialyzer,
erlang-eunit,
erlang-inets,
erlang-tools
Standards-Version: 4.5.0.3
Homepage: https://osmocom.org/projects/erlang-core-network-signalling-projects
Vcs-Git: git://git.osmocom.org/erlang/osmo_dia2gsup
Vcs-Browser: https://git.osmocom.org/erlang/osmo_dia2gsup/
Package: osmo-dia2gsup
Architecture: any
Depends: erlang-base-hipe | erlang-base, erlang-diameter, erlang-inets, ${misc:Depends}
Description: Interface to convert between basic diameter commands and
gsup for interoperating the osmo-hlr with standard LTE core networks
via the S6A interface.

15
debian/rules vendored Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/make -f
DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
export DH_VERBOSE=1
#export DEB_BUILD_HARDENING=1
%:
dh $@ --fail-missing
# 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