[Pkg-voip-commits] r6040 - in /libss7/trunk/debian: ./ changelog compat control copyright docs libss7-1.install libss7-dev.install patches/ patches/ldconfig patches/series rules watch
tzafrir-guest at alioth.debian.org
tzafrir-guest at alioth.debian.org
Fri Aug 15 21:01:45 UTC 2008
Author: tzafrir-guest
Date: Fri Aug 15 21:01:45 2008
New Revision: 6040
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6040
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
libss7/trunk/debian/ (with props)
libss7/trunk/debian/changelog
libss7/trunk/debian/compat
libss7/trunk/debian/control
libss7/trunk/debian/copyright
libss7/trunk/debian/docs
libss7/trunk/debian/libss7-1.install
libss7/trunk/debian/libss7-dev.install
libss7/trunk/debian/patches/
libss7/trunk/debian/patches/ldconfig
libss7/trunk/debian/patches/series
libss7/trunk/debian/rules (with props)
libss7/trunk/debian/watch
Propchange: libss7/trunk/debian/
------------------------------------------------------------------------------
mergeWithUpstream = 1
Added: libss7/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/libss7/trunk/debian/changelog?rev=6040&op=file
==============================================================================
--- libss7/trunk/debian/changelog (added)
+++ libss7/trunk/debian/changelog Fri Aug 15 21:01:45 2008
@@ -1,0 +1,5 @@
+libss7 (1.0.1-1) UNRELEASED; urgency=low
+
+ * Initial release. (Closes: #XXXXXX)
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Fri, 15 Aug 2008 22:06:44 +0300
Added: libss7/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-voip/libss7/trunk/debian/compat?rev=6040&op=file
==============================================================================
--- libss7/trunk/debian/compat (added)
+++ libss7/trunk/debian/compat Fri Aug 15 21:01:45 2008
@@ -1,0 +1,1 @@
+5
Added: libss7/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/libss7/trunk/debian/control?rev=6040&op=file
==============================================================================
--- libss7/trunk/debian/control (added)
+++ libss7/trunk/debian/control Fri Aug 15 21:01:45 2008
@@ -1,0 +1,33 @@
+Source: libss7
+Priority: optional
+Section: libs
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+Build-Depends: debhelper (>> 4.0.0), quilt
+Standards-Version: 3.8.0
+Homepage: http://www.asterisk.org/
+Vcs-Svn: svn://svn.debian.org/pkg-voip/libss7/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/libss7/?op=log
+
+Package: libss7-dev
+Section: libdevel
+Architecture: any
+Depends: libss7-1 (= ${binary:Version})
+Description: Signalling System 7 (ss7) development files
+ Development files for the C implementation of the Signalling System 7
+ (ss7) telephony protocol.
+
+Package: libss7-1
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Signalling System 7 (ss7) library
+ C implementation of the Signalling System 7 (ss7) telephony protocol.
+
+Package: libss7-dbg
+Section: libdevel
+Architecture: any
+Depends: libss7-1 (= ${binary:Version})
+Description: Signalling System 7 (ss7) debugging symbols
+ Debug symbols for the C implementation of the Signalling System 7
+ (ss7) telephony protocol.
Added: libss7/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-voip/libss7/trunk/debian/copyright?rev=6040&op=file
==============================================================================
--- libss7/trunk/debian/copyright (added)
+++ libss7/trunk/debian/copyright Fri Aug 15 21:01:45 2008
@@ -1,0 +1,22 @@
+It was downloaded from htp://ftp.digum.com/pub/telephony/libss7
+
+Copyright Holder:
+
+ * Copyright (C) 2006-2008, Digium, Inc
+
+License:
+
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2 as published by the
+ * Free Software Foundation. See the LICENSE file included with
+ * this program for more details.
+ *
+ * In addition, when this program is distributed with Asterisk in
+ * any form that would qualify as a 'combined work' or as a
+ * 'derivative work' (but not mere aggregation), you can redistribute
+ * and/or modify the combination under the terms of the license
+ * provided with that copy of Asterisk, instead of the license
+ * terms granted here.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
Added: libss7/trunk/debian/docs
URL: http://svn.debian.org/wsvn/pkg-voip/libss7/trunk/debian/docs?rev=6040&op=file
==============================================================================
--- libss7/trunk/debian/docs (added)
+++ libss7/trunk/debian/docs Fri Aug 15 21:01:45 2008
@@ -1,0 +1,2 @@
+README
+NEWS*
Added: libss7/trunk/debian/libss7-1.install
URL: http://svn.debian.org/wsvn/pkg-voip/libss7/trunk/debian/libss7-1.install?rev=6040&op=file
==============================================================================
--- libss7/trunk/debian/libss7-1.install (added)
+++ libss7/trunk/debian/libss7-1.install Fri Aug 15 21:01:45 2008
@@ -1,0 +1,1 @@
+usr/lib/lib*.so.*
Added: libss7/trunk/debian/libss7-dev.install
URL: http://svn.debian.org/wsvn/pkg-voip/libss7/trunk/debian/libss7-dev.install?rev=6040&op=file
==============================================================================
--- libss7/trunk/debian/libss7-dev.install (added)
+++ libss7/trunk/debian/libss7-dev.install Fri Aug 15 21:01:45 2008
@@ -1,0 +1,3 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
Added: libss7/trunk/debian/patches/ldconfig
URL: http://svn.debian.org/wsvn/pkg-voip/libss7/trunk/debian/patches/ldconfig?rev=6040&op=file
==============================================================================
--- libss7/trunk/debian/patches/ldconfig (added)
+++ libss7/trunk/debian/patches/ldconfig Fri Aug 15 21:01:45 2008
@@ -1,0 +1,21 @@
+"make install with destdir under fakeroot: ldconfig permission denied"
+
+Upstream issue: http://bugs.digium.com/13313
+
+Index: Makefile
+===================================================================
+--- a/Makefile (revision 209)
++++ b/Makefile (working copy)
+@@ -45,10 +45,9 @@
+ mkdir -p $(INSTALL_PREFIX)$(libdir)
+ mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/include
+ install -m 644 libss7.h $(INSTALL_PREFIX)$(INSTALL_BASE)/include
+- install -m 755 $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)$(libdir)
+- ( cd $(INSTALL_PREFIX)$(libdir) ; ln -sf libss7.so.1 libss7.so ; $(SOSLINK) )
++ cp -dp *.so* $(INSTALL_PREFIX)$(libdir)
+ install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(libdir)
+- if test $$(id -u) = 0; then $(LDCONFIG); fi
++ $(LDCONFIG) 2>/dev/null || :
+
+ $(STATIC_LIBRARY): $(STATIC_OBJS)
+ ar rcs $(STATIC_LIBRARY) $(STATIC_OBJS)
Added: libss7/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/libss7/trunk/debian/patches/series?rev=6040&op=file
==============================================================================
--- libss7/trunk/debian/patches/series (added)
+++ libss7/trunk/debian/patches/series Fri Aug 15 21:01:45 2008
@@ -1,0 +1,1 @@
+ldconfig
Added: libss7/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/libss7/trunk/debian/rules?rev=6040&op=file
==============================================================================
--- libss7/trunk/debian/rules (added)
+++ libss7/trunk/debian/rules Fri Aug 15 21:01:45 2008
@@ -1,0 +1,118 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+CFLAGS = -Wall -g
+
+PACKAGE = libss7
+
+-include /usr/share/quilt/quilt.make
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+PKGNAME:=$(shell sed -nre 's/^Package: (.*[0-9])$$/\1/p' debian/control)
+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$$//')
+UPVERSIONMAJOR:=$(shell echo $(UPVERSION) | sed -re 's/(^[0-9]\.[0-9]).*/\1/')
+SHLIBS = $(PKGNAME) (>= $(UPVERSIONMAJOR))
+
+FILENAME := $(PACKAGE)_$(UPVERSION).orig.tar.gz
+URL := http://ftp2.digium.com/pub/telephony/$(PACKAGE)/releases/$(PACKAGE)-$(UPVERSION).tar.gz
+
+# shared library versions, option 1
+#version=2.0.5
+#major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+version=`ls lib*.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+major=`ls lib*.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+configure: configure-stamp
+configure-stamp: patch
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch $@
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ CFLAGS="$(CFLAGS)" $(MAKE)
+
+ touch $@
+
+clean: unpatch clean-unpatched
+clean-unpatched:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ #-$(MAKE) clean
+ [ ! -f Makefile ] || $(MAKE) clean
+
+ # Until upstream gets a distclean target:
+ $(RM) -f version.c
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/tmp
+ $(MAKE) install INSTALL_PREFIX=$(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_install --sourcedir=debian/tmp
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+ dh_installman
+ dh_strip --dbg-package=libss7-dbg
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs -V "$(SHLIBS)"
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+print-version:
+ @@echo "Debian version: $(DEBVERSION)"
+ @@echo "Upstream version: $(UPVERSION)"
+ @@echo "Upstream major version: $(UPVERSIONMAJOR)"
+
+get-orig-source:
+ @@dh_testdir
+ @@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+ @@echo Downloading $(FILENAME) from $(URL) ...
+ @@wget -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
+
+binary: binary-indep binary-arch
+.PHONY: build clean clean-unpatched binary-indep binary-arch binary install configure patch unpatch
Propchange: libss7/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: libss7/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-voip/libss7/trunk/debian/watch?rev=6040&op=file
==============================================================================
--- libss7/trunk/debian/watch (added)
+++ libss7/trunk/debian/watch Fri Aug 15 21:01:45 2008
@@ -1,0 +1,5 @@
+version=3
+opts=dversionmangle=s/\~dfsg//,downloadurlmangle=s/.*ref=// \
+ http://downloads.digium.com/pub/telephony/libss7/releases/ \
+ http://www\.digium\.com/elqNow/elqRedir\.htm\?ref=http://downloads\.digium\.com/pub/telephony/libss7/releases/libss7-([0-9.]*)\.tar\.gz \
+ debian svn-upgrade
More information about the Pkg-voip-commits
mailing list