diff options
author | ume <ume@FreeBSD.org> | 2003-01-30 22:04:02 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-01-30 22:04:02 +0800 |
commit | 1ee12b52dbeca25c802a997cd6de226cca1b0d3c (patch) | |
tree | f66052896ca9dbacd93962e3e6a9d3924dd2e3a5 /mail/cyrus-imapd2/pkg-install | |
parent | 0f27788e08d15ce592702005b41df83d23cd09fc (diff) | |
download | freebsd-ports-gnome-1ee12b52dbeca25c802a997cd6de226cca1b0d3c.tar.gz freebsd-ports-gnome-1ee12b52dbeca25c802a997cd6de226cca1b0d3c.tar.zst freebsd-ports-gnome-1ee12b52dbeca25c802a997cd6de226cca1b0d3c.zip |
Add CYRUS_USER and CYRUS_GROUP options to be able to configure
psuedo user for cyrus.
Requested by: Cyrus Anderson Yunker <cayunker@unity.ncsu.edu>
Diffstat (limited to 'mail/cyrus-imapd2/pkg-install')
-rw-r--r-- | mail/cyrus-imapd2/pkg-install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/cyrus-imapd2/pkg-install b/mail/cyrus-imapd2/pkg-install index 20f1fbb0ff7c..21e473bac5db 100644 --- a/mail/cyrus-imapd2/pkg-install +++ b/mail/cyrus-imapd2/pkg-install @@ -6,12 +6,14 @@ PKG_BATCH=${BATCH:=NO} PKG_PREFIX=${PKG_PREFIX:=/usr/local} +CYRUS_USER=${CYRUS_USER:=%%CYRUS_USER%%} + # # Modify the 'cyrus' user created from the cyrus-sasl port # modify_cyrus_user() { - USER=cyrus + USER=${CYRUS_USER} PW=/usr/sbin/pw shell=/bin/csh uhome=${PKG_PREFIX}/cyrus |