--- ssmping-0.9.1.orig/debian/dirs +++ ssmping-0.9.1/debian/dirs @@ -0,0 +1 @@ +usr/bin --- ssmping-0.9.1.orig/debian/copyright +++ ssmping-0.9.1/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by Anand Kumria on +Mon, 31 Oct 2005 03:29:31 +1100. + +It was downloaded from http://www.venaas.no/multicast/ssmping/ + +Copyright (C) 2005-2008 Stig Venaas + +License: + + 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. + --- ssmping-0.9.1.orig/debian/compat +++ ssmping-0.9.1/debian/compat @@ -0,0 +1 @@ +5 --- ssmping-0.9.1.orig/debian/control +++ ssmping-0.9.1/debian/control @@ -0,0 +1,18 @@ +Source: ssmping +Section: net +Priority: extra +Maintainer: Javier Fernandez-Sanguino Pen~a +Build-Depends: debhelper (>= 5), quilt (>= 0.40) +Standards-Version: 3.8.0 +Homepage: http://www.venaas.no/multicast/ssmping/ + +Package: ssmping +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: check your multicast connectivity + Tools to check whether you can receive Source Specific Multicast (SSM) + or Any Source Multicast (ASM) via either IPv4 or IPv6 + . + If a host runs ssmpingd, users on other hosts can use the ssmping client + to test whether they can receive SSM from the host. Another program + called asmping is also provided to check whether can receive ASM. --- ssmping-0.9.1.orig/debian/changelog +++ ssmping-0.9.1/debian/changelog @@ -0,0 +1,72 @@ +ssmping (0.9.1-3build1) precise; urgency=low + + * No-change rebuild to drop spurious libsfgcc1 dependency on armhf. + + -- Adam Conrad Fri, 02 Dec 2011 21:24:07 -0700 + +ssmping (0.9.1-3) unstable; urgency=low + + * Fix FTBFS with new glibcs and type mismatch warning in x86_64 systems: + - Use socklen_t as type of variable whose address is passed as arg 3 of + getsockname , not size_t. + - (_GNU_SOURCE): Define, so the use of pktinfo->ipi6_ifindex works with + recent glibc-based header files. + Thanks to Jim Meyering for the patch. + (Closes: 554233) + + -- Javier Fernandez-Sanguino Pen~a Fri, 19 Feb 2010 01:08:04 +0100 + +ssmping (0.9.1-2) unstable; urgency=low + + * Change debian/rules 'build' target to use the CFLAGS defined in + debian/rules + * Close a FTBFS bug by defining -D_GNU_SOURCE in CFLAGS in debian/rules. + This is needed in order to include the proper definition of + in6_pktinfo. This seems to be a bug in libc6-dev (2.9-4) since we + previously (libc6-dev 2.7-18) did not need this to get that definition from + /usr/include/netinet/in.h (Closes: #518868) + + -- Javier Fernandez-Sanguino Pen~a Sun, 15 Mar 2009 02:17:59 +0100 + +ssmping (0.9.1-1) unstable; urgency=low + + * New upstream release (Closes: #376125) + - Fix in mcfist that made it consume 100% CPU + * Take over this package, no maintainer response for the above bug for over + two years. + * debian/control changes + - Move Homepage: to header + - Update Standards version, no changes needed + * Move the package over to quilt, previous maintainer used it, but in his + git repostory. All upstream patches are now in debian/patches/series and + the package Build-Depends: on quilt + * Use debhelper compatibility version 5, and adjust debian/control + * Remove unnecesary configure and binary-indep targets in the debian/rules + file + * Lintian fixes: + - Remove usr/sbin from debian/dirs as it is not used, + - Add a proper copyright notice in debian/changelog + - Link ssmpingd.1 to ssmping.1 since the manpage covers both tools + - Do not ignore errors when cleaning in debian/rules, do it in the + specific upstream command instead + + -- Javier Fernandez-Sanguino Pen~a Fri, 12 Sep 2008 16:52:43 +0200 + +ssmping (0.9-1) unstable; urgency=low + + * New upstream release (Closes: #376125) + + -- Javier Fernandez-Sanguino Pen~a Wed, 22 Aug 2007 20:45:52 +0200 + +ssmping (0.8.1-1) unstable; urgency=low + + * New upstream release + + -- Anand Kumria Wed, 28 Dec 2005 17:32:13 +1100 + +ssmping (0.8-1) unstable; urgency=low + + * Initial release + + -- Anand Kumria Mon, 31 Oct 2005 03:29:31 +1100 + --- ssmping-0.9.1.orig/debian/rules +++ ssmping-0.9.1/debian/rules @@ -0,0 +1,105 @@ +#!/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. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +# We are using Quilt: +include /usr/share/quilt/quilt.make + +# 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 -D_GNU_SOURCE + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + + +#Architecture-only +build: build-arch +build-arch: build-arch-stamp +build-arch-stamp: $(QUILT_STAMPFN) + dh_testdir + CFLAGS="$(CFLAGS)" $(MAKE) + touch build-arch-stamp + +clean: unpatch + dh_testdir + dh_testroot + dh_clean build-arch-stamp + $(MAKE) clean + + dh_clean + +install: install-indep install-arch +install-indep: + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + dh_install -i + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + + # Add here commands to install the arch part of the package into + # debian/tmp. + $(MAKE) install DESTDIR=$(CURDIR)/debian/ssmping PREFIX=/usr + + dh_install -s +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb +# Build architecture independant packages using the common target. +#binary-indep: build-indep install-indep +# $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +#binary: binary-arch binary-indep +binary: binary-arch +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure --- ssmping-0.9.1.orig/debian/docs +++ ssmping-0.9.1/debian/docs @@ -0,0 +1 @@ +README --- ssmping-0.9.1.orig/debian/patches/02-link-manpages.diff +++ ssmping-0.9.1/debian/patches/02-link-manpages.diff @@ -0,0 +1,10 @@ +--- a/Makefile ++++ b/Makefile +@@ -15,6 +15,7 @@ + install -D ssmpingd $(DESTDIR)$(PREFIX)/bin/ssmpingd + install -D mcfirst $(DESTDIR)$(PREFIX)/bin/mcfirst + install -D ssmping.1 $(DESTDIR)$(PREFIX)/share/man/man1/ssmping.1 ++ cd $(DESTDIR)$(PREFIX)/share/man/man1/ && ln -s ssmping.1 ssmpingd.1 + install -D asmping.1 $(DESTDIR)$(PREFIX)/share/man/man1/asmping.1 + install -D mcfirst.1 $(DESTDIR)$(PREFIX)/share/man/man1/mcfirst.1 + --- ssmping-0.9.1.orig/debian/patches/series +++ ssmping-0.9.1/debian/patches/series @@ -0,0 +1,4 @@ +01-install-manpages-in-FHS-place.diff +02-link-manpages.diff +03-omit-rm-errors.diff +04-fix-ftbfs.diff --- ssmping-0.9.1.orig/debian/patches/04-fix-ftbfs.diff +++ ssmping-0.9.1/debian/patches/04-fix-ftbfs.diff @@ -0,0 +1,20 @@ +--- ssmping-0.9.1.orig/ssmping.c 2008-02-18 14:41:50.000000000 +0100 ++++ ssmping-0.9.1/ssmping.c 2010-02-19 01:07:59.000000000 +0100 +@@ -11,6 +11,8 @@ + * copyright notice and this permission notice appear in all copies. + */ + ++#define _GNU_SOURCE 1 ++ + #include "ssmping.h" + + extern int optind; +@@ -22,7 +24,7 @@ + uint16_t size; + uint32_t intface; + struct sockaddr_storage name, ucaddr, mcaddr, grpaddr; +- size_t namelen; ++ socklen_t namelen; + #ifdef WIN32 + WORD wVersionRequested; + WSADATA wsaData; --- ssmping-0.9.1.orig/debian/patches/01-install-manpages-in-FHS-place.diff +++ ssmping-0.9.1/debian/patches/01-install-manpages-in-FHS-place.diff @@ -0,0 +1,15 @@ +--- a/Makefile ++++ b/Makefile +@@ -14,9 +14,9 @@ + install -D asmping $(DESTDIR)$(PREFIX)/bin/asmping + install -D ssmpingd $(DESTDIR)$(PREFIX)/bin/ssmpingd + install -D mcfirst $(DESTDIR)$(PREFIX)/bin/mcfirst +- install -D ssmping.1 $(DESTDIR)$(PREFIX)/man/man1/ssmping.1 +- install -D asmping.1 $(DESTDIR)$(PREFIX)/man/man1/asmping.1 +- install -D mcfirst.1 $(DESTDIR)$(PREFIX)/man/man1/mcfirst.1 ++ install -D ssmping.1 $(DESTDIR)$(PREFIX)/share/man/man1/ssmping.1 ++ install -D asmping.1 $(DESTDIR)$(PREFIX)/share/man/man1/asmping.1 ++ install -D mcfirst.1 $(DESTDIR)$(PREFIX)/share/man/man1/mcfirst.1 + + clean: + rm -f $(OBJ) joinch.o joingrp.o ssmping asmping ssmpingd mcfirst --- ssmping-0.9.1.orig/debian/patches/03-omit-rm-errors.diff +++ ssmping-0.9.1/debian/patches/03-omit-rm-errors.diff @@ -0,0 +1,8 @@ +--- a/Makefile ++++ b/Makefile +@@ -20,4 +20,4 @@ + install -D mcfirst.1 $(DESTDIR)$(PREFIX)/share/man/man1/mcfirst.1 + + clean: +- rm -f $(OBJ) joinch.o joingrp.o ssmping asmping ssmpingd mcfirst ++ -rm -f $(OBJ) joinch.o joingrp.o ssmping asmping ssmpingd mcfirst