freebsd-ports/www/trac-email2trac/pkg-plist
Brooks Davis b09c2f2e36 Upgrade to email2trac version 0.80
Add --with-trac-user and --with-mta-user to CONFIGURE_ARGS to specify
correct values to the setuid wrapper. Default to www and mailnull
respectivly to support sendmail and an apache based trac install.

Add an option to enable postfix support for the wrapper by switching the
mta user to nobody.

Actually install the setuid wrapper setuid.

Install the scripts without .py extensions as expected by the setuid
wrapper.

Install the example email2trac.conf as email2trac.conf.sample. Only copy
it to email2trac.conf if none exists and only remove email2trac.conf if
it is unchanged.

Approved by:	gerrit dot beine at gmx dot de (maintainer)
2009-04-10 15:14:09 +00:00

6 lines
294 B
Text

bin/delete_spam
bin/email2trac
bin/run_email2trac
@unexec if cmp -s %D/etc/email2trac.conf %D/etc/email2trac.conf.sample; then rm -f %D/etc/email2trac.conf; fi
etc/email2trac.conf.sample
@exec if [ ! -e %D/etc/email2trac.conf ]; then cp %D/etc/email2trac.conf.sample %D/etc/email2trac.conf; fi