--- lwipv6-1.5a.orig/debian/README.source +++ lwipv6-1.5a/debian/README.source @@ -0,0 +1,8 @@ +This package uses quilt to manage the Debian-specific patches to the lwipv6 +source code. See + + /usr/share/doc/quilt/README.source + +to get more information about how it works. + + -- Ludovico Gardenghi Thu, 19 Jan 2012 23:54:52 +0100 --- lwipv6-1.5a.orig/debian/changelog +++ lwipv6-1.5a/debian/changelog @@ -0,0 +1,84 @@ +lwipv6 (1.5a-2ubuntu1) trusty; urgency=medium + + * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by + getting new libtool macros (still updates config.{sub,guess}). + + -- Logan Rosen Wed, 12 Feb 2014 13:41:00 -0500 + +lwipv6 (1.5a-2) unstable; urgency=low + + * Add patch use_arpa_inet_h_for_network_byte_order.patch: don't play with + #define and htonl et al. for trying to optimise, leave arpa/inet.h do the + job. Fix FTBFS on big endian architectures. + + -- Ludovico Gardenghi Fri, 20 Jan 2012 12:18:37 +0100 + +lwipv6 (1.5a-1) unstable; urgency=low + + * New upstream release + - Check for result of vde_open (Closes: #536373) + * Add DM-Upload-Allowed field + * Bump Standards-Version to 3.9.2: nothing to do (.la files removed in NMU) + * Replace libvdeplug2-dev with libvdeplug-dev in Build-Depends. + libvdeplug2-dev has been dropped after vde2-2.2.3-3 and is not compatible + with this version of lwipv6. + * Remove useless Conflicts/Replaces with (obsolete) liblwipv6-1 + * Update Ludovico Gardenghi's address to garden@debian.org + * Start using quilt + - Add README.source + * Add patch check_and_use_libdl.patch: add missing -ldl to link phase + (Closes: #558934) + * Add patch fix_soname_version_info.patch: use -version-info instead of + -version-number and bump -version-info to 3:0:1 (upstream forgot to do so) + * Remove useless *.dirs files + * Add ${misc:Depends} to liblwipv6-dev deps + + -- Ludovico Gardenghi Fri, 20 Jan 2012 00:58:14 +0100 + +lwipv6 (1.2a-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Don't ship .la files (Closes: #622449). + + -- Luk Claes Sat, 25 Jun 2011 17:30:40 +0200 + +lwipv6 (1.2a-1) unstable; urgency=low + + * New upstream release + + Fixed type errors on amd64 (Closes: #490827) + + -- Ludovico Gardenghi Mon, 21 Jul 2008 17:24:48 +0200 + +lwipv6 (1.2-2) unstable; urgency=low + + * Add conflicts/replaces onto liblwipv6-1-dev and liblwipv6-1 + (Closes: #486710) + * Add Homepage + * Suggest vde2 only + + -- Filippo Giunchedi Tue, 17 Jun 2008 15:59:56 +0200 + +lwipv6 (1.2-1) unstable; urgency=low + + * New upstream version + + soname bumped to 2 + + remove soname from -dev + * Switch to cdbs + * Update standard-versions to 3.8.0 (changed Source-Version) + + -- Filippo Giunchedi Wed, 11 Jun 2008 21:22:44 +0200 + +lwipv6 (1.1a-1) unstable; urgency=low + + * New upstream release, build-depend on libvdeplug2-dev + * Fix for OPEN_MAX usage (Closes: #454876) + * Fix debian/watch file + + -- Filippo Giunchedi Wed, 06 Feb 2008 23:47:43 +0100 + +lwipv6 (1.1-1) unstable; urgency=low + + * Initial release + + -- Guido Trotter Thu, 7 Dec 2006 11:22:03 +0200 + --- lwipv6-1.5a.orig/debian/compat +++ lwipv6-1.5a/debian/compat @@ -0,0 +1 @@ +5 --- lwipv6-1.5a.orig/debian/control +++ lwipv6-1.5a/debian/control @@ -0,0 +1,66 @@ +Source: lwipv6 +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian VSquare Team +Uploaders: Ludovico Gardenghi , Guido Trotter , Filippo Giunchedi +DM-Upload-Allowed: yes +Build-Depends: debhelper (>= 5), dh-autoreconf, libpcap0.8-dev, libvdeplug-dev, cdbs, quilt +Standards-Version: 3.9.2 +Vcs-Svn: svn://svn.debian.org/pkg-vsquare/lwipv6/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-vsquare/lwipv6/trunk/ +Homepage: http://wiki.virtualsquare.org/index.php/LWIPV6 +Section: libs + +Package: liblwipv6-dev +Section: libdevel +Architecture: any +Depends: liblwipv6-2 (= ${binary:Version}), ${misc:Depends} +Conflicts: liblwipv6-1-dev +Replaces: liblwipv6-1-dev +Description: Development files for the LWIPv6 library + LWIPv6 is a user level TCP/IP stack with the following features: + . + Physical layer: ARP support, TUN/TAP/VDE drivers support. + . + Network layer: IP forwarding, fragmentation, NAT, IPv6 Stateless Address + Autoconfiguration, Router Advertising support. + . + Transport layer: TCP: congestion control, RTT estimation, fast recovery, fast + retransmit; UDP. + . + Berkeley Socket API: Protocol families PF_INET, PF_INET6, PF_PACKET, partial + PF_NETLINK support; Socket types SOCK_STREAM, SOCK_DGRAM, SOCK_RAW support. + . + LWIPv6 is used, for instance, by a UMView module to support user level + networking and configuration, usually together with VDE. + . + LWIPv6, along with UMView, is part of the View-OS project: + http://wiki.virtualsquare.org + . + This package contains the files needed to compile applications that link + LWIPv6. + +Package: liblwipv6-2 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: vde2 +Description: User level (lightweight) TCP/IP stack with IPv6 support + LWIPv6 is a user level TCP/IP stack with the following features: + . + Physical layer: ARP support, TUN/TAP/VDE drivers support. + . + Network layer: IP forwarding, fragmentation, NAT, IPv6 Stateless Address + Autoconfiguration, Router Advertising support. + . + Transport layer: TCP: congestion control, RTT estimation, fast recovery, fast + retransmit; UDP. + . + Berkeley Socket API: Protocol families PF_INET, PF_INET6, PF_PACKET, partial + PF_NETLINK support; Socket types SOCK_STREAM, SOCK_DGRAM, SOCK_RAW support. + . + LWIPv6 is used, for instance, by a UMView module to support user level + networking and configuration, usually together with VDE. + . + LWIPv6, along with UMView, is part of the View-OS project: + http://wiki.virtualsquare.org --- lwipv6-1.5a.orig/debian/copyright +++ lwipv6-1.5a/debian/copyright @@ -0,0 +1,82 @@ +This package was debianized by Ludovico Gardenghi on +Mon, 23 Oct 2006 18:10:36 +0200. + +It was downloaded from http://www.sourceforge.net/projects/view-os/ + +Upstream Author: Renzo Davoli and others + +Copyright: 2001, 2002 Swedish Institute of Computer Science + 2004-2008 Renzo Davoli, Diego Billi, Ludovico Gardenghi + + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + + + + LWIPV6 has been released under the GPL. + + Code taken from LwIP has been used inside Ale4NET. + The original licence provided by lwip team is compatible with + the GPL thus it was possible to include their code. + + For the sake of completeness and correctness you can find here the original + license. + + When code has been included all the original headers in the source files + have been kept (just after the header for the new license). + + LwIP: + ---------------------------- + /* + * Copyright (c) 2001, 2002 Swedish Institute of Computer Science. + * All rights reserved. + * + * 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. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. + * + * This file is part of the lwIP TCP/IP stack. + * + * Author: Adam Dunkels + * + */ + + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2006, Ludovico Gardenghi and +is licensed under the GPL, see above. --- lwipv6-1.5a.orig/debian/docs +++ lwipv6-1.5a/debian/docs @@ -0,0 +1,2 @@ +README +LWIPv6_Programming_Guide --- lwipv6-1.5a.orig/debian/liblwipv6-2.install +++ lwipv6-1.5a/debian/liblwipv6-2.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* --- lwipv6-1.5a.orig/debian/liblwipv6-dev.install +++ lwipv6-1.5a/debian/liblwipv6-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/include/* +debian/tmp/usr/lib/lib*.a +debian/tmp/usr/lib/lib*.so --- lwipv6-1.5a.orig/debian/patches/check_and_use_libdl.patch +++ lwipv6-1.5a/debian/patches/check_and_use_libdl.patch @@ -0,0 +1,58 @@ +Index: lwipv6-1.5a/configure +=================================================================== +--- lwipv6-1.5a.orig/configure 2012-01-19 22:11:41.000000000 +0100 ++++ lwipv6-1.5a/configure 2012-01-19 22:12:13.000000000 +0100 +@@ -11588,6 +11588,53 @@ + as_fn_error $? "libpthread missing" "$LINENO" 5 + fi + ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 ++$as_echo_n "checking for dlopen in -ldl... " >&6; } ++if ${ac_cv_lib_dl_dlopen+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char dlopen (); ++int ++main () ++{ ++return dlopen (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dl_dlopen=yes ++else ++ ac_cv_lib_dl_dlopen=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 ++$as_echo "$ac_cv_lib_dl_dlopen" >&6; } ++if test "x$ac_cv_lib_dl_dlopen" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBPTHREAD 1 ++_ACEOF ++ ++ LIBS="-ldl $LIBS" ++ ++else ++ as_fn_error $? "libdl missing" "$LINENO" 5 ++fi ++ + + # Checks for header files. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 --- lwipv6-1.5a.orig/debian/patches/fix_soname_version_info.patch +++ lwipv6-1.5a/debian/patches/fix_soname_version_info.patch @@ -0,0 +1,26 @@ +Index: lwipv6-1.5a/lwip-contrib/ports/unix/proj/lib/Makefile.am +=================================================================== +--- lwipv6-1.5a.orig/lwip-contrib/ports/unix/proj/lib/Makefile.am 2012-01-20 00:55:08.000000000 +0100 ++++ lwipv6-1.5a/lwip-contrib/ports/unix/proj/lib/Makefile.am 2012-01-20 00:59:55.000000000 +0100 +@@ -241,7 +241,7 @@ + # project. It's here only for debug. + + liblwipv6_la_SOURCES = $(LWIPFILES) $(LWIPHEADERS) sharedlib.c unixlib.c +-liblwipv6_la_LDFLAGS = -version-number 2:0:0 -Xcompiler -nostartfiles ++liblwipv6_la_LDFLAGS = -version-info 3:0:1 -Xcompiler -nostartfiles + # liblwip_la_LIBADD = sharedlib.lo unixlib.lo + + include_HEADERS = $(LWIPARCH)/include/lwipv6.h +Index: lwipv6-1.5a/lwip-contrib/ports/unix/proj/lib/Makefile.in +=================================================================== +--- lwipv6-1.5a.orig/lwip-contrib/ports/unix/proj/lib/Makefile.in 2012-01-20 01:00:17.000000000 +0100 ++++ lwipv6-1.5a/lwip-contrib/ports/unix/proj/lib/Makefile.in 2012-01-20 01:00:27.000000000 +0100 +@@ -447,7 +447,7 @@ + # NB: unixlib.o should not be included, it's used only by ViewOS + # project. It's here only for debug. + liblwipv6_la_SOURCES = $(LWIPFILES) $(LWIPHEADERS) sharedlib.c unixlib.c +-liblwipv6_la_LDFLAGS = -version-number 2:0:0 -Xcompiler -nostartfiles ++liblwipv6_la_LDFLAGS = -version-info 3:0:1 -Xcompiler -nostartfiles + # liblwip_la_LIBADD = sharedlib.lo unixlib.lo + include_HEADERS = $(LWIPARCH)/include/lwipv6.h + all: all-am --- lwipv6-1.5a.orig/debian/patches/series +++ lwipv6-1.5a/debian/patches/series @@ -0,0 +1,3 @@ +check_and_use_libdl.patch +fix_soname_version_info.patch +use_arpa_inet_h_for_network_byte_order.patch --- lwipv6-1.5a.orig/debian/patches/use_arpa_inet_h_for_network_byte_order.patch +++ lwipv6-1.5a/debian/patches/use_arpa_inet_h_for_network_byte_order.patch @@ -0,0 +1,35 @@ +Index: lwipv6-1.5a/lwip-v6/src/include/ipv6/lwip/inet.h +=================================================================== +--- lwipv6-1.5a.orig/lwip-v6/src/include/ipv6/lwip/inet.h 2012-01-20 12:18:01.034349951 +0100 ++++ lwipv6-1.5a/lwip-v6/src/include/ipv6/lwip/inet.h 2012-01-20 12:18:20.327683691 +0100 +@@ -52,6 +52,8 @@ + #ifndef __LWIP_INET_H__ + #define __LWIP_INET_H__ + ++#include ++ + #include "lwip/arch.h" + + #include "lwip/opt.h" +@@ -80,21 +82,6 @@ + + /*--------------------------------------------------------------------*/ + +-#ifndef htons +- +-#if BYTE_ORDER == BIG_ENDIAN +-#define htons(x) (x) +-#define ntohs(x) (x) +-#define htonl(x) (x) +-#define ntohl(x) (x) +-#else +-u16_t htons(u16_t x); +-u16_t ntohs(u16_t x); +-u32_t htonl(u32_t x); +-u32_t ntohl(u32_t x); +-#endif /* BYTE_ORDER == LITTLE_ENDIAN */ +- +-#endif + #endif /* __LWIP_INET_H__ */ + + --- lwipv6-1.5a.orig/debian/rules +++ lwipv6-1.5a/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/buildcore.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/autoreconf.mk --- lwipv6-1.5a.orig/debian/watch +++ lwipv6-1.5a/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/view-os/lwipv6-(.*)\.tar\.gz