wok rev 24484

updated dislocker (0.7.1 -> 0.7.3)
author Hans-G?nter Theisgen
date Fri Feb 18 15:45:33 2022 +0100 (2022-02-18)
parents 8cd7415960ec
children 8b0cae52419d
files dislocker/description.txt dislocker/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dislocker/description.txt	Fri Feb 18 15:45:33 2022 +0100
     1.3 @@ -0,0 +1,8 @@
     1.4 +This software has been designed to read BitLocker encrypted partitions
     1.5 +under a Linux system.
     1.6 +The driver has the capability to read and write on:
     1.7 +
     1.8 +* Windows Vista, 7, 8, 8.1 and 10 encrypted partitions - that's AES-CBC,
     1.9 +  AES-XTS, 128 or 256 bits, with or without the Elephant diffuser,
    1.10 +  encrypted partitions
    1.11 +* BitLocker-To-Go encrypted partitions - that's USB/FAT32 partitions.
     2.1 --- a/dislocker/receipt	Fri Feb 18 15:05:42 2022 +0100
     2.2 +++ b/dislocker/receipt	Fri Feb 18 15:45:33 2022 +0100
     2.3 @@ -1,9 +1,9 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="dislocker"
     2.7 -VERSION="0.7.1"
     2.8 +VERSION="0.7.3"
     2.9  CATEGORY="system-tools"
    2.10 -SHORT_DESC="Read/write BitLocker encrypted volumes under Linux"
    2.11 +SHORT_DESC="Read and write BitLocker encrypted volumes under Linux."
    2.12  MAINTAINER="al.bobylev@gmail.com"
    2.13  LICENSE="GPL2"
    2.14  WEB_SITE="https://github.com/Aorimn/dislocker"
    2.15 @@ -12,7 +12,7 @@
    2.16  WGET_URL="https://github.com/Aorimn/dislocker/archive/v$VERSION.tar.gz"
    2.17  
    2.18  DEPENDS="fuse mbedtls"
    2.19 -BUILD_DEPENDS="cmake mbedtls-dev fuse-dev patch attr"
    2.20 +BUILD_DEPENDS="attr cmake fuse-dev mbedtls-dev"
    2.21  
    2.22  current_version()
    2.23  {
    2.24 @@ -20,31 +20,37 @@
    2.25  	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    2.26  }
    2.27  
    2.28 -compile_rules() {
    2.29 +compile_rules()
    2.30 +{
    2.31  	# Fix v0.7 upstream path error
    2.32 -	sed -i 's/DIS_MAN \${PROJECT_SOURCE_DIR}/DIS_MAN ../' src/CMakeLists.txt
    2.33 +	# obsolete in 0.7.3
    2.34 +#	sed -i 's|DIS_MAN \${PROJECT_SOURCE_DIR}|DIS_MAN ..|' src/CMakeLists.txt
    2.35  
    2.36 -	cp $stuff/manpage/* man/linux/
    2.37 +	cp $stuff/manpage/*	man/linux/
    2.38  
    2.39 -	patch -p1 -i $stuff/fix-spelling.patch
    2.40 +	patch --strip=1 --input=$stuff/fix-spelling.patch
    2.41  
    2.42 -	cmake \
    2.43 -		-DCMAKE_INSTALL_PREFIX=/usr \
    2.44 -		-Dlibdir=/usr/lib \
    2.45 -		-D WARN_FLAGS:STRING="-Wall -Wextra" \
    2.46 -		. &&
    2.47 +	mkdir	_build &&
    2.48 +	cd	_build &&
    2.49 +	cmake	..					\
    2.50 +		-D CMAKE_INSTALL_PREFIX=/usr		\
    2.51 +		-D libdir=/usr/lib			\
    2.52 +		-D WARN_FLAGS:STRING="-Wall -Wextra" &&
    2.53  	make &&
    2.54 -	make DESTDIR=$install install || return 1
    2.55 +	make install DESTDIR=$install || return 1
    2.56  
    2.57 -	mkdir -p $install/usr/share/doc/$PACKAGE-$VERSION/
    2.58 -	cp README.md CHANGELOG.md $install/usr/share/doc/$PACKAGE-$VERSION/
    2.59 +	cd	$src
    2.60 +	mkdir -p $install/usr/share/doc/$PACKAGE-$VERSION
    2.61 +	cp CHANGELOG.md	$install/usr/share/doc/$PACKAGE-$VERSION/
    2.62 +	cp README.md	$install/usr/share/doc/$PACKAGE-$VERSION/
    2.63  
    2.64 -	mkdir -p $install/usr/share/man/man1/
    2.65 -	cp man/linux/dislocker-bek.1 man/linux/dislocker-metadata.1 \
    2.66 -		$install/usr/share/man/man1/
    2.67 +	mkdir -p $install/usr/share/man/man1
    2.68 +	cp man/linux/dislocker-bek.1		$install/usr/share/man/man1/
    2.69 +	cp man/linux/dislocker-metadata.1	$install/usr/share/man/man1/
    2.70  }
    2.71  
    2.72 -genpkg_rules() {
    2.73 -	mkdir -p $fs/usr/
    2.74 -	cp -a $install/usr/bin/ $install/usr/lib/ $fs/usr/
    2.75 +genpkg_rules()
    2.76 +{
    2.77 +	cook_copy_folders	bin
    2.78 +	cook_copy_folders	lib
    2.79  }