--- netxx-0.3.2.orig/debian/compat +++ netxx-0.3.2/debian/compat @@ -0,0 +1 @@ +9 --- netxx-0.3.2.orig/debian/copyright +++ netxx-0.3.2/debian/copyright @@ -0,0 +1,46 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: netxx +Upstream-Contact: Peter Jones +Source: http://www.pmade.com/labs/index.html + +Files: * +Copyright: 2001-2003, Peter J Jones + 2002, Isaac W. Foraker +License: BSD + +Files: debian/* +Copyright: 2013, Daniel Pocock +License: GPL-3+ + +License: BSD + 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 AUTHOR 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 AUTHOR + 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. + +License: GPL-3+ + On Debian systems, the full text of the GPL is available at + /usr/share/common-licenses/GPL-3 + --- netxx-0.3.2.orig/debian/libnetxx-dev.install +++ netxx-0.3.2/debian/libnetxx-dev.install @@ -0,0 +1,4 @@ +usr/bin +usr/include/Netxx/* +usr/lib/*/lib*.so +usr/lib/*/lib*.a --- netxx-0.3.2.orig/debian/libnetxx-dev.lintian-overrides +++ netxx-0.3.2/debian/libnetxx-dev.lintian-overrides @@ -0,0 +1,2 @@ +# contains an executable only used for development purposes +libnetxx-dev binary: binary-without-manpage --- netxx-0.3.2.orig/debian/libnetxx1.install +++ netxx-0.3.2/debian/libnetxx1.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* --- netxx-0.3.2.orig/debian/libnetxx1.lintian-overrides +++ netxx-0.3.2/debian/libnetxx1.lintian-overrides @@ -0,0 +1,2 @@ +# legacy code, doesn't compile without -fpermissive +libnetxx1 binary: hardening-no-fortify-functions --- netxx-0.3.2.orig/debian/rules +++ netxx-0.3.2/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +CXXFLAGS += -fpermissive -include cstdlib -include cstring + +%: + dh $@ --parallel + +override_dh_auto_configure: + ./configure.pl --prefix /usr --libdir /usr/lib/$(DEB_HOST_MULTIARCH) + +# upstream doesn't recognise DESTDIR, must do it ourselves +override_dh_auto_install: + sed -i 's!/usr!$${DESTDIR}/usr!g' Makefile + dh_auto_install + #dh_install src/libNetxx.a /usr/lib/$(DEB_HOST_MULTIARCH) + #dh_install src/libNetxx.so /usr/lib/$(DEB_HOST_MULTIARCH)/libNetxx.so.1 + #dh_link /usr/lib/$(DEB_HOST_MULTIARCH)/libNetxx.so.1 /usr/lib/$(DEB_HOST_MULTIARCH)/libNetxx.so + +override_dh_auto_test: --- netxx-0.3.2.orig/debian/changelog +++ netxx-0.3.2/debian/changelog @@ -0,0 +1,13 @@ +netxx (0.3.2-2) unstable; urgency=low + + * copyright: add Isaac W. Foraker + * ensure dev package depends on binary package (Closes: #721382) + + -- Daniel Pocock Sat, 31 Aug 2013 10:29:41 +0200 + +netxx (0.3.2-1) unstable; urgency=low + + * Initial import (Closes: #717725) + + -- Daniel Pocock Wed, 24 Jul 2013 11:45:03 +0200 + --- netxx-0.3.2.orig/debian/control +++ netxx-0.3.2/debian/control @@ -0,0 +1,28 @@ +Source: netxx +Section: devel +Priority: optional +Maintainer: Daniel Pocock +Build-Depends: debhelper (>= 9), perl +Standards-Version: 3.9.4 +Vcs-Git: git://git.debian.org/git/collab-maint/netxx.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/netxx.git +Homepage: http://www.pmade.com/labs/index.html + +Package: libnetxx1 +Section: libdevel +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: C++ library for network programming + Netxx is a C++ network programming library. It is designed to take the + pain out of programming network communications applications. + +Package: libnetxx-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, libnetxx1 (= ${binary:Version}) +Description: C++ library for network programming (development headers) + Netxx is a C++ network programming library. It is designed to take the + pain out of programming network communications applications. +