diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-07-21 16:42:29 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-07-30 09:23:11 +0200 |
commit | 95d8272311bc4eeb32cc0c431b659727b73e170a (patch) | |
tree | 170a690ddce59b22cb663f2236c90da5a415f053 | |
parent | b5f89891bf7c2c92aa5972da880efe90bc31b8c5 (diff) |
debian: Begin with a debian package for the STP
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 46 | ||||
-rw-r--r-- | debian/osmocom-cellmgr-ng.install | 1 | ||||
-rw-r--r-- | debian/osmocom-cellmgr-stp.install | 1 | ||||
-rw-r--r-- | debian/posmocom-cellmgr-mgcp-mgw.install | 1 | ||||
-rwxr-xr-x | debian/rules | 32 | ||||
-rw-r--r-- | debian/source/format | 1 |
8 files changed, 88 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a79030f --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +cellmgr-ng (1.3.0) UNRELEASED; urgency=medium + + * Initial release + + -- Holger Hans Peter Freyther <holger@freyther.de> Mon, 21 Jul 2014 16:44:58 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..a4327bd --- /dev/null +++ b/debian/control @@ -0,0 +1,46 @@ +Source: cellmgr-ng +Section: net +Priority: optional +Maintainer: Holger Hans Peter Freyther <holger@freyther.de> +Build-Depends: debhelper (>= 7.0.0~), autotools-dev, pkg-config, libosmocore-dev, libosmo-sccp-dev, dh-autoreconf, libsnmp-dev, libsctp-dev +Standards-Version: 3.8.4 +Homepage: http://openbsc.osmocom.org/ +Vcs-Git: git://bs11-abis.gnumonks.org/cellmgr-ng.git +Vcs-Browser: http://openbsc.osmocom.org/trac/browser + +Package: osmocom-cellmgr-ng +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Proxy between E1 to IP + +Package: osmocom-cellmgr-stp +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple Signalling Transfer Point (STP) + +Package: osmocom-cellmgr-mgcp-mgw +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: MGW proxy between E1 to IP + +Package: osmocom-cellmgr-ng-dbg +Architecture: any +Section: debug +Priority: extra +Depends: osmocom-cellmgr-ng (= ${binary:Version}), ${misc:Depends} +Description: Debug symbols for cellmgr-ng + +Package: osmocom-cellmgr-stp-dbg +Architecture: any +Section: debug +Priority: extra +Depends: osmocom-cellmgr-stp (= ${binary:Version}), ${misc:Depends} +Description: Debug symbols for the cellmgr STP + +Package: osmocom-cellmgr-mgcp-mgw-dbg +Architecture: any +Section: debug +Priority: extra +Depends: osmocom-cellmgr-mgcp-mgw (= ${binary:Version}), ${misc:Depends} +Description: Debug symbols for cellmgr MGW + diff --git a/debian/osmocom-cellmgr-ng.install b/debian/osmocom-cellmgr-ng.install new file mode 100644 index 0000000..a67e749 --- /dev/null +++ b/debian/osmocom-cellmgr-ng.install @@ -0,0 +1 @@ +usr/sbin/cellmgr_ng diff --git a/debian/osmocom-cellmgr-stp.install b/debian/osmocom-cellmgr-stp.install new file mode 100644 index 0000000..21496a9 --- /dev/null +++ b/debian/osmocom-cellmgr-stp.install @@ -0,0 +1 @@ +usr/sbin/osmo_stp diff --git a/debian/posmocom-cellmgr-mgcp-mgw.install b/debian/posmocom-cellmgr-mgcp-mgw.install new file mode 100644 index 0000000..010cb52 --- /dev/null +++ b/debian/posmocom-cellmgr-mgcp-mgw.install @@ -0,0 +1 @@ +usr/sbin/mgcp_mgw diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2270dbd --- /dev/null +++ b/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +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 DEB_BUILD_HARDENING=1 + +%: + dh --with autoreconf $@ + +override_dh_strip: + dh_strip -posmocom-cellmgr-ng --dbg-package=osmocom-cellmgr-ng-dbg + dh_strip -posmocom-cellmgr-stp --dbg-package=osmocom-cellmgr-stp-dbg + dh_strip -posmocom-cellmgr-mgcp-mgw --dbg-package=osmocom-cellmgr-mgcp-mgw-dbg + +override_dh_auto_configure: + echo $(VERSION) > .tarball-version + dh_auto_configure diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) |