salsa.debian.org/debian / smcroute

Imported Upstream version 2.0.0

Micha Lenk · 12 years ago 🏷 upstream/2.0.0commit e3a6d05 · parent 37e4dc4 · child e689063 · patch
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..ae16f93
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,22 @@
+# Travis CI integration
+language: c
+compiler:
+  - gcc
+
+env:
+  global:
+   # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
+   #   via the "travis encrypt" command using the project repo's public key
+   - secure: "BOySKarfB7ySP4SQ9vpeLz/Yrle3cxGYe+f5ep6OVk42M2bmonX27FdgVF5oKpII6Sq5hXrhoNrwRpkYRj+G5OUy4lguOALJ1AAtRpvlrfXCCL5Vxe9TDBNpmU/AfOcZoiGiR5Vpv96CIIoqvnB6XQJMMfTa2JHvU7tZCS2p9lU="
+
+addons:
+  coverity_scan:
+    project:
+      name: "troglobit/smcroute"
+      description: "SMCRoute -- Static Multicast Routing Daemon"
+    notification_email: troglobit@gmail.com
+    build_command_prepend: "./configure"
+    build_command:   "make"
+    branch_pattern: master
+
+script: ./configure && make
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 207f396..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,122 +0,0 @@
-smcroute 1.99.1 -> 1.99.2
- * Fix issue #2: Loop forever bug when deleting new (*,G) sourceless routes
-   Bug report and patch by Jean-Baptiste Maillet
-
-smcroute 1.99.0 -> 1.99.1
- * Fix possible memory leak on Linux
- * Fix missing #ifdefs when building on systems w/o IPv6
- * Fix possible race in Makefile when building in (massive) parallel
- * Fix build problems on RedHat EL5/CentOS5, i.e., Linux <= 2.6.25
-
-smcroute 1.98.3 -> 1.99.0
- * Bugfix: SMCRoute segfault when starting on interface that is up but has
-	no valid IPv4 address yet. Bug introduced in 1.98.3
- * Feature: Experimental source-less (*,G) IPv4 mutlicast routing. Most
-	UNIX kernels are (S,G) based, i.e., you need to supply the source
-	address with the multicast group to setup a kernel routing rule.
-	However, daemons like mrouted and pimd emulate (*,G) by listening
-	for IGMPMSG_NOCACHE messages from the kernel. SMCRoute now also
-	implements this, for IPv4 only atm, by placing all (*,G) routes in
-	a list and adding matching (S,G) routes on-demand at runtime. All
-	routes matching this (*,G) are removed when reloading the conf
-	file on SIGHUP or when the user sends an IPC (-r) command to remove
-	the (*,G) rule.
- * Feature: Actually check if running as root at startup.
- * Cleanup: Also, slightly improved error messages including some minor
-	cleanup and readability improvements.
-
-smcroute 1.98.1 -> 1.98.3
- * Cleanup IPv6 #ifdefs and replace IN6_MULTICAST() with IN6_IS_ADDR_MULTICAST()
-   This commit cleans up a lot of the IPv6 related #ifdefs, some minor
-   function name refactoring and squash of some _init and _enable funcs
-   into one for clarity and clearer error messages to the user.
- * Check for existence of asprintf() to pidfile() and add -D_GNU_SOURCE to CPPFLAGS
-   using AC_GNU_SOURCE in configure.ac
- * Fixes FTBFS when host lacks IPv6 support.
-
-smcroute 1.98.0 -> 1.98.1
- * Bugfix: Client failed to send commands to daemon.
- * Bugfix: Several FTBFS fixed for GCC 4.6.x and -W -Wall
-
-smcroute 0.95 -> 1.98.0
- * SMCRoute2 Announced!
- * Feature: Support for smcroute.conf file for daemon
-   Add support for reading mroutes and mgroups from a configuration file.
-	mgroup from IFNAME group MCGROUP
-	mroute from IFNAME source ADDRESS group MCGROUP to IFNAME [IFNAME ...]
-   Both IPv4 and IPv6 address formats are supported.
- * Feature: Support for signals, reload conf file on SIGHUP
- * Refactor: Insecure handling of pointers potentially outside array boundaries.
- * Bugfix: Invalid use of varargs in call to snprintf(), use vsnprintf() instead.
- * Feature: Add -n switch to support running smcroute in foreground.
- * Refactor: Major cleanup, reindent to Linux C-style, for improved maintainability.
- * Bugfix: Invalid MRouterFD6 fd crashes smcroute, always check for valid fd.
- * Bugfix: Several minor bugfixes; type mismatches and unused return values.
-
-smcroute 0.94.1 -> 0.95
- * Feature request #313278: Added support for FreeBSD
-   SMCRoute now builds and runs on FreeBSD kernels.  This was successfully
-   tested with the FreeBSD port of Debian using FreeBSD 8.1.  Other BSD
-   flavours or versions might work too.  Any feedback is appreciated.
-   https://alioth.debian.org/tracker/index.php?func=detail&aid=313278
- * Feature request #313190: Debug logging is now disabled by default. If you
-   want to enable debug logging again, start the daemon with parameter '-D'.
-   https://alioth.debian.org/tracker/index.php?func=detail&aid=313190
-
-smcroute 0.94 -> 0.94.1
- * Bugfix: In case the kernel refuses write access to the file
-   /proc/sys/net/ipv6/conf/all/mc_forwarding, don't let smcroute exit
-   with an error, but proceed with normal operation without writing a
-   "1" to this file.  Apparently newer Linux kernels take care for the
-   correct content of this file automatically whenever the IPv6
-   multicast routing API is initialized by a process.
-
-smcroute 0.93 -> 0.94
- * Added support for IPv6 multicast routing in smcroute. SMCRoute now
-	supports addition and removal of IPv6 multicast routes. It will
-	automatically detect which type of route to add or delete based
-	on the type (IPv4/IPv6) of addresses provided for the add and
-	remove commands.
- * Added support for joins and leaves ('j'/'l') to IPv6 multicast groups.
- * Added support for sending to IPv6 multicast addresses to mcsender tool.
- * Added command line option to mcsender tool to allow user to specify the
-	outgoing interface for datagrams sent.
- * Added autoconf support for smcroute build.
-
-smcroute 0.92 -> 0.93
- * fixed the "smcroute looses output interfaces" bug (Carsten Schill, 0.93
-    unreleased).
-
-smcroute 0.90 -> 0.92
-  * fixed the 'mroute: pending queue full, dropping entries' error
-    Smcroute 0.90 didn't care about the IGMP messages delivered to the
-    UDP socket that establish the MC-Router API. After some time the
-    queue for the sockets filled up and the 'pending queue full' message
-    was send from the kernel. To my knowledge this didn't affect smcroute
-    or the operating system.
-    - version 0.92 reads the ICMP messages now from the UDP socket and
-      logs them to syslog with daemon/debug
-    - smcroute does no further processing of this messages
-  * increased the number of supported interfaces
-    The 16 interface limit of version 0.90 (interfaces as listed with
-    ifconfig) was to small, especially when alias interfaces where
-    defined.
-    - up to 40 interfaces are no recognized by smcroute
-    - this does not change the number of 'virtual interfaces' supported
-      by the kernel (32)
-    - not all interfaces recognized by smcroute (40) results in a
-      'virtual interface' of the kernel (32)
-
-smcroute 0.80 -> 0.90
-  * added MC group join (-j) and leave (-l) functionality
-    - the options enable/disable the sending of IGMP join messages for
-      a multicast group on a specific interface
-  * removed the '<OutputIntf> [<OutputIntf>] ...' for the '-r' option
-    - they are not used by the kernel to identify the route to remove
-    - smcroute will not complain about extra arguments for the '-r' option
-      to stay compatible with releases <= 0.80
-  * improved error handling for some typical error situations
-  * added a test script (tst-smcroute.pl)
-  * added a man page
-  * fixed some minor bugs
-
diff --git a/ChangeLog b/ChangeLog
new file mode 120000
index 0000000..89f4590
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1 @@
+ChangeLog.md
\ No newline at end of file
diff --git a/ChangeLog.md b/ChangeLog.md
new file mode 100644
index 0000000..90bcc72
--- /dev/null
+++ b/ChangeLog.md
@@ -0,0 +1,146 @@
+ChangeLog
+=========
+
+smcroute 1.99.2 -> 2.0.0
+------------------------
+ * Multiple fixes of nasty bugs thanks to Coverity static code analysis!
+ * Cleanup of Linux system anachronisms to make FreeBSD work again,
+   GitHub issue #5
+ * Migrate to full GNU Configure and Build system, add Makefile.am,
+   GitHub issue #6 -- heads up, packagers!
+ * Add standard SysV init script, from Debian. GitHub issue #9
+
+smcroute 1.99.1 -> 1.99.2
+-------------------------
+* Fix issue #2: Loop forever bug when deleting new (*,G) sourceless routes
+  Bug report and patch by Jean-Baptiste Maillet
+
+smcroute 1.99.0 -> 1.99.1
+-------------------------
+* Fix possible memory leak on Linux
+* Fix missing #ifdefs when building on systems w/o IPv6
+* Fix possible race in Makefile when building in (massive) parallel
+* Fix build problems on RedHat EL5/CentOS5, i.e., Linux <= 2.6.25
+
+smcroute 1.98.3 -> 1.99.0
+-------------------------
+* Bugfix: SMCRoute segfault when starting on interface that is up but
+  has no valid IPv4 address yet. Bug introduced in 1.98.3
+* Feature: Experimental source-less `(*,G)` IPv4 multicast routing.
+  Most UNIX kernels are (S,G) based, i.e., you need to supply the
+  source address with the multicast group to setup a kernel routing
+  rule.  However, daemons like mrouted and pimd emulate `(*,G)` by
+  listening for IGMPMSG_NOCACHE messages from the kernel. SMCRoute now
+  also implements this, for IPv4 only atm, by placing all `(*,G)`
+  routes in a list and adding matching (S,G) routes on-demand at
+  runtime. All routes matching this (*,G) are removed when reloading
+  the conf file on SIGHUP or when the user sends an IPC (-r) command to
+  remove the (*,G) rule.
+* Feature: Actually check if running as root at startup.
+* Cleanup: Also, slightly improved error messages including some minor
+  cleanup and readability improvements.
+
+smcroute 1.98.1 -> 1.98.3
+-------------------------
+* Cleanup IPv6 #ifdefs and replace IN6_MULTICAST() with IN6_IS_ADDR_MULTICAST()
+  This commit cleans up a lot of the IPv6 related #ifdefs, some minor
+  function name refactoring and squash of some _init and _enable funcs
+  into one for clarity and clearer error messages to the user.
+* Check for existence of asprintf() to pidfile() and add -D_GNU_SOURCE to CPPFLAGS
+  using AC_GNU_SOURCE in configure.ac
+* Fixes FTBFS when host lacks IPv6 support.
+
+smcroute 1.98.0 -> 1.98.1
+-------------------------
+* Bugfix: Client failed to send commands to daemon.
+* Bugfix: Several FTBFS fixed for GCC 4.6.x and -W -Wall
+
+smcroute 0.95 -> 1.98.0
+-----------------------
+* SMCRoute2 Announced!
+* Feature: Support for smcroute.conf file for daemon
+  Add support for reading mroutes and mgroups from a configuration file.
+   mgroup from IFNAME group MCGROUP
+   mroute from IFNAME source ADDRESS group MCGROUP to IFNAME [IFNAME ...]
+  Both IPv4 and IPv6 address formats are supported.
+* Feature: Support for signals, reload conf file on SIGHUP
+* Refactor: Insecure handling of pointers potentially outside array boundaries.
+* Bugfix: Invalid use of varargs in call to snprintf(), use vsnprintf() instead.
+* Feature: Add -n switch to support running smcroute in foreground.
+* Refactor: Major cleanup, reindent to Linux C-style, for improved maintainability.
+* Bugfix: Invalid MRouterFD6 fd crashes smcroute, always check for valid fd.
+* Bugfix: Several minor bugfixes; type mismatches and unused return values.
+
+smcroute 0.94.1 -> 0.95
+-----------------------
+* Feature request #313278: Added support for FreeBSD
+  SMCRoute now builds and runs on FreeBSD kernels.  This was successfully
+  tested with the FreeBSD port of Debian using FreeBSD 8.1.  Other BSD
+  flavours or versions might work too.  Any feedback is appreciated.
+  https://alioth.debian.org/tracker/index.php?func=detail&aid=313278
+* Feature request #313190: Debug logging is now disabled by default. If you
+  want to enable debug logging again, start the daemon with parameter '-D'.
+  https://alioth.debian.org/tracker/index.php?func=detail&aid=313190
+
+smcroute 0.94 -> 0.94.1
+-----------------------
+* Bugfix: In case the kernel refuses write access to the file
+  /proc/sys/net/ipv6/conf/all/mc_forwarding, don't let smcroute exit
+  with an error, but proceed with normal operation without writing a
+  "1" to this file.  Apparently newer Linux kernels take care for the
+  correct content of this file automatically whenever the IPv6
+  multicast routing API is initialized by a process.
+
+smcroute 0.93 -> 0.94
+---------------------
+* Added support for IPv6 multicast routing in smcroute. SMCRoute now
+   supports addition and removal of IPv6 multicast routes. It will
+   automatically detect which type of route to add or delete based
+   on the type (IPv4/IPv6) of addresses provided for the add and
+   remove commands.
+* Added support for joins and leaves ('j'/'l') to IPv6 multicast groups.
+* Added support for sending to IPv6 multicast addresses to mcsender tool.
+* Added command line option to mcsender tool to allow user to specify the
+   outgoing interface for datagrams sent.
+* Added autoconf support for smcroute build.
+
+smcroute 0.92 -> 0.93
+---------------------
+* Fixed the "smcroute looses output interfaces" bug
+  Carsten Schill, 0.93 unreleased
+
+smcroute 0.90 -> 0.92
+---------------------
+* Fixed the 'mroute: pending queue full, dropping entries' error
+  Smcroute 0.90 didn't care about the IGMP messages delivered to the
+  UDP socket that establish the MC-Router API. After some time the
+  queue for the sockets filled up and the 'pending queue full' message
+  was send from the kernel. To my knowledge this didn't affect smcroute
+  or the operating system.
+  - version 0.92 reads the ICMP messages now from the UDP socket and
+    logs them to syslog with daemon/debug
+  - smcroute does no further processing of this messages
+* Increased the number of supported interfaces
+  The 16 interface limit of version 0.90 (interfaces as listed with
+  ifconfig) was to small, especially when alias interfaces where
+  defined.
+  - up to 40 interfaces are no recognized by smcroute
+  - this does not change the number of 'virtual interfaces' supported
+    by the kernel (32)
+  - not all interfaces recognized by smcroute (40) results in a
+    'virtual interface' of the kernel (32)
+
+smcroute 0.80 -> 0.90
+---------------------
+* Added MC group join (-j) and leave (-l) functionality
+  - the options enable/disable the sending of IGMP join messages for
+    a multicast group on a specific interface
+* Removed the '<OutputIntf> [<OutputIntf>] ...' for the '-r' option
+  - they are not used by the kernel to identify the route to remove
+  - smcroute will not complain about extra arguments for the '-r' option
+    to stay compatible with releases <= 0.80
+* Improved error handling for some typical error situations
+* Added a test script (tst-smcroute.pl)
+* Added a man page
+* Fixed some minor bugs
+
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..26cadbb
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,61 @@
+## SMCRoute - A static multicast routing tool             -*-Makefile-*-
+
+dist_man8_MANS		= smcroute.8 mcsender.8
+
+doc_DATA		= README AUTHORS TODO ChangeLog COPYING \
+			  smcroute.conf smcroute.init
+EXTRA_DIST		= autogen.sh smcroute.conf smcroute.init
+
+bin_PROGRAMS		= smcroute mcsender
+
+mcsender_SOURCES	= mcsender.c syslog.c
+
+smcroute_SOURCES	= smcroute.c mroute-api.c ifvc.c cmdpkt.c ipc.c	\
+			  mcgroup.c  parse-conf.c syslog.c pidfile.c mclab.h 
+
+DISTCLEANFILES		= *~ DEADJOE semantic.cache *.gdb *.elf core core.* *.d
+
+## Generate detached signature file (ascii-armored), like OpenVPN does
+GPG = gpg
+gpg-dist:
+	for file in $(DIST_ARCHIVES); do 	\
+		$(GPG) -ba $$file; 		\
+	done
+
+## Generate MD5 checksum file
+MD5 = md5sum
+md5-dist:
+	@for file in $(DIST_ARCHIVES); do	\
+		$(MD5) $$file > $$file.md5;	\
+	done
+
+## Check if tagged in git
+release-hook:
+	if [ ! `git tag | grep $(PACKAGE_VERSION)` ]; then				\
+		echo;									\
+		printf "\e[1m\e[41mCannot find release tag $(PACKAGE_VERSION)\e[0m\n";	\
+		printf "\e[1m\e[5mDo release anyway?\e[0m "; read yorn;			\
+		if [ "$$yorn" != "y" -a "$$yorn" != "Y" ]; then				\
+			printf "OK, aborting release.\n";				\
+			exit 1;								\
+		fi;									\
+		echo;									\
+	else										\
+		echo;									\
+		printf "\e[1m\e[42mFound GIT release tag $(PACKAGE_VERSION)\e[0m\n";	\
+		printf "\e[1m\e[44m>>Remember to push tags!\e[0m\n";			\
+		echo;									\
+	fi
+
+## Target to run when building a release
+release: distcheck release-hook md5-dist gpg-dist
+	@echo
+	@echo "Resulting release files:"
+	@echo "================================================================="
+	@for file in $(DIST_ARCHIVES); do						\
+		printf "$$file    \tDistribution tarball\n";				\
+		printf "$$file.md5\t"; cat $$file.md5 | cut -f1 -d' ';			\
+		printf "$$file.asc\tGPG signature "; gpg --verify $$file.asc 2>&1	\
+			| grep 'key ID' | sed 's/.*using \(.*\)/\1/'; echo;		\
+	done
+
diff --git a/Makefile.in b/Makefile.in
index aed17cf..61b7408 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,50 +1,845 @@
-##  smcroute - static multicast routing control 
-.EXPORT_ALL_VARIABLES:
+# Makefile.in generated by automake 1.11.6 from Makefile.am.
+# @configure_input@
 
-PACKAGE_VERSION = @PACKAGE_VERSION@
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+# Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+
+VPATH = @srcdir@
+am__make_dryrun = \
+  { \
+    am__dry=no; \
+    case $$MAKEFLAGS in \
+      *\\[\ \	]*) \
+        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
+          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
+      *) \
+        for am__flg in $$MAKEFLAGS; do \
+          case $$am__flg in \
+            *=*|--*) ;; \
+            *n*) am__dry=yes; break;; \
+          esac; \
+        done;; \
+    esac; \
+    test $$am__dry = yes; \
+  }
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+bin_PROGRAMS = smcroute$(EXEEXT) mcsender$(EXEEXT)
+subdir = .
+DIST_COMMON = README $(am__configure_deps) $(dist_man8_MANS) \
+	$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+	$(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \
+	ChangeLog TODO compile depcomp install-sh missing
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man8dir)" \
+	"$(DESTDIR)$(docdir)"
+PROGRAMS = $(bin_PROGRAMS)
+am_mcsender_OBJECTS = mcsender.$(OBJEXT) syslog.$(OBJEXT)
+mcsender_OBJECTS = $(am_mcsender_OBJECTS)
+mcsender_LDADD = $(LDADD)
+am_smcroute_OBJECTS = smcroute.$(OBJEXT) mroute-api.$(OBJEXT) \
+	ifvc.$(OBJEXT) cmdpkt.$(OBJEXT) ipc.$(OBJEXT) \
+	mcgroup.$(OBJEXT) parse-conf.$(OBJEXT) syslog.$(OBJEXT) \
+	pidfile.$(OBJEXT)
+smcroute_OBJECTS = $(am_smcroute_OBJECTS)
+smcroute_LDADD = $(LDADD)
+DEFAULT_INCLUDES = -I.@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_@AM_V@)
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
+am__v_CC_0 = @echo "  CC    " $@;
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+CCLD = $(CC)
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
+am__v_CCLD_0 = @echo "  CCLD  " $@;
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo "  GEN   " $@;
+SOURCES = $(mcsender_SOURCES) $(smcroute_SOURCES)
+DIST_SOURCES = $(mcsender_SOURCES) $(smcroute_SOURCES)
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+  test -z "$$files" \
+    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+         $(am__cd) "$$dir" && rm -f $$files; }; \
+  }
+man8dir = $(mandir)/man8
+NROFF = nroff
+MANS = $(dist_man8_MANS)
+DATA = $(doc_DATA)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+  if test -d "$(distdir)"; then \
+    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+      && rm -rf "$(distdir)" \
+      || { sleep 5 && rm -rf "$(distdir)"; }; \
+  else :; fi
+GZIP_ENV = --best
+DIST_ARCHIVES = $(distdir).tar.xz
+distuninstallcheck_listfiles = find . -type f -print
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+GREP = @GREP@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
-CONFIG          = $(PACKAGE_TARNAME).conf
-PKG             = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
-ARCHIVE         = $(PKG).tar.bz2
-DISTFILES       = $(CONFIG) README AUTHORS TODO ChangeLog
-DOCDIR          = $(DESTDIR)$(docdir)
-
-RM             ?= rm -f
-CC             ?= @CC@
-CFLAGS         += @CFLAGS@
-
-prefix         ?= @prefix@
-exec_prefix    ?= @exec_prefix@
-datarootdir    ?= @datarootdir@
-docdir         ?= @docdir@
-mandir         ?= @mandir@
-sbindir        ?= @sbindir@
-
-all:
-	@make -C src $@
-
-install: 
-	@make -C doc $@
-	@make -C src $@
-	@install -d $(DOCDIR)
-	@for file in $(DISTFILES); do \
-		install -b -m 0644 $$file $(DOCDIR)/$$file; \
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+dist_man8_MANS = smcroute.8 mcsender.8
+doc_DATA = README AUTHORS TODO ChangeLog COPYING \
+			  smcroute.conf smcroute.init
+
+EXTRA_DIST = autogen.sh smcroute.conf smcroute.init
+mcsender_SOURCES = mcsender.c syslog.c
+smcroute_SOURCES = smcroute.c mroute-api.c ifvc.c cmdpkt.c ipc.c	\
+			  mcgroup.c  parse-conf.c syslog.c pidfile.c mclab.h 
+
+DISTCLEANFILES = *~ DEADJOE semantic.cache *.gdb *.elf core core.* *.d
+GPG = gpg
+MD5 = md5sum
+all: config.h
+	$(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .o .obj
+am--refresh: Makefile
+	@:
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
+	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
+	$(am__cd) $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    echo ' $(SHELL) ./config.status'; \
+	    $(SHELL) ./config.status;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	$(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	$(am__cd) $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+$(am__aclocal_m4_deps):
+
+config.h: stamp-h1
+	@if test ! -f $@; then rm -f stamp-h1; else :; fi
+	@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
+
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+	@rm -f stamp-h1
+	cd $(top_builddir) && $(SHELL) ./config.status config.h
+$(srcdir)/config.h.in:  $(am__configure_deps) 
+	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
+	rm -f stamp-h1
+	touch $@
+
+distclean-hdr:
+	-rm -f config.h stamp-h1
+install-binPROGRAMS: $(bin_PROGRAMS)
+	@$(NORMAL_INSTALL)
+	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+	if test -n "$$list"; then \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
+	fi; \
+	for p in $$list; do echo "$$p $$p"; done | \
+	sed 's/$(EXEEXT)$$//' | \
+	while read p p1; do if test -f $$p; \
+	  then echo "$$p"; echo "$$p"; else :; fi; \
+	done | \
+	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
+	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+	sed 'N;N;N;s,\n, ,g' | \
+	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
+	    else { print "f", $$3 "/" $$4, $$1; } } \
+	  END { for (d in files) print "f", d, files[d] }' | \
+	while read type dir files; do \
+	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+	    test -z "$$files" || { \
+	      echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+	      $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+	    } \
+	; done
+
+uninstall-binPROGRAMS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+	files=`for p in $$list; do echo "$$p"; done | \
+	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+	      -e 's/$$/$(EXEEXT)/' `; \
+	test -n "$$list" || exit 0; \
+	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
+	cd "$(DESTDIR)$(bindir)" && rm -f $$files
+
+clean-binPROGRAMS:
+	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+mcsender$(EXEEXT): $(mcsender_OBJECTS) $(mcsender_DEPENDENCIES) $(EXTRA_mcsender_DEPENDENCIES) 
+	@rm -f mcsender$(EXEEXT)
+	$(AM_V_CCLD)$(LINK) $(mcsender_OBJECTS) $(mcsender_LDADD) $(LIBS)
+smcroute$(EXEEXT): $(smcroute_OBJECTS) $(smcroute_DEPENDENCIES) $(EXTRA_smcroute_DEPENDENCIES) 
+	@rm -f smcroute$(EXEEXT)
+	$(AM_V_CCLD)$(LINK) $(smcroute_OBJECTS) $(smcroute_LDADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+
+distclean-compile:
+	-rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmdpkt.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ifvc.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ipc.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mcgroup.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mcsender.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mroute-api.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse-conf.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfile.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smcroute.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/syslog.Po@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c $<
+
+.c.obj:
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
+install-man8: $(dist_man8_MANS)
+	@$(NORMAL_INSTALL)
+	@list1='$(dist_man8_MANS)'; \
+	list2=''; \
+	test -n "$(man8dir)" \
+	  && test -n "`echo $$list1$$list2`" \
+	  || exit 0; \
+	echo " $(MKDIR_P) '$(DESTDIR)$(man8dir)'"; \
+	$(MKDIR_P) "$(DESTDIR)$(man8dir)" || exit 1; \
+	{ for i in $$list1; do echo "$$i"; done;  \
+	if test -n "$$list2"; then \
+	  for i in $$list2; do echo "$$i"; done \
+	    | sed -n '/\.8[a-z]*$$/p'; \
+	fi; \
+	} | while read p; do \
+	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
+	  echo "$$d$$p"; echo "$$p"; \
+	done | \
+	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
+	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
+	sed 'N;N;s,\n, ,g' | { \
+	list=; while read file base inst; do \
+	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
+	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
+	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
+	  fi; \
+	done; \
+	for i in $$list; do echo "$$i"; done | $(am__base_list)