pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import asterisk-perl for VICIdial as wip/p5-Asterisk-vicidial



Module Name:	pkgsrc-wip
Committed By:	Angel M. Adames <angelmadames%gmail.com@localhost>
Pushed By:	angelmadames
Date:		Tue May 30 10:15:50 2017 -0400
Changeset:	8fa35d7d45f2ead2d286b54ddb4c574f57a50207

Added Files:
	p5-Asterisk-vicidial/DESCR
	p5-Asterisk-vicidial/Makefile
	p5-Asterisk-vicidial/PLIST
	p5-Asterisk-vicidial/TODO
	p5-Asterisk-vicidial/distinfo

Log Message:
Import asterisk-perl for VICIdial as wip/p5-Asterisk-vicidial

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8fa35d7d45f2ead2d286b54ddb4c574f57a50207

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 p5-Asterisk-vicidial/DESCR    |  2 ++
 p5-Asterisk-vicidial/Makefile | 34 ++++++++++++++++++++++++++++++++++
 p5-Asterisk-vicidial/PLIST    | 20 ++++++++++++++++++++
 p5-Asterisk-vicidial/TODO     |  6 ++++++
 p5-Asterisk-vicidial/distinfo |  6 ++++++
 5 files changed, 68 insertions(+)

diffs:
diff --git a/p5-Asterisk-vicidial/DESCR b/p5-Asterisk-vicidial/DESCR
new file mode 100644
index 0000000000..d7e50ee4c2
--- /dev/null
+++ b/p5-Asterisk-vicidial/DESCR
@@ -0,0 +1,2 @@
+sterisk-perl is a collection of AGI scripts and perl modules for Asterisk.
+This variation is for Asterisk-VICIdial installation.
diff --git a/p5-Asterisk-vicidial/Makefile b/p5-Asterisk-vicidial/Makefile
new file mode 100644
index 0000000000..1e34bcdb79
--- /dev/null
+++ b/p5-Asterisk-vicidial/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD$
+
+DISTNAME=	asterisk-perl-0.08
+PKGNAME=	p5-Asterisk-vicidial-0.08
+CATEGORIES=	comms perl5
+MASTER_SITES=	http://download.vicidial.com/packages/
+
+MAINTAINER=	angelmadames%gmail.com@localhost
+HOMEPAGE=	http://download.vicidial.com/packages/
+COMMENT=	Perl modules used with Asterisk-VICIdial
+LICENSE=	artistic
+
+PERL5_PACKLSIT=	auto/vicidal/asterisk-perl/.packlist
+MAKE_PARAMS+=	PREFIX=${PREFIX}/vicidial/asterisk-perl
+
+# The following  statements were taken from comms/p5-Asterisk Makefile;
+EXAMPLES_DIR=		${PREFIX}/share/examples/p5-Asterisk
+EXAMPLE_FILES=		agi-enum.agi agi-sayani.agi agi-test.agi
+EXAMPLE_FILES+= 	calleridnamelookup.agi manager-test.pl
+EXAMPLE_FILES+= 	tts-bofh.agi tts-line.agi tts-ping.agi
+
+.for file in ${EXAMPLE_FILES}
+REPLACE_PERL+=		${WRKSRC}/examples/${file}
+.endfor
+
+INSTALLATION_DIRS=	${EXAMPLES_DIR}
+
+post-install:
+.for file in ${EXAMPLE_FILES}
+	${INSTALL_SCRIPT} ${WRKSRC}/examples/${file} ${DESTDIR}${EXAMPLES_DIR}
+.endfor
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/p5-Asterisk-vicidial/PLIST b/p5-Asterisk-vicidial/PLIST
new file mode 100644
index 0000000000..4db634dfb3
--- /dev/null
+++ b/p5-Asterisk-vicidial/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD$
+${PERL5_SUB_INSTALLVENDORLIB}/Asterisk.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Asterisk/AGI.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Asterisk/Manager.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Asterisk/Outgoing.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Asterisk/QCall.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Asterisk/Voicemail.pm
+${PERL5_SUB_INSTALLVENDORARCH}/auto/asterisk-perl/.packlist
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/Asterisk::AGI.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/Asterisk::Manager.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/Asterisk::Outgoing.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/Asterisk::Voicemail.3
+share/examples/p5-Asterisk/agi-enum.agi
+share/examples/p5-Asterisk/agi-sayani.agi
+share/examples/p5-Asterisk/agi-test.agi
+share/examples/p5-Asterisk/calleridnamelookup.agi
+share/examples/p5-Asterisk/manager-test.pl
+share/examples/p5-Asterisk/tts-bofh.agi
+share/examples/p5-Asterisk/tts-line.agi
+share/examples/p5-Asterisk/tts-ping.agi
diff --git a/p5-Asterisk-vicidial/TODO b/p5-Asterisk-vicidial/TODO
new file mode 100644
index 0000000000..c3870c395f
--- /dev/null
+++ b/p5-Asterisk-vicidial/TODO
@@ -0,0 +1,6 @@
+* Installation dirs must be changed. There's already a p5-Asterisk
+package with a newer version than the included in this package.
+Nevertheless, as writting this, the VICIdial-astguiclient 2.13
+package only works with this version. Thus, we had to import this
+outdated version. If you have the previously  mentioned package
+installed, please change the install directories of this package.
diff --git a/p5-Asterisk-vicidial/distinfo b/p5-Asterisk-vicidial/distinfo
new file mode 100644
index 0000000000..6dc72d4eb1
--- /dev/null
+++ b/p5-Asterisk-vicidial/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (asterisk-perl-0.08.tar.gz) = 6f58dac9dcbce4607539cb1441d551ca042ceee9
+RMD160 (asterisk-perl-0.08.tar.gz) = cbfd3a2660e433e6761b46136fbaa94b00ac41ad
+SHA512 (asterisk-perl-0.08.tar.gz) = 80e2aeb5ee45504552e68f81fc3507690f3e02c0601370883c9497450b80f6590bb17cb0cb8226a2bda5ac36fb97d677930690de32482e29adc8a90ff6b74716
+Size (asterisk-perl-0.08.tar.gz) = 13217 bytes


Home | Main Index | Thread Index | Old Index