summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-05-02 08:32:46 +0000
committerAlin Năstac <mrness@gentoo.org>2009-05-02 08:32:46 +0000
commit8dd88edf85419e54d7bfe2e35041a3a9e74c2a5f (patch)
tree98770d842df4af42404c8980e675837824232c95 /net-analyzer/ntop/files
parentStable on x86 (#268208) (diff)
downloadgentoo-2-8dd88edf85419e54d7bfe2e35041a3a9e74c2a5f.tar.gz
gentoo-2-8dd88edf85419e54d7bfe2e35041a3a9e74c2a5f.tar.bz2
gentoo-2-8dd88edf85419e54d7bfe2e35041a3a9e74c2a5f.zip
Remove nls USE flag and correct tcpd configure argument (#267660).
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/ntop/files')
-rw-r--r--net-analyzer/ntop/files/globals-core.c.diff11
-rw-r--r--net-analyzer/ntop/files/ntop-3.2-build.patch243
-rw-r--r--net-analyzer/ntop/files/ntop-3.2-snmp.patch34
-rw-r--r--net-analyzer/ntop/files/ntop-3.3.6-gentoo.patch41
-rw-r--r--net-analyzer/ntop/files/ntop-3.3.8-gentoo.patch41
5 files changed, 0 insertions, 370 deletions
diff --git a/net-analyzer/ntop/files/globals-core.c.diff b/net-analyzer/ntop/files/globals-core.c.diff
deleted file mode 100644
index 778c4bbc57c2..000000000000
--- a/net-analyzer/ntop/files/globals-core.c.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- globals-core.c.old 2004-12-13 19:05:33.000000000 +0100
-+++ globals-core.c 2005-01-14 13:21:41.133917120 +0100
-@@ -473,7 +473,7 @@
- _mtuSize[DLT_ATM_RFC1483] = 9180 /* LLC/SNAP encapsulated atm */;
- _headerSize[DLT_ATM_RFC1483] = 0;
-
-- /* _mtuSize[DLT_RAW] = ? raw IP */
-+ _mtuSize[DLT_RAW] = 1500; /* raw IP */
- _headerSize[DLT_RAW] = 0;
-
- /* Others defined in bpf.h at tcpdump.org as of the resync - it would be NICE
diff --git a/net-analyzer/ntop/files/ntop-3.2-build.patch b/net-analyzer/ntop/files/ntop-3.2-build.patch
deleted file mode 100644
index eae246978929..000000000000
--- a/net-analyzer/ntop/files/ntop-3.2-build.patch
+++ /dev/null
@@ -1,243 +0,0 @@
-cleanup autotools
-
---- plugins/Makefile.am
-+++ plugins/Makefile.am
-@@ -101,96 +101,31 @@ libxmldumpPlugin_la_CFLAGS = $(AM_CFLAGS
- # by default ntop looks for plugins in the plugins/ subdirectory
- #
-
-+%Plugin.so$(EXEEXT): .libs/lib%Plugin.so
-+ $(LN_S) $< $@
-
--.libs/libicmpPlugin.so@SO_VERSION_PATCH@:
-- @if test -f libicmpPlugin_la-icmpPlugin.o; then \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libicmpPlugin.so@SO_VERSION_PATCH@ libicmpPlugin_la-icmpPlugin.o; \
-- else \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libicmpPlugin.so@SO_VERSION_PATCH@ icmpPlugin.o; \
-- fi
--
--icmpPlugin.so$(EXEEXT): .libs/libicmpPlugin.so@SO_VERSION_PATCH@
-- @$(LN_S) .libs/libicmpPlugin.so icmpPlugin.so
--
--.libs/liblastSeenPlugin.so@SO_VERSION_PATCH@:
-- @if test -f liblastSeenPlugin_la-lastSeenPlugin.o; then \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/liblastSeenPlugin.so@SO_VERSION_PATCH@ liblastSeenPlugin_la-lastSeenPlugin.o; \
-- else \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/liblastSeenPlugin.so@SO_VERSION_PATCH@ lastSeenPlugin.o; \
-- fi
--
--lastSeenPlugin.so$(EXEEXT): .libs/liblastSeenPlugin.so@SO_VERSION_PATCH@
-- @$(LN_S) .libs/liblastSeenPlugin.so lastSeenPlugin.so
--
--.libs/libnetflowPlugin.so@SO_VERSION_PATCH@:
-- @if test -f libnetflowPlugin_la-netflowPlugin.o; then \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libnetflowPlugin.so@SO_VERSION_PATCH@ libnetflowPlugin_la-netflowPlugin.o; \
-- else \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libnetflowPlugin.so@SO_VERSION_PATCH@ netflowPlugin.o; \
-- fi
--
--netflowPlugin.so$(EXEEXT): .libs/libnetflowPlugin.so@SO_VERSION_PATCH@
-- @$(LN_S) .libs/libnetflowPlugin.so netflowPlugin.so
--
--.libs/libpdaPlugin.so@SO_VERSION_PATCH@:
-- @if test -f libpdaPlugin_la-pdaPlugin.o; then \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libpdaPlugin.so@SO_VERSION_PATCH@ libpdaPlugin_la-pdaPlugin.o; \
-- else \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libpdaPlugin.so@SO_VERSION_PATCH@ pdaPlugin.o; \
-- fi
--
--pdaPlugin.so$(EXEEXT): .libs/libpdaPlugin.so@SO_VERSION_PATCH@
-- @$(LN_S) .libs/libpdaPlugin.so pdaPlugin.so
--
--.libs/librrdPlugin.so@SO_VERSION_PATCH@:
-- @if test -f librrdPlugin_la-rrdPlugin.o; then \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/librrdPlugin.so@SO_VERSION_PATCH@ librrdPlugin_la-rrdPlugin.o; \
-- else \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/librrdPlugin.so@SO_VERSION_PATCH@ rrdPlugin.o; \
-- fi
--
--rrdPlugin.so$(EXEEXT): .libs/librrdPlugin.so@SO_VERSION_PATCH@
-- @$(LN_S) .libs/librrdPlugin.so rrdPlugin.so
--
--.libs/libsnmpPlugin.so@SO_VERSION_PATCH@:
-- @if test -f libsnmpPlugin_la-snmpPlugin.o; then \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libsnmpPlugin.so@SO_VERSION_PATCH@ libsnmpPlugin_la-snmpPlugin.o; \
-- else \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libsnmpPlugin.so@SO_VERSION_PATCH@ snmpPlugin.o; \
-- fi
--
--snmpPlugin.so$(EXEEXT): .libs/libsnmpPlugin.so@SO_VERSION_PATCH@
-- @$(LN_S) .libs/libsnmpPlugin.so snmpPlugin.so
--
--.libs/libsflowPlugin.so@SO_VERSION_PATCH@:
-- @if test -f libsflowPlugin_la-sflowPlugin.o; then \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libsflowPlugin.so@SO_VERSION_PATCH@ libsflowPlugin_la-sflowPlugin.o; \
-- else \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libsflowPlugin.so@SO_VERSION_PATCH@ sflowPlugin.o; \
-- fi
--
--sflowPlugin.so$(EXEEXT): .libs/libsflowPlugin.so@SO_VERSION_PATCH@
-- @$(LN_S) .libs/libsflowPlugin.so sflowPlugin.so
--
--.libs/libxmldumpPlugin.so@SO_VERSION_PATCH@:
-- @if test -f libxmldumpPlugin_la-xmldumpPlugin.o; then \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libxmldumpPlugin.so@SO_VERSION_PATCH@ libxmldumpPlugin_la-xmldumpPlugin.o; \
-- else \
-- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libxmldumpPlugin.so@SO_VERSION_PATCH@ xmldumpPlugin.o; \
-- fi
-+# Need to make sure autotools doesn't insert rules for us
-+icmpPlugin.so$(EXEEXT): .libs/libicmpPlugin.so
-+lastSeenPlugin.so$(EXEEXT): .libs/liblastSeenPlugin.so
-+netflowPlugin.so$(EXEEXT): .libs/libnetflowPlugin.so
-+pdaPlugin.so$(EXEEXT): .libs/libpdaPlugin.so
-+rrdPlugin.so$(EXEEXT): .libs/librrdPlugin.so
-+snmpPlugin.so$(EXEEXT): .libs/libsnmpPlugin.so
-+sflowPlugin.so$(EXEEXT): .libs/libsflowPlugin.so
-+xmldumpPlugin.so$(EXEEXT): .libs/libxmldumpPlugin.so
-
--xmldumpPlugin.so$(EXEEXT): .libs/libxmldumpPlugin.so@SO_VERSION_PATCH@
-- @$(LN_S) .libs/libxmldumpPlugin.so xmldumpPlugin.so
-+#
-+# Create symlinks for the plugins
-+#
-
- install-data-local:
-- @$(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir);
-- @for file in $(noinst_PROGRAMS); do \
-- cp -p $$file $(DESTDIR)$(plugindir)/$$file; \
-- done
--# remove installed libraries
-- @for file in $(lib_LTLIBRARIES); do \
-- rm -f $(DESTDIR)$(libdir)/$$file; \
-- done
-+ for file in $(lib_LTLIBRARIES); do \
-+ rm -f $(DESTDIR)$(libdir)/$$file; \
-+ done
-+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir)
-+ for file in $(noinst_PROGRAMS) ; do \
-+ $(LN_S) $(libdir)/lib$$file $(DESTDIR)$(plugindir)/$$file ; \
-+ done
-
- #
- # Special stuff for xml auto-generation of code from the "doc":
---- configure.in
-+++ configure.in
-@@ -180,7 +180,7 @@
- dnl> Test before we use it, below
- AC_ARG_ENABLE(iknowbetter,
- [ --enable-iknowbetter Override WILLFAIL],
-- ac_willfailoverride="yes",
-+ ac_willfailoverride="$enableval",
- ac_willfailoverride="no")
-
- AC_ARG_ENABLE(void,
-@@ -665,63 +665,83 @@
-
- AC_ARG_WITH(ssl,
- [ --without-ssl disable HTPPS support [[default=enabled]]],
-- ac_disable_openssl="yes",
-+ if test "x$withval" = xno; then
-+ ac_disable_openssl="yes"
-+ else
-+ ac_disable_openssl="no"
-+ fi,
- ac_disable_openssl="no")
-
- AC_ARG_WITH(zlib,
- [ --without-zlib disable zlib [[default=enabled]]],
-- ac_disable_zlib="yes",
-+ if test "x$withval" = xno; then
-+ ac_disable_zlib="yes"
-+ else
-+ ac_disable_zlib="no"
-+ fi,
- ac_disable_zlib="no")
-
- AC_ARG_ENABLE(sslv3,
- [ --enable-sslv3 enable ssl v3 support [[default=disabled]]],
-- ac_enable_sslv3="yes",
-+ ac_enable_sslv3="$enableval",
- ac_enable_sslv3="no")
-
- AC_ARG_ENABLE(sslwatchdog,
- [ --enable-sslwatchdog enable Watchdog for ssl hangups [[default=disabled]]],
-- ac_enable_sslwatchdog="yes",
-+ ac_enable_sslwatchdog="$enableval",
- ac_enable_sslwatchdog="no")
-
- AC_ARG_WITH(tcpwrap,
- [ --with-tcpwrap enable use of TCP Wrapper [[default=disabled]]],
-- ac_enable_tcpwrap="yes",
-+ ac_enable_tcpwrap="$withval",
- ac_enable_tcpwrap="no")
-
- AC_ARG_ENABLE(plugins,
- [ --disable-plugins disable compilation of plugins [[default=enabled]]],
-- ac_disable_plugins="yes",
-+ if test "x$enableval" = xno; then
-+ ac_disable_plugins="yes"
-+ else
-+ ac_disable_plugins="no"
-+ fi,
- ac_disable_plugins="no")
-
- AC_ARG_ENABLE( static-plugins,
- [ --enable-static-plugins Enable static linked plugins [sntop, default=dynamic]]],
-- ac_enable_static_plugins="yes",
-- ac_enable_static_plugins="no")
-+ ac_enable_static_plugins="$enableval",
-+ ac_enable_static_plugins="no")
-
- AC_ARG_ENABLE(ignoresigpipe,
- [ --enable-ignoresigpipe Ignore SIGPIPE errors [[default=do not ignore]]],
-- ac_enable_ignoresigpipe="yes",
-+ ac_enable_ignoresigpipe="$enableval",
- ac_enable_ignoresigpipe="no")
-
- AC_ARG_ENABLE(snmp,
- [ --disable-snmp Disable SNMP support [[default=disable]]],
-- ac_disable_snmp="no",
-+ if test "x$enableval" = xno; then
-+ ac_disable_snmp="yes"
-+ else
-+ ac_disable_snmp="no"
-+ fi,
- ac_disable_snmp="yes")
-
- AC_ARG_ENABLE(i18n,
- [ --enable-i18n Enable (limited) internationalization [[default=disabled]]],
-- ac_enable_i18n="yes",
-+ ac_enable_i18n="$enableval",
- ac_enable_i18n="no")
-
- AC_ARG_ENABLE(jumbo-frames,
- [ --enable-jumbo-frames Enable Jumbo (9K) Ethernet frames [[default=disabled]]],
-- ac_enable_jumbo-frames="yes",
-+ ac_enable_jumbo-frames="$enableval",
- ac_enable_jumbo-frames="no")
-
- AC_ARG_ENABLE(ipv6,
- [ --disable-ipv6 use IPv6 [[default=enabled]]],
-- ac_disable_ipv6="yes",
-- ac_disable_ipv6="no")
-+ if test "x$enableval" = xno; then
-+ ac_disable_ipv6="yes"
-+ else
-+ ac_disable_ipv6="no"
-+ fi,
-+ ac_disable_ipv6="no")
-
- dnl>
- dnl> Define the "WITH"s for package root directories ... deal with these later...
-@@ -1011,11 +1011,6 @@
- LOCALEDIR="/usr/lib/locale"
- fi
-
--dnl> Add /usr/local/
--CFLAGS="${CFLAGS} -I/usr/local/include"
--CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
--LDFLAGS="${LDFLAGS} -L/usr/local/lib"
--
-
-
- echo
diff --git a/net-analyzer/ntop/files/ntop-3.2-snmp.patch b/net-analyzer/ntop/files/ntop-3.2-snmp.patch
deleted file mode 100644
index a5b60f71d347..000000000000
--- a/net-analyzer/ntop/files/ntop-3.2-snmp.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- plugins.orig/snmpPlugin.c 2005-05-28 13:15:02.000000000 +0000
-+++ plugins/snmpPlugin.c 2006-02-01 13:41:13.000000000 +0000
-@@ -46,6 +46,9 @@
- #include "ntop.h"
- #include "globals-report.h"
-
-+// undefine free() wrapper Macro so net-snmp library uses the original free() and not the
-+// ntop_safefree() one.
-+#undef free
-
- #ifdef HAVE_SNMP
-
-@@ -58,11 +61,21 @@
- #include <net-snmp/net-snmp-includes.h>
- #include <net-snmp/agent/net-snmp-agent-includes.h>
-
-+#endif
-+
-+// redefine the Macro so the rest of the file uses it //
-+#define free(a) ntop_safefree((void**)&(a), __FILE__, __LINE__)
-+
-+#ifdef HAVE_SNMP
-+
-+
- // #ifndef NTOP_H
- #define NTOP_H
- // #ifndef NTOP_COLUMNS_H
- #define NTOP_COLUMNS_H
-
-+
-+
- /*
- * column number definitions for table ntopTable
- */
diff --git a/net-analyzer/ntop/files/ntop-3.3.6-gentoo.patch b/net-analyzer/ntop/files/ntop-3.3.6-gentoo.patch
deleted file mode 100644
index fa51578ff6ea..000000000000
--- a/net-analyzer/ntop/files/ntop-3.3.6-gentoo.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff -Nru ntop.orig/configure.in ntop/configure.in
---- ntop.orig/configure.in 2008-06-04 09:29:06.000000000 +0200
-+++ ntop/configure.in 2008-07-05 00:40:53.000000000 +0200
-@@ -515,13 +515,6 @@
- LOCALEDIR="/usr/lib/locale"
- fi
-
--dnl> Add /usr/local/
--CFLAGS="${CFLAGS} -I/usr/local/include -I/opt/local/include"
--CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/opt/local/include"
--LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/opt/local/lib"
--
--
--
- echo
- echo "Test the compiler and setup CFLAGS..."
- echo
-diff -Nru ntop.orig/globals-core.c ntop/globals-core.c
---- ntop.orig/globals-core.c 2007-11-24 19:26:29.000000000 +0100
-+++ ntop/globals-core.c 2008-07-05 00:48:09.000000000 +0200
-@@ -427,7 +427,7 @@
- _mtuSize[DLT_ATM_RFC1483] = 9180 /* LLC/SNAP encapsulated atm */;
- _headerSize[DLT_ATM_RFC1483] = 0;
-
-- /* _mtuSize[DLT_RAW] = ? raw IP */
-+ _mtuSize[DLT_RAW] = 1500 /* raw IP */;
- _headerSize[DLT_RAW] = 0;
-
- /* Others defined in bpf.h at tcpdump.org as of the resync - it would be NICE
-diff -Nru ntop.orig/report.c ntop/report.c
---- ntop.orig/report.c 2008-04-05 17:56:58.000000000 +0200
-+++ ntop/report.c 2008-07-05 01:09:36.000000000 +0200
-@@ -2301,7 +2301,7 @@
- if(fetchPrefsValue("dot.path", buf, sizeof(buf)) != -1) {
- snprintf(dotPath, sizeof(dotPath), "%s", buf);
- } else {
-- snprintf(dotPath, sizeof(dotPath), "/usr/local/bin/dot");
-+ snprintf(dotPath, sizeof(dotPath), "/usr/bin/dot");
- storePrefsValue("dot.path", dotPath); /* Set the default */
- }
-
diff --git a/net-analyzer/ntop/files/ntop-3.3.8-gentoo.patch b/net-analyzer/ntop/files/ntop-3.3.8-gentoo.patch
deleted file mode 100644
index 5614ac31a648..000000000000
--- a/net-analyzer/ntop/files/ntop-3.3.8-gentoo.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff -ur ntop-3.3.8.orig/configure.in ntop-3.3.8/configure.in
---- ntop-3.3.8.orig/configure.in 2008-10-02 10:54:15.000000000 +0000
-+++ ntop-3.3.8/configure.in 2008-10-05 10:39:47.000000000 +0000
-@@ -504,13 +504,6 @@
- LOCALEDIR="/usr/lib/locale"
- fi
-
--dnl> Add /usr/local/
--CFLAGS="${CFLAGS} -I/usr/local/include -I/opt/local/include"
--CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/opt/local/include"
--LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/opt/local/lib"
--
--
--
- echo
- echo "Test the compiler and setup CFLAGS..."
- echo
-diff -ur ntop-3.3.8.orig/globals-core.c ntop-3.3.8/globals-core.c
---- ntop-3.3.8.orig/globals-core.c 2008-10-01 21:03:36.000000000 +0000
-+++ ntop-3.3.8/globals-core.c 2008-10-05 10:39:47.000000000 +0000
-@@ -424,7 +424,7 @@
- _mtuSize[DLT_ATM_RFC1483] = 9180 /* LLC/SNAP encapsulated atm */;
- _headerSize[DLT_ATM_RFC1483] = 0;
-
-- /* _mtuSize[DLT_RAW] = ? raw IP */
-+ _mtuSize[DLT_RAW] = 1500 /* raw IP */;
- _headerSize[DLT_RAW] = 0;
-
- /* Others defined in bpf.h at tcpdump.org as of the resync - it would be NICE
-diff -ur ntop-3.3.8.orig/report.c ntop-3.3.8/report.c
---- ntop-3.3.8.orig/report.c 2008-08-17 21:06:33.000000000 +0000
-+++ ntop-3.3.8/report.c 2008-10-05 10:39:47.000000000 +0000
-@@ -2301,7 +2301,7 @@
- if(fetchPrefsValue("dot.path", buf, sizeof(buf)) != -1) {
- snprintf(dotPath, sizeof(dotPath), "%s", buf);
- } else {
-- snprintf(dotPath, sizeof(dotPath), "/usr/local/bin/dot");
-+ snprintf(dotPath, sizeof(dotPath), "/usr/bin/dot");
- storePrefsValue("dot.path", dotPath); /* Set the default */
- }
-