freebsd-ports/mail/dspam/pkg-plist
Jason Unovitch 2e4733463a mail/dspam: implement privilege separation (resolves bug running with suexec)
- Runs as dspam:dspam instead of root:mail. The dspam UID/GID were created
  in r168311 when the UIDs/GIDs files were added but the port had always
  used root:mail. This had prevented running the dspam webUI under Apache
  with suexec due to a minimal requirement of UID/GID of 100. The original
  unsecure behavior is available with the SETUID option.
- Default run directory is now /var/run/dspam. This follows the default
  upstream behavior and removes the patch to dspam.c as a result. Use
  RUN_DIR and correct the dspam.conf.sample file accordingly.
- Default daemon/client communication port is now 2424.
- Regen patches while here (portlint)

UPDATING: Document privilege separated dspam

PR:		115957
Reported by:	tedm@ipinc.net, support@ipinc.net
Submitted by:	Danny Warren <danny@dannywarren.com> (maintainer)
2016-05-01 01:13:06 +00:00

219 lines
9.4 KiB
Text

%%HASH%%bin/cssclean
%%HASH%%bin/csscompress
%%HASH%%bin/cssconvert
%%HASH%%bin/cssstat
%%SETUID%%@(%%DSPAM_OWNER%%,%%DSPAM_GROUP%%,%%DSPAM_MODE%%) bin/dspam
%%NOSETUID%%bin/dspam
bin/dspamc
bin/dspam_2sql
bin/dspam_admin
bin/dspam_clean
bin/dspam_crc
bin/dspam_dump
bin/dspam_logrotate
bin/dspam_merge
bin/dspam_notify
%%PGSQL%%bin/dspam_pg2int8
bin/dspam_stats
bin/dspam_train
@sample(%%DSPAM_OWNER%%,%%DSPAM_GROUP%%,%%DSPAM_SAMPLE_MODE%%) etc/dspam.conf.sample
include/dspam/buffer.h
include/dspam/config.h
include/dspam/config_shared.h
include/dspam/decode.h
include/dspam/diction.h
include/dspam/error.h
include/dspam/heap.h
include/dspam/libdspam.h
include/dspam/libdspam_objects.h
include/dspam/nodetree.h
include/dspam/pref.h
include/dspam/read_config.h
include/dspam/storage_driver.h
include/dspam/tokenizer.h
lib/libdspam.a
lib/libdspam.so
lib/libdspam.so.7
lib/libdspam.so.7.0.0
man/man1/dspam.1.gz
man/man1/dspam_admin.1.gz
man/man1/dspam_clean.1.gz
man/man1/dspam_crc.1.gz
man/man1/dspam_dump.1.gz
man/man1/dspam_logrotate.1.gz
man/man1/dspam_merge.1.gz
man/man1/dspam_stats.1.gz
man/man1/dspam_train.1.gz
man/man3/dspam_addattribute.3.gz
man/man3/dspam_attach.3.gz
man/man3/dspam_clearattributes.3.gz
man/man3/dspam_create.3.gz
man/man3/dspam_destroy.3.gz
man/man3/dspam_detach.3.gz
man/man3/dspam_getsource.3.gz
man/man3/dspam_init.3.gz
man/man3/dspam_process.3.gz
man/man3/libdspam.3.gz
%%DYNAMIC%%%%HASH%%lib/dspam/libhash_drv.a
%%DYNAMIC%%%%HASH%%lib/dspam/libhash_drv.so
%%DYNAMIC%%%%HASH%%lib/dspam/libhash_drv.so.7
%%DYNAMIC%%%%HASH%%lib/dspam/libhash_drv.so.7.0.0
%%DYNAMIC%%%%MYSQL%%lib/dspam/libmysql_drv.a
%%DYNAMIC%%%%MYSQL%%lib/dspam/libmysql_drv.so
%%DYNAMIC%%%%MYSQL%%lib/dspam/libmysql_drv.so.7
%%DYNAMIC%%%%MYSQL%%lib/dspam/libmysql_drv.so.7.0.0
%%DYNAMIC%%%%PGSQL%%lib/dspam/libpgsql_drv.a
%%DYNAMIC%%%%PGSQL%%lib/dspam/libpgsql_drv.so
%%DYNAMIC%%%%PGSQL%%lib/dspam/libpgsql_drv.so.7
%%DYNAMIC%%%%PGSQL%%lib/dspam/libpgsql_drv.so.7.0.0
%%DYNAMIC%%%%SQLITE2%%lib/dspam/libsqlite_drv.so.7.0.0
%%DYNAMIC%%%%SQLITE2%%lib/dspam/libsqlite_drv.a
%%DYNAMIC%%%%SQLITE2%%lib/dspam/libsqlite_drv.so
%%DYNAMIC%%%%SQLITE2%%lib/dspam/libsqlite_drv.so.7
%%DYNAMIC%%%%SQLITE3%%lib/dspam/libsqlite3_drv.a
%%DYNAMIC%%%%SQLITE3%%lib/dspam/libsqlite3_drv.so
%%DYNAMIC%%%%SQLITE3%%lib/dspam/libsqlite3_drv.so.7
%%DYNAMIC%%%%SQLITE3%%lib/dspam/libsqlite3_drv.so.7.0.0
libdata/pkgconfig/dspam.pc
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
%%PORTDOCS%%%%DOCSDIR%%/RELEASE.NOTES
%%PORTDOCS%%%%DOCSDIR%%/UPDATING
%%PORTDOCS%%%%DOCSDIR%%/UPGRADING
%%PORTDOCS%%%%DOCSDIR%%/courier.txt
%%PORTDOCS%%%%DOCSDIR%%/exim.txt
%%PORTDOCS%%%%DOCSDIR%%/markov.txt
%%PORTDOCS%%%%DOCSDIR%%/mysql_drv.txt
%%PORTDOCS%%%%DOCSDIR%%/pgsql_drv.txt
%%PORTDOCS%%%%DOCSDIR%%/pop3filter.txt
%%PORTDOCS%%%%DOCSDIR%%/postfix.txt
%%PORTDOCS%%%%DOCSDIR%%/qmail.txt
%%PORTDOCS%%%%DOCSDIR%%/relay.txt
%%PORTDOCS%%%%DOCSDIR%%/sendmail.txt
%%PORTDOCS%%%%DOCSDIR%%/sqlite_drv.txt
%%PORTEXAMPLES%%%%MYSQL%%%%EXAMPLESDIR%%/mysql/mysql_objects-4.1.sql
%%PORTEXAMPLES%%%%MYSQL%%%%EXAMPLESDIR%%/mysql/mysql_objects-space.sql
%%PORTEXAMPLES%%%%MYSQL%%%%EXAMPLESDIR%%/mysql/mysql_objects-speed.sql
%%PORTEXAMPLES%%%%MYSQL%%%%EXAMPLESDIR%%/mysql/purge-4.1.sql
%%PORTEXAMPLES%%%%MYSQL%%%%EXAMPLESDIR%%/mysql/purge.sql
%%PORTEXAMPLES%%%%MYSQL%%%%EXAMPLESDIR%%/mysql/virtual_user_aliases.sql
%%PORTEXAMPLES%%%%MYSQL%%%%EXAMPLESDIR%%/mysql/virtual_users.sql
%%PORTEXAMPLES%%%%PGSQL%%%%EXAMPLESDIR%%/pgsql/pgsql_objects.sql
%%PORTEXAMPLES%%%%PGSQL%%%%EXAMPLESDIR%%/pgsql/purge.sql
%%PORTEXAMPLES%%%%PGSQL%%%%EXAMPLESDIR%%/pgsql/purge-pe.sql
%%PORTEXAMPLES%%%%PGSQL%%%%EXAMPLESDIR%%/pgsql/virtual_users.sql
%%PORTEXAMPLES%%%%SQLITE%%%%EXAMPLESDIR%%/sqlite/purge-2.sql
%%PORTEXAMPLES%%%%SQLITE%%%%EXAMPLESDIR%%/sqlite/purge-3.sql
%%WebUI%%%%WWWDIR%%/admins.sample
%%WebUI%%%%WWWDIR%%/admin.cgi
%%WebUI%%%%WWWDIR%%/admingraph.cgi
%%WebUI%%%%WWWDIR%%/base.css
%%WebUI%%%%WWWDIR%%/configure.pl.sample
%%WebUI%%%%WWWDIR%%/default.prefs.sample
%%WebUI%%%%WWWDIR%%/dspam.cgi
%%WebUI%%%%WWWDIR%%/graph.cgi
%%WebUI%%%%WWWDIR%%/dspam-logo-small.gif
%%WebUI%%%%WWWDIR%%/rgb.txt
%%WebUI%%%%WWWDIR%%/templates/nav_admin_error.html
%%WebUI%%%%WWWDIR%%/templates/nav_admin_preferences.html
%%WebUI%%%%WWWDIR%%/templates/nav_admin_status.html
%%WebUI%%%%WWWDIR%%/templates/nav_admin_user.html
%%WebUI%%%%WWWDIR%%/templates/nav_alerts.html
%%WebUI%%%%WWWDIR%%/templates/nav_analysis.html
%%WebUI%%%%WWWDIR%%/templates/nav_error.html
%%WebUI%%%%WWWDIR%%/templates/nav_fragment.html
%%WebUI%%%%WWWDIR%%/templates/nav_history.html
%%WebUI%%%%WWWDIR%%/templates/nav_performance.html
%%WebUI%%%%WWWDIR%%/templates/nav_preferences.html
%%WebUI%%%%WWWDIR%%/templates/nav_quarantine.html
%%WebUI%%%%WWWDIR%%/templates/nav_viewmessage.html
%%WebUI%%%%WWWDIR%%/templates/strings.pl
%%WebUI%%%%WWWDIR%%/templates/de/nav_admin_error.html
%%WebUI%%%%WWWDIR%%/templates/de/nav_admin_preferences.html
%%WebUI%%%%WWWDIR%%/templates/de/nav_admin_status.html
%%WebUI%%%%WWWDIR%%/templates/de/nav_admin_user.html
%%WebUI%%%%WWWDIR%%/templates/de/nav_alerts.html
%%WebUI%%%%WWWDIR%%/templates/de/nav_analysis.html
%%WebUI%%%%WWWDIR%%/templates/de/nav_error.html
%%WebUI%%%%WWWDIR%%/templates/de/nav_fragment.html
%%WebUI%%%%WWWDIR%%/templates/de/nav_history.html
%%WebUI%%%%WWWDIR%%/templates/de/nav_performance.html
%%WebUI%%%%WWWDIR%%/templates/de/nav_preferences.html
%%WebUI%%%%WWWDIR%%/templates/de/nav_quarantine.html
%%WebUI%%%%WWWDIR%%/templates/de/nav_viewmessage.html
%%WebUI%%%%WWWDIR%%/templates/de/strings.pl
%%WebUI%%%%WWWDIR%%/templates/es-es/nav_admin_error.html
%%WebUI%%%%WWWDIR%%/templates/es-es/nav_admin_preferences.html
%%WebUI%%%%WWWDIR%%/templates/es-es/nav_admin_status.html
%%WebUI%%%%WWWDIR%%/templates/es-es/nav_admin_user.html
%%WebUI%%%%WWWDIR%%/templates/es-es/nav_alerts.html
%%WebUI%%%%WWWDIR%%/templates/es-es/nav_analysis.html
%%WebUI%%%%WWWDIR%%/templates/es-es/nav_error.html
%%WebUI%%%%WWWDIR%%/templates/es-es/nav_fragment.html
%%WebUI%%%%WWWDIR%%/templates/es-es/nav_history.html
%%WebUI%%%%WWWDIR%%/templates/es-es/nav_performance.html
%%WebUI%%%%WWWDIR%%/templates/es-es/nav_preferences.html
%%WebUI%%%%WWWDIR%%/templates/es-es/nav_quarantine.html
%%WebUI%%%%WWWDIR%%/templates/es-es/nav_viewmessage.html
%%WebUI%%%%WWWDIR%%/templates/es-es/strings.pl
%%WebUI%%%%WWWDIR%%/templates/fr/nav_admin_error.html
%%WebUI%%%%WWWDIR%%/templates/fr/nav_admin_preferences.html
%%WebUI%%%%WWWDIR%%/templates/fr/nav_admin_status.html
%%WebUI%%%%WWWDIR%%/templates/fr/nav_admin_user.html
%%WebUI%%%%WWWDIR%%/templates/fr/nav_alerts.html
%%WebUI%%%%WWWDIR%%/templates/fr/nav_analysis.html
%%WebUI%%%%WWWDIR%%/templates/fr/nav_error.html
%%WebUI%%%%WWWDIR%%/templates/fr/nav_fragment.html
%%WebUI%%%%WWWDIR%%/templates/fr/nav_history.html
%%WebUI%%%%WWWDIR%%/templates/fr/nav_performance.html
%%WebUI%%%%WWWDIR%%/templates/fr/nav_preferences.html
%%WebUI%%%%WWWDIR%%/templates/fr/nav_quarantine.html
%%WebUI%%%%WWWDIR%%/templates/fr/nav_viewmessage.html
%%WebUI%%%%WWWDIR%%/templates/he/nav_admin_error.html
%%WebUI%%%%WWWDIR%%/templates/he/nav_admin_preferences.html
%%WebUI%%%%WWWDIR%%/templates/he/nav_admin_status.html
%%WebUI%%%%WWWDIR%%/templates/he/nav_admin_user.html
%%WebUI%%%%WWWDIR%%/templates/he/nav_alerts.html
%%WebUI%%%%WWWDIR%%/templates/he/nav_analysis.html
%%WebUI%%%%WWWDIR%%/templates/he/nav_error.html
%%WebUI%%%%WWWDIR%%/templates/he/nav_fragment.html
%%WebUI%%%%WWWDIR%%/templates/he/nav_history.html
%%WebUI%%%%WWWDIR%%/templates/he/nav_performance.html
%%WebUI%%%%WWWDIR%%/templates/he/nav_preferences.html
%%WebUI%%%%WWWDIR%%/templates/he/nav_quarantine.html
%%WebUI%%%%WWWDIR%%/templates/he/nav_viewmessage.html
%%WebUI%%%%WWWDIR%%/templates/pt-br/nav_admin_error.html
%%WebUI%%%%WWWDIR%%/templates/pt-br/nav_admin_preferences.html
%%WebUI%%%%WWWDIR%%/templates/pt-br/nav_admin_status.html
%%WebUI%%%%WWWDIR%%/templates/pt-br/nav_admin_user.html
%%WebUI%%%%WWWDIR%%/templates/pt-br/nav_alerts.html
%%WebUI%%%%WWWDIR%%/templates/pt-br/nav_analysis.html
%%WebUI%%%%WWWDIR%%/templates/pt-br/nav_error.html
%%WebUI%%%%WWWDIR%%/templates/pt-br/nav_fragment.html
%%WebUI%%%%WWWDIR%%/templates/pt-br/nav_history.html
%%WebUI%%%%WWWDIR%%/templates/pt-br/nav_performance.html
%%WebUI%%%%WWWDIR%%/templates/pt-br/nav_preferences.html
%%WebUI%%%%WWWDIR%%/templates/pt-br/nav_quarantine.html
%%WebUI%%%%WWWDIR%%/templates/pt-br/nav_viewmessage.html
%%WebUI%%%%WWWDIR%%/templates/pt-br/strings.pl
%%WebUI%%%%WWWDIR%%/templates/ro/nav_admin_error.html
%%WebUI%%%%WWWDIR%%/templates/ro/nav_admin_preferences.html
%%WebUI%%%%WWWDIR%%/templates/ro/nav_admin_status.html
%%WebUI%%%%WWWDIR%%/templates/ro/nav_admin_user.html
%%WebUI%%%%WWWDIR%%/templates/ro/nav_alerts.html
%%WebUI%%%%WWWDIR%%/templates/ro/nav_analysis.html
%%WebUI%%%%WWWDIR%%/templates/ro/nav_error.html
%%WebUI%%%%WWWDIR%%/templates/ro/nav_fragment.html
%%WebUI%%%%WWWDIR%%/templates/ro/nav_history.html
%%WebUI%%%%WWWDIR%%/templates/ro/nav_performance.html
%%WebUI%%%%WWWDIR%%/templates/ro/nav_preferences.html
%%WebUI%%%%WWWDIR%%/templates/ro/nav_quarantine.html
%%WebUI%%%%WWWDIR%%/templates/ro/nav_viewmessage.html
@(%%DSPAM_HOME_OWNER%%,%%DSPAM_HOME_GROUP%%) %%DSPAM_HOME%%/firstrun.txt.sample
@(%%DSPAM_HOME_OWNER%%,%%DSPAM_HOME_GROUP%%) %%DSPAM_HOME%%/firstspam.txt.sample
@(%%DSPAM_HOME_OWNER%%,%%DSPAM_HOME_GROUP%%) %%DSPAM_HOME%%/quarantinefull.txt.sample
@dir(%%DSPAM_HOME_OWNER%%,%%DSPAM_HOME_GROUP%%,%%DSPAM_HOME_MODE%%) %%DSPAM_HOME%%
@dir(%%DSPAM_OWNER%%,%%DSPAM_GROUP%%) %%LOG_DIR%%
@dir(%%DSPAM_OWNER%%,%%DSPAM_GROUP%%) %%RUN_DIR%%