diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-01-03 06:56:12 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-01-03 06:56:12 +0000 |
commit | 7d2918ee107326ca6636d79efde5ffbc5ce372b2 (patch) | |
tree | f2ba17e6b46e664a56e43d8b76e6133116c55250 /mail/postfixadmin | |
parent | New port: graphics/geos implements all OpenGIS "Simple Features for SQL" (diff) |
New port mail/postfixadmin
A tool to manage virtual domains via a PHP interface
Postfix Admin is a Web Based Management tool for Postfix
when you are dealing with Postfix Style Virtual Domains and
Virtual Users that are store in MySQL. Written in PHP.
PR: ports/54984, ports/58417
Submitted by: SIN-HSIUNG CHANG <sexbear@tmu.edu.tw>, Rob Evers <rob@debank.tv>
Notes
Notes:
svn path=/head/; revision=97171
Diffstat (limited to 'mail/postfixadmin')
-rw-r--r-- | mail/postfixadmin/Makefile | 38 | ||||
-rw-r--r-- | mail/postfixadmin/distinfo | 1 | ||||
-rw-r--r-- | mail/postfixadmin/files/patch-.htacces | 8 | ||||
-rw-r--r-- | mail/postfixadmin/pkg-descr | 11 | ||||
-rw-r--r-- | mail/postfixadmin/pkg-plist | 35 |
5 files changed, 93 insertions, 0 deletions
diff --git a/mail/postfixadmin/Makefile b/mail/postfixadmin/Makefile new file mode 100644 index 000000000000..6aab921d49ef --- /dev/null +++ b/mail/postfixadmin/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: postfixadmin +# Date created: 23 October 2003 +# Whom: Rob Evers <rob@debank.tv> +# +# $FreeBSD$ +# + +PORTNAME= postfixadmin +PORTVERSION= 1.5.4 +CATEGORIES= mail +MASTER_SITES= http://high5.net/postfixadmin/download.php/ +DISTNAME= ${PORTNAME}-${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= rob@debank.tv +COMMENT= PHP frontend to postfix and mySQL + +.if defined(WITH_APACHE2) +RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4 +.else +RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 +.endif + +NO_BUILD= yes +FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} + +do-fetch: + ${FETCH_CMD} ${FETCH_BEFORE_ARGS} \ + ${MASTER_SITES}?file=${DISTNAME}${EXTRACT_SUFX} + +post-patch: + ${FIND} ${WRKSRC} -name '*.orig' -delete + +do-install: + @${MKDIR} ${PREFIX}/www/postfixadmin + @${CP} -r ${WRKSRC}/* ${PREFIX}/www/postfixadmin/ + +.include <bsd.port.mk> diff --git a/mail/postfixadmin/distinfo b/mail/postfixadmin/distinfo new file mode 100644 index 000000000000..4e5f6dd38edf --- /dev/null +++ b/mail/postfixadmin/distinfo @@ -0,0 +1 @@ +MD5 (postfixadmin-1.5.4.tgz) = a56de975c1c94637689db991eb59ebba diff --git a/mail/postfixadmin/files/patch-.htacces b/mail/postfixadmin/files/patch-.htacces new file mode 100644 index 000000000000..105bacab32b5 --- /dev/null +++ b/mail/postfixadmin/files/patch-.htacces @@ -0,0 +1,8 @@ +--- admin/.htaccess.orig Thu Oct 23 11:17:10 2003 ++++ admin/.htaccess Thu Oct 23 11:17:23 2003 +@@ -1,4 +1,4 @@ +-AuthUserFile /usr/local/postfixadmin/admin/.htpasswd ++AuthUserFile /usr/local/www/postfixadmin/admin/.htpasswd + AuthGroupFile /dev/null + AuthName "Postfix Admin" + AuthType Basic diff --git a/mail/postfixadmin/pkg-descr b/mail/postfixadmin/pkg-descr new file mode 100644 index 000000000000..afad4d3c168d --- /dev/null +++ b/mail/postfixadmin/pkg-descr @@ -0,0 +1,11 @@ +Postfix Admin is a Web Based Management tool for Postfix when you +are dealing with Postfix Style Virtual Domains and Virtual Users +that are stored in MySQL. Written in PHP. + +Postfix Admin supports: + - Virtual Mailboxes. + - Virtual Aliases / Forwarders / Catch-All. + - Vacation for Virtual Mailboxes (with the additional module). +Requirements: + - Postfix 2.0 or higher. + - PHP 4.1 or higher. diff --git a/mail/postfixadmin/pkg-plist b/mail/postfixadmin/pkg-plist new file mode 100644 index 000000000000..c13fa67212f9 --- /dev/null +++ b/mail/postfixadmin/pkg-plist @@ -0,0 +1,35 @@ +www/postfixadmin/admin/sendmail.php +www/postfixadmin/admin/.htpasswd +www/postfixadmin/admin/adminview.php +www/postfixadmin/admin/delete.php +www/postfixadmin/admin/domainview.php +www/postfixadmin/admin/index.php +www/postfixadmin/admin/newadmin.php +www/postfixadmin/admin/newdomain.php +www/postfixadmin/admin/passwd.php +www/postfixadmin/admin/virtualview.php +www/postfixadmin/admin/.htaccess +www/postfixadmin/admin/modify.php +www/postfixadmin/vacation.php +www/postfixadmin/stylesheet.css +www/postfixadmin/sendmail.php +www/postfixadmin/pwd.php +www/postfixadmin/passwd.php +www/postfixadmin/my_lib.php +www/postfixadmin/modify.php +www/postfixadmin/main.php +www/postfixadmin/mailbox.php +www/postfixadmin/logout.php +www/postfixadmin/login.php +www/postfixadmin/index.php +www/postfixadmin/delete.php +www/postfixadmin/config.inc.php.sample +www/postfixadmin/changename.php +www/postfixadmin/alias.php +www/postfixadmin/UPGRADE.TXT +www/postfixadmin/LICENSE.TXT +www/postfixadmin/INSTALL.TXT +www/postfixadmin/vcp.php +www/postfixadmin/CHANGELOG.TXT +@dirrm www/postfixadmin/admin +@dirrm www/postfixadmin |