[Pkg-voip-commits] [libasterisk-agi-perl] 01/02: Imported Debian patch 1.01-2
Victor Seva Lopez
maniac-guest at moszumanska.debian.org
Sun Aug 16 12:11:01 UTC 2015
This is an automated email from the git hooks/post-receive script.
maniac-guest pushed a commit to branch master
in repository libasterisk-agi-perl.
commit 709c821a05b3e00d238e4c2b5417c8c2a510d4a3
Author: Rene Mayorga <rmayorga at debian.org>
Date: Sun Sep 13 19:55:04 2009 -0600
Imported Debian patch 1.01-2
---
debian/README.source | 5 +++
debian/changelog | 79 +++++++++++++++++++++++++++++++++
debian/compat | 1 +
debian/control | 22 +++++++++
debian/copyright | 30 +++++++++++++
debian/docs | 1 +
debian/patches/001_fix_pod_errors.patch | 18 ++++++++
debian/patches/series | 1 +
debian/rules | 75 +++++++++++++++++++++++++++++++
debian/watch | 4 ++
10 files changed, 236 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..9dc3fca
--- /dev/null
+++ b/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.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c541a39
--- /dev/null
+++ b/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 <rmayorga at debian.org> 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 <rmayorga at debian.org> 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 <paravoid at debian.org> 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 <kilian at debian.org> Sat, 06 Oct 2007 12:11:34 +0200
+
+libasterisk-agi-perl (0.09-1) unstable; urgency=low
+
+ * Initial release (Closes: #424956)
+
+ -- Rene Mayorga <rmayorga at debian.org.sv> Sat, 19 May 2007 13:08:33 -0600
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..beb841a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: libasterisk-agi-perl
+Section: perl
+Priority: optional
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: Rene Mayorga <rmayorga at debian.org>, Tzafrir Cohen <tzafrir.cohen at xorcom.com>, Kilian Krause <kilian at debian.org>, Faidon Liambotis <paravoid at debian.org>
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0d48ffb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Rene Mayorga <rmayorga at debian.org.sv> on
+Sat, 19 May 2007 13:08:33 -0600.
+
+It was downloaded from http://asterisk.gnuinter.net/files/
+
+
+Upstream Author:
+ James Golovich <james at gnuinter.net>
+
+ 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 <m.list at yahoo.de>
+
+ 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 <rmayorga at debian.org.sv> 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.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/patches/001_fix_pod_errors.patch b/debian/patches/001_fix_pod_errors.patch
new file mode 100644
index 0000000..097c2cc
--- /dev/null
+++ b/debian/patches/001_fix_pod_errors.patch
@@ -0,0 +1,18 @@
+Description: Fix POD errors
+Author René Mayorga <rmayorga at debian.org>
+
+--- 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"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e84f33b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+001_fix_pod_errors.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..06c4ff9
--- /dev/null
+++ b/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
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e3bf9de
--- /dev/null
+++ b/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)$
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/libasterisk-agi-perl.git
More information about the Pkg-voip-commits
mailing list