From 2cfc32611127be01a16c58cc01636cdcad089636 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Sun, 11 Apr 2021 15:26:42 +0100 Subject: Makefile and config.mk file added - now installing should be as simple as running 'make' - the customizations and defaults goes in config.mk --- config.mk | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 config.mk (limited to 'config.mk') diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..c722903 --- /dev/null +++ b/config.mk @@ -0,0 +1,23 @@ +# Customize below to fit your system + +# paths +PREFIX = /usr/share/webapps/gpigeon +_GPG_HOMEDIR = $(PREFIX)/gnupg +LINK_TEMPLATE_PATH = $(PREFIX)/link-tmpl.cgi +WWWPREFIX = /var/www/gpigeon + +# argon2id hash. generated by genpass.pl if empty +ARGON2ID_HASH = + +# gpg and email vars +HAS_MAILSERVER = 0# 0 if you'll use an external mail server, 1 if local. +# you don't need to set the 3 last variables if you got a local mailserver. +MYGPG_ID_0XLONG =# the 0xlong format of your gpg key. +MYMAIL_ADDR =# your mail address +MAILSENDER =# the mailer address that'll send you the encrypted mails. +MAILSENDER_PW =# password for the mailer address +SMTP_DOMAIN =# smtp domain pour the mailer +SMTP_PORT =# smtp port for the mailer + +# CGI stuff +MSG_FORM_CHAR_LIMIT = 3000 -- cgit v1.2.3-70-g09d2