pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/dbmail Initial import of dbmail-2.0.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9017a38d5d06
branches: trunk
changeset: 487094:9017a38d5d06
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Sun Jan 09 03:21:07 2005 +0000
description:
Initial import of dbmail-2.0.1.
Dbmail is the name of a group of programs that enable the possiblilty
of storing and retrieving mail messages from a database. Currently
MySQL and PostgreSQL can be used as database backends.
DBMail is made up of several components. A normal MTA (Postfix,
SendMail, QMail, Exim) is used for accepting messages. The MTA
hands the messages over to dbmail-smtp, using a pipe interface, or
dbmail-lmtpd, using LMTP (Local Mail Transport Protocol). These
programs take care of delivering the message into the database.
Messages can be retreived from the database using dbmail-pop3d,
using the POP3 protocol, and dbmail-imapd, using the IMAP4Rev1
protocol.
The whole email is stored in the database. That includes attachments.
The DBMail programs do not have to touch the filesystem to retreive
or insert emails. User information is also stored in the database,
so users do not need an account on the machines DBMail is running
on.
diffstat:
mail/dbmail/DESCR | 18 ++++++++++++++++++
mail/dbmail/Makefile | 31 +++++++++++++++++++++++++++++++
mail/dbmail/PLIST | 18 ++++++++++++++++++
mail/dbmail/distinfo | 4 ++++
mail/dbmail/options.mk | 34 ++++++++++++++++++++++++++++++++++
5 files changed, 105 insertions(+), 0 deletions(-)
diffs (125 lines):
diff -r 600760a59c30 -r 9017a38d5d06 mail/dbmail/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/dbmail/DESCR Sun Jan 09 03:21:07 2005 +0000
@@ -0,0 +1,18 @@
+Dbmail is the name of a group of programs that enable the possiblilty
+of storing and retrieving mail messages from a database. Currently
+MySQL and PostgreSQL can be used as database backends.
+
+DBMail is made up of several components. A normal MTA (Postfix,
+SendMail, QMail, Exim) is used for accepting messages. The MTA
+hands the messages over to dbmail-smtp, using a pipe interface, or
+dbmail-lmtpd, using LMTP (Local Mail Transport Protocol). These
+programs take care of delivering the message into the database.
+Messages can be retreived from the database using dbmail-pop3d,
+using the POP3 protocol, and dbmail-imapd, using the IMAP4Rev1
+protocol.
+
+The whole email is stored in the database. That includes attachments.
+The DBMail programs do not have to touch the filesystem to retreive
+or insert emails. User information is also stored in the database,
+so users do not need an account on the machines DBMail is running
+on.
diff -r 600760a59c30 -r 9017a38d5d06 mail/dbmail/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/dbmail/Makefile Sun Jan 09 03:21:07 2005 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/09 03:21:07 schmonz Exp $
+#
+
+DISTNAME= dbmail-2.0.1
+CATEGORIES= mail
+MASTER_SITES= http://www.dbmail.org/download/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= schmonz%NetBSD.org@localhost
+HOMEPAGE= http://www.dbmail.org/
+COMMENT= Store and retrieve mail messages from a database
+
+USE_BUILDLINK3= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+USE_GNU_TOOLS+= make
+USE_LIBTOOL= yes
+
+PLIST_SUBST+= SQLDB=${SQLDB}
+
+SUBST_CLASSES+= sysconf
+SUBST_STAGE.sysconf= do-configure
+SUBST_FILES.sysconf= man/dbmail-imapd.8 man/dbmail-lmtpd.8 man/dbmail-pop3d.8
+SUBST_FILES.sysconf+= man/dbmail-smtp.1 man/dbmail-users.8 man/dbmail-util.8
+SUBST_FILES.sysconf+= dbmail.h
+SUBST_SED.sysconf= -e 's|/etc/dbmail\.conf|${PKG_SYSCONFDIR}/dbmail.conf|g'
+SUBST_MESSAGE.sysconf= "Fixing sysconf paths."
+
+.include "options.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 600760a59c30 -r 9017a38d5d06 mail/dbmail/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/dbmail/PLIST Sun Jan 09 03:21:07 2005 +0000
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/09 03:21:07 schmonz Exp $
+lib/dbmail/libauthdbmail.la
+lib/dbmail/lib${SQLDB}dbmail.la
+lib/dbmail/libsortdbmail.la
+lib/libdbmail.la
+man/man1/dbmail-smtp.1
+man/man8/dbmail-imapd.8
+man/man8/dbmail-lmtpd.8
+man/man8/dbmail-pop3d.8
+man/man8/dbmail-users.8
+man/man8/dbmail-util.8
+sbin/dbmail-imapd
+sbin/dbmail-lmtpd
+sbin/dbmail-pop3d
+sbin/dbmail-smtp
+sbin/dbmail-users
+sbin/dbmail-util
+@dirrm lib/dbmail
diff -r 600760a59c30 -r 9017a38d5d06 mail/dbmail/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/dbmail/distinfo Sun Jan 09 03:21:07 2005 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/09 03:21:07 schmonz Exp $
+
+SHA1 (dbmail-2.0.1.tgz) = fbe5e0b2ab13257a78e9226e5e416b7d745d3c2c
+Size (dbmail-2.0.1.tgz) = 537346 bytes
diff -r 600760a59c30 -r 9017a38d5d06 mail/dbmail/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/dbmail/options.mk Sun Jan 09 03:21:07 2005 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: options.mk,v 1.1.1.1 2005/01/09 03:21:07 schmonz Exp $
+
+PKG_DEFAULT_OPTIONS+= mysql
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.dbmail
+PKG_SUPPORTED_OPTIONS= mysql pgsql
+.include "../../mk/bsd.options.mk"
+
+###
+### We can't compile support for both MySQL and PostgreSQL.
+###
+.if !empty(PKG_OPTIONS:Mmysql) && !empty(PKG_OPTIONS:Mpgsql)
+PKG_FAIL_REASON+= "MySQL and PostgreSQL cannot both be compiled in." \
+ "Please change ${PKG_OPTIONS_VAR} to one or the other."
+.endif
+
+###
+### MySQL database support
+###
+.if !empty(PKG_OPTIONS:Mmysql)
+.include "../../databases/mysql4-client/buildlink3.mk"
+CONFIGURE_ARGS+= --with-mysql
+SQLDB= mysql
+.endif
+
+###
+### PostgreSQL database support
+###
+.if !empty(PKG_OPTIONS:Mpgsql)
+DEPENDS+= postgresql74-client-[0-9]*:../../databases/postgresql74-client
+.include "../../databases/postgresql74-lib/buildlink3.mk"
+CONFIGURE_ARGS+= --with-pgsql
+SQLDB= pgsql
+.endif
Home |
Main Index |
Thread Index |
Old Index