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>
This commit is contained in:
parent
784cf42941
commit
0a4edf9d1e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=205962
@ -483,6 +483,7 @@
|
||||
SUBDIR += py-twistedMail
|
||||
SUBDIR += pygmy
|
||||
SUBDIR += pymsgauth
|
||||
SUBDIR += pysieved
|
||||
SUBDIR += pyzor
|
||||
SUBDIR += qar-bufo
|
||||
SUBDIR += qconfirm
|
||||
|
59
mail/pysieved/Makefile
Normal file
59
mail/pysieved/Makefile
Normal file
@ -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>
|
3
mail/pysieved/distinfo
Normal file
3
mail/pysieved/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (pysieved-20070926.tar.bz2) = 9715979b59675072a586cf2521212b36
|
||||
SHA256 (pysieved-20070926.tar.bz2) = 41cb25be815e9505a767ce9c60c2a13a704b4ffd07255b128c31e23914955574
|
||||
SIZE (pysieved-20070926.tar.bz2) = 20597
|
27
mail/pysieved/files/pysieved.in
Normal file
27
mail/pysieved/files/pysieved.in
Normal file
@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: %%PORTNAME%%
|
||||
# REQUIRE: DAEMON
|
||||
# BEFORE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Define these %%PORTNAME%%_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
# /etc/rc.conf.local
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="%%PORTNAME%%"
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${%%PORTNAME%%_enable="NO"}
|
||||
: ${%%PORTNAME%%_pidfile="/var/run/%%PORTNAME%%.pid"}
|
||||
|
||||
pidfile="${%%PORTNAME%%_pidfile}"
|
||||
command_interpreter="%%PYTHON_CMD%%"
|
||||
command="%%PREFIX%%/lib/pysieved/pysieved.py"
|
||||
|
||||
run_rc_command "$1"
|
23
mail/pysieved/pkg-descr
Normal file
23
mail/pysieved/pkg-descr
Normal file
@ -0,0 +1,23 @@
|
||||
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/
|
33
mail/pysieved/pkg-plist
Normal file
33
mail/pysieved/pkg-plist
Normal file
@ -0,0 +1,33 @@
|
||||
@unexec if cmp -s %D/etc/pysieved.ini.sample %D/etc/pysieved.ini; then rm -f %D/etc/pysieved.ini; fi
|
||||
etc/pysieved.ini.sample
|
||||
@exec if [ ! -f %D/etc/pysieved.ini ] ; then cp -p %D/%F %B/pysieved.ini; fi
|
||||
lib/pysieved/config.py
|
||||
lib/pysieved/config.pyc
|
||||
lib/pysieved/daemon.py
|
||||
lib/pysieved/daemon.pyc
|
||||
lib/pysieved/managesieve.py
|
||||
lib/pysieved/managesieve.pyc
|
||||
lib/pysieved/plugins/__init__.py
|
||||
lib/pysieved/plugins/__init__.pyc
|
||||
lib/pysieved/plugins/accept.py
|
||||
lib/pysieved/plugins/accept.pyc
|
||||
lib/pysieved/plugins/dovecot.py
|
||||
lib/pysieved/plugins/dovecot.pyc
|
||||
lib/pysieved/plugins/htpasswd.py
|
||||
lib/pysieved/plugins/htpasswd.pyc
|
||||
lib/pysieved/plugins/mysql.py
|
||||
lib/pysieved/plugins/mysql.pyc
|
||||
lib/pysieved/plugins/pam.py
|
||||
lib/pysieved/plugins/pam.pyc
|
||||
lib/pysieved/plugins/passwd.py
|
||||
lib/pysieved/plugins/passwd.pyc
|
||||
lib/pysieved/plugins/sasl.py
|
||||
lib/pysieved/plugins/sasl.pyc
|
||||
lib/pysieved/plugins/virtual.py
|
||||
lib/pysieved/plugins/virtual.pyc
|
||||
lib/pysieved/pysieved.py
|
||||
lib/pysieved/pysieved.pyc
|
||||
lib/pysieved/test.py
|
||||
lib/pysieved/test.pyc
|
||||
@dirrm lib/pysieved/plugins
|
||||
@dirrm lib/pysieved
|
Loading…
Reference in New Issue
Block a user