svn commit: r462048 - in head/security/acme.sh: . files

Dan Langille dvl at FreeBSD.org
Fri Feb 16 17:23:29 UTC 2018


Author: dvl
Date: Fri Feb 16 17:23:28 2018
New Revision: 462048
URL: https://svnweb.freebsd.org/changeset/ports/462048

Log:
  Add missing link to the deploy directory
  
  PR:		225954
  Submitted by:	Jose Luis Duran <jlduran at gmail.com>

Modified:
  head/security/acme.sh/Makefile
  head/security/acme.sh/files/pkg-install.in

Modified: head/security/acme.sh/Makefile
==============================================================================
--- head/security/acme.sh/Makefile	Fri Feb 16 17:19:55 2018	(r462047)
+++ head/security/acme.sh/Makefile	Fri Feb 16 17:23:28 2018	(r462048)
@@ -2,7 +2,7 @@
 
 PORTNAME=	acme.sh
 PORTVERSION=	2.7.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 
 MAINTAINER=	dvl at FreeBSD.org

Modified: head/security/acme.sh/files/pkg-install.in
==============================================================================
--- head/security/acme.sh/files/pkg-install.in	Fri Feb 16 17:19:55 2018	(r462047)
+++ head/security/acme.sh/files/pkg-install.in	Fri Feb 16 17:23:28 2018	(r462048)
@@ -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


More information about the svn-ports-head mailing list