freebsd-ports/security/py-certbot-dns-cpanel/Makefile
Danilo G. Baio 47efefa997 Add security/py-certbot-dns-cpanel: CPanel DNS Authenticator plugin for Certbot
Plugin to allow acme dns-01 authentication of a name managed in cPanel. Useful
for automating and creating a Let's Encrypt certificate (wildcard or not) for a
service with a name managed by cPanel, but installed on a server not managed in
cPanel.

WWW: https://pypi.org/project/certbot-dns-cpanel/

PR:		244096
Submitted by:	Venim <h.freshports@skarnell.se>
2020-06-21 18:43:11 +00:00

32 lines
841 B
Makefile

# $FreeBSD$
PORTNAME= certbot-dns-cpanel
DISTVERSION= 0.2.2
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= h.freshports@skarnell.se
COMMENT= CPanel DNS Authenticator plugin for Certbot
LICENSE= APACHE20
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certbot>0:security/py-certbot@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR} \
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
USES= python
USE_PYTHON= autoplist distutils
SUB_FILES= pkg-message
PLIST_FILES= "${PREFIX}/etc/certbot-dns-cpanel/credentials.ini.sample"
NO_ARCH= yes
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/certbot-dns-cpanel
${INSTALL_DATA} ${FILESDIR}/credentials.ini.sample \
${STAGEDIR}${PREFIX}/etc/certbot-dns-cpanel
.include <bsd.port.mk>