ncdns: Support disabling TLSA

pull/68/head
JeremyRand 5 years ago
parent 515f9d7a5e
commit 6aa54c3dfd
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570

@ -29,7 +29,13 @@ mkdir -p $GOPATH/src/github.com/namecoin
tar -C $GOPATH/src/github.com/namecoin -xf [% project %]-[% c('version') %].tar.gz
mv $GOPATH/src/github.com/namecoin/ncdns-[% c('version') %] $GOPATH/src/github.com/namecoin/ncdns
go install -ldflags '-s' github.com/namecoin/ncdns/...
[% IF c("var/enable_namecoin_tlsa") %]
TAGS=""
[% ELSE %]
TAGS="-tags no_namecoin_tls"
[% END %]
go install $TAGS -ldflags '-s' github.com/namecoin/ncdns/...
#mkdir -p /var/tmp/build
#tar -C /var/tmp/build -xf [% project %]-[% c('version') %].tar.gz

@ -1,11 +1,12 @@
#version: 0.0.9
# Using latest master branch because we need the stream isolation feature.
# Once it's in a tagged release, we'll go back to using a version number here.
# Using latest master branch because we need the stream isolation and
# disable_namecoin_tlsa features. Once they're in a tagged release, we'll go
# back to using a version number here.
version: '[% c("abbrev") %]'
git_url: https://github.com/namecoin/ncdns.git
# Using latest master branch because we need the stream isolation feature.
# Once it's in a tagged release, we'll go back to using a hash that corresponds
# to a tag here.
# Using latest master branch because we need the stream isolation and
# disable_namecoin_tlsa features. Once they're in a tagged release, we'll go
# back to using a hash that corresponds to a tag here.
git_hash: '1e2eea58c79686eea47de873580bcd907ca67d80'
filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
@ -27,6 +28,7 @@ var:
- goservice
- goxnet
go_lib_no_output: 1
enable_namecoin_tlsa: 1
targets:
linux:
@ -61,6 +63,9 @@ targets:
- goxnet
- goxsys
cgo: 0
disable_namecoin_tlsa:
var:
enable_namecoin_tlsa: 0
input_files:
- project: container-image

Loading…
Cancel
Save