diff options
Diffstat (limited to 'config.def.mk')
-rw-r--r-- | config.def.mk | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/config.def.mk b/config.def.mk index 4f88b8c..931671f 100644 --- a/config.def.mk +++ b/config.def.mk @@ -1,25 +1,29 @@ # Customize below to fit your system -# paths +# prefixes +BINPREFIX = /usr/local/bin PREFIX = /usr/share -#COOKIES_DIR = $(PREFIX)/cookies +WWWPREFIX = /var/www + +# system stuff +WWWUSER = 'www-data' + +# paths +COOKIES_DIR = $(PREFIX)/gpigeon/cookies _GPG_HOMEDIR = $(PREFIX)/gpigeon/gnupg +WWWDIR = $(WWWPREFIX)/gpigeon LINK_TEMPLATE_PATH = $(PREFIX)/gpigeon/link-tmpl.cgi -WWWPREFIX = /var/www/gpigeon -GPIGEON_PATH = $(WWWPREFIX)/cgi-bin/gpigeon.cgi +GPIGEON_PATH = $(WWWDIR)/cgi-bin/gpigeon.cgi DB_PATH=$(PREFIX)/gpigeon/the.db -# CGI tuning stuff +# one time gpg form tuning MSG_FORM_CHAR_LIMIT = 3000 -# argon2id hash. generated by genpass.pl if empty when running make -#ARGON2ID_HASH = - # gpg and email vars HAS_MAILSERVER = 0# choose 0 if you'll use an external mail server, 1 if local mail server installed. -# 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 + +# you don't need to set these variables +# below if you got a local mailserver. 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 |