From b593eda015c8974114b495e3f503a0ef87b45aed Mon Sep 17 00:00:00 2001 From: Meutel Date: Sat, 17 Dec 2016 10:35:48 +0100 Subject: [PATCH] Build and install commands --- cmd.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 cmd.txt diff --git a/cmd.txt b/cmd.txt new file mode 100644 index 0000000..74e9798 --- /dev/null +++ b/cmd.txt @@ -0,0 +1,5 @@ +cc -static -g -W -Wall -o build/vars vars.c +doas install -o www -g www -m 0500 build/vars /var/www/cgi-bin/ + +cc -static -g -W -Wall -o build/vars_kcgi vars_kcgi.c -I/usr/local/include -L/usr/local/lib -lkcgi -lkcgihtml -lz +doas install -o www -g www -m 0500 build/vars_kcgi /var/www/cgi-bin/