wok diff git/receipt @ rev 25294

updated screen, screen-pam and screen-terminfo (4.8.0 -> 4.9.0)
author Hans-G?nter Theisgen
date Tue Jul 19 17:34:06 2022 +0100 (2022-07-19)
parents 71360a13cd94
children ccb3cb4d6f56
line diff
     1.1 --- a/git/receipt	Fri Jan 28 18:19:21 2022 +0000
     1.2 +++ b/git/receipt	Tue Jul 19 17:34:06 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="git"
     1.7 -VERSION="2.26.2"
     1.8 +VERSION="2.35.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Fast version control system."
    1.11  MAINTAINER="b1+slitaz@nagel.org"
    1.12 @@ -11,6 +11,7 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14  WGET_URL="https://www.kernel.org/pub/software/scm/git/$TARBALL"
    1.15  
    1.16 +SUGGESTED="git-lang"
    1.17  DEPENDS="cacerts curl expat openssl zlib"
    1.18  BUILD_DEPENDS="curl-dev expat-dev openssl-dev perl python-dev zlib-dev"
    1.19  
    1.20 @@ -33,8 +34,8 @@
    1.21  		--libexecdir=/usr/lib	\
    1.22  		--without-tcltk		\
    1.23  		$CONFIGURE_ARGS &&
    1.24 -	make -j 1 THREADED_DELTA_SEARCH=1 &&
    1.25 -	make THREADED_DELTA_SEARCH=1 DESTDIR=$DESTDIR install
    1.26 +	make THREADED_DELTA_SEARCH=1 &&
    1.27 +	make install THREADED_DELTA_SEARCH=1 DESTDIR=$DESTDIR
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 @@ -43,7 +44,10 @@
    1.32  	mkdir -p $fs/etc/init.d
    1.33  
    1.34  	cp -a $stuff/git-daemon	$fs/etc/init.d
    1.35 -	cp -a $install/usr	$fs/
    1.36 +	cp -a $install/usr	$fs
    1.37 +
    1.38 +	# moved to package git-lang
    1.39 +	rm -rf			$fs/usr/share/locale
    1.40  
    1.41  	strip -s $fs/usr/lib/git-core/* 2>/dev/null || true
    1.42  }
    1.43 @@ -51,11 +55,12 @@
    1.44  # edit daemons.conf.
    1.45  post_install()
    1.46  {
    1.47 -	if ! grep -q 'GIT_OPTIONS' "$1/etc/daemons.conf"; then
    1.48 +	if ! grep -q 'GIT_OPTIONS' "$1/etc/daemons.conf"
    1.49 +	  then
    1.50  		mkdir -p "$1/var/www/git"
    1.51 -		echo '# Git daemon options.' >> "$1/etc/daemons.conf"
    1.52 -		echo 'GIT_REPO="/var/www/git/"' >> "$1/etc/daemons.conf"
    1.53 -		echo 'GIT_OPTIONS="--detach --syslog --verbose --base-path=$GIT_REPO $GIT_REPO"' >> "$1/etc/daemons.conf"
    1.54 -		echo '' >> "$1/etc/daemons.conf"
    1.55 +		echo '# Git daemon options.
    1.56 +GIT_REPO="/var/www/git/"
    1.57 +GIT_OPTIONS="--detach --syslog --verbose --base-path=$GIT_REPO $GIT_REPO"
    1.58 +' >> "$1/etc/daemons.conf"
    1.59  	fi
    1.60  }