Commits

Guan-Zhong Huang committed b3f8605

gitolite: Updated for version 3.5.1_20130403git

Comments (0)

Files changed (2)

gitolite/gitolite.SlackBuild

 
 # Slackware build script for gitolite
 
-# Copyright 2012  Guan-Zhong Huang, Taiwan <imprazaguy@gmail.com>
+# Copyright 2012-2013  Guan-Zhong Huang, Taiwan <imprazaguy@gmail.com>
 # All rights reserved.
 #
 # Redistribution and use of this script, with or without modification, is
 
 
 PRGNAM=gitolite
-VERSION=${VERSION:-3.4.8}
+VERSION=${VERSION:-3.5.1_20130403git}
 BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}	
+TAG=${TAG:-_SBo}
 
-SRCNAM=sitaramc-gitolite
-FULL_VERSION=v3.04-8-g57bea39
-COMMIT_ID=57bea39a1e65d29ce43ee8d0c1fbcb9ff19c0a9b
-SRCDIR=$SRCNAM-$(echo $COMMIT_ID | cut -b-7)
+COMMIT_ID=962e465079617de6c064c315ff0376f59db24ef8
+FULL_VERSION=v3.5.1-2-g962e465
 
 if [ -z "$ARCH" ]; then
   case "$( uname -m )" in
 rm -rf $PKG
 mkdir -p $TMP $PKG $OUTPUT
 cd $TMP
-rm -rf $SRCDIR
+rm -rf $PRGNAM-$COMMIT_ID
 # Because wget may ignore Content-Disposition header, the downloaded filename
 # may be different. Check that and choose the right filename.
-if [ -r "$CWD/$SRCNAM-$FULL_VERSION.tar.gz" ]; then
-  tar xvf $CWD/$SRCNAM-$FULL_VERSION.tar.gz
-elif [ -r "$CWD/$COMMIT_ID" ]; then
-  tar xvf $CWD/$COMMIT_ID
+if [ -r "$CWD/$PRGNAM-$COMMIT_ID.tar.gz" ]; then
+  tar xvf $CWD/$PRGNAM-$COMMIT_ID.tar.gz
+elif [ -r "$CWD/$COMMIT_ID.tar.gz" ]; then
+  tar xvf $CWD/$COMMIT_ID.tar.gz
 fi
-cd $SRCDIR
+cd $PRGNAM-$COMMIT_ID
 chown -R root:root .
 find . \
  \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \

gitolite/gitolite.info

 PRGNAM="gitolite"
-VERSION="3.03"
+VERSION="3.5.1_20130403git"
 HOMEPAGE="https://github.com/sitaramc/gitolite"
-DOWNLOAD="https://github.com/sitaramc/gitolite/tarball/v3.04-8-g57bea39"
-MD5SUM="888a3cb7c9acd214cddbe8b7995de777"
+DOWNLOAD="https://github.com/sitaramc/gitolite/archive/962e465079617de6c064c315ff0376f59db24ef8.tar.gz"
+MD5SUM="7683d15c5fa66713777ae4eb971b6844"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
+REQUIRES=""
 MAINTAINER="Guan-Zhong Huang"
 EMAIL="imprazaguy@gmail.com"
-APPROVED=""