MT#14675 Add debian packaging

[gjover@sipwise.com: Finished up the packaging. ]

Change-Id: I1062b358b5f999db581f6a91598d0dfa55551248
changes/49/3949/3
Kirill Solomko 9 years ago committed by Guillem Jover
parent 933c00a582
commit 50593926e3

5
debian/changelog vendored

@ -0,0 +1,5 @@
ngcp-api-tools (1.0.0.0+0~mr4.3.0.0) unstable; urgency=medium
* Initial revision
-- Kirill Solomko <ksolomko@sipwise.com> Wed, 22 Dec 2015 18:21:34 +0100

1
debian/compat vendored

@ -0,0 +1 @@
9

54
debian/control vendored

@ -0,0 +1,54 @@
Source: ngcp-api-tools
Section: admin
Priority: extra
Maintainer: Sipwise Development Team <support@sipwise.com>
Build-Depends: debhelper (>= 9~),
Standards-Version: 3.9.6
Homepage: https://www.sipwise.com/
Package: ngcp-api-tools
Architecture: all
Depends:
ngcp-panel,
perl,
${misc:Depends},
Provides: ngcp-api-tools
Conflicts:
ngcp-ossbss,
ngcp-www-admin (<= 2),
Replaces: ngcp-ossbss
Description: NGCP REST API related tools
This package contains files needed by all interface modules on
NGCP management hosts.
Package: ngcp-billing-tools
Architecture: all
Depends:
perl,
ngcp-templates-ce-ngcp-billing-tools | ngcp-templates-pro-ngcp-billing-tools,
ngcp-panel,
${misc:Depends},
Provides: ngcp-api-tools
Conflicts:
ngcp-ossbss,
ngcp-www-admin (<= 2),
Replaces: ngcp-ossbss
Description: NGCP Billing related tools
This package contains files needed by all interface modules on
NGCP management hosts.
Package: ngcp-provisioning-tools
Architecture: all
Depends:
perl,
ngcp-panel,
ngcp-templates-ce-ngcp-provisioning-tools | ngcp-templates-pro-ngcp-provisioning-tools,
${misc:Depends},
Provides: ngcp-api-tools
Conflicts:
ngcp-ossbss,
ngcp-www-admin (<= 2),
Replaces: ngcp-ossbss
Description: NGCP Provisioning related tools
This package contains files needed by all interface modules on
NGCP management hosts.

23
debian/copyright vendored

@ -0,0 +1,23 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://www.sipwise.com/
Upstream-Contact: Sipwise Development Team <support@sipwise.com>
Files: *
Copyright:
Copyright © 2007-2015 Sipwise GmbH, Austria
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Comment:
On Debian systems, the full text of the GNU General Public License
version 3 can be found in the file '/usr/share/common-licenses/GPL-3'.

@ -0,0 +1,3 @@
bin/ngcp-credit-warning usr/sbin/
bin/ngcp-fraud-auto-lock usr/sbin/
bin/ngcp-fraud-daily-lock usr/sbin/

@ -0,0 +1,8 @@
bin/ngcp-api_ping usr/bin/
bin/ngcp-create_customer usr/bin/
bin/ngcp-create_domain usr/bin/
bin/ngcp-create_subscriber usr/bin/
bin/ngcp-delete_domain usr/bin/
bin/ngcp-get_customer usr/bin/
bin/ngcp-terminate_customer usr/bin/
bin/ngcp-terminate_subscriber usr/bin/

@ -0,0 +1,3 @@
/usr/bin/ngcp-terminate_customer /usr/bin/ngcp-delete_voip_account
/usr/bin/ngcp-get_customer /usr/bin/ngcp-get_voip_account
/usr/bin/ngcp-terminate_subscriber /usr/bin/ngcp-delete_subscriber

7
debian/rules vendored

@ -0,0 +1,7 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
%:
dh "$@"
Loading…
Cancel
Save