Changeset 514
- Timestamp:
- 09/17/09 19:55:06 (3 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
configure (modified) (10 diffs)
-
man/ocat.1 (modified) (3 diffs)
-
src/ocat.c (modified) (2 diffs)
-
src/ocat.h (modified) (1 diff)
-
src/ocatsetup.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r513 r514 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.62 for onioncat 0.2.0.r51 3.3 # Generated by GNU Autoconf 2.62 for onioncat 0.2.0.r514. 4 4 # 5 5 # Report bugs to <rahra@cypherpunk.at>. … … 597 597 PACKAGE_NAME='onioncat' 598 598 PACKAGE_TARNAME='onioncat' 599 PACKAGE_VERSION='0.2.0.r51 3'600 PACKAGE_STRING='onioncat 0.2.0.r51 3'599 PACKAGE_VERSION='0.2.0.r514' 600 PACKAGE_STRING='onioncat 0.2.0.r514' 601 601 PACKAGE_BUGREPORT='rahra@cypherpunk.at' 602 602 … … 1260 1260 # This message is too long to be a string in the A/UX 3.1 sh. 1261 1261 cat <<_ACEOF 1262 \`configure' configures onioncat 0.2.0.r51 3to adapt to many kinds of systems.1262 \`configure' configures onioncat 0.2.0.r514 to adapt to many kinds of systems. 1263 1263 1264 1264 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1330 1330 if test -n "$ac_init_help"; then 1331 1331 case $ac_init_help in 1332 short | recursive ) echo "Configuration of onioncat 0.2.0.r51 3:";;1332 short | recursive ) echo "Configuration of onioncat 0.2.0.r514:";; 1333 1333 esac 1334 1334 cat <<\_ACEOF … … 1422 1422 if $ac_init_version; then 1423 1423 cat <<\_ACEOF 1424 onioncat configure 0.2.0.r51 31424 onioncat configure 0.2.0.r514 1425 1425 generated by GNU Autoconf 2.62 1426 1426 … … 1436 1436 running configure, to aid debugging if configure makes a mistake. 1437 1437 1438 It was created by onioncat $as_me 0.2.0.r51 3, which was1438 It was created by onioncat $as_me 0.2.0.r514, which was 1439 1439 generated by GNU Autoconf 2.62. Invocation command line was 1440 1440 … … 2085 2085 # Define the identity of the package. 2086 2086 PACKAGE='onioncat' 2087 VERSION='0.2.0.r51 3'2087 VERSION='0.2.0.r514' 2088 2088 2089 2089 … … 2236 2236 2237 2237 cat >>confdefs.h <<\_ACEOF 2238 #define SVN_REVISION "51 3"2238 #define SVN_REVISION "514" 2239 2239 _ACEOF 2240 2240 … … 5209 5209 # values after options handling. 5210 5210 ac_log=" 5211 This file was extended by onioncat $as_me 0.2.0.r51 3, which was5211 This file was extended by onioncat $as_me 0.2.0.r514, which was 5212 5212 generated by GNU Autoconf 2.62. Invocation command line was 5213 5213 … … 5262 5262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5263 5263 ac_cs_version="\\ 5264 onioncat config.status 0.2.0.r51 35264 onioncat config.status 0.2.0.r514 5265 5265 configured by $0, generated by GNU Autoconf 2.62, 5266 5266 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" -
trunk/man/ocat.1
r509 r514 65 65 .TP 66 66 \fB\-B\fP 67 Run OnionCat in foreground. 67 Run OnionCat in foreground. OnionCat will log to stderr by default. 68 68 .TP 69 69 \fB\-C\fP … … 95 95 \fB\-L\fP \fIlog_file\fP 96 96 Log output to \fIlog_file\fP. If option is omitted, OnionCat logs to syslog if 97 running in background or to stderr if running in foreground. 97 running in background or to stderr if running in foreground. If syslogging is 98 desired while running in foreground, specify the special file name "syslog" as 99 log file. 98 100 .TP 99 101 \fB\-o\fP \fIIPv6 address\fP … … 105 107 .TP 106 108 \fB\-P\fP \fI[pid file]\fP 107 Create \fIpid file\fP at \fIpid_file\fP. If the parameter is omitted OC will108 create a pid file at \fB/var/run/ocat.pid\fP. If this option is set without 109 parameter it MUSTNOT be the last option in the list of options.109 Create \fIpid file\fP at \fIpid_file\fP. If the option parameter is omitted OC 110 will create a pid file at \fB/var/run/ocat.pid\fP. In the latter case it MUST 111 NOT be the last option in the list of options. 110 112 .TP 111 113 \fB\-r\fP -
trunk/src/ocat.c
r513 r514 281 281 282 282 case 'L': 283 CNF(logfn) = optarg; 283 if (!strcmp(optarg, "syslog")) 284 CNF(use_syslog) = 1; 285 else 286 CNF(logfn) = optarg; 284 287 break; 285 288 … … 345 348 346 349 // log to stderr if in foreground 347 if (!CNF(daemon) )350 if (!CNF(daemon) && !CNF(use_syslog)) 348 351 CNF(logf) = stderr; 349 352 -
trunk/src/ocat.h
r507 r514 280 280 char *logfn; 281 281 FILE *logf; 282 int use_syslog; 282 283 int daemon; 283 284 //! hardcoded permanent peers -
trunk/src/ocatsetup.c
r511 r514 64 64 0, // create_pid_file 65 65 NULL, NULL, // logfile 66 0, // use_syslog 66 67 #ifdef __CYGWIN__ 67 68 0,
Note: See TracChangeset
for help on using the changeset viewer.
