wok-6.x rev 21893
easy-rsa: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 03 15:08:00 2019 +0200 (2019-10-03) |
parents | 3a5fb1938b95 |
children | f4c90bf607b6 |
files | easy-rsa/receipt |
line diff
1.1 --- a/easy-rsa/receipt Thu Oct 03 13:50:29 2019 +0100 1.2 +++ b/easy-rsa/receipt Thu Oct 03 15:08:00 2019 +0200 1.3 @@ -10,19 +10,18 @@ 1.4 WEB_SITE="https://github.com/OpenVPN/easy-rsa" 1.5 WGET_URL="https://github.com/OpenVPN/easy-rsa/archive/v$VERSION.tar.gz" 1.6 1.7 +DEPENDS="openssl" 1.8 + 1.9 # Rules to gen a SliTaz package suitable for Tazpkg. 1.10 genpkg_rules() 1.11 { 1.12 mkdir -p $install/usr/share $fs/usr/share/ $fs/usr/bin 1.13 cp -a $src/doc $install/usr/share 1.14 - cp -a $src/easyrsa${VERSION%%.*} $fs/usr/share/esay-rsa 1.15 + cp -a $src/easyrsa${VERSION%%.*} $fs/usr/share/easy-rsa 1.16 cat > $fs/usr/bin/make-cadir <<EOT 1.17 #!/bin/sh 1.18 1.19 -if [ -z "\$1" ] || [ -e "\$1" ]; then 1.20 - echo "Usage: \$0 DIRECTORY" 1.21 - exit 1 1.22 -fi 1.23 +[ -e "\${1:-.}" ] && echo "Usage: \$0 DIRECTORY" && exit 1 1.24 1.25 mkdir -m 700 -p "\$1" 1.26 ln -s /usr/share/easy-rsa/easyrsa "\$1"