diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-09-07 16:12:36 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-09-07 16:12:36 +0000 |
commit | a3566cb26e899957c3833d9fb9f57521628bdec8 (patch) | |
tree | 3d7499b804ea96daf352a456ee9ccb65be0ab8e7 /security/courier-authlib/pkg-plist-base | |
parent | 0ecc22495721ea22300733f568f510ddfbd0f949 (diff) | |
download | ports-a3566cb26e899957c3833d9fb9f57521628bdec8.tar.gz ports-a3566cb26e899957c3833d9fb9f57521628bdec8.zip |
Notes
Diffstat (limited to 'security/courier-authlib/pkg-plist-base')
-rw-r--r-- | security/courier-authlib/pkg-plist-base | 35 |
1 files changed, 14 insertions, 21 deletions
diff --git a/security/courier-authlib/pkg-plist-base b/security/courier-authlib/pkg-plist-base index d9fd73154fd2..526b822e14ca 100644 --- a/security/courier-authlib/pkg-plist-base +++ b/security/courier-authlib/pkg-plist-base @@ -1,37 +1,30 @@ -@unexec [ -x %D/sbin/authdaemond ] && %D/sbin/authdaemond stop || true -@exec pw groupshow %%MAILGRP%% 2>/dev/null || pw groupadd %%MAILGRP%% -g %%MAILUID%% -h - -@exec pw user show %%MAILOWN%% 2>/dev/null || pw useradd %%MAILOWN%% -u %%MAILUID%% -g %%MAILGID%% -h - -d /var/spool/courier -s /sbin/nologin -c "Courier Mail System" bin/courierauthconfig -@unexec cmp -s %D/etc/authlib/authdaemonrc.dist %D/etc/authlib/authdaemonrc && rm -f %D/etc/authlib/authdaemonrc 2>/dev/null || true -etc/authlib/authdaemonrc.dist -@exec %%LOCALBASE%%/share/sysconftool/sysconftool %D/etc/authlib/authdaemonrc.dist && chmod 0600 %D/etc/authlib/authdaemonrc -@exec chown -Rh %%MAILOWN%%:%%MAILGRP%% %D/etc/authlib && chmod 0750 %D/etc/authlib +@sample(%%MAILOWN%%,%%MAILGRP%%,660) etc/authlib/authdaemonrc.sample include/courier_auth_config.h include/courierauth.h include/courierauthdebug.h include/courierauthsasl.h include/courierauthsaslclient.h include/courierauthstaticlist.h -lib/courier-authlib/libcourierauth.a -lib/courier-authlib/libcourierauth.la lib/courier-authlib/libcourierauth.so -lib/courier-authlib/libcourierauthcommon.a -lib/courier-authlib/libcourierauthcommon.la lib/courier-authlib/libcourierauthcommon.so -lib/courier-authlib/libcourierauthsasl.a -lib/courier-authlib/libcourierauthsasl.la lib/courier-authlib/libcourierauthsasl.so -lib/courier-authlib/libcourierauthsaslclient.a -lib/courier-authlib/libcourierauthsaslclient.la lib/courier-authlib/libcourierauthsaslclient.so -lib/courier-authlib/libauthpam.a -lib/courier-authlib/libauthpam.la lib/courier-authlib/libauthpam.so -lib/courier-authlib/libauthpipe.a -lib/courier-authlib/libauthpipe.la lib/courier-authlib/libauthpipe.so libexec/courier-authlib/authdaemond libexec/courier-authlib/authsystem.passwd +man/man1/authtest.1.gz +man/man1/%%MAILOWN%%logger.1.gz +man/man3/auth_enumerate.3.gz +man/man3/auth_generic.3.gz +man/man3/auth_getoption.3.gz +man/man3/auth_getuserinfo.3.gz +man/man3/auth_login.3.gz +man/man3/auth_passwd.3.gz +man/man3/auth_sasl.3.gz +man/man3/auth_sasl_ex.3.gz +man/man3/authlib.3.gz sbin/authdaemond sbin/authenumerate sbin/authtest @@ -45,7 +38,7 @@ sbin/courierlogger %%PORTDOCS%%%%DOCSDIR%%/README.authdebug.html %%PORTDOCS%%%%DOCSDIR%%/README_authlib.html %%PORTDOCS%%@dirrm %%DOCSDIR%% -@unexec rm -rf %%AUTHDAEMONVAR%% 2>/dev/null || true +@dirrmtry(%%MAILOWN%%,%%MAILGRP%%,750) %%AUTHDAEMONVAR%% @dirrmtry etc/authlib -@dirrm libexec/courier-authlib +@dirrm(%%MAILOWN%%,%%MAILGRP%%,755) libexec/courier-authlib @dirrm lib/courier-authlib |