diff options
author | edwin <edwin@FreeBSD.org> | 2004-01-03 14:56:12 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-01-03 14:56:12 +0800 |
commit | ef4150d243e8c0430947e793e88bc622d49b3087 (patch) | |
tree | 8efbd12c371d86c6847de41f154466aa3b985ecd /mail | |
parent | 79b91b1cfc45cf1f8cfa82dc1554436ae699502c (diff) | |
download | freebsd-ports-gnome-ef4150d243e8c0430947e793e88bc622d49b3087.tar.gz freebsd-ports-gnome-ef4150d243e8c0430947e793e88bc622d49b3087.tar.zst freebsd-ports-gnome-ef4150d243e8c0430947e793e88bc622d49b3087.zip |
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>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-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 |
6 files changed, 94 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index d866d751aafa..d04fa416c654 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -279,6 +279,7 @@ SUBDIR += postfix SUBDIR += postfix-current SUBDIR += postfix1 + SUBDIR += postfixadmin SUBDIR += postilion SUBDIR += premail SUBDIR += procmail 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 |