wok-current annotate easy-rsa/receipt @ rev 24028

grub2: added /etc/default/grub
author Hans-G?nter Theisgen
date Thu Mar 25 08:19:09 2021 +0100 (2021-03-25)
parents 8c7a00fa1a66
children 5ea0ce1cecc0
rev   line source
pascal@21888 1 # SliTaz package receipt.
pascal@21888 2
pascal@21888 3 PACKAGE="easy-rsa"
pascal@21888 4 VERSION="3.0.6"
pascal@21888 5 CATEGORY="security"
pascal@21888 6 SHORT_DESC="A Shell-based CA Utility"
pascal@21888 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@21888 8 LICENSE="GPL2"
pascal@21888 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21888 10 WEB_SITE="https://github.com/OpenVPN/easy-rsa"
pascal@21888 11 WGET_URL="https://github.com/OpenVPN/easy-rsa/archive/v$VERSION.tar.gz"
pascal@21888 12
pascal@21893 13 DEPENDS="openssl"
pascal@21893 14
pascal@21888 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21888 16 genpkg_rules()
pascal@21888 17 {
pascal@21917 18 mkdir -p $install/usr/share $fs/usr/share $fs/usr/bin
pascal@21888 19 cp -a $src/doc $install/usr/share
pascal@21893 20 cp -a $src/easyrsa${VERSION%%.*} $fs/usr/share/easy-rsa
pascal@21888 21 cat > $fs/usr/bin/make-cadir <<EOT
pascal@21888 22 #!/bin/sh
pascal@21888 23
pascal@21917 24 [ -e "\${1:-.}" ] && echo "Usage: \$0 DIRECTORY_TO_CREATE" && exit 1
pascal@21888 25
pascal@21888 26 mkdir -m 700 -p "\$1"
pascal@21888 27 ln -s /usr/share/easy-rsa/easyrsa "\$1"
pascal@21888 28 ln -s /usr/share/easy-rsa/x509-types "\$1"
pascal@21888 29 cp /usr/share/easy-rsa/openssl-easyrsa.cnf "\$1"
pascal@21888 30 cp /usr/share/easy-rsa/vars.example "\$1/vars"
pascal@21888 31 EOT
pascal@21888 32 chmod +x $fs/usr/bin/make-cadir
pascal@21888 33 }