--- libasterisk-agi-perl-1.01.orig/debian/docs +++ libasterisk-agi-perl-1.01/debian/docs @@ -0,0 +1 @@ +README --- libasterisk-agi-perl-1.01.orig/debian/control +++ libasterisk-agi-perl-1.01/debian/control @@ -0,0 +1,22 @@ +Source: libasterisk-agi-perl +Section: perl +Priority: optional +Maintainer: Debian VoIP Team +Uploaders: Rene Mayorga , Tzafrir Cohen , Kilian Krause , Faidon Liambotis +Build-Depends: debhelper (>=7), quilt +Build-Depends-Indep: perl +Standards-Version: 3.8.3 +Homepage: http://asterisk.gnuinter.net/ +Vcs-Svn: svn://svn.debian.org/pkg-voip/libasterisk-agi-perl/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/libasterisk-agi-perl/?op=log + +Package: libasterisk-agi-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Description: Collections of Perl modules to be used with Asterisk PBX AGI + This module provides a simple interface to several operations related to + the Asterisk PBX, including: + . + * Asterisk::AGI - simplifies writing AGI scripts for the Asterisk dialplan. + * Asterisk::Outgoing - create calls through the outgoing spool. + * Asterisk::Manager - control Asterisk through the Manager interface socket. --- libasterisk-agi-perl-1.01.orig/debian/rules +++ libasterisk-agi-perl-1.01/debian/rules @@ -0,0 +1,75 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +ifndef PERL + PERL = /usr/bin/perl +endif + +include /usr/share/quilt/quilt.make + +TMP=$(CURDIR)/debian/libasterisk-agi-perl + +include /usr/share/quilt/quilt.make + +DEBVERSION:=$(shell head -n 1 debian/changelog \ + | sed -e 's/^[^(]*(\([^)]*\)).*/\1/') +UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/-.*//') + +FILENAME := libasterisk-agi-perl_$(UPVERSION).orig.tar.gz +UPFILENAME := asterisk-perl-$(UPVERSION).tar.gz +URL := http://asterisk.gnuinter.net/files/$(UPFILENAME) + +build: build-stamp + +build-stamp: $(QUILT_STAMPFN) + dh_testdir + [ ! -f Makefile ] && perl Makefile.PL + $(MAKE) test + touch build-stamp + + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + $(MAKE) install_vendor DESTDIR=$(TMP) + [ ! -d $(CURDIR)/debian/libasterisk-agi-perl/usr/share/perl5 ] || \ + rmdir --parents --ignore-fail-on-non-empty \ + $(CURDIR)/debian/libasterisk-agi-perl/usr/share/perl5 +binary-arch: + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGES + dh_installdocs + dh_compress + dh_installexamples examples/* + dh_fixperms + dh_installdeb + dh_perl + dh_gencontrol + dh_md5sums + dh_builddeb + +print-version: + @@echo "Debian version: $(DEBVERSION)" + @@echo "Upstream version: $(UPVERSION)" + +get-orig-source: print-version + @@dh_testdir + @@[ -d ../tarballs/. ] || mkdir -p ../tarballs + @@echo Downloading $(UPFILENAME) from $(URL) .... + @@wget -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL) + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- libasterisk-agi-perl-1.01.orig/debian/watch +++ libasterisk-agi-perl-1.01/debian/watch @@ -0,0 +1,4 @@ +version=3 +#http://www.cpan.org/modules/by-module/Asterisk/asterisk-perl-(.*)\.tar\.gz +# URL to the package page followed by a regex to search +http://search.cpan.org/dist/asterisk-perl/ .*/asterisk-perl-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libasterisk-agi-perl-1.01.orig/debian/README.source +++ libasterisk-agi-perl-1.01/debian/README.source @@ -0,0 +1,5 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. --- libasterisk-agi-perl-1.01.orig/debian/changelog +++ libasterisk-agi-perl-1.01/debian/changelog @@ -0,0 +1,79 @@ +libasterisk-agi-perl (1.01-2) unstable; urgency=low + + * Use DESTDIR instead of PREFIX to avoid ftbfs with Perl 5.10.1 + * set Standards-version to 3.8.3 (no changes needed) + + -- Rene Mayorga Sun, 13 Sep 2009 19:55:04 -0600 + +libasterisk-agi-perl (1.01-1) unstable; urgency=low + + [ Kilian Krause ] + * Remove -N from wget args in get-orig-source target as -O is already + used. + + [ Tzafrir Cohen ] + * New upstream release. + * Fixed watch file. + + [ Rene Mayorga ] + * Change my email address + * Use standard-version 3.8.2 (no changes needed) + * use debian/compat and debhelper version 7 + * debian/rules: + + use dh_prep instead of dh_clean -k + + enable tests + + use quilt to manage the patches + * fix POD errors ( add 001_fix_pod_errors.patch) + * update debian/copyright: add info about examples/directory.agi + * add README.Source + + -- Rene Mayorga Sun, 05 Jul 2009 22:00:28 -0600 + +libasterisk-agi-perl (0.10-2) unstable; urgency=low + + [ Rene Mayorga ] + * debian/rules + + Remove /usr/lib/perl5 only if exists + (Closes: #467662) + + remove un-ussed dh_installdirs + * debian/control + + Raise standards-version to 3.7.3 ( no changes needed ) + + Set debhelper version to 6 + + Move perl from B-D to B-D-I + + [ Faidon Liambotis ] + * Add myself to Uploaders. + + -- Faidon Liambotis Thu, 06 Mar 2008 03:07:12 +0200 + +libasterisk-agi-perl (0.10-1) unstable; urgency=low + + [ Rene Mayorga ] + * New upstream release + * [debian/rules] + + de-ignoring output from $(MAKE) distclean + + removing debian/$package/usr/lib/perl5 - was empty + + get-orig-source and print-version targets added + * [debian/control] + + Maintainer field set to Debian VoIP Team + + moved myself to Uploaders + + ${misc:Depends} added + + XS-Vcs-(Svn|Browser) field(s) added + + [ Faidon Liambotis ] + * Removed versioned dependency on perl for a pre-sarge version. + + [ Kilian Krause ] + * Add Homepage field as added in dpkg-dev 1.14.6. + * Correct URL in debian/copyright to actual download location. + * Indent list in Description fixing + possible-unindented-list-in-extended-description + + -- Kilian Krause Sat, 06 Oct 2007 12:11:34 +0200 + +libasterisk-agi-perl (0.09-1) unstable; urgency=low + + * Initial release (Closes: #424956) + + -- Rene Mayorga Sat, 19 May 2007 13:08:33 -0600 + --- libasterisk-agi-perl-1.01.orig/debian/compat +++ libasterisk-agi-perl-1.01/debian/compat @@ -0,0 +1 @@ +7 --- libasterisk-agi-perl-1.01.orig/debian/copyright +++ libasterisk-agi-perl-1.01/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Rene Mayorga on +Sat, 19 May 2007 13:08:33 -0600. + +It was downloaded from http://asterisk.gnuinter.net/files/ + + +Upstream Author: + James Golovich + + This software is Copyright © 2006-2007 by James Golovic + + This program is free software; you can redistribute it and/or modify + it under the terms of the "Artistic License" + +Other files Authors: + +examples/directory.agi + Copyright © 2006 C. de Souza + + 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 2 + of the License, or (at your option) any later version. + + +The Debian packaging is © 2007, Rene Mayorga and +is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. + +On Debian GNU/Linux systems, the complete set of the Artistic License +can be found in /usr/share/common-licenses/Artistic. --- libasterisk-agi-perl-1.01.orig/debian/patches/001_fix_pod_errors.patch +++ libasterisk-agi-perl-1.01/debian/patches/001_fix_pod_errors.patch @@ -0,0 +1,18 @@ +Description: Fix POD errors +Author René Mayorga + +--- libasterisk-agi-perl-1.01.orig/lib/Asterisk/AGI.pm ++++ libasterisk-agi-perl-1.01/lib/Asterisk/AGI.pm +@@ -273,8 +273,12 @@ + return $ret; + } + ++=back ++ + =head1 AGI COMMANDS + ++=over ++ + =item $AGI->answer() + + Executes AGI Command "ANSWER" --- libasterisk-agi-perl-1.01.orig/debian/patches/series +++ libasterisk-agi-perl-1.01/debian/patches/series @@ -0,0 +1 @@ +001_fix_pod_errors.patch