[Pkg-voip-commits] r2975 - in srtp/trunk: . debian debian/patches
Mikael Magnusson
mikma-guest at alioth.debian.org
Sun Jan 7 22:03:54 CET 2007
Author: mikma-guest
Date: 2007-01-07 22:03:54 +0100 (Sun, 07 Jan 2007)
New Revision: 2975
Added:
srtp/trunk/debian/
srtp/trunk/debian/changelog
srtp/trunk/debian/compat
srtp/trunk/debian/control
srtp/trunk/debian/copyright
srtp/trunk/debian/dirs
srtp/trunk/debian/docs
srtp/trunk/debian/libsrtp-dev.install
srtp/trunk/debian/patches/
srtp/trunk/debian/patches/00list
srtp/trunk/debian/patches/13_config.dpatch
srtp/trunk/debian/rules
srtp/trunk/debian/srtp-dev.dirs
srtp/trunk/debian/watch
Log:
* Add debian directory, (svn-inject failed).
Property changes on: srtp/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: srtp/trunk/debian/changelog
===================================================================
--- srtp/trunk/debian/changelog 2007-01-07 20:55:16 UTC (rev 2974)
+++ srtp/trunk/debian/changelog 2007-01-07 21:03:54 UTC (rev 2975)
@@ -0,0 +1,29 @@
+srtp (1.4.2.dfsg-1) UNRELEASED; urgency=low
+
+ * NOT RELEASED YET
+ * Initial release. (Closes: #375047: ITP: srtp -- Secure RTP (SRTP)
+ and UST Reference Implementations - Debian Bug report logs)
+ * Merged srtp/srtp.c
+ * Use orig Makefile.in
+ * Remove packaging example files
+ * Cleanup debian/rules
+ * Include -D_REENTRANT in CFLAGS
+ * Add print-version and get-orig-source targets to debian/rules based
+ on kiax/debian/rules
+ * Remove doc/rfc3711.txt, CVS directories and .cvsignore files from
+ dfsg tarball
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net> Sun, 7 Jan 2007 20:52:28 +0100
+
+srtp (1.4.1-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net> Tue, 4 Oct 2005 15:53:10 +0200
+
+srtp (1.3.20-1) experimental; urgency=low
+
+ * Initial Release.
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net> Sun, 10 Jul 2005 11:18:39 +0200
+
Added: srtp/trunk/debian/compat
===================================================================
--- srtp/trunk/debian/compat 2007-01-07 20:55:16 UTC (rev 2974)
+++ srtp/trunk/debian/compat 2007-01-07 21:03:54 UTC (rev 2975)
@@ -0,0 +1 @@
+4
Added: srtp/trunk/debian/control
===================================================================
--- srtp/trunk/debian/control 2007-01-07 20:55:16 UTC (rev 2974)
+++ srtp/trunk/debian/control 2007-01-07 21:03:54 UTC (rev 2975)
@@ -0,0 +1,14 @@
+Source: srtp
+Priority: optional
+Maintainer: Mikael Magnusson <mikma at users.sourceforge.net>
+Build-Depends: debhelper (>= 4.0.0), autotools-dev, dpatch
+Standards-Version: 3.6.1
+Section: libs
+
+Package: libsrtp-dev
+Section: devel
+Architecture: any
+Description: Secure RTP (SRTP) and UST Reference Implementations
+ This package provides an implementation of the Secure Real-time
+ Transport Protocol (SRTP), the Universal Security Transform (UST), and
+ a supporting cryptographic kernel.
Added: srtp/trunk/debian/copyright
===================================================================
--- srtp/trunk/debian/copyright 2007-01-07 20:55:16 UTC (rev 2974)
+++ srtp/trunk/debian/copyright 2007-01-07 21:03:54 UTC (rev 2975)
@@ -0,0 +1,37 @@
+This package was debianized by Mikael Magnusson <mikma at users.sourceforge.net> on
+Sun, 10 Jul 2005 11:18:39 +0200.
+
+It was downloaded from http://srtp.sourceforge.net/srtp-1.4.1.tgz
+
+Copyright Holder: Cisco Systems, Inc.
+
+License:
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+ Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ 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.
+
+ Neither the name of the Cisco Systems, Inc. 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 HOLDERS 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.
Added: srtp/trunk/debian/dirs
===================================================================
--- srtp/trunk/debian/dirs 2007-01-07 20:55:16 UTC (rev 2974)
+++ srtp/trunk/debian/dirs 2007-01-07 21:03:54 UTC (rev 2975)
@@ -0,0 +1 @@
+usr/lib
Added: srtp/trunk/debian/docs
===================================================================
--- srtp/trunk/debian/docs 2007-01-07 20:55:16 UTC (rev 2974)
+++ srtp/trunk/debian/docs 2007-01-07 21:03:54 UTC (rev 2975)
@@ -0,0 +1,2 @@
+README
+TODO
Added: srtp/trunk/debian/libsrtp-dev.install
===================================================================
--- srtp/trunk/debian/libsrtp-dev.install 2007-01-07 20:55:16 UTC (rev 2974)
+++ srtp/trunk/debian/libsrtp-dev.install 2007-01-07 21:03:54 UTC (rev 2975)
@@ -0,0 +1,3 @@
+debian/tmp/usr/include/*
+debian/tmp/usr/lib/*.a
+debian/tmp/usr/lib/*.so
Added: srtp/trunk/debian/patches/00list
===================================================================
--- srtp/trunk/debian/patches/00list 2007-01-07 20:55:16 UTC (rev 2974)
+++ srtp/trunk/debian/patches/00list 2007-01-07 21:03:54 UTC (rev 2975)
@@ -0,0 +1 @@
+13_config.dpatch
Added: srtp/trunk/debian/patches/13_config.dpatch
===================================================================
--- srtp/trunk/debian/patches/13_config.dpatch 2007-01-07 20:55:16 UTC (rev 2974)
+++ srtp/trunk/debian/patches/13_config.dpatch 2007-01-07 21:03:54 UTC (rev 2975)
@@ -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: srtp/trunk/debian/patches/13_config.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: srtp/trunk/debian/rules
===================================================================
--- srtp/trunk/debian/rules 2007-01-07 20:55:16 UTC (rev 2974)
+++ srtp/trunk/debian/rules 2007-01-07 21:03:54 UTC (rev 2975)
@@ -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
+
+# 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 -D_REENTRANT
+
+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 := srtp_$(UPVERSION).orig.tar.gz
+SRCDIR := srtp
+DFSGNAME := srtp_$(UPVERSION).dfsg.orig.tar.gz
+URL := http://srtp.sourceforge.net/srtp-$(UPVERSION).tgz
+
+config: patch configure-stamp
+configure-stamp:
+ dh_testdir
+ CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+ (cd include; ln -s . srtp)
+ touch configure-stamp
+
+build: build-stamp
+build-stamp: config
+ dh_testdir
+
+ $(MAKE) libsrtp.a
+
+ touch build-stamp
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ -$(MAKE) superclean
+
+ $(RM) include/srtp
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+
+# 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_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ 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)
+ @@echo Removing non dfsg compliant parts out of it
+ @@[ -d ../tarballs/dfsg/. ]||mkdir -p ../tarballs/dfsg
+ @@tar -xzf ../tarballs/$(FILENAME) -C ../tarballs/dfsg
+ @@rm -r ../tarballs/dfsg/$(SRCDIR)/doc/rfc3711.txt
+ @@echo Fixing the tar warning
+ @@for dir in CVS doc/CVS test/CVS srtp/CVS crypto/CVS crypto/rng/CVS crypto/hash/CVS crypto/math/CVS crypto/test/CVS crypto/ae_xfm/CVS crypto/cipher/CVS crypto/kernel/CVS crypto/replay/CVS crypto/include/CVS tables/CVS include/CVS; do rm -rf ../tarballs/dfsg/$(SRCDIR)/$$dir; done
+ @@for file in .cvsignore doc/.cvsignore test/.cvsignore crypto/test/.cvsignore crypto/.cvsignore crypto/include/.cvsignore tables/.cvsignore .cvsignore.cvs; do rm -f ../tarballs/dfsg/$(SRCDIR)/$$file; done
+ @@echo Building the dfsg tarball
+ @@GZIP=-9 tar -b1 -czf ../tarballs/$(DFSGNAME) -C ../tarballs/dfsg $(SRCDIR)
+ @@echo Cleaning up
+ @@rm -rf ../tarballs/dfsg
+ @@rm -f ../tarballs/$(FILENAME)
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install config print-version get-orig-source
Property changes on: srtp/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: srtp/trunk/debian/srtp-dev.dirs
===================================================================
--- srtp/trunk/debian/srtp-dev.dirs 2007-01-07 20:55:16 UTC (rev 2974)
+++ srtp/trunk/debian/srtp-dev.dirs 2007-01-07 21:03:54 UTC (rev 2975)
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
Added: srtp/trunk/debian/watch
===================================================================
--- srtp/trunk/debian/watch 2007-01-07 20:55:16 UTC (rev 2974)
+++ srtp/trunk/debian/watch 2007-01-07 21:03:54 UTC (rev 2975)
@@ -0,0 +1,11 @@
+# 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 2 file
+version=2
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+http://srtp.sourceforge.net/download.html srtp-(.*)\.tgz
More information about the Pkg-voip-commits
mailing list