aboutsummaryrefslogtreecommitdiff
path: root/config.def.mk
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-06-06 15:32:41 +0100
committerMiquel Lionel <lionelmiquel@sfr.fr>2021-06-06 15:32:41 +0100
commitbfe2259a237215da3dc43f0bfc9563e1d43f943f (patch)
tree6304628aa24b161683fa38cd27f0f6509f8f61d0 /config.def.mk
parent10231a07a1ea47f6de56a468dd1daa2068ae50ae (diff)
downloadgpigeon-bfe2259a237215da3dc43f0bfc9563e1d43f943f.tar.gz
gpigeon-bfe2259a237215da3dc43f0bfc9563e1d43f943f.zip
a more verbose makefile and explicative readme.
- also genpass.pl didn't need a newline when priting argon2id hash
Diffstat (limited to 'config.def.mk')
-rw-r--r--config.def.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/config.def.mk b/config.def.mk
new file mode 100644
index 0000000..5917230
--- /dev/null
+++ b/config.def.mk
@@ -0,0 +1,25 @@
+# Customize below to fit your system
+
+# paths
+PREFIX = /usr/share/gpigeon
+COOKIES_DIR = $(PREFIX)/cookies
+_GPG_HOMEDIR = $(PREFIX)/gnupg
+LINK_TEMPLATE_PATH = $(PREFIX)/link-tmpl.cgi
+WWWPREFIX = /var/www/gpigeon
+GPIGEON_PATH = $(WWWPREFIX)/cgi-bin/gpigeon.cgi
+
+# 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