diff options
author | Christian Pointner <equinox@anytun.org> | 2016-02-24 22:17:54 +0100 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2016-02-24 22:17:54 +0100 |
commit | c0878d54cfea06e95ecad4e62346fd56a60bff9d (patch) | |
tree | ff7616955c63e9776be925c0df6a390af40d49e3 | |
parent | added .gitignore (diff) |
updated doc and other stuff after moving to GIT
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | README | 6 | ||||
-rwxr-xr-x | src/configure | 11 |
3 files changed, 13 insertions, 8 deletions
@@ -1,3 +1,7 @@ +2016.?.? -- Version 0.?.? + +* moved to GIT + 2014.06.21 -- Version 0.3.5 * added support for libnettle as crypt library @@ -59,10 +59,10 @@ if you want to rebuild the manpage: Installation ============ -Getting the source via subversion: ----------------------------------- +Getting the source via GIT: +--------------------------- -svn co http://svn.anytun.org/uanytun/trunk uanytun +git clone https://git.spreadspace.org/anytun/uanytun.git cd uanytun Building from source diff --git a/src/configure b/src/configure index 4b890a0..3b7b1b4 100755 --- a/src/configure +++ b/src/configure @@ -263,12 +263,13 @@ else 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)" - fi +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 + HOSTNAME=`hostname` DATE=`date +"%d.%m.%Y %H:%M:%S %Z"` |