[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (51ff8c657060d470a51f60fb4dce8330dbcdc380)

Vlad Glagolev scm at sourcemage.org
Thu Aug 21 07:08:56 EDT 2008


GIT changes to master grimoire by Vlad Glagolev <stealth at sourcemage.org>:

 devel/git/CONFIGURE |    2 ++
 devel/git/HISTORY   |    2 ++
 devel/git/INSTALL   |    9 +++++++++
 3 files changed, 13 insertions(+)

New commits:
commit 51ff8c657060d470a51f60fb4dce8330dbcdc380
Author: Vlad Glagolev <stealth at sourcemage.org>
Commit: Vlad Glagolev <stealth at sourcemage.org>

    git: added option for creating the oldie symlinks

diff --git a/devel/git/CONFIGURE b/devel/git/CONFIGURE
index c137253..1eb637a 100755
--- a/devel/git/CONFIGURE
+++ b/devel/git/CONFIGURE
@@ -3,6 +3,8 @@ config_query_list GIT_SHA_OPT \
                   openssl \
                   mozilla &&
 
+config_query GIT_SYMLINKS "Enable Git symlinks (obsolete since 1.6)?" n &&
+
 if spell_ok uri &&
    spell_ok term-readkey &&
    spell_ok lwp; then
diff --git a/devel/git/HISTORY b/devel/git/HISTORY
index fc95d4d..95c747d 100644
--- a/devel/git/HISTORY
+++ b/devel/git/HISTORY
@@ -2,6 +2,8 @@
 	* DETAILS: updated spell to 1.6.0
 	* init.d/git-daemon: use the multicall git binary (since 1.6); fixed
 	  running/stopping process, cleaned up
+	* CONFIGURE, INSTALL: added option to install symlinks for the deprecated
+	  path binaries
 
 2008-08-18 Vlad Glagolev <stealth at sourcemage.org>
 	* DETAILS: updated spell to 1.6.0, added some more bashism
diff --git a/devel/git/INSTALL b/devel/git/INSTALL
index 249f68d..c9a80a3 100755
--- a/devel/git/INSTALL
+++ b/devel/git/INSTALL
@@ -36,4 +36,13 @@ if is_depends_enabled $SPELL vim; then
   VIM_VERSION=$(installed_version vim)
   install -vm 644 "$SOURCE_DIRECTORY/contrib/vim/syntax/gitcommit.vim" \
                   "$INSTALL_ROOT/usr/share/vim/vim${VIM_VERSION/./}/syntax"
+fi &&
+
+if [[ $GIT_SYMLINKS == y ]]; then
+  message "Creating needed symlinks..." &&
+
+  for i in `ls "$INSTALL_ROOT/usr/libexec/git-core"`; do
+    ln -vsf "$TRACK_ROOT/usr/libexec/git-core/$i" \
+            "$INSTALL_ROOT/usr/bin/$i"
+  done
 fi



More information about the SM-Commit mailing list