From 43e607fe8411e74d215bd7af59fc367cefea5c32 Mon Sep 17 00:00:00 2001 From: Sebastian Benoit Date: Sat, 21 Jan 2017 08:41:43 +0000 Subject: 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 --- usr.sbin/acme-client/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/acme-client/Makefile') 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 -- cgit v1.2.3