diff options
author | Cy Schubert <cy@FreeBSD.org> | 2016-03-24 05:20:57 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2016-03-24 05:20:57 +0000 |
commit | ad8bf549b5143e69b1c769ba62f06edbf949306d (patch) | |
tree | 898962f2e2ada36345911b01f7485fc3a9076a05 | |
parent | - Fix build with CLIENT disabled (diff) |
Fix SPOOF support builds in all syslog-ng ports.
Notes
Notes:
svn path=/head/; revision=411750
8 files changed, 100 insertions, 0 deletions
diff --git a/sysutils/syslog-ng-devel/files/patch-configure b/sysutils/syslog-ng-devel/files/patch-configure new file mode 100644 index 000000000000..c3c533b2df4c --- /dev/null +++ b/sysutils/syslog-ng-devel/files/patch-configure @@ -0,0 +1,14 @@ +--- configure.orig 2016-03-22 04:58:27.000000000 -0700 ++++ configure 2016-03-23 20:51:10.722420000 -0700 +@@ -14996,9 +14996,9 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNET" >&5 + $as_echo_n "checking for LIBNET... " >&6; } + if test "x$with_libnet" = "x"; then +- LIBNET_CONFIG="`which libnet-config`" ++ LIBNET_CONFIG="`which libnet11-config`" + else +- LIBNET_CONFIG="$with_libnet/libnet-config" ++ LIBNET_CONFIG="$with_libnet/libnet11-config" + fi + + if test -n "$LIBNET_CONFIG" -a -x "$LIBNET_CONFIG"; then diff --git a/sysutils/syslog-ng-devel/files/patch-modules__afsocket__afinet-dest.c b/sysutils/syslog-ng-devel/files/patch-modules__afsocket__afinet-dest.c new file mode 100644 index 000000000000..7af83d8fb2c0 --- /dev/null +++ b/sysutils/syslog-ng-devel/files/patch-modules__afsocket__afinet-dest.c @@ -0,0 +1,11 @@ +--- modules/afsocket/afinet-dest.c.orig 2016-03-22 02:39:13.000000000 -0700 ++++ modules/afsocket/afinet-dest.c 2016-03-23 22:07:14.289961000 -0700 +@@ -42,7 +42,7 @@ + #endif + + #if ENABLE_SPOOF_SOURCE +-#include <libnet.h> ++#include <libnet11/libnet.h> + #endif + + #if _GNU_SOURCE_DEFINED diff --git a/sysutils/syslog-ng/files/patch-configure b/sysutils/syslog-ng/files/patch-configure new file mode 100644 index 000000000000..c3c533b2df4c --- /dev/null +++ b/sysutils/syslog-ng/files/patch-configure @@ -0,0 +1,14 @@ +--- configure.orig 2016-03-22 04:58:27.000000000 -0700 ++++ configure 2016-03-23 20:51:10.722420000 -0700 +@@ -14996,9 +14996,9 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNET" >&5 + $as_echo_n "checking for LIBNET... " >&6; } + if test "x$with_libnet" = "x"; then +- LIBNET_CONFIG="`which libnet-config`" ++ LIBNET_CONFIG="`which libnet11-config`" + else +- LIBNET_CONFIG="$with_libnet/libnet-config" ++ LIBNET_CONFIG="$with_libnet/libnet11-config" + fi + + if test -n "$LIBNET_CONFIG" -a -x "$LIBNET_CONFIG"; then diff --git a/sysutils/syslog-ng/files/patch-modules__afsocket__afinet-dest.c b/sysutils/syslog-ng/files/patch-modules__afsocket__afinet-dest.c new file mode 100644 index 000000000000..7af83d8fb2c0 --- /dev/null +++ b/sysutils/syslog-ng/files/patch-modules__afsocket__afinet-dest.c @@ -0,0 +1,11 @@ +--- modules/afsocket/afinet-dest.c.orig 2016-03-22 02:39:13.000000000 -0700 ++++ modules/afsocket/afinet-dest.c 2016-03-23 22:07:14.289961000 -0700 +@@ -42,7 +42,7 @@ + #endif + + #if ENABLE_SPOOF_SOURCE +-#include <libnet.h> ++#include <libnet11/libnet.h> + #endif + + #if _GNU_SOURCE_DEFINED diff --git a/sysutils/syslog-ng34/files/patch-configure b/sysutils/syslog-ng34/files/patch-configure new file mode 100644 index 000000000000..c3c533b2df4c --- /dev/null +++ b/sysutils/syslog-ng34/files/patch-configure @@ -0,0 +1,14 @@ +--- configure.orig 2016-03-22 04:58:27.000000000 -0700 ++++ configure 2016-03-23 20:51:10.722420000 -0700 +@@ -14996,9 +14996,9 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNET" >&5 + $as_echo_n "checking for LIBNET... " >&6; } + if test "x$with_libnet" = "x"; then +- LIBNET_CONFIG="`which libnet-config`" ++ LIBNET_CONFIG="`which libnet11-config`" + else +- LIBNET_CONFIG="$with_libnet/libnet-config" ++ LIBNET_CONFIG="$with_libnet/libnet11-config" + fi + + if test -n "$LIBNET_CONFIG" -a -x "$LIBNET_CONFIG"; then diff --git a/sysutils/syslog-ng34/files/patch-modules__afsocket__afinet-dest.c b/sysutils/syslog-ng34/files/patch-modules__afsocket__afinet-dest.c new file mode 100644 index 000000000000..7af83d8fb2c0 --- /dev/null +++ b/sysutils/syslog-ng34/files/patch-modules__afsocket__afinet-dest.c @@ -0,0 +1,11 @@ +--- modules/afsocket/afinet-dest.c.orig 2016-03-22 02:39:13.000000000 -0700 ++++ modules/afsocket/afinet-dest.c 2016-03-23 22:07:14.289961000 -0700 +@@ -42,7 +42,7 @@ + #endif + + #if ENABLE_SPOOF_SOURCE +-#include <libnet.h> ++#include <libnet11/libnet.h> + #endif + + #if _GNU_SOURCE_DEFINED diff --git a/sysutils/syslog-ng35/files/patch-configure b/sysutils/syslog-ng35/files/patch-configure new file mode 100644 index 000000000000..c3c533b2df4c --- /dev/null +++ b/sysutils/syslog-ng35/files/patch-configure @@ -0,0 +1,14 @@ +--- configure.orig 2016-03-22 04:58:27.000000000 -0700 ++++ configure 2016-03-23 20:51:10.722420000 -0700 +@@ -14996,9 +14996,9 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNET" >&5 + $as_echo_n "checking for LIBNET... " >&6; } + if test "x$with_libnet" = "x"; then +- LIBNET_CONFIG="`which libnet-config`" ++ LIBNET_CONFIG="`which libnet11-config`" + else +- LIBNET_CONFIG="$with_libnet/libnet-config" ++ LIBNET_CONFIG="$with_libnet/libnet11-config" + fi + + if test -n "$LIBNET_CONFIG" -a -x "$LIBNET_CONFIG"; then diff --git a/sysutils/syslog-ng35/files/patch-modules__afsocket__afinet-dest.c b/sysutils/syslog-ng35/files/patch-modules__afsocket__afinet-dest.c new file mode 100644 index 000000000000..7af83d8fb2c0 --- /dev/null +++ b/sysutils/syslog-ng35/files/patch-modules__afsocket__afinet-dest.c @@ -0,0 +1,11 @@ +--- modules/afsocket/afinet-dest.c.orig 2016-03-22 02:39:13.000000000 -0700 ++++ modules/afsocket/afinet-dest.c 2016-03-23 22:07:14.289961000 -0700 +@@ -42,7 +42,7 @@ + #endif + + #if ENABLE_SPOOF_SOURCE +-#include <libnet.h> ++#include <libnet11/libnet.h> + #endif + + #if _GNU_SOURCE_DEFINED |