wok-next diff boxbackup/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 471441bc00c3
children
line diff
     1.1 --- a/boxbackup/receipt	Fri May 04 14:33:10 2018 +0300
     1.2 +++ b/boxbackup/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -4,7 +4,7 @@
     1.4  VERSION="0.12"
     1.5  CATEGORY="meta"
     1.6  SHORT_DESC="BoxBackup on-line backup system"
     1.7 -MAINTAINER="domcox@slitaz.org"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  LICENSE="GPL2"
    1.10  WEB_SITE="https://www.boxbackup.org/"
    1.11  
    1.12 @@ -14,7 +14,7 @@
    1.13  WGET_URL="https://github.com/boxbackup/boxbackup/archive/$TARBALL"
    1.14  
    1.15  BUILD_DEPENDS="automake zlib-dev libedit-dev db-dev openssl-dev libxslt"
    1.16 -SPLIT="boxbackup-client boxbackup-server"
    1.17 +SPLIT="$PACKAGE-client $PACKAGE-server"
    1.18  
    1.19  compile_rules() {
    1.20  	./bootstrap
    1.21 @@ -119,7 +119,7 @@
    1.22  }
    1.23  
    1.24  post_install_boxbackup_server() {
    1.25 -	HOSTNAME=$(ifconfig | awk -F ":" '/cast/ {print substr($2,0, index($2," ")-1) }')
    1.26 +	HOSTNAME=$(ifconfig | awk -F ":" '/cast/ {print substr($2,0, index($2," ")-1) }')	#'MC
    1.27  	CONF_DIR="/etc/boxbackup"
    1.28  	DATA_DIR="/var/lib/bbstored"
    1.29  	CA_DIR="${CONF_DIR}/ca"
    1.30 @@ -191,16 +191,16 @@
    1.31  		# Sign the server certificate
    1.32  		action "Sign the server certificate..."
    1.33  		chroot "$1/" openssl x509 -req -sha1 -extensions usr_crt \
    1.34 -			-in $CONF_DIR/$BBUSER/${HOSTNAME}-csr.pem \
    1.35 +			-in $CONF_DIR/$BBUSER/$HOSTNAME-csr.pem \
    1.36  			-CA $CA_DIR/roots/serverCA.pem \
    1.37  			-CAkey $CA_DIR/keys/serverRootKey.pem \
    1.38 -			-out $CA_DIR/servers/${HOSTNAME}-cert.pem \
    1.39 +			-out $CA_DIR/servers/$HOSTNAME-cert.pem \
    1.40  			-days 5000 2>1 > /dev/null
    1.41  		status
    1.42  
    1.43  		# Preparing the server certificates
    1.44  		action "Installing server certificate..."
    1.45 -		cp -a "$1$CA_DIR/servers/${HOSTNAME}-cert.pem" "$1$CONF_DIR/$BBUSER"
    1.46 +		cp -a "$1$CA_DIR/servers/$HOSTNAME-cert.pem" "$1$CONF_DIR/$BBUSER"
    1.47  		status
    1.48  		action "Installing client certificate..."
    1.49  		cp -a "$1$CA_DIR/roots/clientCA.pem" "$1$CONF_DIR/$BBUSER"