replaced uname-a by $TARGET
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
======
|
||||
08-Jan-2005: - include ./autogen.sh into distribution
|
||||
- fix: FreeBSD - libgnugetopt is optional library
|
||||
- feature: build support for Cygwin (by Mathias Wohlfarth)
|
||||
01-Jan-2005: - fix: doc/Makefile.am, install part (by David Taylor)
|
||||
30-Dec-2004: - feature: remote TCP logging facility
|
||||
29-Dec-2004: - feature: Outbound proxies configurable per domain
|
||||
|
||||
+1
-2
@@ -20,8 +20,7 @@
|
||||
|
||||
|
||||
AM_CFLAGS = -Wall -D_GNU_SOURCE \
|
||||
-DBUILDSTR="\"`cat .buildno`\"" \
|
||||
-DUNAME="\"`uname -a`\""
|
||||
-DBUILDSTR="\"`cat .buildno`\""
|
||||
|
||||
#
|
||||
# Siproxd itself
|
||||
|
||||
@@ -174,8 +174,7 @@ void log_tcp_connect(void) {
|
||||
INFO("Rejected DEBUG TCP connection");
|
||||
} else {
|
||||
debug_fd=accept(debug_listen_fd, NULL, NULL);
|
||||
INFO("Accepted DEBUG TCP connection [fd=%i]", debug_fd);
|
||||
DEBUGC(DBCLASS_ALL,UNAME);
|
||||
INFO("Accepted DEBUG TCP connection [fd=%i] ("UNAME")", debug_fd);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+3
-4
@@ -185,8 +185,7 @@ int main (int argc, char *argv[])
|
||||
/*
|
||||
* Init stuff
|
||||
*/
|
||||
INFO(PACKAGE"-"VERSION"-"BUILDSTR" starting up");
|
||||
DEBUGC(DBCLASS_ALL,UNAME);
|
||||
INFO(PACKAGE"-"VERSION"-"BUILDSTR"-"UNAME" starting up");
|
||||
|
||||
/* read the config file */
|
||||
if (read_config(configfile, config_search) == STS_FAILURE) exit(1);
|
||||
@@ -259,8 +258,8 @@ int main (int argc, char *argv[])
|
||||
*/
|
||||
log_set_silence(configuration.silence_log);
|
||||
|
||||
INFO(PACKAGE"-"VERSION"-"BUILDSTR" started");
|
||||
DEBUGC(DBCLASS_ALL,UNAME);
|
||||
INFO(PACKAGE"-"VERSION"-"BUILDSTR"-"UNAME" started");
|
||||
|
||||
/*
|
||||
* Main loop
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user