aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-04-11 15:26:42 +0100
committerMiquel Lionel <lionelmiquel@sfr.fr>2021-04-11 15:26:42 +0100
commit2cfc32611127be01a16c58cc01636cdcad089636 (patch)
treeb72dfc2d05db1455a52b4107efa6834874cb00f4 /config.mk
parentb8fc10a69c5be43a27e3d9421b47a22633879048 (diff)
downloadgpigeon-2cfc32611127be01a16c58cc01636cdcad089636.tar.gz
gpigeon-2cfc32611127be01a16c58cc01636cdcad089636.zip
Makefile and config.mk file added
- now installing should be as simple as running 'make' - the customizations and defaults goes in config.mk
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk23
1 files changed, 23 insertions, 0 deletions
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