diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-01-21 11:06:15 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-01-21 11:06:15 +0000 |
commit | 0a4edf9d1e9f0cee494e02844f01eb4552c79f09 (patch) | |
tree | a568b90225385e073a9a1abdd2510bd1686d7699 /mail/pysieved/Makefile | |
parent | Changes: (diff) |
This is a GPL managesieve server. It uses a plug-in architecture to
support different authentication, homedir lookup, and storage
back-ends. The server ships with the following plug-ins:
Authentication:
* Dovecot
* PAM
* SASL
* MySQL
Homedir lookup & session initiation:
* Dovecot
* /etc/passwd
* MySQL
* simple virtual hosting (eg. /var/lib/virtual/username)
Storage:
* Dovecot
WWW: http://woozle.org/~neale/src/pysieved/
PR: ports/119578
Submitted by: Denis Shaposhnikov <dsh at wizard.volgograd.ru>
Notes
Notes:
svn path=/head/; revision=205962
Diffstat (limited to 'mail/pysieved/Makefile')
-rw-r--r-- | mail/pysieved/Makefile | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/mail/pysieved/Makefile b/mail/pysieved/Makefile new file mode 100644 index 000000000000..403792747557 --- /dev/null +++ b/mail/pysieved/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: pysieved +# Date created: Thu Jan 10 18:51:17 MSK 2008 +# Whom: Denis Shaposhnikov <dsh@wizard.volgograd.ru> +# +# $FreeBSD$ +# + +PORTNAME= pysieved +PORTVERSION= 20070926 +CATEGORIES= mail python +MASTER_SITES= http://ports.internal.vlink.ru/distfiles/ + +MAINTAINER= dsh@wizard.volgograd.ru +COMMENT= Python Managesieve Server + +USE_BZIP2= yes +USE_PYTHON= 2.4+ +USE_RC_SUBR= ${PORTNAME} + +PORTEXAMPLES= pysieved.xinetd +SUB_LIST= PORTNAME=${PORTNAME} PYTHON_CMD=${PYTHON_CMD} + +.if !defined(NOPORTDOCS) +PORTDOCS= COPYING README README.Dovecot THANKS +.endif + +post-patch: + ${REINPLACE_CMD} \ + 's!/usr/bin/env python!${PYTHON_CMD}!' \ + ${WRKSRC}/pysieved.py + +do-build: + ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + +do-install: + ${MKDIR} ${PREFIX}/lib/${PORTNAME} + (cd ${WRKSRC} && \ + ${COPYTREE_SHARE} "*.py *.pyc plugins" ${PREFIX}/lib/${PORTNAME}) + ${CHMOD} ${BINMODE} ${PREFIX}/lib/${PORTNAME}/${PORTNAME}.py + ${INSTALL_DATA} ${WRKSRC}/pysieved.ini \ + ${PREFIX}/etc/pysieved.ini.sample + +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} + (cd ${WRKSRC}/contrib && \ + ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${EXAMPLESDIR}) +.endif + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${DOCSDIR}) +.endif + +post-install: + @if [ ! -f ${PREFIX}/etc/pysieved.ini ]; then \ + ${CP} -p ${PREFIX}/etc/pysieved.ini.sample ${PREFIX}/etc/pysieved.ini; \ + fi + +.include <bsd.port.mk> |