Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
NTPsec
ntpsec
Commits
cfa361c4
Commit
cfa361c4
authored
Feb 21, 2022
by
Hal Murray
Browse files
Add --enable-attic (default is off)
parent
a95da63f
Pipeline
#480209154
failed with stages
in 8 minutes and 9 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
NEWS.adoc
View file @
cfa361c4
...
...
@@ -12,6 +12,8 @@ on user-visible changes.
== Reposatory Head ==
Add --enable-attic (default off)
Works with OpenSSL 3.0
Fix hash validation in ntpleapfetch again.
...
...
wafhelpers/options.py
View file @
cfa361c4
...
...
@@ -12,6 +12,8 @@ def options_cmd(ctx, config):
default
=
False
,
help
=
"Enable debugging code"
)
grp
.
add_option
(
'--enable-debug-gdb'
,
action
=
'store_true'
,
default
=
False
,
help
=
"Enable GDB debugging symbols"
)
grp
.
add_option
(
'--enable-attic'
,
action
=
'store_true'
,
default
=
False
,
help
=
"Enable building attic/*."
)
grp
.
add_option
(
'--disable-nts'
,
action
=
'store_true'
,
default
=
False
,
help
=
"Disable NTS."
)
grp
.
add_option
(
'--disable-droproot'
,
action
=
'store_true'
,
...
...
wscript
View file @
cfa361c4
...
...
@@ -778,6 +778,9 @@ int main(int argc, char **argv) {
comment="Enable MS-SNTP extensions "
" https://msdn.microsoft.com/en-us/library/cc212930.aspx")
if ctx.options.enable_attic:
ctx.env.ENABLE_ATTIC = True
if ctx.options.disable_nts:
ctx.env.DISABLE_NTS = True
ctx.define("DISABLE_NTS", 1,
...
...
@@ -1065,7 +1068,8 @@ def build(ctx):
ctx.recurse("ntpfrob")
ctx.recurse("ntptime")
ctx.recurse("pylib")
ctx.recurse("attic")
if ctx.env.ENABLE_ATTIC:
ctx.recurse("attic")
ctx.recurse("etc")
ctx.recurse("tests")
...
...
Marco Davids
@mdavids
mentioned in issue
#729 (closed)
·
Feb 22, 2022
mentioned in issue
#729 (closed)
mentioned in issue #729
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment