[Pkg-voip-commits] [asterisk] 03/04: A separate asterisk-tests package for test modules

tzafrir at debian.org tzafrir at debian.org
Sat Dec 24 01:02:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

tzafrir pushed a commit to branch test-enable
in repository asterisk.

commit 318aeea49bfd8f00051a6c2e49ae22ea30fb295e
Author: Tzafrir Cohen <tzafrir at debian.org>
Date:   Sat Dec 24 02:53:16 2016 +0200

    A separate asterisk-tests package for test modules
---
 debian/.gitignore             |  1 +
 debian/asterisk-tests.install |  2 ++
 debian/control                | 16 ++++++++++++++++
 debian/rules                  |  2 +-
 4 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/debian/.gitignore b/debian/.gitignore
index 2cc1ab3..f9c0add 100644
--- a/debian/.gitignore
+++ b/debian/.gitignore
@@ -11,6 +11,7 @@ asterisk-modules/
 asterisk-mp3/
 asterisk-mysql/
 asterisk-ooh323/
+asterisk-tests/
 asterisk-voicemail-imapstorage/
 asterisk-voicemail-odbcstorage/
 asterisk-voicemail/
diff --git a/debian/asterisk-tests.install b/debian/asterisk-tests.install
new file mode 100644
index 0000000..ffe4e15
--- /dev/null
+++ b/debian/asterisk-tests.install
@@ -0,0 +1,2 @@
+usr/lib/asterisk/modules/test_*.so
+
diff --git a/debian/control b/debian/control
index 2f323c7..53e6b5c 100644
--- a/debian/control
+++ b/debian/control
@@ -301,6 +301,22 @@ Description: Bluetooth phone support for the Asterisk PBX
  For more information about the Asterisk PBX, have a look at the Asterisk
  package.
 
+Package: asterisk-tests
+Architecture: linux-any
+Depends:
+ asterisk (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: internal test modules of the Asterisk PBX
+ Asterisk is an Open Source PBX and telephony toolkit.
+ .
+ This package provides modules that run various functionality tests.
+ You would normally not install this package unless you test a build
+ of Asterisk.
+ .
+ For more information about the Asterisk PBX, have a look at the Asterisk
+ package.
+
 Package: asterisk-doc
 Depends:
  ${misc:Depends}
diff --git a/debian/rules b/debian/rules
index b80b8f3..7b3686d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -127,7 +127,7 @@ SUBPACKS_EXTRA = \
 		 voicemail voicemail-odbcstorage voicemail-imapstorage \
 		 ooh323 mysql mp3
 ifeq (linux,$(BUILD_OS))
-SUBPACKS_EXTRA += dahdi mobile vpb
+SUBPACKS_EXTRA += dahdi mobile tests vpb
 endif
 SUBPACKS_EXTRA_DIRS = $(SUBPACKS_EXTRA:%=$(CURDIR)/debian/asterisk-%)
 SUBPACKS_EXTRA_DIRS_MOD = $(SUBPACKS_EXTRA_DIRS:%=%/usr/lib/asterisk/modules)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/asterisk.git



More information about the Pkg-voip-commits mailing list