diff --git Makefile Makefile index 35c534b..0b3b3bd 100644 --- Makefile +++ Makefile @@ -2,7 +2,7 @@ PORTNAME= acme.sh PORTVERSION= 2.7.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MAINTAINER= dvl@FreeBSD.org diff --git files/pkg-install.in files/pkg-install.in index 2a87c60..ea3802a 100644 --- files/pkg-install.in +++ files/pkg-install.in @@ -7,14 +7,18 @@ if [ "$2" = "POST-INSTALL" ]; then /usr/bin/install -d -o acme -g acme -m 750 ~acme/.acme.sh fi - if [ ! -d ~acme/certs ]; then + if [ ! -d ~acme/certs ]; then /usr/bin/install -d -o acme -g acme -m 750 ~acme/certs fi - + + if [ ! -d ~acme/.acme.sh/deploy ]; then + /bin/ln -sf %%EXAMPLESDIR%%/deploy ~acme/.acme.sh + fi + if [ ! -d ~acme/.acme.sh/dnsapi ]; then /bin/ln -sf %%EXAMPLESDIR%%/dnsapi ~acme/.acme.sh fi - + if [ ! -f ~acme/.acme.sh/account.conf.sample ]; then /bin/cat << EOF >> ~acme/.acme.sh/account.conf.sample