Changeset 511


Ignore:
Timestamp:
08/27/09 10:59:29 (3 years ago)
Author:
eagle
Message:

version string improved

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r510 r511  
    11* version 0.2.0 
     2 - version string improved 
    23 - syslog messages contain name and PID 
    34 - fixed some compiler warnings 
  • trunk/configure

    r510 r511  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.62 for onioncat 0.2.0.r509. 
     3# Generated by GNU Autoconf 2.62 for onioncat 0.2.0.r511. 
    44# 
    55# Report bugs to <rahra@cypherpunk.at>. 
     
    597597PACKAGE_NAME='onioncat' 
    598598PACKAGE_TARNAME='onioncat' 
    599 PACKAGE_VERSION='0.2.0.r509' 
    600 PACKAGE_STRING='onioncat 0.2.0.r509' 
     599PACKAGE_VERSION='0.2.0.r511' 
     600PACKAGE_STRING='onioncat 0.2.0.r511' 
    601601PACKAGE_BUGREPORT='rahra@cypherpunk.at' 
    602602 
     
    12601260  # This message is too long to be a string in the A/UX 3.1 sh. 
    12611261  cat <<_ACEOF 
    1262 \`configure' configures onioncat 0.2.0.r509 to adapt to many kinds of systems. 
     1262\`configure' configures onioncat 0.2.0.r511 to adapt to many kinds of systems. 
    12631263 
    12641264Usage: $0 [OPTION]... [VAR=VALUE]... 
     
    13301330if test -n "$ac_init_help"; then 
    13311331  case $ac_init_help in 
    1332      short | recursive ) echo "Configuration of onioncat 0.2.0.r509:";; 
     1332     short | recursive ) echo "Configuration of onioncat 0.2.0.r511:";; 
    13331333   esac 
    13341334  cat <<\_ACEOF 
     
    14221422if $ac_init_version; then 
    14231423  cat <<\_ACEOF 
    1424 onioncat configure 0.2.0.r509 
     1424onioncat configure 0.2.0.r511 
    14251425generated by GNU Autoconf 2.62 
    14261426 
     
    14361436running configure, to aid debugging if configure makes a mistake. 
    14371437 
    1438 It was created by onioncat $as_me 0.2.0.r509, which was 
     1438It was created by onioncat $as_me 0.2.0.r511, which was 
    14391439generated by GNU Autoconf 2.62.  Invocation command line was 
    14401440 
     
    20852085# Define the identity of the package. 
    20862086 PACKAGE='onioncat' 
    2087  VERSION='0.2.0.r509' 
     2087 VERSION='0.2.0.r511' 
    20882088 
    20892089 
     
    22362236 
    22372237cat >>confdefs.h <<\_ACEOF 
    2238 #define SVN_REVISION "509" 
     2238#define SVN_REVISION "511" 
    22392239_ACEOF 
    22402240 
     
    52095209# values after options handling. 
    52105210ac_log=" 
    5211 This file was extended by onioncat $as_me 0.2.0.r509, which was 
     5211This file was extended by onioncat $as_me 0.2.0.r511, which was 
    52125212generated by GNU Autoconf 2.62.  Invocation command line was 
    52135213 
     
    52625262cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    52635263ac_cs_version="\\ 
    5264 onioncat config.status 0.2.0.r509 
     5264onioncat config.status 0.2.0.r511 
    52655265configured by $0, generated by GNU Autoconf 2.62, 
    52665266  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
  • trunk/configure.ac

    r508 r511  
    11 
    22AC_PREREQ(2.62) 
    3 define([svnversion], esyscmd([sh -c "svnversion | tr -d 'M\n'"]))dnl 
     3define([svnversion], esyscmd([sh -c "echo -n $(( `svnversion | tr -d 'M'` + 1 ))"]))dnl 
    44AC_INIT([onioncat],[[0.2.0.r]svnversion],[rahra@cypherpunk.at]) 
    55AM_INIT_AUTOMAKE([-Wall -Werror]) 
  • trunk/src/ocat.c

    r510 r511  
    386386   } 
    387387 
    388    log_msg(LOG_INFO | LOG_FERR, "%s (c) %s -- compiled %s %s", OCAT_AUTHOR, PACKAGE_STRING, __DATE__, __TIME__); 
     388   log_msg(LOG_INFO, "%s", CNF(version)); 
    389389 
    390390#if 0 
  • trunk/src/ocatsetup.c

    r507 r511  
    131131#endif 
    132132 
     133#ifdef DEBUG 
    133134   snprintf(setup_.version, VERSION_STRING_LEN, "%s (c) %s -- compiled %s %s", PACKAGE_STRING, OCAT_AUTHOR, __DATE__, __TIME__); 
     135#else 
     136   snprintf(setup_.version, VERSION_STRING_LEN, "%s (c) %s", PACKAGE_STRING, OCAT_AUTHOR); 
     137#endif 
    134138 
    135139   ctrl_listen_.sin_family = AF_INET; 
  • trunk/src/ocattun.c

    r486 r511  
    3535int tun_alloc(char *dev, int dev_s, struct in6_addr addr) 
    3636{ 
     37#ifdef __linux__ 
    3738   struct ifreq ifr; 
     39#endif 
    3840   int fd; 
    3941   char astr[INET6_ADDRSTRLEN]; 
Note: See TracChangeset for help on using the changeset viewer.