diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2017-01-21 08:41:43 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2017-01-21 08:41:43 +0000 |
commit | 43e607fe8411e74d215bd7af59fc367cefea5c32 (patch) | |
tree | 404c4e892e528ee6a6f6077c1b5a3de14f5effed /usr.sbin/acme-client/Makefile | |
parent | 97f5422ef61ccb1b3307b8d097087eac5a9c5c1a (diff) |
acme-client use configuration file [1 of 5]
start using the configuration file and delete command line arguments:
-a agreement -> agreement url ...
-c certdir -> domain certificate "path"
-f accountkey -> account key "path"
-k domainkey -> domain key "path"
-s authority -> sign with "name"
new argument:
-f configfile
the changes needed to use the new configuration are local to main.c for now.
While the configuration could be passed directly to netproc(), keyproc() etc,
the diff is smaller this way.
This also removes the multidir (-m) mode for now - specify different paths in
each domain {} block instead.
ok florian
Diffstat (limited to 'usr.sbin/acme-client/Makefile')
-rw-r--r-- | usr.sbin/acme-client/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/acme-client/Makefile b/usr.sbin/acme-client/Makefile index 55e0b0ed99a..31d5b2bf605 100644 --- a/usr.sbin/acme-client/Makefile +++ b/usr.sbin/acme-client/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2016/09/18 20:18:25 benno Exp $ +# $OpenBSD: Makefile,v 1.7 2017/01/21 08:41:42 benno Exp $ PROG= acme-client SRCS= acctproc.c base64.c certproc.c chngproc.c dbg.c dnsproc.c SRCS+= fileproc.c http.c jsmn.c json.c keyproc.c main.c netproc.c @@ -13,6 +13,6 @@ CFLAGS+= -W -Wall -I${.CURDIR} CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -CFLAGS+= -Wsign-compare +CFLAGS+= -Wsign-compare -Wunused .include <bsd.prog.mk> |