diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-01-08 00:38:01 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-01-08 00:38:01 +0800 |
commit | cd273a607181616d4a26249a5b5e00e12f4172dc (patch) | |
tree | c7ba20e437f55ff49aab40eacef13ed4c5ab8516 /mail | |
parent | 9f49f5b83c8de9feb8291efdbbaa43b5cddeb7cb (diff) | |
download | freebsd-ports-gnome-cd273a607181616d4a26249a5b5e00e12f4172dc.tar.gz freebsd-ports-gnome-cd273a607181616d4a26249a5b5e00e12f4172dc.tar.zst freebsd-ports-gnome-cd273a607181616d4a26249a5b5e00e12f4172dc.zip |
- Update plist for new format
Reviewed by: bapt
Diffstat (limited to 'mail')
-rw-r--r-- | mail/vpopmail/Makefile | 9 | ||||
-rw-r--r-- | mail/vpopmail/pkg-plist | 77 |
2 files changed, 43 insertions, 43 deletions
diff --git a/mail/vpopmail/Makefile b/mail/vpopmail/Makefile index f8e1fd3fcfdb..1e668896937c 100644 --- a/mail/vpopmail/Makefile +++ b/mail/vpopmail/Makefile @@ -69,7 +69,7 @@ OPTIONS_DEFINE= DOCS \ SQL_LOG \ SQL_LOG_TRIM OPTIONS_SINGLE= AUTH -OPTIONS_SINGLE_AUTH= CDB MYSQL PGSQL LDAP LDAP_SASL ORACLE SYBASE +OPTIONS_SINGLE_AUTH= CDB MYSQL PGSQL LDAP LDAP_SASL ORACLE SYBASE OPTIONS_DEFAULT=MD5_PASSWORDS \ CDB \ @@ -173,8 +173,15 @@ SPAMASSASSIN_BUILD_DEPENDS= spamc:${PORTSDIR}/mail/spamassassin SPAMASSASSIN_RUN_DEPENDS= spamc:${PORTSDIR}/mail/spamassassin SPAMFOLDER_CONFIGURE_ON= --enable-spam-junkfolder +INSTALL_TARGET= install-strip + .include <bsd.port.options.mk> +.if ${PORT_OPTIONS:MSUID_VCHKPW} +VCHKPW_MODE="6711" +.endif +PLIST_SUB+= VCHKPW_MODE="${VCHKPW_MODE}" + # PostgreSQL database configuration options # # WITH_PGSQL_USER - the username for connecting to the PostgreSQL server (postgres) diff --git a/mail/vpopmail/pkg-plist b/mail/vpopmail/pkg-plist index d4778070d418..84805b69c04b 100644 --- a/mail/vpopmail/pkg-plist +++ b/mail/vpopmail/pkg-plist @@ -1,3 +1,5 @@ +@owner vpopmail +@group vchkpw vpopmail/bin/authvchkpw vpopmail/bin/clearopensmtp vpopmail/bin/dotqmail2valias @@ -6,7 +8,7 @@ vpopmail/bin/vadddomain vpopmail/bin/vadduser vpopmail/bin/valias vpopmail/bin/vchangepw -vpopmail/bin/vchkpw +@(,,%%VCHKPW_MODE%%) vpopmail/bin/vchkpw vpopmail/bin/vconvert vpopmail/bin/vdeldomain vpopmail/bin/vdelivermail @@ -25,6 +27,28 @@ vpopmail/bin/vpopmaild vpopmail/bin/vsetuserquota vpopmail/bin/vusagec vpopmail/bin/vuserinfo +vpopmail/etc/inc_deps +vpopmail/etc/lib_deps +@exec if [ ! -f %D/vpopmail/etc/defaultdomain ]; then install -o vpopmail -g vchkpw /dev/null %D/vpopmail/etc/defaultdomain; fi +@unexec if [ -f %D/vpopmail/etc/defaultdomain ] && [ ! -s %D/vpopmail/etc/defaultdomain ]; then rm -f %D/vpopmail/etc/defaultdomain; fi +@unexec if cmp -s %D/vpopmail/etc/tcp.smtp %D/vpopmail/etc/tcp.smtp-dist; then rm -f %D/vpopmail/etc/tcp.smtp; fi +vpopmail/etc/tcp.smtp-dist +@exec if [ ! -f %D/vpopmail/etc/tcp.smtp ] ; then cp -p %D/%F %B/tcp.smtp; fi +@unexec if cmp -s %D/vpopmail/etc/vlimits.default %D/vpopmail/etc/vlimits.default-dist; then rm -f %D/vpopmail/etc/vlimits.default; fi +vpopmail/etc/vlimits.default-dist +@exec if [ ! -f %D/vpopmail/etc/vlimits.default ] ; then cp -p %D/%F %B/vlimits.default; fi +%%LDAP%%@unexec if cmp -s %D/vpopmail/etc/vpopmail.ldap %D/vpopmail/etc/vpopmail.ldap-dist; then rm -f %D/vpopmail/etc/vpopmail.ldap; fi +%%LDAP%%vpopmail/etc/vpopmail.ldap-dist +%%LDAP%%@exec if [ ! -f %D/vpopmail/etc/vpopmail.ldap ] ; then cp -p %D/%F %B/vpopmail.ldap; fi +%%LDAP%%@exec echo "You need to specify the LDAP connection settings in the %D/vpopmail/etc/vpopmail.ldap file" | /usr/bin/fmt +%%MYSQL%%@unexec if cmp -s %D/vpopmail/etc/vpopmail.mysql %D/vpopmail/etc/vpopmail.mysql-dist; then rm -f %D/vpopmail/etc/vpopmail.mysql; fi +%%MYSQL%%vpopmail/etc/vpopmail.mysql-dist +%%MYSQL%%@exec if [ ! -f %D/vpopmail/etc/vpopmail.mysql ] ; then cp -p %D/%F %B/vpopmail.mysql; fi +@unexec if cmp -s %D/vpopmail/etc/vusagec.conf %D/vpopmail/etc/vusagec.conf-dist; then rm -f %D/vpopmail/etc/vusagec.conf; fi +vpopmail/etc/vusagec.conf-dist +@exec if [ ! -f %D/vpopmail/etc/vusagec.conf ] ; then cp -p %D/%F %B/vusagec.conf; fi +@owner +@group %%PORTDOCS%%vpopmail/doc/doc_html/vpopmail.html %%PORTDOCS%%vpopmail/doc/doc_html/vpopmail5.abw %%PORTDOCS%%vpopmail/doc/doc_html/vpopmailapi.png @@ -61,36 +85,6 @@ vpopmail/bin/vuserinfo %%PORTDOCS%%vpopmail/doc/README.vpopmaild %%PORTDOCS%%vpopmail/doc/README.vqmaillocal %%PORTDOCS%%vpopmail/doc/UPGRADE -vpopmail/etc/inc_deps -vpopmail/etc/lib_deps -@exec if [ ! -f %D/vpopmail/etc/defaultdomain ]; then touch %D/vpopmail/etc/defaultdomain; fi -@unexec if [ -f %D/vpopmail/etc/defaultdomain ] && [ ! -s %D/vpopmail/etc/defaultdomain ]; then rm -f %D/vpopmail/etc/defaultdomain; fi -@unexec if cmp -s %D/vpopmail/etc/tcp.smtp %D/vpopmail/etc/tcp.smtp-dist; then rm -f %D/vpopmail/etc/tcp.smtp; fi -vpopmail/etc/tcp.smtp-dist -@exec if [ ! -f %D/vpopmail/etc/tcp.smtp ] ; then cp -p %D/%F %B/tcp.smtp; fi -@unexec if cmp -s %D/vpopmail/etc/vlimits.default %D/vpopmail/etc/vlimits.default-dist; then rm -f %D/vpopmail/etc/vlimits.default; fi -vpopmail/etc/vlimits.default-dist -@exec if [ ! -f %D/vpopmail/etc/vlimits.default ] ; then cp -p %D/%F %B/vlimits.default; fi -%%LDAP%%@unexec if cmp -s %D/vpopmail/etc/vpopmail.ldap %D/vpopmail/etc/vpopmail.ldap-dist; then rm -f %D/vpopmail/etc/vpopmail.ldap; fi -%%LDAP%%vpopmail/etc/vpopmail.ldap-dist -%%LDAP%%@exec if [ ! -f %D/vpopmail/etc/vpopmail.ldap ] ; then cp -p %D/%F %B/vpopmail.ldap; fi -%%LDAP%%@exec echo "You need to specify the LDAP connection settings in the %D/vpopmail/etc/vpopmail.ldap file" | /usr/bin/fmt -%%MYSQL%%@unexec if cmp -s %D/vpopmail/etc/vpopmail.mysql %D/vpopmail/etc/vpopmail.mysql-dist; then rm -f %D/vpopmail/etc/vpopmail.mysql; fi -%%MYSQL%%vpopmail/etc/vpopmail.mysql-dist -%%MYSQL%%@exec if [ ! -f %D/vpopmail/etc/vpopmail.mysql ] ; then cp -p %D/%F %B/vpopmail.mysql; fi -@unexec if cmp -s %D/vpopmail/etc/vusagec.conf %D/vpopmail/etc/vusagec.conf-dist; then rm -f %D/vpopmail/etc/vusagec.conf; fi -vpopmail/etc/vusagec.conf-dist -@exec if [ ! -f %D/vpopmail/etc/vusagec.conf ] ; then cp -p %D/%F %B/vusagec.conf; fi -%%SPAMASSASSIN%%@exec echo "***********************************************************************" -%%SPAMASSASSIN%%@exec echo "Now you should add the following options to your spamd.sh startup file:" -%%SPAMASSASSIN%%@exec echo "-v -u vpopmail" -%%SPAMASSASSIN%%@exec echo "***********************************************************************" -@exec /usr/sbin/chown vpopmail:vchkpw %D/vpopmail -@exec /usr/sbin/chown -R vpopmail:vchkpw %D/vpopmail/bin %D/vpopmail/etc -%%SUID_VCHKPW%%@exec /bin/chmod ug+s %D/vpopmail/bin/vchkpw -@exec install -d -o vpopmail -g vchkpw %D/vpopmail/domains -@exec install -d -o vpopmail -g vchkpw %D/vpopmail/lib -@exec install -d -o vpopmail -g vchkpw %D/vpopmail/include vpopmail/include/client.h vpopmail/include/conf.h vpopmail/include/config.h @@ -108,16 +102,15 @@ vpopmail/lib/libvpopmail.a %%LDAP%%vpopmail/ldap/qmailUser.schema %%LDAP%%vpopmail/ldap/slapd.conf %%LDAP%%vpopmail/ldap/vpopmail.ldif -%%LDAP%%@dirrm vpopmail/ldap %%MAILDROP%%vpopmail/maildrop/maildroprc.v1 %%MAILDROP%%vpopmail/maildrop/maildroprc.v2 -%%MAILDROP%%@dirrm vpopmail/maildrop -@dirrm vpopmail/lib -@dirrm vpopmail/include -@dirrmtry vpopmail/etc -@dirrmtry vpopmail/domains -%%PORTDOCS%%@dirrm vpopmail/doc/man_html -%%PORTDOCS%%@dirrm vpopmail/doc/doc_html -%%PORTDOCS%%@dirrm vpopmail/doc -@dirrm vpopmail/bin -@dirrmtry vpopmail +@dir(vpopmail,vchkpw,) vpopmail/domains +@dir(vpopmail,vchkpw,) vpopmail/bin +@dir(vpopmail,vchkpw,) vpopmail/etc +@dir(vpopmail,vchkpw,) vpopmail/include +@dir(vpopmail,vchkpw,) vpopmail/lib +@dir(vpopmail,vchkpw,) vpopmail +%%SPAMASSASSIN%%@exec echo "***********************************************************************" +%%SPAMASSASSIN%%@exec echo "Now you should add the following options to your spamd.sh startup file:" +%%SPAMASSASSIN%%@exec echo "-v -u vpopmail" +%%SPAMASSASSIN%%@exec echo "***********************************************************************" |