diff options
author | Miquel Lionel <lionel@les-miquelots.net> | 2021-07-17 22:01:05 +0100 |
---|---|---|
committer | Miquel Lionel <lionelmiquel@sfr.fr> | 2021-07-18 20:01:02 +0100 |
commit | 1208e3e3ffb1cc263d879f996b22e18c8b024d33 (patch) | |
tree | c168dcc3eff82020e767b1d22f71880118a92fef /config.def.mk | |
parent | e6d90c87b655db6c33724e5fb3b4001963c63736 (diff) | |
download | gpigeon-1208e3e3ffb1cc263d879f996b22e18c8b024d33.tar.gz gpigeon-1208e3e3ffb1cc263d879f996b22e18c8b024d33.zip |
fixes
- Makefile is better: the generated password via genpass.pl
or genpass.pl with -i flag should now be a correct argon2id hash
in both cases.
- Added missing checks in the makefile
- Fixed undeclared variables in gpigeon-template.cgi
Running make should be better and require less manual fiddling now.
Diffstat (limited to 'config.def.mk')
-rw-r--r-- | config.def.mk | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/config.def.mk b/config.def.mk index 28c435c..8af48d7 100644 --- a/config.def.mk +++ b/config.def.mk @@ -1,18 +1,23 @@ # Customize below to fit your system # paths -PREFIX = /usr/share/gpigeon +PREFIX = /usr/share WWWPREFIX = /var/www -COOKIES_DIR = $(PREFIX)/cookies -_GPG_HOMEDIR = $(PREFIX)/gnupg -LINK_TEMPLATE_PATH = $(PREFIX)/link-tmpl.cgi -GPIGEON_PATH = $(WWWPREFIX)/cgi-bin/gpigeon.cgi +GPIGEON_DIR = $(PREFIX)/gpigeon +WWWDIR = $(WWWPREFIX)/gpigeon +COOKIES_DIR = $(GPIGEON_DIR)/cookies +UPLOAD_TMPDIR = $(GPIGEON_DIR)/tmp +LINK_TEMPLATE_PATH = $(GPIGEON_DIR)/link-tmpl.cgi +_GPG_HOMEDIR = $(GPIGEON_DIR)/gnupg +GPIGEON_PATH = $(WWWDIR)/cgi-bin/gpigeon.cgi # system stuff -WEBUSER=www-data #it must match up with your nginx user. For ex. on arch it's 'http' +WWWUSER=www-data #it must match up with your nginx user. For ex. on arch it's 'http' +WWWGROUP=www-data # in general same as WWWUSER # form customization stuff MSG_FORM_CHAR_LIMIT = 3000 +MAX_MB_LIMIT = 100 # argon2id hash. generated by genpass.pl if empty when running make ARGON2ID_HASH = |