wok-6.x diff hiawatha/receipt @ rev 24687

Up musl-libc (1.2.2) CVE-2020-28928
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 12 11:02:58 2022 +0000 (2022-03-12)
parents 83b97236db32
children
line diff
     1.1 --- a/hiawatha/receipt	Sat Feb 12 11:42:56 2022 +0000
     1.2 +++ b/hiawatha/receipt	Sat Mar 12 11:02:58 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="hiawatha"
     1.7 -VERSION="10.10"
     1.8 +VERSION="11.1"
     1.9  CATEGORY="network"
    1.10  TAGS="webserver http server"
    1.11  SHORT_DESC="Advanced and secure webserver."
    1.12 @@ -31,24 +31,24 @@
    1.13  	export CC=gcc-83
    1.14  	export CXX=g++-83
    1.15  
    1.16 -	cmake	.				\
    1.17 -		-DCMAKE_INSTALL_PREFIX=/usr	\
    1.18 -		-DCMAKE_INSTALL_SYSCONFDIR=/etc \
    1.19 -		-DLOG_DIR=/var/log		\
    1.20 -		-DWEBROOT_DIR=/var/www		\
    1.21 -		-DPID_DIR=/var/run		\
    1.22 -		-DWORK_DIR=/var/lib &&
    1.23 -	make DESTDIR=$DESTDIR install
    1.24 +	mkdir	_build &&
    1.25 +	cd	_build &&
    1.26 +	cmake	..				\
    1.27 +		-D CMAKE_INSTALL_PREFIX=/usr	\
    1.28 +		-D CMAKE_INSTALL_SYSCONFDIR=/etc\
    1.29 +		-D LOG_DIR=/var/log		\
    1.30 +		-D WEBROOT_DIR=/var/www		\
    1.31 +		-D PID_DIR=/var/run		\
    1.32 +		-D WORK_DIR=/var/lib &&
    1.33 +	make install DESTDIR=$DESTDIR
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.   
    1.37  genpkg_rules()                                      
    1.38  {
    1.39 -	mkdir -p $fs/usr
    1.40 -
    1.41 -	cp -a $install/var	$fs
    1.42 -	cp -a $install/etc	$fs
    1.43 -	cp -a $install/usr/lib	$fs/usr
    1.44 -	cp -a $install/usr/bin	$fs/usr
    1.45 -	cp -a $install/usr/sbin	$fs/usr
    1.46 +	cook_copy_folders	bin
    1.47 +	cook_copy_folders	etc
    1.48 +	cook_copy_folders	lib
    1.49 +	cook_copy_folders	sbin
    1.50 +	cook_copy_folders	var
    1.51  }