Lines 3-8
Link Here
|
3 |
PORTNAME= protonvpn-cli |
3 |
PORTNAME= protonvpn-cli |
4 |
DISTVERSIONPREFIX= v |
4 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSION= 1.1.2 |
5 |
DISTVERSION= 1.1.2 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= security net net-vpn |
7 |
CATEGORIES= security net net-vpn |
7 |
|
8 |
|
8 |
MAINTAINER= phascolarctos@protonmail.ch |
9 |
MAINTAINER= phascolarctos@protonmail.ch |
Lines 16-22
Link Here
|
16 |
|
17 |
|
17 |
RUN_DEPENDS= bash:shells/bash \ |
18 |
RUN_DEPENDS= bash:shells/bash \ |
18 |
openvpn:security/openvpn \ |
19 |
openvpn:security/openvpn \ |
19 |
wget:ftp/wget |
20 |
wget:ftp/wget \ |
|
|
21 |
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss |
20 |
|
22 |
|
21 |
USES= python |
23 |
USES= python |
22 |
|
24 |
|
Lines 34-40
Link Here
|
34 |
|
36 |
|
35 |
post-patch: |
37 |
post-patch: |
36 |
${REINPLACE_CMD} s,\$$python,${PYTHON_CMD},g ${WRKSRC}/protonvpn-cli.sh |
38 |
${REINPLACE_CMD} s,\$$python,${PYTHON_CMD},g ${WRKSRC}/protonvpn-cli.sh |
37 |
${REINPLACE_CMD} s,wget,wget\ --no-check-certificate,g ${WRKSRC}/protonvpn-cli.sh |
39 |
${REINPLACE_CMD} s,wget,wget\ --ca-certificate\ ${LOCALBASE}/share/certs/ca-root-nss.crt,g ${WRKSRC}/protonvpn-cli.sh |
38 |
${REINPLACE_CMD} s,%%LOCALBASE%%,${LOCALBASE},g ${WRKSRC}/protonvpn-cli.sh |
40 |
${REINPLACE_CMD} s,%%LOCALBASE%%,${LOCALBASE},g ${WRKSRC}/protonvpn-cli.sh |
39 |
|
41 |
|
40 |
do-install: |
42 |
do-install: |