diff options
author | David Reid <david@jetnet.co.uk> | 2008-04-21 11:17:53 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2008-04-21 11:17:53 +0200 |
commit | ea5d54cbd201063db87015a3035748ff678562b1 (patch) | |
tree | 1b2bc19c1f66e94b6849cef4d4571ad1e26245d3 | |
parent | 2c7f3b568203ee3010db95d6dd060ebaddfe5475 (diff) | |
download | dovecot-antispam-ea5d54cbd201063db87015a3035748ff678562b1.tar.gz dovecot-antispam-ea5d54cbd201063db87015a3035748ff678562b1.tar.xz dovecot-antispam-ea5d54cbd201063db87015a3035748ff678562b1.zip |
allow configuring user/group for installed binary
This patch essentially allows you to configure the user and group that
are used for the installed binary :-)
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | defconfig | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -81,7 +81,7 @@ clean: rm -f *.so *.o *~ install: all - install -o root -g root -m 0660 $(LIBRARY_NAME) $(INSTALLDIR)/ + install -o $(USER) -g $(GROUP) -m 0660 $(LIBRARY_NAME) $(INSTALLDIR)/ verify_config: @if [ ! -r $(CONFIG) ]; then \ @@ -35,7 +35,11 @@ DOVECOT_VERSION=1.0 # install directory for 'make install' -INSTALLDIR=/usr/lib/dovecot/modules/imap/ +# NB no need for a final '/' +INSTALLDIR=/usr/lib/dovecot/modules/imap +# The user and group for the installed plugin +USER=root +GROUP=root # enable debugging to syslog or stderr #DEBUG=stderr |