[Pkg-voip-commits] r1444 - in mediaproxy/trunk: . debian
debian/patches modules
Jan Janak
janakj-guest at costa.debian.org
Wed Mar 15 20:29:59 UTC 2006
Author: janakj-guest
Date: 2006-03-15 20:29:58 +0000 (Wed, 15 Mar 2006)
New Revision: 1444
Added:
mediaproxy/trunk/debian/
mediaproxy/trunk/debian/README.Debian
mediaproxy/trunk/debian/changelog
mediaproxy/trunk/debian/compat
mediaproxy/trunk/debian/control
mediaproxy/trunk/debian/copyright
mediaproxy/trunk/debian/docs
mediaproxy/trunk/debian/manpage.xml
mediaproxy/trunk/debian/mediaproxy.default
mediaproxy/trunk/debian/mediaproxy.dirs
mediaproxy/trunk/debian/mediaproxy.in
mediaproxy/trunk/debian/mediaproxy.init
mediaproxy/trunk/debian/mediaproxy.install
mediaproxy/trunk/debian/mediaproxy.links
mediaproxy/trunk/debian/patches/
mediaproxy/trunk/debian/patches/00list
mediaproxy/trunk/debian/patches/cfg.dpatch
mediaproxy/trunk/debian/postinst
mediaproxy/trunk/debian/prerm
mediaproxy/trunk/debian/rules
mediaproxy/trunk/debian/watch
mediaproxy/trunk/modules/
mediaproxy/trunk/modules/test.py
Log:
Load newtrunk into mediaproxy/trunk.
Added: mediaproxy/trunk/debian/README.Debian
===================================================================
--- mediaproxy/trunk/debian/README.Debian 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/README.Debian 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,6 @@
+mediaproxy for Debian
+---------------------
+
+This is the Debian package of mediaproxy.
+
+ -- Jan Janak <jan at iptel.org>, Mon, 13 Mar 2006 23:11:02 +0100
Added: mediaproxy/trunk/debian/changelog
===================================================================
--- mediaproxy/trunk/debian/changelog 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/changelog 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,6 @@
+mediaproxy (1.4.2-1) UNRELEASED; urgency=low
+
+ * Initial release
+
+ -- Jan Janak <jan at iptel.org> Mon, 13 Mar 2006 23:11:02 +0100
+
Added: mediaproxy/trunk/debian/compat
===================================================================
--- mediaproxy/trunk/debian/compat 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/compat 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1 @@
+4
Added: mediaproxy/trunk/debian/control
===================================================================
--- mediaproxy/trunk/debian/control 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/control 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,22 @@
+Source: mediaproxy
+Section: net
+Priority: optional
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: Mark Purcell <msp at debian.org>, Jan Janak <jan at iptel.org>
+Build-Depends: debhelper (>= 4.0.0), python
+Standards-Version: 3.6.2
+
+Package: mediaproxy
+Architecture: any
+Depends: python (>= 2.3), python-dns, ${python:Depends}, ${misc:Depends}
+Suggests: ser
+Description: RTP proxy for NAT traversal with SER/mediaproxy module.
+ MediaProxy is a far-end NAT traversal solution for SIP Express Router (SER)
+ that has the following features:
+ - Distributed geographical location
+ - Scalability, load balancing and redundancy
+ - Real-time sessions statistics
+ - Configurable IP and UDP port range
+ - Support for audio and video streams
+ - Support for multiple media streams per call
+ - Accounting of network traffic
Added: mediaproxy/trunk/debian/copyright
===================================================================
--- mediaproxy/trunk/debian/copyright 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/copyright 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,27 @@
+This package was debianized by Jan Janak <jan at iptel.org> on
+Mon, 13 Mar 2006 23:11:02 +0100.
+
+It was downloaded from http://mediaproxy.ag-projects.com
+
+Copyright Holder:
+Copyright (c) 2002-2005 AG Projects
+http://ag-projects.com
+
+License:
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS "AS IS" AND ANY EXPRESS
+OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+NO EVENT SHALL THE COPYRIGHT OWNER BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
+OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+MediaProxy is licensed under GNU PUBLIC LICENSE version 2.0.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
Added: mediaproxy/trunk/debian/docs
===================================================================
--- mediaproxy/trunk/debian/docs 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/docs 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,4 @@
+Changelog
+INSTALL
+LICENSE
+README
Added: mediaproxy/trunk/debian/manpage.xml
===================================================================
--- mediaproxy/trunk/debian/manpage.xml 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/manpage.xml 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,148 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+<!--
+
+Process this file with an XSLT processor: `xsltproc \
+-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl manpage.dbk'. A manual page
+<package>.<section> will be generated. You may view the
+manual page with: nroff -man <package>.<section> | less'. A
+typical entry in a Makefile or Makefile.am is:
+
+DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl
+XP=xsltproc -''-nonet
+
+manpage.1: manpage.dbk
+ $(XP) $(DB2MAN) $<
+
+The xsltproc binary is found in the xsltproc package. The
+XSL files are in docbook-xsl. Please remember that if you
+create the nroff version in one of the debian/rules file
+targets (such as build), you will need to include xsltproc
+and docbook-xsl in your Build-Depends control field.
+
+-->
+
+ <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+ <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
+ <!ENTITY dhsurname "<surname>SURNAME</surname>">
+ <!-- Please adjust the date whenever revising the manpage. -->
+ <!ENTITY dhdate "<date>March 13, 2006</date>">
+ <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+ allowed: see man(7), man(1). -->
+ <!ENTITY dhsection "<manvolnum>SECTION</manvolnum>">
+ <!ENTITY dhemail "<email>jan at iptel.org</email>">
+ <!ENTITY dhusername "Jan Janak">
+ <!ENTITY dhucpackage "<refentrytitle>MEDIAPROXY</refentrytitle>">
+ <!ENTITY dhpackage "mediaproxy">
+
+ <!ENTITY debian "<productname>Debian</productname>">
+ <!ENTITY gnu "<acronym>GNU</acronym>">
+ <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+ <refentryinfo>
+ <address>
+ &dhemail;
+ </address>
+ <author>
+ &dhfirstname;
+ &dhsurname;
+ </author>
+ <copyright>
+ <year>2003</year>
+ <holder>&dhusername;</holder>
+ </copyright>
+ &dhdate;
+ </refentryinfo>
+ <refmeta>
+ &dhucpackage;
+
+ &dhsection;
+ </refmeta>
+ <refnamediv>
+ <refname>&dhpackage;</refname>
+
+ <refpurpose>program to do something</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>&dhpackage;</command>
+
+ <arg><option>-e <replaceable>this</replaceable></option></arg>
+
+ <arg><option>--example <replaceable>that</replaceable></option></arg>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+ <refsect1>
+ <title>DESCRIPTION</title>
+
+ <para>This manual page documents briefly the
+ <command>&dhpackage;</command> and <command>bar</command>
+ commands.</para>
+
+ <para>This manual page was written for the &debian; distribution
+ because the original program does not have a manual page.
+ Instead, it has documentation in the &gnu;
+ <application>Info</application> format; see below.</para>
+
+ <para><command>&dhpackage;</command> is a program that...</para>
+
+ </refsect1>
+ <refsect1>
+ <title>OPTIONS</title>
+
+ <para>These programs follow the usual &gnu; command line syntax,
+ with long options starting with two dashes (`-'). A summary of
+ options is included below. For a complete description, see the
+ <application>Info</application> files.</para>
+
+ <variablelist>
+ <varlistentry>
+ <term><option>-h</option>
+ <option>--help</option>
+ </term>
+ <listitem>
+ <para>Show summary of options.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-v</option>
+ <option>--version</option>
+ </term>
+ <listitem>
+ <para>Show version of program.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+ <refsect1>
+ <title>SEE ALSO</title>
+
+ <para>bar (1), baz (1).</para>
+
+ <para>The programs are documented fully by <citetitle>The Rise and
+ Fall of a Fooish Bar</citetitle> available via the
+ <application>Info</application> system.</para>
+ </refsect1>
+ <refsect1>
+ <title>AUTHOR</title>
+
+ <para>This manual page was written by &dhusername; &dhemail; for
+ the &debian; system (but may be used by others). Permission is
+ granted to copy, distribute and/or modify this document under
+ the terms of the &gnu; General Public License, Version 2 any
+ later version published by the Free Software Foundation.
+ </para>
+ <para>
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in /usr/share/common-licenses/GPL.
+ </para>
+
+ </refsect1>
+</refentry>
+
Added: mediaproxy/trunk/debian/mediaproxy.default
===================================================================
--- mediaproxy/trunk/debian/mediaproxy.default 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/mediaproxy.default 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,14 @@
+# Defaults for mediaproxy initscript
+# sourced by /etc/init.d/mediaproxy
+# installed at /etc/default/mediaproxy by the maintainer scripts
+
+#
+# This is a POSIX shell fragment
+#
+
+#
+# Options for mediaproxy and dispatcher. Do not include --pid <pidfile>
+# --pid <pidfile> will be added automatically if needed.
+#
+PROXY_OPTIONS=""
+DISPATCHER_OPTIONS=""
Added: mediaproxy/trunk/debian/mediaproxy.dirs
===================================================================
--- mediaproxy/trunk/debian/mediaproxy.dirs 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/mediaproxy.dirs 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,8 @@
+usr/lib/python2.3/site-packages/mediaproxy/modules
+usr/lib/python2.3/site-packages/mediaproxy/utils
+etc/mediaproxy
+etc/init.d
+usr/share/doc/mediaproxy/web
+usr/sbin
+usr/bin
+
Added: mediaproxy/trunk/debian/mediaproxy.in
===================================================================
--- mediaproxy/trunk/debian/mediaproxy.in 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/mediaproxy.in 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,4 @@
+mediaproxy.py usr/sbin
+dispatcher.py usr/sbin
+sessions.py usr/sbin
+modules/* usr/lib/python2.3/site-packages/mediaproxy
Added: mediaproxy/trunk/debian/mediaproxy.init
===================================================================
--- mediaproxy/trunk/debian/mediaproxy.init 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/mediaproxy.init 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,67 @@
+#!/bin/sh
+#
+# mediaproxy starts and stops the SER MediaProxy server
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+
+INSTALL_DIR="/usr/sbin"
+RUNTIME_DIR="/var/run"
+
+PROXY="$INSTALL_DIR/mediaproxy"
+DISPATCHER="$INSTALL_DIR/proxydispatcher"
+PROXY_PID="$RUNTIME_DIR/mediaproxy.pid"
+DISPATCHER_PID="$RUNTIME_DIR/proxydispatcher.pid"
+
+if [ -f /etc/default/mediaproxy ] ; then
+ . /etc/default/mediaproxy
+fi
+
+NAME="mediaproxy"
+DESC="SER MediaProxy server"
+
+test -f $PROXY || exit 0
+test -f $DISPATCHER || exit 0
+
+if [ "$PROXY_PID" != "/var/run/mediaproxy.pid" ]; then
+ PROXY_OPTIONS="--pid $PROXY_PID $PROXY_OPTIONS"
+fi
+if [ "$DISPATCHER_PID" != "/var/run/proxydispatcher.pid" ]; then
+ DISPATCHER_OPTIONS="--pid $DISPATCHER_PID $DISPATCHER_OPTIONS"
+fi
+
+start() {
+ echo -n "Starting $DESC: $NAME"
+ start-stop-daemon --start --quiet --pidfile $PROXY_PID \
+ --exec $PROXY -- $PROXY_OPTIONS
+ start-stop-daemon --start --quiet --pidfile $DISPATCHER_PID \
+ --exec $DISPATCHER -- $DISPATCHER_OPTIONS
+ echo "."
+}
+
+stop () {
+ echo -n "Stopping $DESC: $NAME"
+ start-stop-daemon --stop --quiet --oknodo --signal 15 --pidfile $PROXY_PID
+ start-stop-daemon --stop --quiet --oknodo --signal 15 --pidfile $DISPATCHER_PID
+ echo "."
+}
+
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
+ ;;
+ restart|force-reload)
+ stop
+ #sleep 1
+ start
+ ;;
+ *)
+ echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload}" >&2
+ exit 1
+ ;;
+esac
+
+exit 0
+
Added: mediaproxy/trunk/debian/mediaproxy.install
===================================================================
--- mediaproxy/trunk/debian/mediaproxy.install 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/mediaproxy.install 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,4 @@
+*.py /usr/lib/python2.3/site-packages/mediaproxy
+modules/*.py usr/lib/python2.3/site-packages/mediaproxy/modules
+utils/* usr/lib/python2.3/site-packages/mediaproxy/utils
+web/* usr/share/doc/mediaproxy/web
Added: mediaproxy/trunk/debian/mediaproxy.links
===================================================================
--- mediaproxy/trunk/debian/mediaproxy.links 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/mediaproxy.links 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,4 @@
+usr/lib/python2.3/site-packages/mediaproxy/mediaproxy.py usr/sbin/mediaproxy
+usr/lib/python2.3/site-packages/mediaproxy/proxydispatcher.py usr/sbin/proxydispatcher
+usr/lib/python2.3/site-packages/mediaproxy/utils/fakeconversations.py usr/bin/fakeconversations
+usr/lib/python2.3/site-packages/mediaproxy/utils/rtpgenerator.py usr/bin/rtpgenerator
Added: mediaproxy/trunk/debian/patches/00list
===================================================================
--- mediaproxy/trunk/debian/patches/00list 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/patches/00list 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,2 @@
+cfg
+
Added: mediaproxy/trunk/debian/patches/cfg.dpatch
===================================================================
--- mediaproxy/trunk/debian/patches/cfg.dpatch 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/patches/cfg.dpatch 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## cfg.dpatch by Jan Janak <jan at iptel.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: The configuration file resides in /etc/mediaproxy
+
+ at DPATCH@
+--- ./modules/configuration.py.orig 2006-03-15 11:45:30.000000000 +0100
++++ ./modules/configuration.py 2006-03-15 11:45:40.000000000 +0100
+@@ -16,7 +16,7 @@
+
+ ## If multiple ini files are specified, they are all read in order and each
+ ## ini file overwrites the same options from the former ini files in the list
+-configFiles = ['mediaproxy.ini']
++configFiles = ['/etc/mediaproxy/mediaproxy.ini']
+
+ Configuration = ConfigParser()
+ Configuration.read(['%s/%s' % (path, f) for f in configFiles])
Property changes on: mediaproxy/trunk/debian/patches/cfg.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: mediaproxy/trunk/debian/postinst
===================================================================
--- mediaproxy/trunk/debian/postinst 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/postinst 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,42 @@
+#! /bin/sh
+# postinst script for mediaproxy
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+case "$1" in
+ configure)
+
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
Added: mediaproxy/trunk/debian/prerm
===================================================================
--- mediaproxy/trunk/debian/prerm 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/prerm 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,38 @@
+#! /bin/sh
+# prerm script for mediaproxy
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <prerm> `remove'
+# * <old-prerm> `upgrade' <new-version>
+# * <new-prerm> `failed-upgrade' <old-version>
+# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+# * <deconfigured's-prerm> `deconfigure' `in-favour'
+# <package-being-installed> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ remove|upgrade|deconfigure)
+ ;;
+ failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
Added: mediaproxy/trunk/debian/rules
===================================================================
--- mediaproxy/trunk/debian/rules 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/rules 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,116 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+DEBVERSION:=$(shell head -n 1 debian/changelog \
+ | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//')
+
+FILENAME := rtpproxy_$(UPVERSION).orig.tar.gz
+URL := http://mediaproxy.ag-projects.com/mediaproxy-$(UPVERSION).tar.gz
+
+configure-stamp: patch configure
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ #$(MAKE)
+ #docbook-to-man debian/mediaproxy.sgml > mediaproxy.1
+
+ touch build-stamp
+
+clean: clean-patched unpatch
+clean-patched:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ #-$(MAKE) clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/mediaproxy.
+ # $(MAKE) install DESTDIR=$(CURDIR)/debian/mediaproxy
+ install -g 0 -o 0 -m 644 -p mediaproxy.ini.sample $(CURDIR)/debian/mediaproxy/etc/mediaproxy/mediaproxy.ini
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs Changelog
+ dh_installdocs
+ dh_installexamples
+ dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+ dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+# dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+ dh_python
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+print-version:
+ @@echo "Debian version: $(DEBVERSION)"
+ @@echo "Upstream version: $(UPVERSION)"
+
+get-orig-source:
+ @@dh_testdir
+ @@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+ @@echo Downloading $(FILENAME) from $(URL) ...
+ @@wget -N -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
+
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch
Property changes on: mediaproxy/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: mediaproxy/trunk/debian/watch
===================================================================
--- mediaproxy/trunk/debian/watch 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/debian/watch 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,17 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php mediaproxy-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/mediaproxy-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+http://mediaproxy.ag-projects.com/mediaproxy-(.*)\.tar\.gz debian svn-upgrade
Added: mediaproxy/trunk/modules/test.py
===================================================================
--- mediaproxy/trunk/modules/test.py 2006-03-15 20:29:47 UTC (rev 1443)
+++ mediaproxy/trunk/modules/test.py 2006-03-15 20:29:58 UTC (rev 1444)
@@ -0,0 +1,7 @@
+#!/usr/bin/env python
+
+import sys
+
+if __name__ == '__main__':
+ from mediaproxy import dispatcher
+
More information about the Pkg-voip-commits
mailing list