[Pkg-voip-commits] r1121 - / stun stun/branches stun/tags stun/trunk stun/trunk/debian

Kilian Krause kilian at costa.debian.org
Tue Jan 3 00:21:02 UTC 2006


Author: kilian
Date: 2006-01-03 00:21:00 +0000 (Tue, 03 Jan 2006)
New Revision: 1121

Added:
   stun/
   stun/branches/
   stun/branches/build-area
   stun/branches/tarballs
   stun/build-area
   stun/tags/
   stun/tags/build-area
   stun/tags/tarballs
   stun/tarballs
   stun/trunk/
   stun/trunk/debian/
   stun/trunk/debian/changelog
   stun/trunk/debian/compat
   stun/trunk/debian/control
   stun/trunk/debian/copyright
   stun/trunk/debian/dirs
   stun/trunk/debian/docs
   stun/trunk/debian/init.d
   stun/trunk/debian/rules
   stun/trunk/debian/stun-default
   stun/trunk/debian/stund.substvars
Log:
add new stund server and client software. No ITP.


Added: stun/branches/build-area
===================================================================
--- stun/branches/build-area	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/branches/build-area	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1 @@
+link ../build-area/
\ No newline at end of file


Property changes on: stun/branches/build-area
___________________________________________________________________
Name: svn:special
   + *

Added: stun/branches/tarballs
===================================================================
--- stun/branches/tarballs	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/branches/tarballs	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1 @@
+link ../tarballs/
\ No newline at end of file


Property changes on: stun/branches/tarballs
___________________________________________________________________
Name: svn:special
   + *

Added: stun/build-area
===================================================================
--- stun/build-area	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/build-area	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1 @@
+link ../build-area/
\ No newline at end of file


Property changes on: stun/build-area
___________________________________________________________________
Name: svn:special
   + *

Added: stun/tags/build-area
===================================================================
--- stun/tags/build-area	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/tags/build-area	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1 @@
+link ../build-area/
\ No newline at end of file


Property changes on: stun/tags/build-area
___________________________________________________________________
Name: svn:special
   + *

Added: stun/tags/tarballs
===================================================================
--- stun/tags/tarballs	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/tags/tarballs	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1 @@
+link ../tarballs/
\ No newline at end of file


Property changes on: stun/tags/tarballs
___________________________________________________________________
Name: svn:special
   + *

Added: stun/tarballs
===================================================================
--- stun/tarballs	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/tarballs	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1 @@
+link ../tarballs/
\ No newline at end of file


Property changes on: stun/tarballs
___________________________________________________________________
Name: svn:special
   + *


Property changes on: stun/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: stun/trunk/debian/changelog
===================================================================
--- stun/trunk/debian/changelog	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/trunk/debian/changelog	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1,6 @@
+stun (0.96-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Kilian Krause <kilian at debian.org>  Mon,  2 Jan 2006 23:51:48 +0100
+

Added: stun/trunk/debian/compat
===================================================================
--- stun/trunk/debian/compat	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/trunk/debian/compat	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1 @@
+4

Added: stun/trunk/debian/control
===================================================================
--- stun/trunk/debian/control	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/trunk/debian/control	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1,16 @@
+Source: stun
+Section: net
+Priority: optional
+Maintainer: Kilian Krause <kilian at debian.org>
+Build-Depends: debhelper (>= 4.0.0)
+Standards-Version: 3.6.1
+
+Package: stun
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Server daemon and test client for STUN
+ The STUN protocol (Simple Traversal of UDP through NATs) is described in the
+ IETF RFC 3489, available at http://www.ietf.org/rfc/rfc3489.txt.  It's used to
+ help clients behind NAT to tunnel incoming calls through. This server is the
+ counterpart to help the client identify the NAT and have it open the proper
+ ports for it.

Added: stun/trunk/debian/copyright
===================================================================
--- stun/trunk/debian/copyright	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/trunk/debian/copyright	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1,54 @@
+This package was debianized by Kilian Krause <kilian at debian.org> on
+Mon,  2 Jan 2006 23:51:48 +0100.
+
+It was downloaded from http://sourceforge.net/projects/stun/
+
+Copyright Holder: Copyright (c) 2000 Vovida Networks, Inc.
+
+License:
+
+As found at http://www.vovida.org/About/license.html:
+
+Vovida Software License
+------------------------------
+
+The Vovida Software License, Version 1.0 
+Copyright (c) 2000 Vovida Networks, Inc.  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. The names "VOCAL", "Vovida Open Communication Application Library",
+   and "Vovida Open Communication Application Library (VOCAL)" must
+   not be used to endorse or promote products derived from this
+   software without prior written permission. For written
+   permission, please contact vocal at vovida.org.
+
+4. Products derived from this software may not be called "VOCAL", nor
+   may "VOCAL" appear in their name, without prior written
+   permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
+NON-INFRINGEMENT ARE DISCLAIMED.  IN NO EVENT SHALL VOVIDA
+NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DAMAGES
+IN EXCESS OF $1,000, NOR FOR ANY 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.
+
+

Added: stun/trunk/debian/dirs
===================================================================
--- stun/trunk/debian/dirs	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/trunk/debian/dirs	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin

Added: stun/trunk/debian/docs
===================================================================
--- stun/trunk/debian/docs	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/trunk/debian/docs	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1,2 @@
+nattestwarning.txt
+rfc3489.txt

Added: stun/trunk/debian/init.d
===================================================================
--- stun/trunk/debian/init.d	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/trunk/debian/init.d	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1,95 @@
+#! /bin/sh
+#
+# skeleton	example file to build /etc/init.d/ scripts.
+#		This file should be used to construct scripts for /etc/init.d.
+#
+#		Written by Miquel van Smoorenburg <miquels at cistron.nl>.
+#		Modified for Debian 
+#		by Ian Murdock <imurdock at gnu.ai.mit.edu>.
+#
+# Version:	@(#)skeleton  1.9  26-Feb-2001  miquels at cistron.nl
+#
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/stun
+NAME=stun
+DESC=stun
+
+test -x $DAEMON || exit 0
+
+# Include stun defaults if available
+if [ -f /etc/default/stun ] ; then
+	. /etc/default/stun
+	if [ -z $PRIMARY_IP ];then
+		echo "No primary IP given. Exiting."
+		exit 1
+	fi
+	if [ -z $SECONDARY_IP ];then
+		echo "No secondary IP given. Exiting."
+		exit 1
+	fi
+	if [ -z $PRIMARY_PORT ];then
+		echo "No primary port given. Using default."
+		PRIMARY_PORT=3478
+	fi
+	if [ -z $SECONDARY_PORT ];then
+		echo "No secondary port given. Using default."
+		SECONDARY_PORT=3479
+	fi
+	if [ -z $DAEMON_USER ];then
+		DAEMON_USER=nobody
+	fi
+fi
+
+DAEMON_OPTS += "-b -h $PRIMARY_IP -a $SECONDARY_IP -p $PRIMARY_PORT -o $SECONDARY_PORT"
+
+set -e
+
+case "$1" in
+  start)
+	echo -n "Starting $DESC: "
+	start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
+		--user $DAMEON_USER --exec $DAEMON -- $DAEMON_OPTS
+	echo "$NAME."
+	;;
+  stop)
+	echo -n "Stopping $DESC: "
+	start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
+		--user $DAEMON_USER --exec $DAEMON
+	echo "$NAME."
+	;;
+  #reload)
+	#
+	#	If the daemon can reload its config files on the fly
+	#	for example by sending it SIGHUP, do it here.
+	#
+	#	If the daemon responds to changes in its config file
+	#	directly anyway, make this a do-nothing entry.
+	#
+	# echo "Reloading $DESC configuration files."
+	# start-stop-daemon --stop --signal 1 --quiet --pidfile \
+	#	/var/run/$NAME.pid --exec $DAEMON
+  #;;
+  restart|force-reload)
+	#
+	#	If the "reload" option is implemented, move the "force-reload"
+	#	option to the "reload" entry above. If not, "force-reload" is
+	#	just the same as "restart".
+	#
+	echo -n "Restarting $DESC: "
+	start-stop-daemon --stop --quiet --pidfile \
+		/var/run/$NAME.pid --exec $DAEMON
+	sleep 1
+	start-stop-daemon --start --quiet --pidfile \
+		/var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
+	echo "$NAME."
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0

Added: stun/trunk/debian/rules
===================================================================
--- stun/trunk/debian/rules	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/trunk/debian/rules	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1,101 @@
+#!/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
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	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) 
+	#$(MAKE) tlsServer 
+
+	touch build-stamp
+
+clean:
+	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/stun.
+	#$(MAKE) install DESTDIR=$(CURDIR)/debian/stun
+	install -m 755 server $(CURDIR)/debian/stun/usr/sbin/stund
+	#install -m 755 tlsServer $(CURDIR)/debian/stun/usr/sbin/
+	install -m 755 client $(CURDIR)/debian/stun/usr/bin/stun
+
+
+# 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 
+	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
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


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

Added: stun/trunk/debian/stun-default
===================================================================
--- stun/trunk/debian/stun-default	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/trunk/debian/stun-default	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1,18 @@
+# Defaults for stun initscript
+# sourced by /etc/init.d/stun
+# installed at /etc/default/stun by the maintainer scripts
+
+#
+# This is a POSIX shell fragment
+#
+
+# Additional options that are passed to the Daemon.
+DAEMON_OPTS=""
+
+PRIMARY_IP=""
+SECONDARY_IP=""
+PRIMARY_PORT=3478
+SECONDARY_PORT=3479
+
+# whom the daemons should run as
+DAEMON_USER=nobody

Added: stun/trunk/debian/stund.substvars
===================================================================
--- stun/trunk/debian/stund.substvars	2006-01-02 11:05:50 UTC (rev 1120)
+++ stun/trunk/debian/stund.substvars	2006-01-03 00:21:00 UTC (rev 1121)
@@ -0,0 +1 @@
+shlibs:Depends=libc6 (>= 2.3.5-1), libgcc1 (>= 1:4.0.2), libstdc++6 (>= 4.0.2-4)




More information about the Pkg-voip-commits mailing list