[Pkg-voip-commits] r2118 - in yxa/trunk: . debian debian/patches

Mikael Magnusson mikma-guest at costa.debian.org
Thu Jul 27 19:08:37 UTC 2006


Author: mikma-guest
Date: 2006-07-27 19:08:36 +0000 (Thu, 27 Jul 2006)
New Revision: 2118

Added:
   yxa/trunk/debian/
   yxa/trunk/debian/README.Debian
   yxa/trunk/debian/TODO
   yxa/trunk/debian/changelog
   yxa/trunk/debian/compat
   yxa/trunk/debian/control
   yxa/trunk/debian/copyright
   yxa/trunk/debian/dirs
   yxa/trunk/debian/docs
   yxa/trunk/debian/patches/
   yxa/trunk/debian/patches/00list
   yxa/trunk/debian/patches/config.dpatch
   yxa/trunk/debian/patches/distclean.dpatch
   yxa/trunk/debian/patches/erlang-r10b-10.dpatch
   yxa/trunk/debian/patches/erlang-r11b-0.dpatch
   yxa/trunk/debian/patches/inet_dns.dpatch
   yxa/trunk/debian/patches/init-mnesia.dpatch
   yxa/trunk/debian/patches/yaws-fqdn.dpatch
   yxa/trunk/debian/rules
   yxa/trunk/debian/watch
Log:
Load newtrunk into yxa/trunk.


Added: yxa/trunk/debian/README.Debian
===================================================================
--- yxa/trunk/debian/README.Debian	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/README.Debian	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,7 @@
+yxa for Debian
+--------------
+
+The YXA sip server need to be bootstrapped once and started
+manually, see /usr/share/doc/yxa/README.gz for more information.
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net>, Thu, 27 Jul 2006 21:01:25 +0200

Added: yxa/trunk/debian/TODO
===================================================================
--- yxa/trunk/debian/TODO	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/TODO	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,2 @@
+* A YXA init script which coordinates initiation of the YXA sip
+  servers: incomingproxy, outgoingproxy, pstnproxy and appserver.

Added: yxa/trunk/debian/changelog
===================================================================
--- yxa/trunk/debian/changelog	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/changelog	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,6 @@
+yxa (0.91-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #377617)
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net>  Thu, 27 Jul 2006 21:05:25 +0200
+

Added: yxa/trunk/debian/compat
===================================================================
--- yxa/trunk/debian/compat	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/compat	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1 @@
+5

Added: yxa/trunk/debian/control
===================================================================
--- yxa/trunk/debian/control	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/control	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,31 @@
+Source: yxa
+Section: net
+Priority: optional
+Maintainer: Mikael Magnusson <mikma at users.sourceforge.net>
+Build-Depends: debhelper (>= 5), dpatch, autotools-dev, erlang-base
+ (>= 1:11.b.0) | erlang-base-hipe (>= 1:11.b.0), erlang-dev (>=
+ 1:11.b.0), erlang-nox (>= 1:11.b.0)
+Standards-Version: 3.7.2
+
+Package: yxa
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, erlang-base (>= 1:11.b.0)
+ | erlang-base-hipe (>= 1:11.b.0), erlang-nox (>= 1:11.b.0)
+Description: SIP servers written in Erlang
+ YXA is a set of SIP servers written in Erlang.
+ .
+ Applications included are:
+ .
+  * incomingproxy:
+    Handles registrations and proxies requests. Implements partial ENUM
+    and LDAP searches. Handles most everything you need to set up SIP for your
+    domain.
+ .
+  * outgoingproxy:
+    Special proxy for clients behind NAT. 
+ .
+  * pstnproxy:
+    Designed as an authentication frontend to an insecure PSTN gateway.
+ .
+  * appserver:
+    Provides basic forking and CPL script interpretation.

Added: yxa/trunk/debian/copyright
===================================================================
--- yxa/trunk/debian/copyright	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/copyright	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,406 @@
+This package was debianized by Mikael Magnusson <mikma at users.sourceforge.net> on
+Mon, 10 Jul 2006 10:11:16 +0200.
+
+It was downloaded from http://www.stacken.kth.se/project/yxa/download/
+
+Upstream Author:
+  Magnus Ahltorp <ahltorp at nada.kth.se>
+  Fredrik Thulin <ft at it.su.se>
+
+Copyright:
+  Copyright (c) 1999 Ericsson Utvecklings AB
+  Copyright (c) 2000 Torbjörn Törnkvist, tnt at home.se
+  Copyright (c) 2001-2004 Kungliga Tekniska Högskolan
+  Copyright (c) 2004 Sektionen för IT och media, Stockholms universitet
+
+License:
+  Copyright (c) 2001-2003 Kungliga Tekniska Högskolan
+  (Royal Institute of Technology, Stockholm, Sweden).
+  All rights reserved.
+  
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+  
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+  
+  3. Neither the name of the Institute nor the names of its contributors
+     may be used to endorse or promote products derived from this software
+     without specific prior written permission.
+  
+  THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``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 INSTITUTE OR CONTRIBUTORS 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.
+
+============================================================================
+
+  Copyright (c) 2004, Sektionen för IT och media, Stockholms
+                      universitet
+  All rights reserved.
+
+  Redistribution and use in source and binary forms, with or
+  without modification, are permitted provided that the following
+  conditions are met:
+
+  1. Redistributions of source code must retain the above
+     copyright notice, this list of conditions and the following
+     disclaimer.
+
+  2. Redistributions in binary form must reproduce the above
+     copyright notice, this list of conditions and the following
+     disclaimer in the documentation and/or other materials
+     provided with the distribution.
+
+  3. Neither the name of the author nor the names of its
+     contributors may be used to endorse or promote products
+     derived from this software without specific prior written
+     permission.
+
+  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+  CONTRIBUTORS "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 OR
+  CONTRIBUTORS 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.
+
+============================================================================
+
+This licence applies to:
+- src/group_regexp.erl
+- src/include/kernel/src/inet_dns.hrl 
+
+ERLANG PUBLIC LICENSE
+Version 1.1
+
+1. Definitions.
+
+1.1. ``Contributor'' means each entity that creates or contributes to
+the creation of Modifications.
+
+1.2. ``Contributor Version'' means the combination of the Original
+Code, prior Modifications used by a Contributor, and the Modifications
+made by that particular Contributor.
+
+1.3. ``Covered Code'' means the Original Code or Modifications or the
+combination of the Original Code and Modifications, in each case
+including portions thereof.
+
+1.4. ``Electronic Distribution Mechanism'' means a mechanism generally
+accepted in the software development community for the electronic
+transfer of data.
+
+1.5. ``Executable'' means Covered Code in any form other than Source
+Code.
+
+1.6. ``Initial Developer'' means the individual or entity identified
+as the Initial Developer in the Source Code notice required by Exhibit
+A.
+
+1.7. ``Larger Work'' means a work which combines Covered Code or
+portions thereof with code not governed by the terms of this License.
+
+1.8. ``License'' means this document.
+
+1.9. ``Modifications'' means any addition to or deletion from the
+substance or structure of either the Original Code or any previous
+Modifications. When Covered Code is released as a series of files, a
+Modification is:
+
+A. Any addition to or deletion from the contents of a file containing
+   Original Code or previous Modifications. 
+
+B. Any new file that contains any part of the Original Code or
+   previous Modifications. 
+
+1.10. ``Original Code'' means Source Code of computer software code
+which is described in the Source Code notice required by Exhibit A as
+Original Code, and which, at the time of its release under this
+License is not already Covered Code governed by this License.
+
+1.11. ``Source Code'' means the preferred form of the Covered Code for
+making modifications to it, including all modules it contains, plus
+any associated interface definition files, scripts used to control
+compilation and installation of an Executable, or a list of source
+code differential comparisons against either the Original Code or
+another well known, available Covered Code of the Contributor's
+choice. The Source Code can be in a compressed or archival form,
+provided the appropriate decompression or de-archiving software is
+widely available for no charge.
+
+1.12. ``You'' means an individual or a legal entity exercising rights
+under, and complying with all of the terms of, this License. For legal
+entities,``You'' includes any entity which controls, is controlled by,
+or is under common control with You. For purposes of this definition,
+``control'' means (a) the power, direct or indirect, to cause the
+direction or management of such entity, whether by contract or
+otherwise, or (b) ownership of fifty percent (50%) or more of the
+outstanding shares or beneficial ownership of such entity.
+
+2. Source Code License.
+
+2.1. The Initial Developer Grant.
+The Initial Developer hereby grants You a world-wide, royalty-free,
+non-exclusive license, subject to third party intellectual property
+claims:
+
+(a) to use, reproduce, modify, display, perform, sublicense and
+    distribute the Original Code (or portions thereof) with or without
+    Modifications, or as part of a Larger Work; and 
+
+(b) under patents now or hereafter owned or controlled by Initial
+    Developer, to make, have made, use and sell (``Utilize'') the
+    Original Code (or portions thereof), but solely to the extent that
+    any such patent is reasonably necessary to enable You to Utilize
+    the Original Code (or portions thereof) and not to any greater
+    extent that may be necessary to Utilize further Modifications or
+    combinations. 
+
+2.2. Contributor Grant.
+Each Contributor hereby grants You a world-wide, royalty-free,
+non-exclusive license, subject to third party intellectual property
+claims:
+
+(a) to use, reproduce, modify, display, perform, sublicense and
+    distribute the Modifications created by such Contributor (or
+    portions thereof) either on an unmodified basis, with other
+    Modifications, as Covered Code or as part of a Larger Work; and 
+
+(b) under patents now or hereafter owned or controlled by Contributor,
+    to Utilize the Contributor Version (or portions thereof), but
+    solely to the extent that any such patent is reasonably necessary
+    to enable You to Utilize the Contributor Version (or portions
+    thereof), and not to any greater extent that may be necessary to
+    Utilize further Modifications or combinations. 
+
+3. Distribution Obligations.
+
+3.1. Application of License.
+The Modifications which You contribute are governed by the terms of
+this License, including without limitation Section 2.2. The Source
+Code version of Covered Code may be distributed only under the terms
+of this License, and You must include a copy of this License with
+every copy of the Source Code You distribute. You may not offer or
+impose any terms on any Source Code version that alters or restricts
+the applicable version of this License or the recipients' rights
+hereunder. However, You may include an additional document offering
+the additional rights described in Section 3.5. 
+
+3.2. Availability of Source Code.
+Any Modification which You contribute must be made available in Source
+Code form under the terms of this License either on the same media as
+an Executable version or via an accepted Electronic Distribution
+Mechanism to anyone to whom you made an Executable version available;
+and if made available via Electronic Distribution Mechanism, must
+remain available for at least twelve (12) months after the date it
+initially became available, or at least six (6) months after a
+subsequent version of that particular Modification has been made
+available to such recipients. You are responsible for ensuring that
+the Source Code version remains available even if the Electronic
+Distribution Mechanism is maintained by a third party.
+
+3.3. Description of Modifications.
+You must cause all Covered Code to which you contribute to contain a
+file documenting the changes You made to create that Covered Code and
+the date of any change. You must include a prominent statement that
+the Modification is derived, directly or indirectly, from Original
+Code provided by the Initial Developer and including the name of the
+Initial Developer in (a) the Source Code, and (b) in any notice in an
+Executable version or related documentation in which You describe the
+origin or ownership of the Covered Code.
+
+3.4. Intellectual Property Matters
+
+(a) Third Party Claims.
+    If You have knowledge that a party claims an intellectual property
+    right in particular functionality or code (or its utilization
+    under this License), you must include a text file with the source
+    code distribution titled ``LEGAL'' which describes the claim and
+    the party making the claim in sufficient detail that a recipient
+    will know whom to contact. If you obtain such knowledge after You
+    make Your Modification available as described in Section 3.2, You
+    shall promptly modify the LEGAL file in all copies You make
+    available thereafter and shall take other steps (such as notifying
+    appropriate mailing lists or newsgroups) reasonably calculated to
+    inform those who received the Covered Code that new knowledge has
+    been obtained. 
+
+(b) Contributor APIs.
+    If Your Modification is an application programming interface and
+    You own or control patents which are reasonably necessary to
+    implement that API, you must also include this information in the
+    LEGAL file. 
+
+3.5. Required Notices.
+You must duplicate the notice in Exhibit A in each file of the Source
+Code, and this License in any documentation for the Source Code, where
+You describe recipients' rights relating to Covered Code. If You
+created one or more Modification(s), You may add your name as a
+Contributor to the notice described in Exhibit A. If it is not
+possible to put such notice in a particular Source Code file due to
+its structure, then you must include such notice in a location (such
+as a relevant directory file) where a user would be likely to look for
+such a notice. You may choose to offer, and to charge a fee for,
+warranty, support, indemnity or liability obligations to one or more
+recipients of Covered Code. However, You may do so only on Your own
+behalf, and not on behalf of the Initial Developer or any
+Contributor. You must make it absolutely clear than any such warranty,
+support, indemnity or liability obligation is offered by You alone,
+and You hereby agree to indemnify the Initial Developer and every
+Contributor for any liability incurred by the Initial Developer or
+such Contributor as a result of warranty, support, indemnity or
+liability terms You offer.
+
+3.6. Distribution of Executable Versions.
+You may distribute Covered Code in Executable form only if the
+requirements of Section 3.1-3.5 have been met for that Covered Code,
+and if You include a notice stating that the Source Code version of
+the Covered Code is available under the terms of this License,
+including a description of how and where You have fulfilled the
+obligations of Section 3.2. The notice must be conspicuously included
+in any notice in an Executable version, related documentation or
+collateral in which You describe recipients' rights relating to the
+Covered Code. You may distribute the Executable version of Covered
+Code under a license of Your choice, which may contain terms different
+from this License, provided that You are in compliance with the terms
+of this License and that the license for the Executable version does
+not attempt to limit or alter the recipient's rights in the Source
+Code version from the rights set forth in this License. If You
+distribute the Executable version under a different license You must
+make it absolutely clear that any terms which differ from this License
+are offered by You alone, not by the Initial Developer or any
+Contributor. You hereby agree to indemnify the Initial Developer and
+every Contributor for any liability incurred by the Initial Developer
+or such Contributor as a result of any such terms You offer.
+
+3.7. Larger Works.
+You may create a Larger Work by combining Covered Code with other code
+not governed by the terms of this License and distribute the Larger
+Work as a single product. In such a case, You must make sure the
+requirements of this License are fulfilled for the Covered Code.
+
+4. Inability to Comply Due to Statute or Regulation.
+If it is impossible for You to comply with any of the terms of this
+License with respect to some or all of the Covered Code due to statute
+or regulation then You must: (a) comply with the terms of this License
+to the maximum extent possible; and (b) describe the limitations and
+the code they affect. Such description must be included in the LEGAL
+file described in Section 3.4 and must be included with all
+distributions of the Source Code. Except to the extent prohibited by
+statute or regulation, such description must be sufficiently detailed
+for a recipient of ordinary skill to be able to understand it.
+
+5. Application of this License.
+
+This License applies to code to which the Initial Developer has
+attached the notice in Exhibit A, and to related Covered Code.
+
+6. CONNECTION TO MOZILLA PUBLIC LICENSE
+
+This Erlang License is a derivative work of the Mozilla Public
+License, Version 1.0. It contains terms which differ from the Mozilla
+Public License, Version 1.0.
+
+7. DISCLAIMER OF WARRANTY.
+
+COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS,
+WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
+DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR
+NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF
+THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE
+IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER
+CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR
+CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART
+OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER
+EXCEPT UNDER THIS DISCLAIMER.
+
+8. TERMINATION.
+This License and the rights granted hereunder will terminate
+automatically if You fail to comply with terms herein and fail to cure
+such breach within 30 days of becoming aware of the breach. All
+sublicenses to the Covered Code which are properly granted shall
+survive any termination of this License. Provisions which, by their
+nature, must remain in effect beyond the termination of this License
+shall survive.
+
+9. DISCLAIMER OF LIABILITY
+Any utilization of Covered Code shall not cause the Initial Developer
+or any Contributor to be liable for any damages (neither direct nor
+indirect).
+
+10. MISCELLANEOUS
+This License represents the complete agreement concerning the subject
+matter hereof. If any provision is held to be unenforceable, such
+provision shall be reformed only to the extent necessary to make it
+enforceable. This License shall be construed by and in accordance with
+the substantive laws of Sweden. Any dispute, controversy or claim
+arising out of or relating to this License, or the breach, termination
+or invalidity thereof, shall be subject to the exclusive jurisdiction
+of Swedish courts, with the Stockholm City Court as the first
+instance.
+	
+EXHIBIT A.
+
+``The contents of this file are subject to the Erlang Public License,
+Version 1.1, (the "License"); you may not use this file except in
+compliance with the License. You should have received a copy of the
+Erlang Public License along with this software. If not, it can be
+retrieved via the world wide web at http://www.erlang.org/.
+
+Software distributed under the License is distributed on an "AS IS"
+basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+the License for the specific language governing rights and limitations
+under the License.
+
+The Initial Developer of the Original Code is Ericsson Utvecklings AB.
+Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings
+AB. All Rights Reserved.''
+
+============================================================================
+
+This license applies to 
+- src/eldap/eldap.erl
+
+   This package 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.
+
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+============================================================================
+
+The Debian packaging is (C) 2006, Mikael Magnusson <mikma at users.sourceforge.net>
+and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+

Added: yxa/trunk/debian/dirs
===================================================================
--- yxa/trunk/debian/dirs	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/dirs	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin

Added: yxa/trunk/debian/docs
===================================================================
--- yxa/trunk/debian/docs	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/docs	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1 @@
+README

Added: yxa/trunk/debian/patches/00list
===================================================================
--- yxa/trunk/debian/patches/00list	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/patches/00list	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,7 @@
+config
+#erlang-r10b-10
+erlang-r11b-0
+yaws-fqdn
+inet_dns
+distclean
+init-mnesia

Added: yxa/trunk/debian/patches/config.dpatch
===================================================================
--- yxa/trunk/debian/patches/config.dpatch	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/patches/config.dpatch	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,30 @@
+#! /bin/sh -e
+## config.dpatch by Ralf Treinen <treinen at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: replace all config.{guess,sub} by the vesion installed in
+## DP: /usr/share/misc
+
+if [ $# -lt 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+       -patch)	find . -name config.guess -o -name config.sub \
+	 		| tar cf debian/patched/config.guess+sub.tar -T -;
+		find . -name config.guess \
+			-exec ln -sf /usr/share/misc/config.guess '{}' \; ;
+		find . -name config.sub \
+			-exec ln -sf /usr/share/misc/config.sub '{}' \; ;;
+		
+       -unpatch) tar xf debian/patched/config.guess+sub.tar;;
+
+        *)
+                echo >&2 \
+		  "`basename $0`: script expects -patch|-unpatch as argument"
+                exit 1;;
+esac
+
+exit 0
+
+# arch-tag: 8a610a57-687b-4395-8ff2-79265c0a4eb3


Property changes on: yxa/trunk/debian/patches/config.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: yxa/trunk/debian/patches/distclean.dpatch
===================================================================
--- yxa/trunk/debian/patches/distclean.dpatch	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/patches/distclean.dpatch	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,210 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## distclean.dpatch by  <mikma at users.sourceforge.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Add distclean target, cleaning Makefiles, config.log and config.status
+
+ at DPATCH@
+diff -urNad yxa-0.91~/Makefile.in yxa-0.91/Makefile.in
+--- yxa-0.91~/Makefile.in	2006-01-04 12:42:39.000000000 +0100
++++ yxa-0.91/Makefile.in	2006-07-10 18:19:55.000000000 +0200
+@@ -40,7 +40,7 @@
+ 	src \
+ 	yaws/src
+ 
+-RECURSIVE_TARGETS = all-recursive install-recursive clean-recursive
++RECURSIVE_TARGETS = all-recursive install-recursive clean-recursive distclean-recursive
+ 
+ erl_FILES = \
+ 	version.erl
+@@ -76,6 +76,12 @@
+ 	  $(install_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f ; \
+ 	done
+ 
++distclean: clean distclean-recursive
++	rm -f Makefile
++	rm -f config.status
++	rm -f config.log
++	rm -f version.erl
++
+ clean: clean-recursive
+ 	rm -f core *.core *~
+ 	rm -f *.beam newversion.erl.new version.erl.in
+diff -urNad yxa-0.91~/src/Makefile.in yxa-0.91/src/Makefile.in
+--- yxa-0.91~/src/Makefile.in	2006-03-03 09:27:34.000000000 +0100
++++ yxa-0.91/src/Makefile.in	2006-07-10 18:19:32.000000000 +0200
+@@ -117,7 +117,7 @@
+ 	transactionlayer \
+ 	transportlayer
+ 
+-RECURSIVE_TARGETS = all-recursive install-recursive clean-recursive
++RECURSIVE_TARGETS = all-recursive install-recursive clean-recursive distclean-recursive
+ 
+ all: $(beam_FILES) all-recursive $(boot_FILES) start_ssl.boot
+ 
+@@ -138,6 +138,9 @@
+ 	  $(install_DATA) $(srcdir)/$$p $(DESTDIR)$(includedir)/$$f ; \
+ 	done
+ 
++distclean: clean distclean-recursive
++	rm -f Makefile
++
+ clean: clean-recursive
+ 	rm -f core *.core *~
+ 	rm -f *.beam *.script *.start *.boot *.app
+diff -urNad yxa-0.91~/src/config/Makefile.in yxa-0.91/src/config/Makefile.in
+--- yxa-0.91~/src/config/Makefile.in	2005-08-30 22:52:43.000000000 +0200
++++ yxa-0.91/src/config/Makefile.in	2006-07-10 18:19:32.000000000 +0200
+@@ -58,6 +58,9 @@
+ 	  $(install_DATA) $(srcdir)/$$p $(DESTDIR)$(includedir)/$$f ; \
+ 	done
+ 
++distclean: clean
++	rm -f Makefile
++
+ clean:
+ 	rm -f core *.core *~
+ 	rm -f *.beam *.script *.start *.boot *.rel *.app *.script
+diff -urNad yxa-0.91~/src/cpl/Makefile.in yxa-0.91/src/cpl/Makefile.in
+--- yxa-0.91~/src/cpl/Makefile.in	2005-08-30 22:52:43.000000000 +0200
++++ yxa-0.91/src/cpl/Makefile.in	2006-07-10 18:19:32.000000000 +0200
+@@ -76,6 +76,9 @@
+ 	  $(install_DATA) $(srcdir)/$$p $(DESTDIR)$(includedir)/$$f ; \
+ 	done
+ 
++distclean: clean
++	rm -f Makefile
++
+ clean:
+ 	rm -f core *.core *~
+ 	rm -f *.beam *.script *.start *.boot *.rel *.app *.script
+diff -urNad yxa-0.91~/src/database/Makefile.in yxa-0.91/src/database/Makefile.in
+--- yxa-0.91~/src/database/Makefile.in	2005-08-30 22:31:25.000000000 +0200
++++ yxa-0.91/src/database/Makefile.in	2006-07-10 18:19:32.000000000 +0200
+@@ -60,6 +60,9 @@
+ 	  $(install_DATA) $(srcdir)/$$p $(DESTDIR)$(includedir)/$$f ; \
+ 	done
+ 
++distclean: clean
++	rm -f Makefile
++
+ clean:
+ 	rm -f core *.core *~
+ 	rm -f *.beam *.script *.start *.boot *.rel *.app *.script
+diff -urNad yxa-0.91~/src/eldap/Makefile.in yxa-0.91/src/eldap/Makefile.in
+--- yxa-0.91~/src/eldap/Makefile.in	2005-08-31 21:36:57.000000000 +0200
++++ yxa-0.91/src/eldap/Makefile.in	2006-07-10 18:19:32.000000000 +0200
+@@ -54,6 +54,9 @@
+ 	  $(install_DATA) $(srcdir)/$$p $(DESTDIR)$(includedir)/$$f ; \
+ 	done
+ 
++distclean: clean
++	rm -f Makefile
++
+ clean:
+ 	rm -f core *.core *~
+ 	rm -f *.beam *.script *.start *.boot *.rel *.app *.script
+diff -urNad yxa-0.91~/src/event_handler/Makefile.in yxa-0.91/src/event_handler/Makefile.in
+--- yxa-0.91~/src/event_handler/Makefile.in	2005-08-30 22:52:43.000000000 +0200
++++ yxa-0.91/src/event_handler/Makefile.in	2006-07-10 18:19:32.000000000 +0200
+@@ -59,6 +59,9 @@
+ 	  $(install_PROGRAM) $$p $(DESTDIR)$(privdir)/$$f ; \
+ 	done
+ 
++distclean: clean
++	rm -f Makefile
++
+ clean:
+ 	rm -f core *.core *~
+ 	rm -f syslog_c-port *.beam *.script *.start *.boot *.rel *.app *.script
+diff -urNad yxa-0.91~/src/include/Makefile.in yxa-0.91/src/include/Makefile.in
+--- yxa-0.91~/src/include/Makefile.in	2005-08-30 22:52:43.000000000 +0200
++++ yxa-0.91/src/include/Makefile.in	2006-07-10 18:19:32.000000000 +0200
+@@ -53,6 +53,9 @@
+ 	  $(install_DATA) $(srcdir)/$$p $(DESTDIR)$(includedir)/$$f ; \
+ 	done
+ 
++distclean: clean
++	rm -f Makefile
++
+ clean:
+ 	rm -f core *.core *~
+ 	rm -f *.beam *.script *.start *.boot *.rel *.app *.script
+diff -urNad yxa-0.91~/src/local/Makefile.in yxa-0.91/src/local/Makefile.in
+--- yxa-0.91~/src/local/Makefile.in	2006-03-03 09:27:34.000000000 +0100
++++ yxa-0.91/src/local/Makefile.in	2006-07-10 18:19:32.000000000 +0200
+@@ -45,6 +45,9 @@
+ 
+ install: $(beam_FILES) $(hrl_FILES)
+ 
++distclean: clean
++	rm -f Makefile
++
+ clean:
+ 	rm -f core *.core *~
+ 	rm -f *.beam *.script *.start *.boot *.rel *.app *.script
+diff -urNad yxa-0.91~/src/mysql/Makefile.in yxa-0.91/src/mysql/Makefile.in
+--- yxa-0.91~/src/mysql/Makefile.in	2005-08-30 22:31:25.000000000 +0200
++++ yxa-0.91/src/mysql/Makefile.in	2006-07-10 18:19:32.000000000 +0200
+@@ -59,6 +59,9 @@
+ 	  $(install_DATA) $(srcdir)/$$p $(DESTDIR)$(includedir)/$$f ; \
+ 	done
+ 
++distclean: clean
++	rm -f Makefile
++
+ clean:
+ 	rm -f core *.core *~
+ 	rm -f *.beam *.script *.start *.boot *.rel *.app *.script
+diff -urNad yxa-0.91~/src/sipuserdb/Makefile.in yxa-0.91/src/sipuserdb/Makefile.in
+--- yxa-0.91~/src/sipuserdb/Makefile.in	2005-08-30 22:52:43.000000000 +0200
++++ yxa-0.91/src/sipuserdb/Makefile.in	2006-07-10 18:19:32.000000000 +0200
+@@ -61,6 +61,9 @@
+ 	  $(install_DATA) $(srcdir)/$$p $(DESTDIR)$(includedir)/$$f ; \
+ 	done
+ 
++distclean: clean
++	rm -f Makefile
++
+ clean:
+ 	rm -f core *.core *~
+ 	rm -f *.beam *.script *.start *.boot *.rel *.app *.script
+diff -urNad yxa-0.91~/src/transactionlayer/Makefile.in yxa-0.91/src/transactionlayer/Makefile.in
+--- yxa-0.91~/src/transactionlayer/Makefile.in	2005-08-30 22:52:43.000000000 +0200
++++ yxa-0.91/src/transactionlayer/Makefile.in	2006-07-10 18:19:32.000000000 +0200
+@@ -60,6 +60,9 @@
+ 	  $(install_DATA) $(srcdir)/$$p $(DESTDIR)$(includedir)/$$f ; \
+ 	done
+ 
++distclean: clean
++	rm -f Makefile
++
+ clean:
+ 	rm -f core *.core *~
+ 	rm -f *.beam *.script *.start *.boot *.rel *.app *.script
+diff -urNad yxa-0.91~/src/transportlayer/Makefile.in yxa-0.91/src/transportlayer/Makefile.in
+--- yxa-0.91~/src/transportlayer/Makefile.in	2006-03-01 13:30:29.000000000 +0100
++++ yxa-0.91/src/transportlayer/Makefile.in	2006-07-10 18:19:32.000000000 +0200
+@@ -71,6 +71,9 @@
+ 	  $(install_DATA) $(srcdir)/$$p $(DESTDIR)$(includedir)/$$f ; \
+ 	done
+ 
++distclean: clean
++	rm -f Makefile
++
+ clean:
+ 	rm -f core *.core *~
+ 	rm -f *.beam *.script *.start *.boot *.rel *.app *.script
+diff -urNad yxa-0.91~/yaws/src/Makefile.in yxa-0.91/yaws/src/Makefile.in
+--- yxa-0.91~/yaws/src/Makefile.in	2005-08-30 22:52:43.000000000 +0200
++++ yxa-0.91/yaws/src/Makefile.in	2006-07-10 18:19:32.000000000 +0200
+@@ -58,6 +58,9 @@
+ 	  $(install_DATA) $(srcdir)/$$p $(DESTDIR)$(includedir)/$$f ; \
+ 	done
+ 
++distclean: clean
++	rm -f Makefile
++
+ clean:
+ 	rm -f core *.core *~
+ 	rm -f *.beam *.script *.start *.boot *.rel *.app *.script


Property changes on: yxa/trunk/debian/patches/distclean.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: yxa/trunk/debian/patches/erlang-r10b-10.dpatch
===================================================================
--- yxa/trunk/debian/patches/erlang-r10b-10.dpatch	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/patches/erlang-r10b-10.dpatch	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,89 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## erlang-r10b-10.dpatch by  <mikma at users.sourceforge.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Update to Erlang OTP R10B-10
+
+ at DPATCH@
+diff -urNad yxa-0.91~/src/appserver.rel yxa-0.91/src/appserver.rel
+--- yxa-0.91~/src/appserver.rel	2006-07-10 17:51:52.000000000 +0200
++++ yxa-0.91/src/appserver.rel	2006-07-10 17:58:59.000000000 +0200
+@@ -1,7 +1,7 @@
+-%% Erlang OTP R10B-9 library versions
++%% Erlang OTP R10B-10 library versions
+ {release, {"Yxa application server","0.0"}, {erts, "5.2"},
+- [{kernel,"2.10.12"},
+-  {stdlib,"1.13.11"},
+-  {ssl, "3.0.10"},
+-  {mnesia, "4.2.3"},
++ [{kernel,"2.10.13"},
++  {stdlib,"1.13.12"},
++  {ssl, "3.0.11"},
++  {mnesia, "4.2.5"},
+   {appserver, "0.0"}]}.
+diff -urNad yxa-0.91~/src/incomingproxy.rel yxa-0.91/src/incomingproxy.rel
+--- yxa-0.91~/src/incomingproxy.rel	2006-07-10 17:51:52.000000000 +0200
++++ yxa-0.91/src/incomingproxy.rel	2006-07-10 17:58:32.000000000 +0200
+@@ -1,8 +1,8 @@
+-%% Erlang OTP R10B-9 library versions
++%% Erlang OTP R10B-10 library versions
+ {release, {"Yxa incomingproxy","0.0"}, {erts, "5.2"},
+- [{kernel,"2.10.12"},
+-  {stdlib,"1.13.11"},
+-  {ssl, "3.0.10"},
++ [{kernel,"2.10.13"},
++  {stdlib,"1.13.12"},
++  {ssl, "3.0.11"},
+   {asn1, "1.4.4.9"},
+-  {mnesia, "4.2.3"},
++  {mnesia, "4.2.5"},
+   {incomingproxy, "0.0"}]}.
+diff -urNad yxa-0.91~/src/outgoingproxy.rel yxa-0.91/src/outgoingproxy.rel
+--- yxa-0.91~/src/outgoingproxy.rel	2006-07-10 17:51:52.000000000 +0200
++++ yxa-0.91/src/outgoingproxy.rel	2006-07-10 17:59:24.000000000 +0200
+@@ -1,7 +1,7 @@
+-%% Erlang OTP R10B-9 library versions
++%% Erlang OTP R10B-10 library versions
+ {release, {"Yxa outgoingproxy","0.0"}, {erts, "5.2"},
+- [{kernel,"2.10.12"},
+-  {stdlib,"1.13.11"},
+-  {ssl, "3.0.10"},
+-  {mnesia, "4.2.3"},
++ [{kernel,"2.10.13"},
++  {stdlib,"1.13.12"},
++  {ssl, "3.0.11"},
++  {mnesia, "4.2.5"},
+   {outgoingproxy, "0.0"}]}.
+diff -urNad yxa-0.91~/src/pstnproxy.rel yxa-0.91/src/pstnproxy.rel
+--- yxa-0.91~/src/pstnproxy.rel	2006-07-10 17:51:52.000000000 +0200
++++ yxa-0.91/src/pstnproxy.rel	2006-07-10 17:59:33.000000000 +0200
+@@ -1,8 +1,8 @@
+-%% Erlang OTP R10B-9 library versions
++%% Erlang OTP R10B-10 library versions
+ {release, {"Yxa pstnproxy","0.0"}, {erts, "5.2"},
+- [{kernel,"2.10.12"},
+-  {stdlib,"1.13.11"},
+-  {ssl, "3.0.10"},
++ [{kernel,"2.10.13"},
++  {stdlib,"1.13.12"},
++  {ssl, "3.0.11"},
+   {asn1, "1.4.4.9"},
+-  {mnesia, "4.2.3"},
++  {mnesia, "4.2.5"},
+   {pstnproxy, "0.0"}]}.
+diff -urNad yxa-0.91~/src/start_ssl.rel yxa-0.91/src/start_ssl.rel
+--- yxa-0.91~/src/start_ssl.rel	2006-07-10 17:51:52.000000000 +0200
++++ yxa-0.91/src/start_ssl.rel	2006-07-10 17:59:41.000000000 +0200
+@@ -1,8 +1,8 @@
+-%% Erlang OTP R10B-9 library versions
++%% Erlang OTP R10B-10 library versions
+ %% File to get Erlang distribution using SSL started
+ {release, {"Yxa foo","0.0"}, {erts, "5.2"},
+- [{kernel,"2.10.12"},
+-  {stdlib,"1.13.11"},
+-  {ssl, "3.0.10"}
++ [{kernel,"2.10.13"},
++  {stdlib,"1.13.12"},
++  {ssl, "3.0.11"}
+  ]
+ }.

Added: yxa/trunk/debian/patches/erlang-r11b-0.dpatch
===================================================================
--- yxa/trunk/debian/patches/erlang-r11b-0.dpatch	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/patches/erlang-r11b-0.dpatch	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,91 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## erlang-r10b-10.dpatch by  <mikma at users.sourceforge.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Update to Erlang OTP R10B-10
+
+ at DPATCH@
+diff -urNad yxa-0.91~/src/appserver.rel yxa-0.91/src/appserver.rel
+--- yxa-0.91~/src/appserver.rel	2006-07-10 17:51:52.000000000 +0200
++++ yxa-0.91/src/appserver.rel	2006-07-10 17:58:59.000000000 +0200
+@@ -1,7 +1,7 @@
+-%% Erlang OTP R10B-9 library versions
++%% Erlang OTP R11B-0 library versions
+ {release, {"Yxa application server","0.0"}, {erts, "5.2"},
+- [{kernel,"2.10.12"},
+-  {stdlib,"1.13.11"},
+-  {ssl, "3.0.10"},
+-  {mnesia, "4.2.3"},
++ [{kernel,"2.11"},
++  {stdlib,"1.14"},
++  {ssl, "3.0.12"},
++  {mnesia, "4.3.1"},
+   {appserver, "0.0"}]}.
+diff -urNad yxa-0.91~/src/incomingproxy.rel yxa-0.91/src/incomingproxy.rel
+--- yxa-0.91~/src/incomingproxy.rel	2006-07-10 17:51:52.000000000 +0200
++++ yxa-0.91/src/incomingproxy.rel	2006-07-10 17:58:32.000000000 +0200
+@@ -1,8 +1,8 @@
+-%% Erlang OTP R10B-9 library versions
++%% Erlang OTP R11B-0 library versions
+ {release, {"Yxa incomingproxy","0.0"}, {erts, "5.2"},
+- [{kernel,"2.10.12"},
+-  {stdlib,"1.13.11"},
+-  {ssl, "3.0.10"},
++ [{kernel,"2.11"},
++  {stdlib,"1.14"},
++  {ssl, "3.0.12"},
+-  {asn1, "1.4.4.9"},
++  {asn1, "1.4.4.10"},
+-  {mnesia, "4.2.3"},
++  {mnesia, "4.3.1"},
+   {incomingproxy, "0.0"}]}.
+diff -urNad yxa-0.91~/src/outgoingproxy.rel yxa-0.91/src/outgoingproxy.rel
+--- yxa-0.91~/src/outgoingproxy.rel	2006-07-10 17:51:52.000000000 +0200
++++ yxa-0.91/src/outgoingproxy.rel	2006-07-10 17:59:24.000000000 +0200
+@@ -1,7 +1,7 @@
+-%% Erlang OTP R10B-9 library versions
++%% Erlang OTP R11B-0 library versions
+ {release, {"Yxa outgoingproxy","0.0"}, {erts, "5.2"},
+- [{kernel,"2.10.12"},
+-  {stdlib,"1.13.11"},
+-  {ssl, "3.0.10"},
+-  {mnesia, "4.2.3"},
++ [{kernel,"2.11"},
++  {stdlib,"1.14"},
++  {ssl, "3.0.12"},
++  {mnesia, "4.3.1"},
+   {outgoingproxy, "0.0"}]}.
+diff -urNad yxa-0.91~/src/pstnproxy.rel yxa-0.91/src/pstnproxy.rel
+--- yxa-0.91~/src/pstnproxy.rel	2006-07-10 17:51:52.000000000 +0200
++++ yxa-0.91/src/pstnproxy.rel	2006-07-10 17:59:33.000000000 +0200
+@@ -1,8 +1,8 @@
+-%% Erlang OTP R10B-9 library versions
++%% Erlang OTP R11B-0 library versions
+ {release, {"Yxa pstnproxy","0.0"}, {erts, "5.2"},
+- [{kernel,"2.10.12"},
+-  {stdlib,"1.13.11"},
+-  {ssl, "3.0.10"},
++ [{kernel,"2.11"},
++  {stdlib,"1.14"},
++  {ssl, "3.0.12"},
+-  {asn1, "1.4.4.9"},
++  {asn1, "1.4.4.10"},
+-  {mnesia, "4.2.3"},
++  {mnesia, "4.3.1"},
+   {pstnproxy, "0.0"}]}.
+diff -urNad yxa-0.91~/src/start_ssl.rel yxa-0.91/src/start_ssl.rel
+--- yxa-0.91~/src/start_ssl.rel	2006-07-10 17:51:52.000000000 +0200
++++ yxa-0.91/src/start_ssl.rel	2006-07-10 17:59:41.000000000 +0200
+@@ -1,8 +1,8 @@
+-%% Erlang OTP R10B-9 library versions
++%% Erlang OTP R11B-0 library versions
+ %% File to get Erlang distribution using SSL started
+ {release, {"Yxa foo","0.0"}, {erts, "5.2"},
+- [{kernel,"2.10.12"},
+-  {stdlib,"1.13.11"},
+-  {ssl, "3.0.10"}
++ [{kernel,"2.11"},
++  {stdlib,"1.14"},
++  {ssl, "3.0.12"}
+  ]
+ }.


Property changes on: yxa/trunk/debian/patches/erlang-r11b-0.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: yxa/trunk/debian/patches/inet_dns.dpatch
===================================================================
--- yxa/trunk/debian/patches/inet_dns.dpatch	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/patches/inet_dns.dpatch	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,194 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## inet_dns.dpatch by  <mikma at users.sourceforge.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: YXA needs inet_dns from erlang source package
+
+ at DPATCH@
+diff -urNad yxa-0.91~/src/include/kernel/src/inet_dns.hrl yxa-0.91/src/include/kernel/src/inet_dns.hrl
+--- yxa-0.91~/src/include/kernel/src/inet_dns.hrl	1970-01-01 01:00:00.000000000 +0100
++++ yxa-0.91/src/include/kernel/src/inet_dns.hrl	1999-09-20 23:11:23.000000000 +0200
+@@ -0,0 +1,183 @@
++%% ``The contents of this file are subject to the Erlang Public License,
++%% Version 1.1, (the "License"); you may not use this file except in
++%% compliance with the License. You should have received a copy of the
++%% Erlang Public License along with this software. If not, it can be
++%% retrieved via the world wide web at http://www.erlang.org/.
++%% 
++%% Software distributed under the License is distributed on an "AS IS"
++%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
++%% the License for the specific language governing rights and limitations
++%% under the License.
++%% 
++%% The Initial Developer of the Original Code is Ericsson Utvecklings AB.
++%% Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings
++%% AB. All Rights Reserved.''
++%% 
++%%     $Id$
++%%
++%%
++%% Defintion for Domain Name System
++%%
++
++%%
++%% Currently defined opcodes
++%%
++-define(QUERY,    16#0).          %% standard query
++-define(IQUERY,   16#1).	      %% inverse query 
++-define(STATUS,   16#2).	      %% nameserver status query 
++%% -define(xxx,   16#3)  %% 16#3 reserved
++%%  non standard
++-define(UPDATEA,  16#9).	       %% add resource record
++-define(UPDATED,  16#a).	       %% delete a specific resource record
++-define(UPDATEDA, 16#b).	       %% delete all nemed resource record
++-define(UPDATEM,  16#c).	       %% modify a specific resource record
++-define(UPDATEMA, 16#d).	       %% modify all named resource record
++
++-define(ZONEINIT, 16#e).	       %% initial zone transfer 
++-define(ZONEREF,  16#f).	       %% incremental zone referesh
++
++
++%%
++%% Currently defined response codes
++%%
++-define(NOERROR,  0).		%% no error
++-define(FORMERR,  1).		%% format error
++-define(SERVFAIL, 2).		%% server failure
++-define(NXDOMAIN, 3).		%% non existent domain
++-define(NOTIMP,	  4).		%% not implemented
++-define(REFUSED,  5).		%% query refused
++%%	non standard 
++-define(NOCHANGE, 16#f).		%% update failed to change db
++
++
++%%
++%% Type values for resources and queries
++%%
++-define(T_A,		1).		%% host address
++-define(T_NS,		2).		%% authoritative server
++-define(T_MD,		3).		%% mail destination
++-define(T_MF,		4).		%% mail forwarder
++-define(T_CNAME,	5).		%% connonical name
++-define(T_SOA,		6).		%% start of authority zone
++-define(T_MB,		7).		%% mailbox domain name
++-define(T_MG,		8).		%% mail group member
++-define(T_MR,		9).		%% mail rename name
++-define(T_NULL,		10).		%% null resource record
++-define(T_WKS,		11).		%% well known service
++-define(T_PTR,		12).		%% domain name pointer
++-define(T_HINFO,	13).		%% host information
++-define(T_MINFO,	14).		%% mailbox information
++-define(T_MX,		15).		%% mail routing information
++-define(T_TXT,		16).		%% text strings
++-define(T_AAAA,         28).            %% ipv6 address
++%% SRV (RFC 2052)
++-define(T_SRV,          33).            %% services
++%%      non standard
++-define(T_UINFO,	100).		%% user (finger) information
++-define(T_UID,		101).		%% user ID
++-define(T_GID,		102).		%% group ID
++-define(T_UNSPEC,	103).		%% Unspecified format (binary data)
++%%	Query type values which do not appear in resource records
++-define(T_AXFR,		252).		%% transfer zone of authority
++-define(T_MAILB,	253).		%% transfer mailbox records
++-define(T_MAILA,	254).		%% transfer mail agent records
++-define(T_ANY,		255).		%% wildcard match
++
++%%
++%% Symbolic Type values for resources and queries
++%%
++-define(S_A,		a).		%% host address
++-define(S_NS,		ns).		%% authoritative server
++-define(S_MD,		md).		%% mail destination
++-define(S_MF,		mf).		%% mail forwarder
++-define(S_CNAME,	cname).		%% connonical name
++-define(S_SOA,		soa).		%% start of authority zone
++-define(S_MB,		mb).		%% mailbox domain name
++-define(S_MG,		mg).		%% mail group member
++-define(S_MR,		mr).		%% mail rename name
++-define(S_NULL,		null).		%% null resource record
++-define(S_WKS,		wks).		%% well known service
++-define(S_PTR,		ptr).		%% domain name pointer
++-define(S_HINFO,	hinfo).		%% host information
++-define(S_MINFO,	minfo).		%% mailbox information
++-define(S_MX,		mx).		%% mail routing information
++-define(S_TXT,		txt).		%% text strings
++-define(S_AAAA,         aaaa).          %% ipv6 address
++%% SRV (RFC 2052)
++-define(S_SRV,          srv).           %% services
++%%      non standard
++-define(S_UINFO,	uinfo).		%% user (finger) information
++-define(S_UID,		uid).		%% user ID
++-define(S_GID,		gid).		%% group ID
++-define(S_UNSPEC,	unspec).        %% Unspecified format (binary data)
++%%	Query type values which do not appear in resource records
++-define(S_AXFR,		axfr).		%% transfer zone of authority
++-define(S_MAILB,	mailb).		%% transfer mailbox records
++-define(S_MAILA,	maila).		%% transfer mail agent records
++-define(S_ANY,		any).		%% wildcard match
++
++%%
++%% Values for class field
++%%
++
++-define(C_IN,		1).      	%% the arpa internet
++-define(C_CHAOS,	3).		%% for chaos net at MIT
++-define(C_HS,		4).		%% for Hesiod name server at MIT
++%%  Query class values which do not appear in resource records
++-define(C_ANY,		255).		%% wildcard match 
++
++
++%% indirection mask for compressed domain names
++-define(INDIR_MASK, 16#c0).
++
++%%
++%% Structure for query header, the order of the fields is machine and
++%% compiler dependent, in our case, the bits within a byte are assignd
++%% least significant first, while the order of transmition is most
++%% significant first.  This requires a somewhat confusing rearrangement.
++%%
++-record(dns_header, 
++	{
++	 id = 0,       %% ushort query identification number 
++	 %% byte F0
++	 qr = 0,       %% :1   response flag
++	 opcode = 0,   %% :4   purpose of message
++	 aa = 0,       %% :1   authoritive answer
++	 tc = 0,       %% :1   truncated message
++	 rd = 0,       %% :1   recursion desired 
++	 %% byte F1
++	 ra = 0,       %% :1   recursion available
++	 pr = 0,       %% :1   primary server required (non standard)
++	               %% :2   unused bits
++	 rcode = 0     %% :4   response code
++	}).
++
++-record(dns_rec,
++	{
++	 header,       %% dns_header record
++	 qdlist = [],  %% list of question entries
++	 anlist = [],  %% list of answer entries
++	 nslist = [],  %% list of authority entries
++	 arlist = []   %% list of resource entries
++	}).
++
++%% DNS resource record
++-record(dns_rr,
++	{
++	 domain,        %% resource domain
++	 class,         %% reource class (atom i.e c_in)
++	 type,          %% resource type (atom i.e t_any)
++	 cnt = 0,       %% access count
++	 tm,            %% creation time
++	 ttl,           %% time to live
++         bm = [],       %% Bitmap storing domain character case information.
++	 data = [],     %% raw data
++         func = false   %% Optional function calculating the data field.
++	}).
++
++-record(dns_query,
++	{
++	 domain,     %% query domain
++	 type,       %% query type
++	 class       %% query class
++	 }).


Property changes on: yxa/trunk/debian/patches/inet_dns.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: yxa/trunk/debian/patches/init-mnesia.dpatch
===================================================================
--- yxa/trunk/debian/patches/init-mnesia.dpatch	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/patches/init-mnesia.dpatch	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## init-mnesia.dpatch by  <mikma at users.sourceforge.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Make it possible to use remote Mnesia db
+
+ at DPATCH@
+diff -urNad yxa-0.91~/scripts/init.sh.in yxa-0.91/scripts/init.sh.in
+--- yxa-0.91~/scripts/init.sh.in	2006-01-02 12:47:15.000000000 +0100
++++ yxa-0.91/scripts/init.sh.in	2006-07-10 23:33:10.000000000 +0200
+@@ -84,7 +84,7 @@
+     command="bootstrap"
+ else
+     name="$PROGRAMNAME"
+-    mnesiadir="$MNESIABASE/$PROGRAMNAME"
++#    mnesiadir="$MNESIABASE/$PROGRAMNAME"
+ fi
+ 
+ exit_now=0


Property changes on: yxa/trunk/debian/patches/init-mnesia.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: yxa/trunk/debian/patches/yaws-fqdn.dpatch
===================================================================
--- yxa/trunk/debian/patches/yaws-fqdn.dpatch	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/patches/yaws-fqdn.dpatch	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## yaws-fqdn.dpatch by  <mikma at users.sourceforge.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Lookup FQDN using gethostbyname
+
+ at DPATCH@
+diff -urNad yxa-0.91~/yaws/src/yxa_yaws_util.erl yxa-0.91/yaws/src/yxa_yaws_util.erl
+--- yxa-0.91~/yaws/src/yxa_yaws_util.erl	2006-07-10 17:51:52.000000000 +0200
++++ yxa-0.91/yaws/src/yxa_yaws_util.erl	2006-07-10 18:01:39.000000000 +0200
+@@ -381,7 +381,12 @@
+         {ok, Socket} ->
+             {ok, Res} = inet:gethostname(Socket),
+             inet_udp:close(Socket),
+-            {ok, Res};
++            case inet:gethostbyname(Res) of
++                {ok, {hostent, MyHostname, _, _, _, _}} ->
++                    {ok, MyHostname};
++                _ ->
++                    {ok, Res}
++            end;
+         _ ->
+             {ok, "nohost.nodomain"}
+     end.


Property changes on: yxa/trunk/debian/patches/yaws-fqdn.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: yxa/trunk/debian/rules
===================================================================
--- yxa/trunk/debian/rules	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/rules	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,117 @@
+#!/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
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+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 := yxa_$(UPVERSION).orig.tar.gz
+URL := http://www.stacken.kth.se/project/yxa/download/yxa-$(UPVERSION).tar.gz
+SHA1SUM := 4317dd4f94f0350d373384f13262804d2d2e4216
+
+config: patch config-stamp
+config-stamp: configure
+	dh_testdir
+
+	./configure \
+		--host=$(DEB_HOST_GNU_TYPE) \
+		--build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info \
+		--with-mnesiadir=/var/lib/yxa/db \
+		CFLAGS="$(CFLAGS)" \
+		LDFLAGS="-Wl,-z,defs"
+	touch $@
+
+build: build-stamp
+
+build-stamp: config
+	dh_testdir
+
+	$(MAKE)
+
+	touch $@
+
+clean: clean-stamp unpatch
+clean-stamp:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp config-stamp
+
+	-$(MAKE) distclean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/yxa
+
+
+# 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 CHANGES
+	dh_installdocs
+#	dh_install
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installinit
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch
+
+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)
+	@@echo "$(SHA1SUM)  ../tarballs/yxa_0.91.orig.tar.gz" | sha1sum -c


Property changes on: yxa/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: yxa/trunk/debian/watch
===================================================================
--- yxa/trunk/debian/watch	2006-07-27 19:08:10 UTC (rev 2117)
+++ yxa/trunk/debian/watch	2006-07-27 19:08:36 UTC (rev 2118)
@@ -0,0 +1,10 @@
+# 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
+
+opts=uversionmangle=s/^0\.91pre(.*)$/0.90+0.91pre$1/ \
+  http://www.stacken.kth.se/project/yxa/download/yxa-(.*)\.tar\.gz




More information about the Pkg-voip-commits mailing list