Bug#728374: freebsd-net-tools: /sbin/ifconfig is missing options for pfsync
Package: freebsd-net-tools
Version: 9.0+ds1-11~deb7u1
Severity: normal
Tags: patch
-- System Information:
Debian Release: 7.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 9.0-2-amd64
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages freebsd-net-tools depends on:
ii libbsd0 0.4.2-1
ii libc0.1 2.13-38
ii libexpat1 2.1.0-1
ii libipx2 9.0+ds1-4
ii libkvm0 9.0+ds1-4
ii libmemstat3 9.0+ds1-4
ii libnetgraph4 9.0+ds1-4
ii libsbuf6 9.0+ds1-4
ii pf 9.0+ds1-11~deb7u1
freebsd-net-tools recommends no packages.
freebsd-net-tools suggests no packages.
-- no debconf information
diff -Nur orig/freebsd-utils-9.0+ds1/debian/local/include/netinet/in.h pha/freebsd-utils-9.0+ds1/debian/local/include/netinet/in.h
--- orig/freebsd-utils-9.0+ds1/debian/local/include/netinet/in.h 2013-03-18 11:32:54.000000000 +0100
+++ pha/freebsd-utils-9.0+ds1/debian/local/include/netinet/in.h 2013-10-31 11:08:44.000000000 +0100
@@ -2,3 +2,7 @@
#ifndef IPPORT_MAX
#define IPPORT_MAX 65535
#endif
+
+#ifndef INADDR_PFSYNC_GROUP
+#define INADDR_PFSYNC_GROUP (uint32_t)0xf00000e0
+#endif
diff -Nur orig/freebsd-utils-9.0+ds1/sbin/ifconfig/Makefile pha/freebsd-utils-9.0+ds1/sbin/ifconfig/Makefile
--- orig/freebsd-utils-9.0+ds1/sbin/ifconfig/Makefile 2013-10-31 10:34:55.000000000 +0100
+++ pha/freebsd-utils-9.0+ds1/sbin/ifconfig/Makefile 2013-10-31 10:40:56.000000000 +0100
@@ -38,6 +38,7 @@
SRCS+= ifcarp.c # SIOC[GS]VH support
SRCS+= ifgroup.c # ...
+SRCS+= ifpfsync.c
SRCS+= ifbridge.c # bridge support
SRCS+= iflagg.c # lagg support
Reply to: