blob: b8bc488e696c603f19619e9b85531b869ffc76f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
PORTNAME= lego
DISTVERSIONPREFIX= v
DISTVERSION= 4.3.1
CATEGORIES= security
MAINTAINER= matt@matthoran.com
COMMENT= Let's Encrypt client and ACME library written in Go
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= go-acme
GH_TUPLE= Azure:azure-sdk-for-go:v32.4.0:azure_azure_sdk_for_go/vendor/github.com/Azure/azure-sdk-for-go \
Azure:go-autorest:3133e83bedd2:azure_go_autorest_cli \
Azure:go-autorest:4bb4e3c99dd9:azure_go_autorest_date \
Azure:go-autorest:autorest/v0.9.0:azure_go_autorest_autorest \
Azure:go-autorest:da8db3a19ec5:azure_go_autorest_auth \
Azure:go-autorest:e978813398c2:azure_go_autorest_adal/vendor/github.com/Azure/go-autorest \
Azure:go-autorest:f29a2eccaa17:azure_go_autorest_to \
Azure:go-autorest:logger/v0.1.0:azure_go_autorest_logger \
Azure:go-autorest:tracing/v0.5.0:azure_go_autorest_tracing \
BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \
OpenDNS:vegadns2client:a3fa4a771d87:opendns_vegadns2client/vendor/github.com/OpenDNS/vegadns2client \
akamai:AkamaiOPEN-edgegrid-golang:v1.1.0:akamai_akamaiopen_edgegrid_golang/vendor/github.com/akamai/AkamaiOPEN-edgegrid-golang \
aliyun:alibaba-cloud-sdk-go:v1.61.976:aliyun_alibaba_cloud_sdk_go/vendor/github.com/aliyun/alibaba-cloud-sdk-go \
aws:aws-sdk-go:v1.37.27:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \
boombuler:barcode:6c824513bacc:boombuler_barcode/vendor/github.com/boombuler/barcode \
cenkalti:backoff:v4.1.0:cenkalti_backoff_v4/vendor/github.com/cenkalti/backoff/v4 \
census-instrumentation:opencensus-go:v0.22.3:census_instrumentation_opencensus_go/vendor/go.opencensus.io \
cloudflare:cloudflare-go:v0.14.0:cloudflare_cloudflare_go/vendor/github.com/cloudflare/cloudflare-go \
cpu:goacmedns:v0.1.1:cpu_goacmedns/vendor/github.com/cpu/goacmedns \
cpuguy83:go-md2man:v2.0.0:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
deepmap:oapi-codegen:v1.3.11:deepmap_oapi_codegen/vendor/github.com/deepmap/oapi-codegen \
dgrijalva:jwt-go:v3.2.0:dgrijalva_jwt_go/vendor/github.com/dgrijalva/jwt-go \
dimchansky:utfbom:v1.1.0:dimchansky_utfbom/vendor/github.com/dimchansky/utfbom \
dnsimple:dnsimple-go:v0.63.0:dnsimple_dnsimple_go/vendor/github.com/dnsimple/dnsimple-go \
exoscale:egoscale:v0.46.0:exoscale_egoscale/vendor/github.com/exoscale/egoscale \
fatih:structs:v1.1.0:fatih_structs/vendor/github.com/fatih/structs \
go-errors:errors:v1.0.1:go_errors_errors/vendor/github.com/go-errors/errors \
go-ini:ini:v1.62.0:go_ini_ini/vendor/gopkg.in/ini.v1 \
go-resty:resty:d7b97669fe48:go_resty_resty_v2/vendor/github.com/go-resty/resty/v2 \
go-yaml:yaml:496545a6307b:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \
go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
gofrs:uuid:v3.2.0:gofrs_uuid/vendor/github.com/gofrs/uuid \
golang:appengine:v1.6.5:golang_appengine/vendor/google.golang.org/appengine \
golang:crypto:eec23a3978ad:golang_crypto/vendor/golang.org/x/crypto \
golang:groupcache:8c9f03a8e57e:golang_groupcache/vendor/github.com/golang/groupcache \
golang:net:5f55cee0dc0d:golang_net/vendor/golang.org/x/net \
golang:oauth2:bf48bf16ab8d:golang_oauth2/vendor/golang.org/x/oauth2 \
golang:protobuf:v1.3.4:golang_protobuf/vendor/github.com/golang/protobuf \
golang:sys:f84b799fce68:golang_sys/vendor/golang.org/x/sys \
golang:text:v0.3.4:golang_text/vendor/golang.org/x/text \
golang:time:7e3f01d25324:golang_time/vendor/golang.org/x/time \
google:go-genproto:506484158171:google_go_genproto/vendor/google.golang.org/genproto \
google:go-querystring:v1.0.0:google_go_querystring/vendor/github.com/google/go-querystring \
google:uuid:v1.1.1:google_uuid/vendor/github.com/google/uuid \
googleapis:gax-go:v2.0.5:googleapis_gax_go_v2/vendor/github.com/googleapis/gax-go \
googleapis:google-api-go-client:v0.20.0:googleapis_google_api_go_client/vendor/google.golang.org/api \
googleapis:google-cloud-go:v0.54.0:googleapis_google_cloud_go/vendor/cloud.google.com/go \
gophercloud:gophercloud:v0.16.0:gophercloud_gophercloud/vendor/github.com/gophercloud/gophercloud \
gophercloud:utils:f6de111f2eae:gophercloud_utils/vendor/github.com/gophercloud/utils \
grpc:grpc-go:v1.27.1:grpc_grpc_go/vendor/google.golang.org/grpc \
hashicorp:go-cleanhttp:v0.5.1:hashicorp_go_cleanhttp/vendor/github.com/hashicorp/go-cleanhttp \
hashicorp:go-retryablehttp:v0.6.8:hashicorp_go_retryablehttp/vendor/github.com/hashicorp/go-retryablehttp \
iij:doapi:0bbf12d6d7df:iij_doapi/vendor/github.com/iij/doapi \
jarcoal:httpmock:v1.0.6:jarcoal_httpmock/vendor/github.com/jarcoal/httpmock \
jmespath:go-jmespath:v0.4.0:jmespath_go_jmespath/vendor/github.com/jmespath/go-jmespath \
json-iterator:go:v1.1.7:json_iterator_go/vendor/github.com/json-iterator/go \
k0kubun:go-ansi:3bf9e2903213:k0kubun_go_ansi/vendor/github.com/k0kubun/go-ansi \
kolo:xmlrpc:e0350524596b:kolo_xmlrpc/vendor/github.com/kolo/xmlrpc \
konsorten:go-windows-terminal-sequences:v1.0.2:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \
labbsr0x:bindman-dns-webhook:v1.0.2:labbsr0x_bindman_dns_webhook/vendor/github.com/labbsr0x/bindman-dns-webhook \
labbsr0x:goh:v1.0.1:labbsr0x_goh/vendor/github.com/labbsr0x/goh \
linode:linodego:v0.25.3:linode_linodego/vendor/github.com/linode/linodego \
liquidweb:go-lwApi:v0.0.5:liquidweb_go_lwapi/vendor/github.com/liquidweb/go-lwApi \
liquidweb:liquidweb-cli:v0.6.9:liquidweb_liquidweb_cli/vendor/github.com/liquidweb/liquidweb-cli \
liquidweb:liquidweb-go:v1.6.3:liquidweb_liquidweb_go/vendor/github.com/liquidweb/liquidweb-go \
mattn:go-isatty:v0.0.12:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
miekg:dns:v1.1.40:miekg_dns/vendor/github.com/miekg/dns \
mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir \
mitchellh:mapstructure:v1.3.3:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \
modern-go:concurrent:bacd9c7ef1dd:modern_go_concurrent/vendor/github.com/modern-go/concurrent \
modern-go:reflect2:v1.0.1:modern_go_reflect2/vendor/github.com/modern-go/reflect2 \
namedotcom:go:08470befbe04:namedotcom_go/vendor/github.com/namedotcom/go \
nrdcg:auroradns:v1.0.1:nrdcg_auroradns/vendor/github.com/nrdcg/auroradns \
nrdcg:desec:v0.5.0:nrdcg_desec/vendor/github.com/nrdcg/desec \
nrdcg:dnspod-go:v0.4.0:nrdcg_dnspod_go/vendor/github.com/nrdcg/dnspod-go \
nrdcg:goinwx:v0.8.1:nrdcg_goinwx/vendor/github.com/nrdcg/goinwx \
nrdcg:namesilo:v0.2.1:nrdcg_namesilo/vendor/github.com/nrdcg/namesilo \
ns1:ns1-go:v2.4.4:ns1_ns1_go/vendor/gopkg.in/ns1/ns1-go.v2 \
oracle:oci-go-sdk:v24.3.0:oracle_oci_go_sdk/vendor/github.com/oracle/oci-go-sdk \
ovh:go-ovh:v1.1.0:ovh_go_ovh/vendor/github.com/ovh/go-ovh \
patrickmn:go-cache:v2.1.0:patrickmn_go_cache/vendor/github.com/patrickmn/go-cache \
pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \
pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
pquerna:otp:v1.3.0:pquerna_otp/vendor/github.com/pquerna/otp \
rainycape:memcache:1031fa0ce2f2:rainycape_memcache/vendor/github.com/rainycape/memcache \
russross:blackfriday:v2.0.1:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \
sacloud:libsacloud:v1.36.2:sacloud_libsacloud/vendor/github.com/sacloud/libsacloud \
shurcooL:sanitized_anchor_name:v1.0.0:shurcool_sanitized_anchor_name/vendor/github.com/shurcooL/sanitized_anchor_name \
sirupsen:logrus:v1.4.2:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
spf13:cast:v1.3.1:spf13_cast/vendor/github.com/spf13/cast \
square:go-jose:v2.5.1:square_go_jose/vendor/gopkg.in/square/go-jose.v2 \
stretchr:objx:v0.3.0:stretchr_objx/vendor/github.com/stretchr/objx \
stretchr:testify:v1.7.0:stretchr_testify/vendor/github.com/stretchr/testify \
transip:gotransip:v6.6.0:transip_gotransip_v6/vendor/github.com/transip/gotransip/v6 \
uber-go:ratelimit:c15da0234277:uber_go_ratelimit/vendor/go.uber.org/ratelimit \
urfave:cli:v1.22.5:urfave_cli/vendor/github.com/urfave/cli \
vultr:govultr:v2.4.0:vultr_govultr_v2/vendor/github.com/vultr/govultr/v2
GO_TARGET= ./cmd/lego
GO_BUILDFLAGS= -ldflags '-X "main.version=${DISTVERSION}"'
SAMPLE_FILES= deploy.sh.sample lego.sh.sample
SUB_FILES= ${SAMPLE_FILES} 604.lego pkg-message
SUB_LIST= LEGO_USER=${LEGO_USER} \
PORTNAME=${PORTNAME}
LEGO_USER?= _lego
USERS= ${LEGO_USER}
GROUPS= ${LEGO_USER}
PERIODIC_DIRS= etc/periodic/weekly
PERIODIC_FILES= 604.lego
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${PERIODIC_DIRS}
${INSTALL_SCRIPT} ${WRKDIR}/${PERIODIC_FILES} ${STAGEDIR}${PREFIX}/${PERIODIC_DIRS}/${PERIODIC_FILES}
${MKDIR} ${STAGEDIR}${PREFIX}/etc/ssl/lego \
${STAGEDIR}${ETCDIR} ${STAGEDIR}${WWWDIR}
. for d in ${SAMPLE_FILES}
${INSTALL_SCRIPT} ${WRKDIR}/${d} ${STAGEDIR}${ETCDIR}/${d}
. endfor
.include <bsd.port.mk>
|