Skip to content

Commit

Permalink
add debian packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
sboily committed Oct 4, 2015
1 parent 5888bab commit 5b4d0e2
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
res-discovery-consul (0.1.0-1) UNRELEASED; urgency=medium

* Initial release.

-- Sylvain Boily <[email protected]> Sun, 04 Oct 2015 13:25:33 -0400
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
20 changes: 20 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Source: res-discovery-consul
Priority: extra
Maintainer: Sylvain Boily <[email protected]>
Build-Depends: debhelper (>= 7.0.50~), asterisk-dev (>= 13.5.0)
Standards-Version: 3.8.4
Section: comm

Package: res-discovery-consul
Section: comm
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, asterisk (>= 13.5.0), libcurl
Description: Module to discovering Asterisk with Consul
Module to discovering Asterisk with Consul

Package: res-discovery-consul-dbg
Section: comm
Architecture: any
Depends: res-discovery-consul (= ${Source-Version})
Description: Module to discovering Asterisk with Consul
Module to discovering Asterisk with Consul, debug mode
44 changes: 44 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
It was downloaded from:

https://github.com/sboily/asterisk-consul-module

Upstream Author(s):

Sylvain Boily <[email protected]

Copyright:

<Copyright (C) 2015 Sylvain Boily>

License:

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 package 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 <http://www.gnu.org/licenses/>.

On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

The Debian packaging is:

Copyright (C) 2015 Sylvain Boily <[email protected]>

# Please chose a license for your packaging work. If the program you package
# uses a mainstream license, using the same license is the safest choice.
# Please avoid to pick license terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.
# If you just want it to be GPL version 3, leave the following line in.

and is licensed under the GPL version 3, see above.

# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
1 change: 1 addition & 0 deletions debian/res-discovery-consul.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
res_discovery_consul.so usr/lib/asterisk/modules/
7 changes: 7 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/make -f

%:
dh $@

override_dh_strip:
dh_strip --dbg-package=res-discovery-consul-dbg

0 comments on commit 5b4d0e2

Please sign in to comment.