wok rev 23722

updated urbackup-server (2.3.8 -> 2.4.12)
author Hans-G?nter Theisgen
date Thu Apr 30 14:18:52 2020 +0100 (2020-04-30)
parents 46b110484a8f
children accf1450f9ce
files urbackup-server/receipt
line diff
     1.1 --- a/urbackup-server/receipt	Thu Apr 30 14:15:36 2020 +0100
     1.2 +++ b/urbackup-server/receipt	Thu Apr 30 14:18:52 2020 +0100
     1.3 @@ -1,25 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="urbackup-server"
     1.7 -VERSION="2.3.8"
     1.8 +VERSION="2.4.12"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="An easy to setup Open Source client/server backup system."
    1.11 +TAGS="backup"
    1.12 +SHORT_DESC="An easy to setup Open Source client-server backup system."
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="GPL3"
    1.15 +WEB_SITE="https://www.urbackup.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="https://www.urbackup.org/"
    1.19  WGET_URL="https://hndl.urbackup.org/Server/$VERSION/$TARBALL"
    1.20 -TAGS="backup"
    1.21  
    1.22 -DEPENDS="libcurl cryptopp"
    1.23 -BUILD_DEPENDS="curl-dev cryptopp"
    1.24 +DEPENDS="cryptopp libcurl"
    1.25 +BUILD_DEPENDS="cryptopp curl-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30  	sed -i 's/chown/echo &/;s/adduser/echo &/g' Makefile*
    1.31 -	./configure --prefix=/usr \
    1.32 -		--localstatedir=/var \
    1.33 +
    1.34 +	./configure			\
    1.35 +		--prefix=/usr		\
    1.36 +		--localstatedir=/var	\
    1.37  		$CONFIGURE_ARGS &&
    1.38  	make &&
    1.39  	make DESTDIR=$DESTDIR install
    1.40 @@ -28,9 +31,10 @@
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	cp -a $install/* $fs
    1.45  	mkdir -p $install/usr/share/man
    1.46 -	cp $src/docs/* $install/usr/share/man
    1.47 +
    1.48 +	cp -a $install/*	$fs
    1.49 +	cp $src/docs/*		$install/usr/share/man
    1.50  }
    1.51  
    1.52  # Pre and post install commands for Tazpkg.
    1.53 @@ -43,7 +47,8 @@
    1.54  	user=urbackup
    1.55  	group=urbackup
    1.56  	
    1.57 -	if ! grep -q $user "$1/etc/passwd"; then
    1.58 +	if ! grep -q $user "$1/etc/passwd"
    1.59 +	  then
    1.60  		echo
    1.61  		echo -n "Adding user/group $user..."
    1.62  		chroot "$1/" addgroup -S $group