View | Details | Raw Unified | Return to bug 257857 | Differences between
and this patch

Collapse All | Expand All

(-)b/security/py-certbot-dns-cpanel/Makefile (-5 / +4 lines)
Lines 1-5 Link Here
1
PORTNAME=	certbot-dns-cpanel
1
PORTNAME=	certbot-dns-cpanel
2
DISTVERSION=	0.2.2
2
DISTVERSION=	0.3.0
3
CATEGORIES=	security python
3
CATEGORIES=	security python
4
MASTER_SITES=	CHEESESHOP
4
MASTER_SITES=	CHEESESHOP
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 9-27 COMMENT= CPanel DNS Authenticator plugin for Certbot Link Here
9
9
10
LICENSE=	APACHE20
10
LICENSE=	APACHE20
11
11
12
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certbot>0:security/py-certbot@${PY_FLAVOR} \
12
RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
13
		${PYTHON_PKGNAMEPREFIX}certbot>0:security/py-certbot@${PY_FLAVOR} \
13
		${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR} \
14
		${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR} \
14
		${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
15
15
16
USES=		python:3.6+
16
USES=		python:3.6+
17
USE_PYTHON=	autoplist distutils
17
USE_PYTHON=	autoplist distutils
18
18
19
NO_ARCH=	yes
19
SUB_FILES=	pkg-message
20
SUB_FILES=	pkg-message
20
21
21
PLIST_FILES=	"${PREFIX}/etc/certbot-dns-cpanel/credentials.ini.sample"
22
PLIST_FILES=	"${PREFIX}/etc/certbot-dns-cpanel/credentials.ini.sample"
22
23
23
NO_ARCH=	yes
24
25
post-install:
24
post-install:
26
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/certbot-dns-cpanel
25
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/certbot-dns-cpanel
27
	${INSTALL_DATA} ${FILESDIR}/credentials.ini.sample \
26
	${INSTALL_DATA} ${FILESDIR}/credentials.ini.sample \
(-)b/security/py-certbot-dns-cpanel/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1592684154
1
TIMESTAMP = 1629025996
2
SHA256 (certbot-dns-cpanel-0.2.2.tar.gz) = 12b4f9863e572a3e02affb9a3f0a6ca663d8b88664237c785fea0662eee21471
2
SHA256 (certbot-dns-cpanel-0.3.0.tar.gz) = 2cbaa7617309c2ce9f35a0457914c71d5b2073663f95a6dc7a77477a2c902547
3
SIZE (certbot-dns-cpanel-0.2.2.tar.gz) = 4478
3
SIZE (certbot-dns-cpanel-0.3.0.tar.gz) = 8043
(-)b/security/py-certbot-dns-cpanel/files/credentials.ini.sample (-6 / +7 lines)
Lines 1-13 Link Here
1
# From https://raw.githubusercontent.com/badjware/certbot-dns-cpanel/master/credentials.ini.exemple
2
3
# The url cPanel url
1
# The url cPanel url
4
# include the scheme and the port number (usually 2083 for https)
2
# include the scheme and the port number (usually 2083 for https)
5
certbot_dns_cpanel:cpanel_url = https://cpanel.exemple.com:2083
3
cpanel_url = https://cpanel.exemple.com:2083
6
4
7
# The cPanel username
5
# The cPanel username
8
certbot_dns_cpanel:cpanel_username = user
6
cpanel_username = user
9
7
10
# The cPanel password
8
# The cPanel password
11
certbot_dns_cpanel:cpanel_password = hunter2
9
cpanel_password = hunter2
10
11
# The cPanel API Token
12
cpanel_token = EUTQ793EY7MIRX4EMXXXXXXXXXXOX4JF
12
13
13
# vi:syntax=ini
14
# You only need to configure API Token or Password. If you supply both, the API Token will be used

Return to bug 257857