Bring back vexim from the dead, take ownership as I still use this

I added the distfile to my public_distfiles
This commit is contained in:
Mark Felder 2014-04-01 19:53:48 +00:00
parent 7d324f5e63
commit 84e2411e4b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349885
6 changed files with 197 additions and 0 deletions

View file

@ -724,6 +724,7 @@
SUBDIR += usendmail
SUBDIR += vacation
SUBDIR += vbsfilter
SUBDIR += vexim
SUBDIR += vm
SUBDIR += vm-pop3d
SUBDIR += vmailmgr

75
mail/vexim/Makefile Normal file
View file

@ -0,0 +1,75 @@
# Created by: John Oxley <john@yoafrica.com>
# $FreeBSD$
PORTNAME= vexim
DISTVERSION= 2.2.2_rc1
CATEGORIES= mail www
MASTER_SITES= LOCAL
MASTER_SITE_SUBDIR= feld
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= feld@FreeBSD.org
COMMENT= Web interface for managing virtual domains for exim
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
VEXIMDIR= www/${PORTNAME}
WRKSRC= ${WRKDIR}/vexim-release
SUB_FILES= pkg-message
NO_BUILD= yes
USE_PHP= gettext session posix
USES= gettext
OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= MYSQL PGSQL
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT= MYSQL
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
USE_PHP+= mysql
.endif
.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
USE_PHP+= pgsql
.endif
post-patch:
${RM} -r ${WRKSRC}/.hg ${WRKSRC}/.hgtags ${WRKSRC}/vexim/adminuserchange.phps
${MV} ${WRKSRC}/vexim/config/variables.php ${WRKSRC}/vexim/config/variables.php.dist
do-install:
@${ECHO} "Installing in ${VEXIMDIR}"
${MKDIR} ${PREFIX}/${VEXIMDIR}
cd ${WRKSRC}/vexim && ${FIND} . \
-type d -exec ${MKDIR} ${PREFIX}/${VEXIMDIR}/{} \; \
-o -type f \
-exec ${INSTALL_DATA} {} ${PREFIX}/${VEXIMDIR}/{} \;
${MKDIR} ${DATADIR}
cd ${WRKSRC}/setup && ${FIND} . \
-type d -exec ${MKDIR} ${DATADIR}/{} \; \
-o -type f \
-exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${FIND} docs \
-type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
-o -type f \
-exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
.for i in INSTALL README TODO
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

2
mail/vexim/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (vexim_2.2.2_rc1.tar.gz) = cb0d47e3e3e3b53545ad5c959d6acae13f17604550779bc1d01621e65c85a507
SIZE (vexim_2.2.2_rc1.tar.gz) = 290286

View file

@ -0,0 +1,6 @@
------------------------------------------------------------------------
For post-install configuration steps, please read
%%PREFIX%%/share/doc/vexim/INSTALL
------------------------------------------------------------------------

5
mail/vexim/pkg-descr Normal file
View file

@ -0,0 +1,5 @@
Virtual Exim is a PHP and SQL based approach to hosting multiple email domains
using Exim. Exim is used to collect mail for local users, and an SQL backend is
used as a data store for users passwords, and other configuration information.
WWW: http://silverwraith.com/vexim/

108
mail/vexim/pkg-plist Normal file
View file

@ -0,0 +1,108 @@
%%DATADIR%%/pgsql.sql
%%DATADIR%%/mysql.sql
%%DATADIR%%/create_db.pl
%%PORTDOCS%%%%DOCSDIR%%/docs/clients/cyrus.txt
%%PORTDOCS%%%%DOCSDIR%%/docs/clients/freebsd-courierimap.txt
%%PORTDOCS%%%%DOCSDIR%%/docs/clients/mysql-popper.conf
%%PORTDOCS%%%%DOCSDIR%%/docs/clients/qpop-mysql.txt
%%PORTDOCS%%%%DOCSDIR%%/docs/clients/freebsd-tpop3d.txt
%%PORTDOCS%%%%DOCSDIR%%/docs/vexim-acl-check-content.conf
%%PORTDOCS%%%%DOCSDIR%%/docs/database-spec.txt
%%PORTDOCS%%%%DOCSDIR%%/docs/checklist.txt
%%PORTDOCS%%%%DOCSDIR%%/docs/configure
%%PORTDOCS%%%%DOCSDIR%%/docs/vexim-acl-check-helo.conf
%%PORTDOCS%%%%DOCSDIR%%/docs/vexim-acl-check-rcpt.conf
%%PORTDOCS%%%%DOCSDIR%%/docs/vexim-acl-check-spf.conf
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/docs/vexim-group-router.conf
%%PORTDOCS%%%%DOCSDIR%%/docs/vexim-group.txt
www/vexim/admin.php
www/vexim/adminalias.php
www/vexim/adminaliasadd.php
www/vexim/adminaliasaddsubmit.php
www/vexim/adminaliaschange.php
www/vexim/adminaliaschangesubmit.php
www/vexim/adminaliasdelete.php
www/vexim/admincatchall.php
www/vexim/admincatchalladd.php
www/vexim/admincatchallsubmit.php
www/vexim/adminfail.php
www/vexim/adminfailadd.php
www/vexim/adminfailaddsubmit.php
www/vexim/adminfailchange.php
www/vexim/adminfailchangesubmit.php
www/vexim/adminfaildelete.php
www/vexim/admingroup.php
www/vexim/admingroupadd.php
www/vexim/admingroupaddsubmit.php
www/vexim/admingroupchange.php
www/vexim/admingroupchangesubmit.php
www/vexim/admingroupcontentaddsubmit.php
www/vexim/admingroupcontentdeletesubmit.php
www/vexim/admingroupdelete.php
www/vexim/adminlists.php
www/vexim/adminuser.php
www/vexim/adminuseradd.php
www/vexim/adminuseraddsubmit.php
www/vexim/adminuserblocksubmit.php
www/vexim/adminuserchange.php
www/vexim/adminuserchangesubmit.php
www/vexim/adminuserdelete.php
www/vexim/config/authpostmaster.php
www/vexim/config/authsite.php
www/vexim/config/authuser.php
www/vexim/config/en.po
www/vexim/config/functions.php
www/vexim/config/header.php
www/vexim/config/httpheaders.php
www/vexim/config/hu.po
www/vexim/config/i18n.php
www/vexim/config/template.pot
www/vexim/config/variables.php.dist
www/vexim/images/check.gif
www/vexim/images/trashcan.gif
www/vexim/index.php
www/vexim/locale/de_DE/LC_MESSAGES/de.po
www/vexim/locale/de_DE/LC_MESSAGES/messages.mo
www/vexim/locale/en_EN/LC_MESSAGES/en.po
www/vexim/locale/en_EN/LC_MESSAGES/messages.mo
www/vexim/locale/es_ES/LC_MESSAGES/es.po
www/vexim/locale/es_ES/LC_MESSAGES/messages.mo
www/vexim/locale/hu_HU/LC_MESSAGES/hu.po
www/vexim/locale/hu_HU/LC_MESSAGES/messages.mo
www/vexim/locale/ro_RO/LC_MESSAGES/messages.mo
www/vexim/locale/ro_RO/LC_MESSAGES/ro.po
www/vexim/login.php
www/vexim/logout.php
www/vexim/site.php
www/vexim/siteadd.php
www/vexim/siteaddsubmit.php
www/vexim/sitechange.php
www/vexim/sitechangesubmit.php
www/vexim/sitedelete.php
www/vexim/sitepassword.php
www/vexim/sitepasswordsubmit.php
www/vexim/style.css
www/vexim/userblocksubmit.php
www/vexim/userchange.php
www/vexim/userchangesubmit.php
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs/clients
%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm www/vexim/locale/ro_RO/LC_MESSAGES
@dirrm www/vexim/locale/ro_RO
@dirrm www/vexim/locale/hu_HU/LC_MESSAGES
@dirrm www/vexim/locale/hu_HU
@dirrm www/vexim/locale/es_ES/LC_MESSAGES
@dirrm www/vexim/locale/es_ES
@dirrm www/vexim/locale/en_EN/LC_MESSAGES
@dirrm www/vexim/locale/en_EN
@dirrm www/vexim/locale/de_DE/LC_MESSAGES
@dirrm www/vexim/locale/de_DE
@dirrm www/vexim/locale
@dirrm www/vexim/images
@dirrm www/vexim/config
@dirrm www/vexim