mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
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/
This commit is contained in:
parent
c8acfa439a
commit
45f1b46e63
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310284
@ -24,6 +24,7 @@
|
||||
SUBDIR += asmail
|
||||
SUBDIR += assp
|
||||
SUBDIR += atmail
|
||||
SUBDIR += automx
|
||||
SUBDIR += autorespond
|
||||
SUBDIR += autosig
|
||||
SUBDIR += avenger
|
||||
|
62
mail/automx/Makefile
Normal file
62
mail/automx/Makefile
Normal file
@ -0,0 +1,62 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= automx
|
||||
PORTVERSION= 0.9
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.automx.org/download/
|
||||
|
||||
MAINTAINER= crees@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>
|
2
mail/automx/distinfo
Normal file
2
mail/automx/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (automx-0.9.tar.gz) = 66dcd2f643c46f7046094beb3385e1129d70f28f438d83166e0b346f4c724e8c
|
||||
SIZE (automx-0.9.tar.gz) = 81770
|
15
mail/automx/pkg-descr
Normal file
15
mail/automx/pkg-descr
Normal file
@ -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/
|
9
mail/automx/pkg-plist
Normal file
9
mail/automx/pkg-plist
Normal file
@ -0,0 +1,9 @@
|
||||
bin/automx-test
|
||||
@unexec cmp -s %D/etc/automx.conf %D/etc/automx.conf.sample && rm -f %D/etc/automx.conf || true
|
||||
etc/automx.conf.sample
|
||||
@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
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/automx
|
Loading…
Reference in New Issue
Block a user