From dda72105b0b68971f5a9bb8fd77a68eda296c7dd Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 25 Feb 2016 23:24:11 +0100 Subject: updated info after moving to GIT --- README | 6 +++--- doc/anylike.8 | 19 ++++++++++++++----- src/configure | 10 +++++----- src/l_log.c | 2 +- 4 files changed, 23 insertions(+), 14 deletions(-) diff --git a/README b/README index 00efe80..a761738 100644 --- a/README +++ b/README @@ -72,10 +72,10 @@ using openssl: Installation ============ -Getting the source via subversion: ----------------------------------- +Getting the source via GIT: +--------------------------- -svn co https://svn.anylike.org/anylike/trunk anylike +git clone https://git.spreadspace.org/anytun/anylike.git cd anylike diff --git a/doc/anylike.8 b/doc/anylike.8 index 4b5669c..3071c35 100644 --- a/doc/anylike.8 +++ b/doc/anylike.8 @@ -1,13 +1,22 @@ '\" t .\" Title: anylike .\" Author: [see the "AUTHORS" section] -.\" Generator: DocBook XSL Stylesheets v1.75.1 -.\" Date: 12/14/2010 -.\" Manual: anylike user manual -.\" Source: anylike trunk +.\" Generator: DocBook XSL Stylesheets v1.78.1 +.\" Date: 02/25/2016 +.\" Manual: \ \& +.\" Source: \ \& .\" Language: English .\" -.TH "ANYLIKE" "8" "12/14/2010" "anylike trunk" "anylike user manual" +.TH "ANYLIKE" "8" "02/25/2016" "\ \&" "\ \&" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- diff --git a/src/configure b/src/configure index 1435f5f..1a29ddc 100755 --- a/src/configure +++ b/src/configure @@ -307,11 +307,11 @@ if [ "$TARGET" != "mingw" ]; then echo "not installing example files" fi - VERSION=`cat ../version` - if which svn >/dev/null; then - SVN_REV=`svn info 2> /dev/null | grep "^Revision: " | awk '{print($2)}'` - if [ -n "$SVN_REV" ]; then - VERSION="$VERSION (svn$SVN_REV)" +VERSION=`cat ../version` +if which git >/dev/null; then + GIT_HASH=`git rev-parse HEAD 2> /dev/null` + if [ -n "$GIT_HASH" ]; then + VERSION="$VERSION (git $GIT_HASH)" fi fi diff --git a/src/l_log.c b/src/l_log.c index 37e725e..5db304d 100644 --- a/src/l_log.c +++ b/src/l_log.c @@ -84,7 +84,7 @@ static int l_log_printf(lua_State *L) lua_call(L, numargs - 1, 1); } - log_prio_t prio = luaL_checkint(L,1); + log_prio_t prio = luaL_checkinteger(L,1); log_printf(prio, "%s", luaL_checkstring(L, 2)); return 0; } -- cgit v1.2.3