summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anylike.org>2016-02-25 22:24:11 (GMT)
committerChristian Pointner <equinox@anylike.org>2016-02-25 22:24:11 (GMT)
commitdda72105b0b68971f5a9bb8fd77a68eda296c7dd (patch)
treeaba83531eb68e7803f70d1b6409aa81c7f431f10
parent10f7f2dfd9c03de4b1d2751819dbea2a303ccedf (diff)
updated info after moving to GITHEADmaster
-rw-r--r--README6
-rw-r--r--doc/anylike.819
-rwxr-xr-xsrc/configure10
-rw-r--r--src/l_log.c2
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 <http://docbook.sf.net/>
-.\" Date: 12/14/2010
-.\" Manual: anylike user manual
-.\" Source: anylike trunk
+.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
+.\" 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;
}