osspsa (1.2.6-1) debian-dir only changes

Summary

 debian/changelog                 |   19 ++++++
 debian/compat                    |    1 
 debian/control                   |   35 ++++++++++++
 debian/copyright                 |   38 +++++++++++++
 debian/patches/03-librename.diff |   25 ++++++++
 debian/rules                     |  111 +++++++++++++++++++++++++++++++++++++++
 debian/watch                     |    3 +
 7 files changed, 232 insertions(+)

    
download this patch

Patch contents

--- osspsa-1.2.6.orig/debian/changelog
+++ osspsa-1.2.6/debian/changelog
@@ -0,0 +1,19 @@
+osspsa (1.2.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * Removed bash'sm in debian/rules (closes: #372864).
+
+ -- Raphael Bossek <bossekr@debian.org>  Mon, 23 Jul 2007 17:41:15 +0200
+
+osspsa (1.2.4-1) unstable; urgency=low
+
+  * Update to new upstream version.
+
+ -- Raphael Bossek <bossekr@debian.org>  Sun, 24 Apr 2005 11:46:57 +0200
+
+osspsa (1.2.2-1) unstable; urgency=low
+
+  * Initial Release (Closes: #285820).
+
+ -- Raphael Bossek <bossekr@debian.org>  Mon, 29 Nov 2004 10:55:45 +0100
+
--- osspsa-1.2.6.orig/debian/watch
+++ osspsa-1.2.6/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+ftp://ftp.ossp.org/pkg/lib/sa/sa-(\d+\.\d+\.\d+)\.tar\.gz
--- osspsa-1.2.6.orig/debian/compat
+++ osspsa-1.2.6/debian/compat
@@ -0,0 +1 @@
+4
--- osspsa-1.2.6.orig/debian/patches/03-librename.diff
+++ osspsa-1.2.6/debian/patches/03-librename.diff
@@ -0,0 +1,25 @@
+diff -Nru sa-1.2.2.orig/Makefile.in sa-1.2.2/Makefile.in
+--- sa-1.2.2.orig/Makefile.in	2004-04-02 20:17:31.000000000 +0200
++++ sa-1.2.2/Makefile.in	2004-12-21 21:22:15.687059151 +0100
+@@ -50,7 +50,7 @@
+ TRUE        = true
+ POD2MAN     = pod2man
+ 
+-LIB_NAME    = libsa.la
++LIB_NAME    = libossp-sa.la
+ LIB_OBJS    = sa.lo
+ 
+ TST_NAME    = sa_test
+@@ -96,10 +96,10 @@
+ 	$(SHTOOL) install -c -m 755 sa-config $(DESTDIR)$(bindir)/
+ 	$(SHTOOL) install -c -m 644 sa.h $(DESTDIR)$(includedir)/
+ 	$(SHTOOL) install -c -m 644 sa.3 $(DESTDIR)$(mandir)/man3/
+-	@$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libsa.la $(DESTDIR)$(libdir)/
++	@$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 $(LIB_NAME) $(DESTDIR)$(libdir)/
+ 
+ uninstall:
+-	@$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libsa.la
++	@$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/$(LIB_NAME)
+ 	-$(RM) $(DESTDIR)$(mandir)/man3/sa.3
+ 	-$(RM) $(DESTDIR)$(includedir)/sa.h
+ 	-$(RM) $(DESTDIR)$(bindir)/sa-config
--- osspsa-1.2.6.orig/debian/control
+++ osspsa-1.2.6/debian/control
@@ -0,0 +1,35 @@
+Source: osspsa
+Priority: optional
+Maintainer: Raphael Bossek <bossekr@debian.org>
+Build-Depends: debhelper (>= 4.0.0), perl
+Standards-Version: 3.6.1
+
+Package: libossp-sa-dev
+Section: libdevel
+Architecture: any
+Depends: libossp-sa12 (= ${Source-Version})
+Description: Abstraction library for the Unix socket API
+ OSSP sa is an abstraction library for the Unix socket application
+ programming interface (API) featuring stream and datagram oriented
+ communication over Unix Domain and Internet Domain (TCP and UDP)
+ sockets. It provides the following key features: address abstraction
+ (local, IPv4, and IPv6), type abstraction, I/O timeouts, I/O stream
+ buffering and convenience I/O functions.
+ .
+ More about the project can be found at
+ http://www.ossp.org/pkg/lib/sa
+
+Package: libossp-sa12
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Abstraction library for the Unix socket API
+ OSSP sa is an abstraction library for the Unix socket application
+ programming interface (API) featuring stream and datagram oriented
+ communication over Unix Domain and Internet Domain (TCP and UDP)
+ sockets. It provides the following key features: address abstraction
+ (local, IPv4, and IPv6), type abstraction, I/O timeouts, I/O stream
+ buffering and convenience I/O functions.
+ .
+ More about the project can be found at
+ http://www.ossp.org/pkg/lib/sa
--- osspsa-1.2.6.orig/debian/rules
+++ osspsa-1.2.6/debian/rules
@@ -0,0 +1,111 @@
+#!/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.
+
+TARBALL = $(shell ls -1 sa-*.tar.gz)
+SRCDIR = $(subst .tar.gz,,$(TARBALL))
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# 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
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+$(SRCDIR)/configure:	$(TARBALL)
+	tar -xzf $<
+	cd $(SRCDIR) && for i in $(CURDIR)/debian/patches/*; do patch -p1 < $$i; done
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub $(SRCDIR)/config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess $(SRCDIR)/config.guess
+endif
+
+$(SRCDIR)/config.status: $(SRCDIR)/configure
+	dh_testdir
+	# Add here commands to configure the package.
+	cd "$(SRCDIR)" && CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --includedir=\$${prefix}/include/ossp
+
+build: build-stamp
+build-stamp:  $(SRCDIR)/config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) -C $(SRCDIR)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	rm -rf "$(SRCDIR)"
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	$(MAKE) -C "$(SRCDIR)" install DESTDIR=$(CURDIR)/debian/tmp
+	dh_movefiles -plibossp-sa12 `cd $(CURDIR)/debian/tmp && ls -1 usr/lib/lib*.so.*`
+	dh_movefiles -plibossp-sa-dev usr
+
+# 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 $(SRCDIR)/ChangeLog
+	dh_installdocs $(SRCDIR)/NEWS $(SRCDIR)/README $(SRCDIR)/TODO
+#	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 
--- osspsa-1.2.6.orig/debian/copyright
+++ osspsa-1.2.6/debian/copyright
@@ -0,0 +1,38 @@
+This package was debianized by Raphael Bossek <bossekr@debian.org> on
+Mon, 29 Nov 2004 10:55:45 +0100.
+
+It was downloaded from ftp://ftp.ossp.org/pkg/lib/sa/sa-1.2.2.tar.gz
+
+Copyright: MIT License
+
+Author(s):
+  Ralf S. Engelschall <rse@engelschall.com>
+
+License:
+
+   OSSP sa - Socket Abstraction
+   Copyright (c) 2001-2004 Ralf S. Engelschall <rse@engelschall.com>
+   Copyright (c) 2001-2004 The OSSP Project <http://www.ossp.org/>
+   Copyright (c) 2001-2004 Cable & Wireless <http://www.cw.com/>
+ 
+   This file is part of OSSP sa, a socket abstraction library which
+   can be found at http://www.ossp.org/pkg/lib/sa/.
+ 
+   Permission to use, copy, modify, and distribute this software for
+   any purpose with or without fee is hereby granted, provided that
+   the above copyright notice and this permission notice appear in all
+   copies.
+ 
+   THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+   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.
+