MT#10277 Create ngcp-netscript package + b28adb76 + e03bea2

Change-Id: I6ea888dc3c9b2556bcffe3d289a2734106cd44af
changes/04/804/5 mr3.5.1.1
Victor Seva 10 years ago committed by Alexander Lutay
parent c9fec2e22d
commit 72e4119b22

@ -1,6 +1,7 @@
# for syntax checks
BASH_SCRIPTS = deployment.sh
VERSION=$(shell git log --pretty=format:"%h" -1 deployment.sh)
NGCP_VERSION ?= $(shell git log --pretty=format:"%h" -1)
NGCP_VERSION := $(strip $(NGCP_VERSION))
syntaxcheck: shellcheck
@ -14,7 +15,9 @@ shellcheck:
echo " done."; \
script_version:
echo "Adjust version information string in deployment.sh to ${VERSION}"
sed -i "s/SCRIPT_VERSION=\"%SCRIPT_VERSION%\"/SCRIPT_VERSION=${VERSION}/" deployment.sh
echo "Adjust version information string in deployment.sh to ${NGCP_VERSION}"
sed -i "s/SCRIPT_VERSION=\"%SCRIPT_VERSION%\"/SCRIPT_VERSION=${NGCP_VERSION}/" deployment.sh
.PHONY: clean install build syntaxcheck shellcheck script_version
# EOF

5
debian/changelog vendored

@ -0,0 +1,5 @@
ngcp-netscript (3.5.1.1+0~mr3.5.1.1) unstable; urgency=medium
* Initial release
-- Victor Seva <vseva@sipwise.com> Thu, 22 Jan 2015 16:58:59 +0100

1
debian/compat vendored

@ -0,0 +1 @@
9

15
debian/control vendored

@ -0,0 +1,15 @@
Source: ngcp-netscript
Section: admin
Priority: extra
Maintainer: Sipwise Development Team <support@sipwise.com>
Build-Depends: debhelper (>= 9),
git
Standards-Version: 3.9.6
Homepage: http://sipwise.com/
Package: ngcp-netscript
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends}
Description: NGCP deployment scripts
scripts needed to install Sipwise NGCP system.

7
debian/copyright vendored

@ -0,0 +1,7 @@
Upstream Author: The Sipwise Team - http://sipwise.com/
Copyright: Copyright (c) 2015 Sipwise GmbH, Austria
License: All software included in this package is
Copyright (c) Sipwise GmbH, Austria.
All rights reserved. You may not copy, distribute
or modify without prior written permission from
Sipwise GmbH, Austria.

1
debian/dirs vendored

@ -0,0 +1 @@
/usr/share/ngcp-netscript

1
debian/install vendored

@ -0,0 +1 @@
deployment.sh usr/share/ngcp-netscript/

19
debian/rules vendored

@ -0,0 +1,19 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
DEBVERSION:=$(shell head -n 1 debian/changelog \
| sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
ifneq ($(GIT_COMMIT),)
export NGCP_VERSION := $(GIT_COMMIT)
else
export NGCP_VERSION:=$(DEBVERSION)
endif
%:
dh $@
override_dh_auto_configure:
echo "NGCP_VERSION=$(NGCP_VERSION)"
make script_version

@ -0,0 +1 @@
3.0 (native)

@ -0,0 +1 @@
extend-diff-ignore=.gitreview
Loading…
Cancel
Save