svn commit: r310284 - in head/mail: . automx

Chris Rees crees at FreeBSD.org
Sat Jan 12 16:27:52 UTC 2013


Author: crees
Date: Sat Jan 12 16:27:50 2013
New Revision: 310284
URL: http://svnweb.freebsd.org/changeset/ports/310284

Log:
  automx makes setting up a mail account easy. All your users need to provide
  is real name, mail address and password. Their mail client and automx will
  safely handle the rest.
  
  automx runs on your server and handles mail account profile requests from
  your mail clients. Put an end to endless phone calls trying to coach users to
  configure settings, whose dialogs they can't find. Stop wasting your time
  writing Tutorials nobody reads.
  
  automx unifies Microsofts and Mozillas mail account provisioning standards in
  one powerful Open Source tool. Choose from many backends, including LDAP and
  SQL, and let automx create standard and individualized profiles for multiple
  domains on the fly!
  
  WWW: http://www.automx.org/en/

Added:
  head/mail/automx/
  head/mail/automx/Makefile   (contents, props changed)
  head/mail/automx/distinfo   (contents, props changed)
  head/mail/automx/pkg-descr   (contents, props changed)
  head/mail/automx/pkg-plist   (contents, props changed)
Modified:
  head/mail/Makefile

Modified: head/mail/Makefile
==============================================================================
--- head/mail/Makefile	Sat Jan 12 16:27:24 2013	(r310283)
+++ head/mail/Makefile	Sat Jan 12 16:27:50 2013	(r310284)
@@ -24,6 +24,7 @@
     SUBDIR += asmail
     SUBDIR += assp
     SUBDIR += atmail
+    SUBDIR += automx
     SUBDIR += autorespond
     SUBDIR += autosig
     SUBDIR += avenger

Added: head/mail/automx/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/automx/Makefile	Sat Jan 12 16:27:50 2013	(r310284)
@@ -0,0 +1,62 @@
+# $FreeBSD$
+
+PORTNAME=	automx
+PORTVERSION=	0.9
+CATEGORIES=	mail
+MASTER_SITES=	http://www.automx.org/download/
+
+MAINTAINER=	crees at FreeBSD.org
+COMMENT=	Handles mail account profile requests from mail clients
+
+LICENSE=	GPLv3
+
+RUN_DEPENDS=	${LOCALBASE}/${APACHEMODDIR}/mod_wsgi.so:${PORTSDIR}/www/mod_wsgi \
+		${PYTHON_PKGNAMEPREFIX}lxml>=0:${PORTSDIR}/devel/py-lxml \
+		bash:${PORTSDIR}/shells/bash \
+		wget:${PORTSDIR}/ftp/wget
+
+USE_APACHE_RUN=	22+
+USE_PYTHON=	2.6+
+NO_BUILD=	yes
+PORTDATA=	*
+PORTDOCS=	*
+
+MAN1=		${PORTNAME}-test.1
+MAN5=		${PORTNAME}.conf.5 ${PORTNAME}_ldap.5 ${PORTNAME}_sql.5
+
+PKGMESSAGE=	${WRKDIR}/pkg-message
+
+.include <bsd.port.options.mk>
+
+post-patch:
+	${REINPLACE_CMD} -e '1s,/bin/bash,${LOCALBASE}/bin/bash,' \
+		${WRKSRC}/src/automx-test
+# Generate pkg-message from INSTALL file; include lines from Section 5 onwards
+	line=$$(${SED} -ne '/^5. Web Server/=' ${WRKSRC}/INSTALL) && \
+		${SED} -ne "$$line,\$$p" ${WRKSRC}/INSTALL > ${PKGMESSAGE}
+
+do-install:
+	${MKDIR} ${DATADIR}
+	(cd ${WRKSRC}/src && ${COPYTREE_SHARE} ${PORTNAME} ${PYTHON_SITELIBDIR})
+	${INSTALL_DATA} ${WRKSRC}/src/automx_wsgi.py ${DATADIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/src/automx-test ${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/src/automx.conf \
+		${PREFIX}/etc/automx.conf.sample
+.for m in ${MAN1}
+	${INSTALL_MAN} ${WRKSRC}/doc/man/man1/$m ${MAN5PREFIX}/man/man1
+.endfor
+.for m in ${MAN5}
+	${INSTALL_MAN} ${WRKSRC}/doc/man/man5/$m ${MAN5PREFIX}/man/man5
+.endfor
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "[^m]*" ${DOCSDIR})
+.endif
+
+post-install:
+	[ -f ${PREFIX}/etc/${PORTNAME}.conf ] || \
+	    ${CP} -p ${PREFIX}/etc/${PORTNAME}.conf.sample \
+		${PREFIX}/etc/${PORTNAME}.conf
+	@${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>

Added: head/mail/automx/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/automx/distinfo	Sat Jan 12 16:27:50 2013	(r310284)
@@ -0,0 +1,2 @@
+SHA256 (automx-0.9.tar.gz) = 66dcd2f643c46f7046094beb3385e1129d70f28f438d83166e0b346f4c724e8c
+SIZE (automx-0.9.tar.gz) = 81770

Added: head/mail/automx/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/automx/pkg-descr	Sat Jan 12 16:27:50 2013	(r310284)
@@ -0,0 +1,15 @@
+automx makes setting up a mail account easy. All your users need to provide 
+is real name, mail address and password. Their mail client and automx will 
+safely handle the rest.
+
+automx runs on your server and handles mail account profile requests from 
+your mail clients. Put an end to endless phone calls trying to coach users to 
+configure settings, whose dialogs they can't find. Stop wasting your time 
+writing Tutorials nobody reads.
+
+automx unifies Microsofts and Mozillas mail account provisioning standards in 
+one powerful Open Source tool. Choose from many backends, including LDAP and 
+SQL, and let automx create standard and individualized profiles for multiple 
+domains on the fly!
+
+WWW: http://www.automx.org/en/

Added: head/mail/automx/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/automx/pkg-plist	Sat Jan 12 16:27:50 2013	(r310284)
@@ -0,0 +1,9 @@
+bin/automx-test
+ at unexec cmp -s %D/etc/automx.conf %D/etc/automx.conf.sample && rm -f %D/etc/automx.conf || true
+etc/automx.conf.sample
+ at exec [ -f %B/automx.conf ] || cp -p %D/%F %B/automx.conf
+%%PYTHON_SITELIBDIR%%/automx/__init__.py
+%%PYTHON_SITELIBDIR%%/automx/config.py
+%%PYTHON_SITELIBDIR%%/automx/ordereddict.py
+%%PYTHON_SITELIBDIR%%/automx/view.py
+ at dirrm %%PYTHON_SITELIBDIR%%/automx


More information about the svn-ports-head mailing list