SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
29
net/ntopng/patches/patch-include_ntop_defines_h
Normal file
29
net/ntopng/patches/patch-include_ntop_defines_h
Normal file
|
@ -0,0 +1,29 @@
|
|||
Index: include/ntop_defines.h
|
||||
--- include/ntop_defines.h.orig
|
||||
+++ include/ntop_defines.h
|
||||
@@ -197,7 +197,7 @@
|
||||
#define MAX_NUM_QUEUED_ADDRS 500 /* Maximum number of queued address for resolution */
|
||||
#define MAX_NUM_QUEUED_CONTACTS 25000
|
||||
#define NTOP_COPYRIGHT "(C) 1998-22 ntop.org"
|
||||
-#define DEFAULT_PID_PATH "/var/run/ntopng.pid"
|
||||
+#define DEFAULT_PID_PATH "/var/run/ntopng/ntopng.pid"
|
||||
#define SYSTEM_INTERFACE_NAME "__system__"
|
||||
#define SYSTEM_INTERFACE_ID -1
|
||||
#define INVALID_INTERFACE_ID -2
|
||||
@@ -517,11 +517,15 @@
|
||||
#endif
|
||||
#define CONST_DEFAULT_USERS_FILE "ntopng-users.conf"
|
||||
#define CONST_DEFAULT_INSTALL_DIR (DATA_DIR "/ntopng")
|
||||
-#if defined(__FreeBSD__)
|
||||
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
#define CONST_BIN_DIR "/usr/local/bin"
|
||||
#define CONST_SHARE_DIR "/usr/local/share"
|
||||
#define CONST_SHARE_DIR_2 "/usr/share"
|
||||
+#ifdef __FreeBSD__
|
||||
#define CONST_ETC_DIR "/usr/local/etc"
|
||||
+#else
|
||||
+#define CONST_ETC_DIR "/etc"
|
||||
+#endif
|
||||
#define CONST_DEFAULT_DATA_DIR "/var/db/ntopng"
|
||||
#else
|
||||
#define CONST_BIN_DIR "/usr/bin"
|
Loading…
Add table
Add a link
Reference in a new issue