aboutsummaryrefslogtreecommitdiff
path: root/config.def.mk
blob: 4f88b8c8f90aa3b2fa8525c7654fd3578b01275f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Customize below to fit your system

# paths
PREFIX = /usr/share
#COOKIES_DIR = $(PREFIX)/cookies
_GPG_HOMEDIR = $(PREFIX)/gpigeon/gnupg
LINK_TEMPLATE_PATH = $(PREFIX)/gpigeon/link-tmpl.cgi
WWWPREFIX = /var/www/gpigeon
GPIGEON_PATH = $(WWWPREFIX)/cgi-bin/gpigeon.cgi
DB_PATH=$(PREFIX)/gpigeon/the.db

# CGI tuning stuff
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
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

#optional, domain to generate nginx config for
#and where to put the config
WWWDOMAIN=
NGINXCONFDIR=/etc/nginx/sites-enabled