From ff25c21a14cd4b2cb059a4d5702cc7f2026a72e0 Mon Sep 17 00:00:00 2001 From: Sam Lawrance Date: Tue, 21 Jun 2005 08:53:56 +0000 Subject: [PATCH] Add vexim 2.0.1, a web interface for managing virtual domains for exim. PR: ports/81955 Submitted by: John Oxley --- mail/Makefile | 1 + mail/vexim/Makefile | 52 ++++++++++++++++++ mail/vexim/distinfo | 2 + mail/vexim/files/pkg-message.in | 6 +++ mail/vexim/pkg-descr | 5 ++ mail/vexim/pkg-plist | 95 +++++++++++++++++++++++++++++++++ 6 files changed, 161 insertions(+) create mode 100644 mail/vexim/Makefile create mode 100644 mail/vexim/distinfo create mode 100644 mail/vexim/files/pkg-message.in create mode 100644 mail/vexim/pkg-descr create mode 100644 mail/vexim/pkg-plist diff --git a/mail/Makefile b/mail/Makefile index 5c0ea147485e..4bef6fe5ce93 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -501,6 +501,7 @@ SUBDIR += up-imapproxy SUBDIR += usendmail SUBDIR += vbsfilter + SUBDIR += vexim SUBDIR += vm SUBDIR += vm-pop3d SUBDIR += vmailmgr diff --git a/mail/vexim/Makefile b/mail/vexim/Makefile new file mode 100644 index 000000000000..44a12ed77d71 --- /dev/null +++ b/mail/vexim/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: vexim +# Date created: 6 June 2005 +# Whom: John Oxley +# +# $FreeBSD$ + +PORTNAME= vexim +PORTVERSION= 2.0.1 +CATEGORIES= mail www +MASTER_SITES= http://silverwraith.com/vexim/ +DISTNAME= ${PORTNAME}${PORTVERSION} + +MAINTAINER= john@yoafrica.com +COMMENT= A web interface for managing virtual domains for exim + +VEXIMDIR= www/${PORTNAME} +WRKSRC= ${WRKDIR}/vexim2 + +SUB_FILES= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message +NO_BUILD= yes +USE_MYSQL= yes +USE_APACHE= yes +USE_PHP= yes + +post-patch: + ${FIND} ${WRKSRC} -name CVS -prune -exec ${RM} -r {} \; + +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 !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${FIND} docs \ + -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \ + -o -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; +.for i in INSTALL LICENSE README TODO + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +post-install: + @${CAT} ${PKGMESSAGE} + +.include diff --git a/mail/vexim/distinfo b/mail/vexim/distinfo new file mode 100644 index 000000000000..b716c1180998 --- /dev/null +++ b/mail/vexim/distinfo @@ -0,0 +1,2 @@ +MD5 (vexim2.0.1.tar.gz) = e0e667e64bc578f64d87d20b749c67d5 +SIZE (vexim2.0.1.tar.gz) = 87667 diff --git a/mail/vexim/files/pkg-message.in b/mail/vexim/files/pkg-message.in new file mode 100644 index 000000000000..3f82bd409067 --- /dev/null +++ b/mail/vexim/files/pkg-message.in @@ -0,0 +1,6 @@ +------------------------------------------------------------------------ + +For post-install configuration steps, please read + %%PREFIX%%/share/doc/vexim/INSTALL + +------------------------------------------------------------------------ diff --git a/mail/vexim/pkg-descr b/mail/vexim/pkg-descr new file mode 100644 index 000000000000..e4f569ff6ea0 --- /dev/null +++ b/mail/vexim/pkg-descr @@ -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/ diff --git a/mail/vexim/pkg-plist b/mail/vexim/pkg-plist new file mode 100644 index 000000000000..a78eca1262c2 --- /dev/null +++ b/mail/vexim/pkg-plist @@ -0,0 +1,95 @@ +%%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%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +www/vexim/locale/en_EN/LC_MESSAGES/en.po +www/vexim/locale/en_EN/LC_MESSAGES/messages.mo +www/vexim/locale/ro_RO/LC_MESSAGES/messages.mo +www/vexim/locale/ro_RO/LC_MESSAGES/ro.po +www/vexim/locale/hu_HU/LC_MESSAGES/hu.po +www/vexim/locale/hu_HU/LC_MESSAGES/messages.mo +www/vexim/locale/de_DE/LC_MESSAGES/de.po +www/vexim/locale/de_DE/LC_MESSAGES/messages.mo +www/vexim/images/check.gif +www/vexim/images/trashcan.gif +www/vexim/config/authpostmaster.php +www/vexim/config/authsite.php +www/vexim/config/authuser.php +www/vexim/config/functions.php +www/vexim/config/header.php +www/vexim/config/variables.php +www/vexim/config/en.po +www/vexim/config/i18n.php +www/vexim/config/template.pot +www/vexim/config/hu.po +www/vexim/config/httpheaders.php +www/vexim/sitepasswordsubmit.php +www/vexim/sitepassword.php +www/vexim/sitedelete.php +www/vexim/sitechangesubmit.php +www/vexim/sitechange.php +www/vexim/siteaddsubmit.php +www/vexim/siteadd.php +www/vexim/site.php +www/vexim/logout.php +www/vexim/login.php +www/vexim/index.php +www/vexim/adminuserdelete.php +www/vexim/adminuserchangesubmit.php +www/vexim/adminuserchange.php +www/vexim/adminuserblocksubmit.php +www/vexim/adminuseraddsubmit.php +www/vexim/adminuseradd.php +www/vexim/adminuser.php +www/vexim/adminlists.php +www/vexim/adminfaildelete.php +www/vexim/adminfailchangesubmit.php +www/vexim/adminfailchange.php +www/vexim/adminfailaddsubmit.php +www/vexim/adminfailadd.php +www/vexim/adminfail.php +www/vexim/admincatchallsubmit.php +www/vexim/admincatchalladd.php +www/vexim/admincatchall.php +www/vexim/adminaliasdelete.php +www/vexim/adminaliaschangesubmit.php +www/vexim/userchangesubmit.php +www/vexim/adminaliasaddsubmit.php +www/vexim/adminaliasadd.php +www/vexim/adminalias.php +www/vexim/admin.php +www/vexim/adminaliaschange.php +www/vexim/userchange.php +www/vexim/userblocksubmit.php +www/vexim/style.css +@dirrm %%DATADIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs/clients +%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm www/vexim/locale/en_EN/LC_MESSAGES +@dirrm www/vexim/locale/en_EN +@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/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