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

tzafrir at debian.org tzafrir at debian.org
Thu Aug 17 16:50:42 UTC 2017


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

tzafrir pushed a commit to branch master
in repository asterisk.

commit fb30f60ce5ba602d2767c11df46e9d75083db99a
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 08c72f2..2018b9d 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 3bbe68a..1fe0d8e 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