acme-client: this package does not use conf file and fix SUBST_*
This commit is contained in:
parent
dd304f6661
commit
852969e304
|
@ -17,24 +17,12 @@ MAKE_FILE= GNUmakefile
|
|||
|
||||
SUBST_CLASSES+= paths
|
||||
SUBST_STAGE.paths= pre-build
|
||||
SUBST_FILES.paths= ${WRKSRC}/acme-client.1
|
||||
SUBST_FILES.paths+= ${WRKSRC}/config.h
|
||||
SUBST_FILES.paths+= ${WRKSRC}/http.c
|
||||
SUBST_FILES.paths+= ${WRKSRC}/main.c
|
||||
SUBST_FILES.paths+= ${WRKDIR}/acme-client.conf
|
||||
SUBST_FILES.paths= acme-client.1
|
||||
SUBST_FILES.paths+= config.h
|
||||
SUBST_FILES.paths+= http.c
|
||||
SUBST_FILES.paths+= main.c
|
||||
SUBST_SED.paths= -e 's|/etc/ssl|${PKG_SYSCONFDIR}/ssl|g'
|
||||
SUBST_SED.paths+= -e 's|/etc/acme|${PKG_SYSCONFDIR}/acme|g'
|
||||
|
||||
EGDIR= share/examples/acme-client
|
||||
INSTALLATION_DIRS+= ${EGDIR}
|
||||
|
||||
CONF_FILES+= ${EGDIR}/acme-client.conf ${PKG_SYSCONFDIR}/acme-client.conf
|
||||
|
||||
post-extract:
|
||||
${CP} ${FILESDIR}/acme-client.conf.in ${WRKDIR}/acme-client.conf
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKDIR}/acme-client.conf ${DESTDIR}${PREFIX}/${EGDIR}
|
||||
|
||||
.include "../../security/libressl/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
@comment $NetBSD$
|
||||
bin/acme-client
|
||||
man/man1/acme-client.1
|
||||
share/examples/acme-client/acme-client.conf
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
#
|
||||
# $OpenBSD: acme-client.conf,v 1.7 2018/04/13 08:24:38 ajacoutot Exp $
|
||||
#
|
||||
authority letsencrypt {
|
||||
api url "https://acme-v01.api.letsencrypt.org/directory"
|
||||
account key "/etc/acme/letsencrypt-privkey.pem"
|
||||
}
|
||||
|
||||
authority letsencrypt-staging {
|
||||
api url "https://acme-staging.api.letsencrypt.org/directory"
|
||||
account key "/etc/acme/letsencrypt-staging-privkey.pem"
|
||||
}
|
||||
|
||||
#domain example.com {
|
||||
# alternative names { secure.example.com }
|
||||
# domain key "/etc/ssl/private/example.com.key"
|
||||
# domain certificate "/etc/ssl/example.com.crt"
|
||||
# domain full chain certificate "/etc/ssl/example.com.fullchain.pem"
|
||||
# sign with letsencrypt
|
||||
#}
|
Loading…
Reference in New Issue