diff --git a/security/py-certbot-dns-cpanel/Makefile b/security/py-certbot-dns-cpanel/Makefile index e2e38703bb73..472a0a54175c 100644 --- a/security/py-certbot-dns-cpanel/Makefile +++ b/security/py-certbot-dns-cpanel/Makefile @@ -1,30 +1,30 @@ PORTNAME= certbot-dns-cpanel DISTVERSION= 0.3.0 +PORTREVISION= 1 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= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \ ${PYTHON_PKGNAMEPREFIX}certbot>0:security/py-certbot@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes - SUB_FILES= pkg-message PLIST_FILES= "${PREFIX}/etc/certbot-dns-cpanel/credentials.ini.sample" post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/certbot-dns-cpanel ${INSTALL_DATA} ${FILESDIR}/credentials.ini.sample \ ${STAGEDIR}${PREFIX}/etc/certbot-dns-cpanel .include diff --git a/security/py-certbot-dns-cpanel/files/credentials.ini.sample b/security/py-certbot-dns-cpanel/files/credentials.ini.sample index 72fdfc403efc..9a24bcec009c 100644 --- a/security/py-certbot-dns-cpanel/files/credentials.ini.sample +++ b/security/py-certbot-dns-cpanel/files/credentials.ini.sample @@ -1,18 +1,14 @@ -# From https://raw.githubusercontent.com/badjware/certbot-dns-cpanel/master/credentials.ini.exemple - # The url cPanel url # include the scheme and the port number (usually 2083 for https) -certbot_dns_cpanel:cpanel_url = https://cpanel.exemple.com:2083 +cpanel_url = https://cpanel.exemple.com:2083 # The cPanel username -certbot_dns_cpanel:cpanel_username = user +cpanel_username = user # The cPanel password -certbot_dns_cpanel:cpanel_password = hunter2 +cpanel_password = hunter2 # The cPanel API Token -certbot_dns_cpanel:cpanel_token = EUTQ793EY7MIRX4EMXXXXXXXXXXOX4JF +cpanel_token = EUTQ793EY7MIRX4EMXXXXXXXXXXOX4JF # You only need to configure API Token or Password. If you supply both, the API Token will be used - -# vi:syntax=ini