Date: Sat, 12 Jan 2008 01:59:57 +0300 (MSK) From: Denis Shaposhnikov <dsh@wizard.volgograd.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/119578: [NEW PORT] mail/pysieved: Python Managesieve Server Message-ID: <200801112259.m0BMxv2t089797@localhost.my.domain> Resent-Message-ID: <200801112310.m0BNA1Q3080736@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 119578 >Category: ports >Synopsis: [NEW PORT] mail/pysieved: Python Managesieve Server >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jan 11 23:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Denis Shaposhnikov >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD localhost.my.domain 6.2-STABLE FreeBSD 6.2-STABLE #1: Mon Oct 1 18:16:29 MSD >Description: 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/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- pysieved-20070926.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pysieved # pysieved/distinfo # pysieved/Makefile # pysieved/files # pysieved/files/pysieved.sh.in # pysieved/pkg-plist # pysieved/pkg-descr # echo c - pysieved mkdir -p pysieved > /dev/null 2>&1 echo x - pysieved/distinfo sed 's/^X//' >pysieved/distinfo << 'END-of-pysieved/distinfo' XMD5 (pysieved-20070926.tar.bz2) = 9715979b59675072a586cf2521212b36 XSHA256 (pysieved-20070926.tar.bz2) = 41cb25be815e9505a767ce9c60c2a13a704b4ffd07255b128c31e23914955574 XSIZE (pysieved-20070926.tar.bz2) = 20597 END-of-pysieved/distinfo echo x - pysieved/Makefile sed 's/^X//' >pysieved/Makefile << 'END-of-pysieved/Makefile' X# New ports collection makefile for: pysieved X# Date created: Thu Jan 10 18:51:17 MSK 2008 X# Whom: Denis Shaposhnikov <dsh@wizard.volgograd.ru> X# X# $FreeBSD$ X# X XPORTNAME= pysieved XPORTVERSION= 20070926 XCATEGORIES= mail python XMASTER_SITES= http://ports.internal.vlink.ru/distfiles/ X XMAINTAINER= dsh@wizard.volgograd.ru XCOMMENT= Python Managesieve Server X XUSE_BZIP2= yes XUSE_PYTHON= 2.4+ XUSE_RC_SUBR= ${PORTNAME}.sh X XPORTEXAMPLES= pysieved.xinetd XSUB_LIST= PORTNAME=${PORTNAME} PYTHON_CMD=${PYTHON_CMD} X X.if !defined(NOPORTDOCS) XPORTDOCS= COPYING README README.Dovecot THANKS X.endif X Xpost-patch: X ${REINPLACE_CMD} \ X 's!/usr/bin/env python!${PYTHON_CMD}!' \ X ${WRKSRC}/pysieved.py X Xdo-build: X ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} X Xdo-install: X ${MKDIR} ${PREFIX}/lib/${PORTNAME} X (cd ${WRKSRC} && \ X ${COPYTREE_SHARE} "*.py *.pyc plugins" ${PREFIX}/lib/${PORTNAME}) X ${CHMOD} ${BINMODE} ${PREFIX}/lib/${PORTNAME}/${PORTNAME}.py X ${INSTALL_DATA} ${WRKSRC}/pysieved.ini \ X ${PREFIX}/etc/pysieved.ini.sample X X ${MKDIR} ${EXAMPLESDIR} X (cd ${WRKSRC}/contrib && \ X ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${EXAMPLESDIR}) X X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${DOCSDIR}) X.endif X Xpost-install: X @if [ ! -f ${PREFIX}/etc/pysieved.ini ]; then \ X ${CP} -p ${PREFIX}/etc/pysieved.ini.sample ${PREFIX}/etc/pysieved.ini; \ X fi X X.include <bsd.port.mk> END-of-pysieved/Makefile echo c - pysieved/files mkdir -p pysieved/files > /dev/null 2>&1 echo x - pysieved/files/pysieved.sh.in sed 's/^X//' >pysieved/files/pysieved.sh.in << 'END-of-pysieved/files/pysieved.sh.in' X#!/bin/sh X# X# PROVIDE: %%PORTNAME%% X# REQUIRE: DAEMON X# BEFORE: LOGIN X# KEYWORD: shutdown X# X# Define these %%PORTNAME%%_* variables in one of these files: X# /etc/rc.conf X# /etc/rc.conf.local X# X X. %%RC_SUBR%% X Xname="%%PORTNAME%%" Xrcvar=`set_rcvar` X Xload_rc_config $name X X: ${%%PORTNAME%%_enable="NO"} X: ${%%PORTNAME%%_pidfile="/var/run/%%PORTNAME%%.pid"} X Xpidfile="${%%PORTNAME%%_pidfile}" Xcommand_interpreter="%%PYTHON_CMD%%" Xcommand="%%PREFIX%%/lib/pysieved/pysieved.py" X Xrun_rc_command "$1" END-of-pysieved/files/pysieved.sh.in echo x - pysieved/pkg-plist sed 's/^X//' >pysieved/pkg-plist << 'END-of-pysieved/pkg-plist' X@unexec if cmp -s %D/etc/pysieved.ini.sample %D/etc/pysieved.ini; then rm -f %D/etc/pysieved.ini; fi Xetc/pysieved.ini.sample X@exec if [ ! -f %D/etc/pysieved.ini ] ; then cp -p %D/%F %B/pysieved.ini; fi Xlib/pysieved/config.py Xlib/pysieved/config.pyc Xlib/pysieved/daemon.py Xlib/pysieved/daemon.pyc Xlib/pysieved/managesieve.py Xlib/pysieved/managesieve.pyc Xlib/pysieved/plugins/__init__.py Xlib/pysieved/plugins/__init__.pyc Xlib/pysieved/plugins/accept.py Xlib/pysieved/plugins/accept.pyc Xlib/pysieved/plugins/dovecot.py Xlib/pysieved/plugins/dovecot.pyc Xlib/pysieved/plugins/htpasswd.py Xlib/pysieved/plugins/htpasswd.pyc Xlib/pysieved/plugins/mysql.py Xlib/pysieved/plugins/mysql.pyc Xlib/pysieved/plugins/pam.py Xlib/pysieved/plugins/pam.pyc Xlib/pysieved/plugins/passwd.py Xlib/pysieved/plugins/passwd.pyc Xlib/pysieved/plugins/sasl.py Xlib/pysieved/plugins/sasl.pyc Xlib/pysieved/plugins/virtual.py Xlib/pysieved/plugins/virtual.pyc Xlib/pysieved/pysieved.py Xlib/pysieved/pysieved.pyc Xlib/pysieved/test.py Xlib/pysieved/test.pyc X@dirrm lib/pysieved/plugins X@dirrm lib/pysieved END-of-pysieved/pkg-plist echo x - pysieved/pkg-descr sed 's/^X//' >pysieved/pkg-descr << 'END-of-pysieved/pkg-descr' XThis is a GPL managesieve server. It uses a plug-in architecture to Xsupport different authentication, homedir lookup, and storage Xback-ends. The server ships with the following plug-ins: X XAuthentication: X X * Dovecot X * PAM X * SASL X * MySQL X XHomedir lookup & session initiation: X X * Dovecot X * /etc/passwd X * MySQL X * simple virtual hosting (eg. /var/lib/virtual/username) X XStorage: X X * Dovecot X XWWW: http://woozle.org/~neale/src/pysieved/ END-of-pysieved/pkg-descr exit --- pysieved-20070926.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801112259.m0BMxv2t089797>