X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/odin-cgi/blobdiff_plain/c86aee467ae463cd3fc7ff896f09f2a07d79dad5..128543b0487425f62e66ddf8aa5bff893a2d816f:/Makefile diff --git a/Makefile b/Makefile index 0b95944..71e2797 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,27 @@ ### -*-makefile-*- +### +### Build script for Odin services +### +### (c) 2015 Mark Wooding +### + +###----- Licensing notice --------------------------------------------------- +### +### This file is part of the `odin.gg' service, `odin-cgi'. +### +### `odin-cgi' is free software; you can redistribute it and/or modify +### it under the terms of the GNU Affero General Public License as +### published by the Free Software Foundation; either version 3 of the +### License, or (at your option) any later version. +### +### `odin-cgi' is distributed in the hope that it will be useful, +### but WITHOUT ANY WARRANTY; without even the implied warranty of +### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +### GNU Affero General Public License for more details. +### +### You should have received a copy of the GNU Affero General Public +### License along with `odin-cgi'; if not, see +### . all:: @@ -6,6 +29,7 @@ TARGETS += exim-filter exim-filter: exim-filter.in passwds Makefile set -e; . ./passwds; umask 077; \ sed "s;@PASSWORD@;$$exim_db_passwd;g" $< >$@.new; \ + chmod 640 $@.new; chgrp Debian-exim $@.new; \ mv $@.new $@ CLEAN += $(TARGETS)