--- sipcalc-1.1.5.orig/debian/changelog +++ sipcalc-1.1.5/debian/changelog @@ -0,0 +1,58 @@ +sipcalc (1.1.5-1) unstable; urgency=low + + * new upstream version + * Imported Upstream version 1.1.5 + * new maintainer + * move to collab-maint, put URLs into debian/control + * debhelper 9 + * new version in changelog + * Standards-Version: 3.9.3 (no changes needed) + + -- Marc Haber Mon, 18 Jun 2012 08:54:33 +0200 + +sipcalc (1.1.4-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with flag -Werror=format-security. (Closes: #646502) + + -- Ana Beatriz Guerrero Lopez Sat, 03 Dec 2011 23:32:54 +0100 + +sipcalc (1.1.4-2) unstable; urgency=low + + * debian/control: + - Bumped Standards-Version to 3.7.3, no changes needed + - Added Homepage field + - Reformatted lists in long description (Closes: #480344) + * debian/doc-base: changed Section from Apps/Net to System/Administration + * debian/watch: changed version from 2 to 3 + * debian/copyright: reformatted and added license for packaging + + -- Adriaan Peeters Fri, 09 May 2008 16:21:48 +0200 + +sipcalc (1.1.4-1) unstable; urgency=low + + * New upstream relase: fixes compile warnings + * debian/control: + - Added Build-Depends: debhelper (>> 5.0.0), cdbs, autoconf + - Bumped Standards-Version to 3.7.2, no changes needed + - Added Depends: ${misc:Depends} + * debian/rules: switched to cdbs and added patch support + * Added debian/patches/configure.ac: removes libnsl dependency + * Bumped compatibility level to 5 + + -- Adriaan Peeters Fri, 10 Nov 2006 09:31:31 +0100 + +sipcalc (1.1.3-1) unstable; urgency=low + + * New upstream relase + * Upstream fixed documentation typo's (Closes: #325675) + * Bumped Standards-Version, no changes needed + + -- Adriaan Peeters Thu, 3 Nov 2005 13:53:07 +0100 + +sipcalc (1.1.2-1) unstable; urgency=low + + * Initial Debian Release (Closes: #225509) + + -- Adriaan Peeters Mon, 12 Jan 2004 14:55:22 +0100 + --- sipcalc-1.1.5.orig/debian/control +++ sipcalc-1.1.5/debian/control @@ -0,0 +1,33 @@ +Source: sipcalc +Section: net +Priority: optional +Maintainer: Marc Haber +Homepage: http://www.routemeister.net/projects/sipcalc/ +Build-Depends: debhelper (>= 9~), autoconf +Vcs-Git: git://git.debian.org/git/collab-maint/sipcalc.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/sipcalc.git;a=summary +Standards-Version: 3.9.3 + +Package: sipcalc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Advanced console-based ip subnet calculator + Sipcalc is an advanced console-based IP subnet calculator. It can take + multiple forms of input (IPv4/IPv6/interface/hostname) and output a + multitude of information about a given subnet. + . + Features include: + - IPv4 + * Retrieving of address information from interfaces. + * Classfull and CIDR output. + * Multiple address and netmask input and output formats (dotted + quad, hex, number of bits). + * Output of broadcast address, network class, Cisco wildcard, hosts/range, + network range. + * The ability to "split" a network based on a smaller netmask, now also with + recursive runs on the generated subnets. (also IPv6) + - IPv6 + * Compressed and expanded input and output addresses. + * Standard IPv6 network output. + * v4 in v6 output. + * Reverse DNS address generation. --- sipcalc-1.1.5.orig/debian/doc-base +++ sipcalc-1.1.5/debian/doc-base @@ -0,0 +1,9 @@ +Document: sipcalc +Title: Sipcalc Command Line Overview +Author: Simon Ekstrand +Abstract: This document describes the various command line + options of sipcalc in detail. +Section: System/Administration + +Format: text +Files: /usr/share/doc/sipcalc/sipcalc.txt.gz --- sipcalc-1.1.5.orig/debian/watch +++ sipcalc-1.1.5/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.routemeister.net/projects/sipcalc/files/sipcalc-([\d\.]*)\.tar\.gz --- sipcalc-1.1.5.orig/debian/compat +++ sipcalc-1.1.5/debian/compat @@ -0,0 +1 @@ +9 --- sipcalc-1.1.5.orig/debian/docs +++ sipcalc-1.1.5/debian/docs @@ -0,0 +1,4 @@ +NEWS +README +TODO +doc/sipcalc.txt --- sipcalc-1.1.5.orig/debian/copyright +++ sipcalc-1.1.5/debian/copyright @@ -0,0 +1,37 @@ +This package was debianized by Adriaan Peeters on +Tue, 30 Dec 2003 12:04:35 +0100. + +It was downloaded from http://www.routemeister.net/projects/sipcalc/ + +The upstream source code and the Debian packaging is licensed under the +following license. + +Upstream Author: Simon Ekstrand + +Copyright (c) 2003 Simon Ekstrand +All rights reserved. + +License: + +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. + --- sipcalc-1.1.5.orig/debian/rules +++ sipcalc-1.1.5/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --- sipcalc-1.1.5.orig/debian/patches/configure.ac.patch +++ sipcalc-1.1.5/debian/patches/configure.ac.patch @@ -0,0 +1,15 @@ +--- sipcalc-1.1.4.orig/configure.ac 2006-11-10 11:52:29.000000000 +0100 ++++ sipcalc-1.1.4/configure.ac 2006-11-10 14:27:23.000000000 +0100 +@@ -8,12 +8,6 @@ + AC_HEADER_STDC + AC_CHECK_HEADERS(sys/ioctl.h unistd.h sys/types.h sys/bitypes.h sys/sockio.h netdb.h ctype.h) + AC_PROG_GCC_TRADITIONAL +-dnl Solaris also needs libnsl for inet_ntoa and friends. +-AC_CHECK_LIB(nsl, inet_ntoa, +-[ +- AC_DEFINE(HAVE_LIBNSL, 1, libnsl) +- LIBS="$LIBS -lnsl" +-]) + AC_CHECK_FUNCS(socket strstr strtol strtoul gethostbyname gethostbyname2 inet_ntop getipnodebyaddr getaddrinfo) + + dnl - Include /usr/local/include if it exists. --- sipcalc-1.1.5.orig/debian/patches/fix_ftbfs.patch +++ sipcalc-1.1.5/debian/patches/fix_ftbfs.patch @@ -0,0 +1,11 @@ +--- a/src/sub-output.c ++++ b/src/sub-output.c +@@ -139,7 +139,7 @@ show_split_networks_v4 (struct if_info * + bzero ((char *) ifi_tmp.p_v4nmask, 16); + bzero ((char *) ifi_tmp.p_v6addr, 44); + snprintf (ifi_tmp.p_v4addr, 19, "%s", numtoquad (start)); +- snprintf (ifi_tmp.p_v4nmask, 16, numtoquad (splitmask)); ++ snprintf (ifi_tmp.p_v4nmask, 16, "%s", numtoquad (splitmask)); + } + start += diff; + if (end == 0xffffffff || end >= ifi->v4ad.n_broadcast)