--- enet-1.2.orig/debian/libenet-doc.doc-base +++ enet-1.2/debian/libenet-doc.doc-base @@ -0,0 +1,15 @@ +Document: libenet-doc +Title: API documentation for ENet +Author: Lee Salzman +Abstract: ENet's purpose is to provide a relatively thin, simple and robust + network communication layer on top of UDP (User Datagram Protocol). The + primary feature it provides is optional reliable, in-order delivery of + packets. + . + This manual describes the API provided by ENet. +Section: Programming/C + +Format: HTML +Index: /usr/share/doc/libenet-doc/html/index.html +Files: /usr/share/doc/libenet-doc/html/*.html + --- enet-1.2.orig/debian/libenet2.dirs +++ enet-1.2/debian/libenet2.dirs @@ -0,0 +1,2 @@ +usr/lib + --- enet-1.2.orig/debian/clean +++ enet-1.2/debian/clean @@ -0,0 +1,5 @@ +config.sub +config.guess + +libenet.so.* + --- enet-1.2.orig/debian/libenet-dev.dirs +++ enet-1.2/debian/libenet-dev.dirs @@ -0,0 +1,3 @@ +usr/include/enet +usr/lib/pkgconfig + --- enet-1.2.orig/debian/copyright +++ enet-1.2/debian/copyright @@ -0,0 +1,46 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Original-Source: http://enet.bespin.org/download/ + +Files: * +Copyright: © 2002-2007, Lee Salzman +License: other + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +Files: debian/* +Copyright: © 2006-2007, Gonéri Le Bouder + © 2008, Ansgar Burchardt +License: other + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + --- enet-1.2.orig/debian/README.source +++ enet-1.2/debian/README.source @@ -0,0 +1,6 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. + --- enet-1.2.orig/debian/libenet2.links +++ enet-1.2/debian/libenet2.links @@ -0,0 +1 @@ +usr/lib/libenet.so.2.0 usr/lib/libenet.so.2 --- enet-1.2.orig/debian/libenet-dev.links +++ enet-1.2/debian/libenet-dev.links @@ -0,0 +1 @@ +usr/lib/libenet.so.2.0 usr/lib/libenet.so --- enet-1.2.orig/debian/libenet2.install +++ enet-1.2/debian/libenet2.install @@ -0,0 +1,2 @@ +libenet.so* usr/lib + --- enet-1.2.orig/debian/changelog +++ enet-1.2/debian/changelog @@ -0,0 +1,101 @@ +enet (1.2-4) unstable; urgency=low + + * debian/control: Move libenet2-dbg to section `debug' + * debian/control: Add ${misc:Depends} + * libenet-dev: Make dependency on libenet2 versioned + * debian/enet.pc: Remove -I${includedir}/enet from Cflags + (Closes: #519982) + * use debhelper's override feature + * add header to patch kfreebsd.diff + * debian/control: remove duplicate field Section from binary package + defintion + * bump Standards-Version to 3.8.3 + + -- Ansgar Burchardt Sun, 06 Sep 2009 13:29:45 +0200 + +enet (1.2-3) unstable; urgency=low + + * Upload to unstable. + + -- Clint Adams Sun, 01 Mar 2009 14:28:27 -0500 + +enet (1.2-2) experimental; urgency=low + + * Make libenet-dev depend on libenet2. + + -- Clint Adams Sat, 17 Jan 2009 15:19:50 -0500 + +enet (1.2-1) experimental; urgency=low + + [ Jon Dowland ] + * add Homepage: control field to source stanza + + [ Ansgar Burchardt ] + * New upstream release + + bump SONAME of shared library + + update version in enet.pc + * Switch to debhelper 7 + * bump Standards Version to 3.8.0 + + Added debian/README.source + + Remove Homepage semi-field from description + * debian/copyright: Switch to proposed machine-readable format + * debian/control: Change Vcs-* fields to Git + * debian/control: Add myself to Uploaders + * Make libenet1-dev a transitional package for libenet-dev instead of the + other way around. We only want to support the latest version. + * Change description for libenet2 and libenet-dev + * Add libenet-doc package for documentation, also generate said + documentation with doxygen + * Add libenet2-dbg with debugging symbols + + -- Ansgar Burchardt Wed, 27 Aug 2008 00:43:58 +0200 + +enet (1.1-2) unstable; urgency=low + + * add kfreebsd.diff (Closes: #414348) + - add a builddep on quilt + + -- Gonéri Le Bouder Sun, 16 Sep 2007 23:12:07 +0200 + +enet (1.1-1) unstable; urgency=low + + * New upstream release (Closes: #414348) + * update the homesite url in descriptions (Closes: #432202) + * do not ignore make clean return anymore + * update the copyright file + * add a watchfile + + -- Gonéri Le Bouder Wed, 11 Jul 2007 08:10:45 +0000 + +enet (1.0-4) unstable; urgency=low + + * upload in unstable + + -- Gonéri Le Bouder Sun, 13 May 2007 23:43:02 +0200 + +enet (1.0-3) experimental; urgency=low + + * create a shared lib to respect Debian policy + - add libenet1.links libenet1-dev.links + - calls dh_makeshlibs + * provide libenet1 and libenet1-dev. Keeps libenet-dev as dummy package for + the transition + * add a pkg-config file (Closes: #387581) + * add a XS-Vcs-Svn: entry in the control file + + -- Gonéri Le Bouder Sat, 24 Mar 2007 18:55:29 +0100 + +enet (1.0-2) unstable; urgency=medium + + * remove cdbs. please see http://wiki.debian.org/Games/ToolsDiscuss + * libenet-dev FIX: install missing file callbacks.h (Closes: #385740) + * provide libenet-dev only since it's not a shared library + + -- Gonéri Le Bouder Fri, 18 Aug 2006 19:44:26 +0200 + +enet (1.0-1) unstable; urgency=low + + * Initial Release (Closes: #375429) + + -- Gonéri Le Bouder Sat, 24 Jun 2006 12:40:54 +0200 + --- enet-1.2.orig/debian/compat +++ enet-1.2/debian/compat @@ -0,0 +1 @@ +7 --- enet-1.2.orig/debian/watch +++ enet-1.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://enet.bespin.org/download/ enet-(.*).tar.gz debian uupdate --- enet-1.2.orig/debian/rules +++ enet-1.2/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f + +CFLAGS += -W -Wall -fPIC + +%: + dh --with quilt $@ + +override_dh_auto_configure: + ln -sf /usr/share/misc/config.sub /usr/share/misc/config.guess . + dh_auto_configure + +override_dh_auto_build: + dh_auto_build + # create the shared lib + gcc -Wl,-soname,libenet.so.2 -shared -o libenet.so.2.0 *.o + + doxygen + +override_dh_clean: + [ ! -d docs/html ] || rm -r docs/html/ + dh_clean + +override_dh_strip: + dh_strip --dbg-package=libenet2-dbg --- enet-1.2.orig/debian/control +++ enet-1.2/debian/control @@ -0,0 +1,86 @@ +Source: enet +Section: libs +Priority: optional +Maintainer: Debian Games Team +Uploaders: Gonéri Le Bouder , Ansgar Burchardt +Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7), autotools-dev, doxygen +Standards-Version: 3.8.3 +Vcs-Git: git://git.debian.org/git/pkg-games/enet.git +Vcs-Browser: http://git.debian.org/?p=pkg-games/enet.git +Homepage: http://enet.bespin.org/ + +Package: libenet2 +Replaces: libenet (<< 1.0-3) +Conflicts: libenet (<< 1.0-3) +Depends: ${misc:Depends}, ${shlibs:Depends} +Architecture: any +Description: thin network communication layer on top of UDP + ENet's purpose is to provide a relatively thin, simple and robust network + communication layer on top of UDP (User Datagram Protocol). The primary + feature it provides is optional reliable, in-order delivery of packets. + . + ENet is NOT intended to be a general purpose high level networking library + that handles authentication, lobbying, server discovery, compression, + encryption and other high level, often application level or dependent tasks. + +Package: libenet-dev +Section: libdevel +Depends: ${misc:Depends}, libenet2 (= ${binary:Version}) +Recommends: libenet-doc, libenet2-dbg +Replaces: libenet1-dev (<< 1.2) +Architecture: any +Description: thin network communication layer on top of UDP - headers + ENet's purpose is to provide a relatively thin, simple and robust network + communication layer on top of UDP (User Datagram Protocol). The primary + feature it provides is optional reliable, in-order delivery of packets. + . + ENet is NOT intended to be a general purpose high level networking library + that handles authentication, lobbying, server discovery, compression, + encryption and other high level, often application level or dependent tasks. + . + This package contains the development files. + +Package: libenet1-dev +Section: libdevel +Depends: ${misc:Depends}, libenet-dev +Architecture: all +Description: transitional dummy package + ENet's purpose is to provide a relatively thin, simple and robust network + communication layer on top of UDP (User Datagram Protocol). The primary + feature it provides is optional reliable, in-order delivery of packets. + . + ENet is NOT intended to be a general purpose high level networking library + that handles authentication, lobbying, server discovery, compression, + encryption and other high level, often application level or dependent tasks. + +Package: libenet2-dbg +Section: debug +Priority: extra +Architecture: any +Depends: ${misc:Depends}, libenet2 (= ${binary:Version}) +Description: thin network communication layer on top of UDP - debug symbols + ENet's purpose is to provide a relatively thin, simple and robust network + communication layer on top of UDP (User Datagram Protocol). The primary + feature it provides is optional reliable, in-order delivery of packets. + . + ENet is NOT intended to be a general purpose high level networking library + that handles authentication, lobbying, server discovery, compression, + encryption and other high level, often application level or dependent tasks. + . + This package contains the debugging symbols for the library. + +Package: libenet-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: thin network communication layer on top of UDP - documentation + ENet's purpose is to provide a relatively thin, simple and robust network + communication layer on top of UDP (User Datagram Protocol). The primary + feature it provides is optional reliable, in-order delivery of packets. + . + ENet is NOT intended to be a general purpose high level networking library + that handles authentication, lobbying, server discovery, compression, + encryption and other high level, often application level or dependent tasks. + . + This package includes the documentation. + --- enet-1.2.orig/debian/enet.pc +++ enet-1.2/debian/enet.pc @@ -0,0 +1,9 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: enet +Description: an UDP networking library +Version: 1.2 +Libs: -L${libdir} -lenet --- enet-1.2.orig/debian/libenet-dev.install +++ enet-1.2/debian/libenet-dev.install @@ -0,0 +1,3 @@ +usr/include/enet +debian/enet.pc usr/lib/pkgconfig + --- enet-1.2.orig/debian/libenet-doc.docs +++ enet-1.2/debian/libenet-doc.docs @@ -0,0 +1,3 @@ +docs/html/ +design.txt +tutorial.txt --- enet-1.2.orig/debian/patches/kfreebsd.diff +++ enet-1.2/debian/patches/kfreebsd.diff @@ -0,0 +1,26 @@ +From: Gonéri Le Bouder +Subject: Fix FTBFS on GNU/kFreeBSD + +See http://bugs.debian.org/414348 +Index: enet-1.1/unix.c +=================================================================== +--- enet-1.1.orig/unix.c 2007-09-16 21:12:45.000000000 +0000 ++++ enet-1.1/unix.c 2007-09-16 21:13:52.000000000 +0000 +@@ -80,7 +80,7 @@ + char buffer [2048]; + int errnum; + +-#if defined(linux) || defined(__FreeBSD__) ++#if defined(linux) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + gethostbyname_r (name, & hostData, buffer, sizeof (buffer), & hostEntry, & errnum); + #else + hostEntry = gethostbyname_r (name, & hostData, buffer, sizeof (buffer), & errnum); +@@ -133,7 +133,7 @@ + + in.s_addr = address -> host; + +-#if defined(linux) || defined(__FreeBSD__) ++#if defined(linux) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + gethostbyaddr_r ((char *) & in, sizeof (struct in_addr), AF_INET, & hostData, buffer, sizeof (buffer), & hostEntry, & errnum); + #else + hostEntry = gethostbyaddr_r ((char *) & in, sizeof (struct in_addr), AF_INET, & hostData, buffer, sizeof (buffer), & errnum); --- enet-1.2.orig/debian/patches/series +++ enet-1.2/debian/patches/series @@ -0,0 +1 @@ +kfreebsd.diff