pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail Perdition 1.17, a POP3/IMAP4 proxy capable of cho...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b831cefbf030
branches: trunk
changeset: 507371:b831cefbf030
user: tv <tv%pkgsrc.org@localhost>
date: Tue Jan 31 21:07:30 2006 +0000
description:
Perdition 1.17, a POP3/IMAP4 proxy capable of choosing different destination
servers based on user authentication. From DESCR:
Perdition is a fully featured POP3 and IMAP4 proxy server. It is able to
handle both SSL and non-SSL connections and redirect users to a
real-server based on a database lookup. Perdition supports modular based
database access. ODBC, MySQL, PostgreSQL, GDBM, POSIX Regular Expression
and NIS modules ship with the distribution. The API for modules is open
allowing abitary modules to be written to allow access to any data store.
Perdition can be used to: Create large mail systems where a users mailbox
may be stored on one of several hosts. Integrate different mail systems
together. Migrate between different email infastructure. And in firewall
applications.
diffstat:
mail/Makefile | 9 ++++++-
mail/perdition-bdb/Makefile | 12 +++++++++
mail/perdition-bdb/PLIST | 4 +++
mail/perdition-gdbm/Makefile | 10 ++++++++
mail/perdition-gdbm/PLIST | 4 +++
mail/perdition-ldap/Makefile | 11 ++++++++
mail/perdition-ldap/PLIST | 4 +++
mail/perdition-mysql/Makefile | 8 ++++++
mail/perdition-mysql/PLIST | 4 +++
mail/perdition-odbc/Makefile | 11 ++++++++
mail/perdition-odbc/PLIST | 4 +++
mail/perdition-postgresql/Makefile | 9 +++++++
mail/perdition-postgresql/PLIST | 4 +++
mail/perdition/DESCR | 11 ++++++++
mail/perdition/Makefile | 21 ++++++++++++++++
mail/perdition/Makefile.common | 47 ++++++++++++++++++++++++++++++++++++++
mail/perdition/PLIST | 25 ++++++++++++++++++++
mail/perdition/buildlink3.mk | 24 +++++++++++++++++++
mail/perdition/distinfo | 7 +++++
mail/perdition/options.mk | 16 ++++++++++++
mail/perdition/patches/patch-aa | 17 +++++++++++++
mail/perdition/patches/patch-ab | 17 +++++++++++++
22 files changed, 278 insertions(+), 1 deletions(-)
diffs (truncated from 377 to 300 lines):
diff -r c0cef9c590f9 -r b831cefbf030 mail/Makefile
--- a/mail/Makefile Tue Jan 31 21:06:56 2006 +0000
+++ b/mail/Makefile Tue Jan 31 21:07:30 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.279 2005/12/28 06:08:54 schmonz Exp $
+# $NetBSD: Makefile,v 1.280 2006/01/31 21:07:30 tv Exp $
#
COMMENT= Electronic mail utilities
@@ -144,6 +144,13 @@
SUBDIR+= p5-razor-agents
SUBDIR+= pear-Mail
SUBDIR+= pear-Mail_Mime
+SUBDIR+= perdition
+SUBDIR+= perdition-bdb
+SUBDIR+= perdition-gdbm
+SUBDIR+= perdition-ldap
+SUBDIR+= perdition-mysql
+SUBDIR+= perdition-odbc
+SUBDIR+= perdition-postgresql
SUBDIR+= pfqueue
SUBDIR+= php-imap
SUBDIR+= pine
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition-bdb/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition-bdb/Makefile Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2006/01/31 21:07:30 tv Exp $
+#
+
+PERDITION_COMMENT= Berkeley DB user database module
+PERDITION_PKGNAME= bdb
+BUILD_DIRS= makebdb perdition/db/bdb
+
+BDB_ACCEPTED= db4
+
+.include "../../mk/bdb.buildlink3.mk"
+.include "../../mail/perdition/buildlink3.mk"
+.include "../perdition/Makefile.common"
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition-bdb/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition-bdb/PLIST Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2006/01/31 21:07:30 tv Exp $
+bin/makebdb
+lib/libperditiondb_bdb.la
+man/man1/makebdb.1
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition-gdbm/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition-gdbm/Makefile Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1 2006/01/31 21:07:30 tv Exp $
+#
+
+PERDITION_COMMENT= GDBM user database module
+PERDITION_PKGNAME= gdbm
+BUILD_DIRS= makegdbm perdition/db/gdbm
+
+.include "../../databases/gdbm/buildlink3.mk"
+.include "../../mail/perdition/buildlink3.mk"
+.include "../perdition/Makefile.common"
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition-gdbm/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition-gdbm/PLIST Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2006/01/31 21:07:30 tv Exp $
+bin/makegdbm
+lib/libperditiondb_gdbm.la
+man/man1/makegdbm.1
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition-ldap/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition-ldap/Makefile Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2006/01/31 21:07:30 tv Exp $
+#
+
+PERDITION_COMMENT= LDAP user database module
+PERDITION_PKGNAME= ldap
+
+CONFIGURE_ARGS+= --with-ldap-includes=${BUILDLINK_PREFIX.openldap}/include
+CONFIGURE_ARGS+= --with-ldap-libs=${BUILDLINK_PREFIX.openldap}/lib
+
+.include "../../databases/openldap/buildlink3.mk"
+.include "../perdition/Makefile.common"
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition-ldap/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition-ldap/PLIST Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2006/01/31 21:07:30 tv Exp $
+lib/libperditiondb_ldap.la
+man/man8/perditiondb_ldap_makedb.8
+sbin/perditiondb_ldap_makedb
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition-mysql/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition-mysql/Makefile Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,8 @@
+# $NetBSD: Makefile,v 1.1 2006/01/31 21:07:30 tv Exp $
+#
+
+PERDITION_COMMENT= MySQL user database module
+PERDITION_PKGNAME= mysql
+
+.include "../../mk/mysql.buildlink3.mk"
+.include "../perdition/Makefile.common"
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition-mysql/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition-mysql/PLIST Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2006/01/31 21:07:31 tv Exp $
+lib/libperditiondb_mysql.la
+man/man8/perditiondb_mysql_makedb.8
+sbin/perditiondb_mysql_makedb
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition-odbc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition-odbc/Makefile Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2006/01/31 21:07:31 tv Exp $
+#
+
+PERDITION_COMMENT= UnixODBC user database module
+PERDITION_PKGNAME= odbc
+
+CONFIGURE_ARGS+= --with-odbc-includes=${BUILDLINK_PREFIX.unixodbc}/include
+CONFIGURE_ARGS+= --with-odbc-libs=${BUILDLINK_PREFIX.unixodbc}/lib
+
+.include "../../databases/unixodbc/buildlink3.mk"
+.include "../perdition/Makefile.common"
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition-odbc/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition-odbc/PLIST Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2006/01/31 21:07:31 tv Exp $
+lib/libperditiondb_odbc.la
+man/man8/perditiondb_odbc_makedb.8
+sbin/perditiondb_odbc_makedb
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition-postgresql/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition-postgresql/Makefile Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.1 2006/01/31 21:07:31 tv Exp $
+#
+
+PERDITION_COMMENT= PostgreSQL user database module
+PERDITION_PKGNAME= postgresql
+PERDITION_SKIP_DISABLE= pg
+
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../perdition/Makefile.common"
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition-postgresql/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition-postgresql/PLIST Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2006/01/31 21:07:31 tv Exp $
+lib/libperditiondb_postgresql.la
+man/man8/perditiondb_postgresql_makedb.8
+sbin/perditiondb_postgresql_makedb
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition/DESCR Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,11 @@
+Perdition is a fully featured POP3 and IMAP4 proxy server. It is able to
+handle both SSL and non-SSL connections and redirect users to a
+real-server based on a database lookup. Perdition supports modular based
+database access. ODBC, MySQL, PostgreSQL, GDBM, POSIX Regular Expression
+and NIS modules ship with the distribution. The API for modules is open
+allowing abitary modules to be written to allow access to any data store.
+
+Perdition can be used to: Create large mail systems where a users mailbox
+may be stored on one of several hosts. Integrate different mail systems
+together. Migrate between different email infastructure. And in firewall
+applications.
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition/Makefile Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2006/01/31 21:07:30 tv Exp $
+#
+
+PERDITION_COMMENT= main program
+
+.include "options.mk"
+
+USE_PKGINSTALL= YES
+OWN_DIRS+= ${PKG_SYSCONFDIR}
+.for f in Makefile.popmap perdition.conf popmap popmap.re
+CONF_FILES+= ${EGDIR}/perdition/$f ${PKG_SYSCONFDIR}/${f:.popmap=}
+.endfor
+
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= pre-configure
+SUBST_FILES.paths= etc/perdition/perdition.conf
+SUBST_SED.paths= -e "s|/usr/lib/|${PREFIX}/lib/|g" \
+ -e "s|/etc/perdition/|${PKG_SYSCONFDIR}/|g"
+SUBST_MESSAGE.paths= Fixing paths.
+
+.include "Makefile.common"
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition/Makefile.common Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile.common,v 1.1 2006/01/31 21:07:30 tv Exp $
+#
+
+PERDITION_VERSION= 1.17
+DISTNAME= perdition-${PERDITION_VERSION}
+CATEGORIES= mail
+MASTER_SITES= http://www.vergenet.net/linux/perdition/download/1.17/
+
+MAINTAINER= tv%duh.org@localhost
+HOMEPAGE= http://www.vergenet.net/linux/perdition/
+COMMENT= IMAP/POP3 proxy redirector (${PERDITION_COMMENT})
+
+USE_TOOLS= gmake
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+PKG_SYSCONFSUBDIR= perdition
+
+CONFIGURE_ARGS+= --localstatedir=/var/run
+
+EGDIR= ${PREFIX}/share/examples
+INSTALL_AM_MAKEFLAGS= sysconfdir=${EGDIR}
+INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} AM_MAKEFLAGS=${INSTALL_AM_MAKEFLAGS:Q}
+
+.ifdef PERDITION_PKGNAME
+PKGNAME= ${DISTNAME:S/-/-${PERDITION_PKGNAME}-/}
+DEPENDS+= perdition-${PERDITION_VERSION}{,nb*}:../../mail/perdition
+BUILD_DIRS?= perdition/db/${PERDITION_PKGNAME}
+.endif
+
+PERDITION_SKIP_DISABLE?=${PERDITION_PKGNAME}
+.for f in mysql odbc pg gdbm bdb ldap ldap-doc
+. if empty(PERDITION_SKIP_DISABLE:M$f)
+CONFIGURE_ARGS+= --disable-$f
+. endif
+.endfor
+
+DESCR_SRC= ${PKGDIR}/../perdition/DESCR
+DISTINFO_FILE= ${PKGDIR}/../perdition/distinfo
+PATCHDIR= ${PKGDIR}/../perdition/patches
+
+.include "../../devel/popt/buildlink3.mk"
+.include "../../devel/vanessa_adt/buildlink3.mk"
+.include "../../devel/vanessa_logger/buildlink3.mk"
+.include "../../devel/vanessa_socket/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition/PLIST Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2006/01/31 21:07:30 tv Exp $
+include/jain.h
+lib/libjain.la
+lib/libperditiondb_daemon.la
+lib/libperditiondb_nis.la
+lib/libperditiondb_posix_regex.la
+man/man5/perditiondb.5
+man/man8/perdition.8
+man/man8/perdition.imap4.8
+man/man8/perdition.imap4s.8
+man/man8/perdition.imaps.8
+man/man8/perdition.pop3.8
+man/man8/perdition.pop3s.8
+sbin/perdition
+sbin/perdition.imap4
+sbin/perdition.imap4s
+sbin/perdition.imaps
+sbin/perdition.pop3
+sbin/perdition.pop3s
+share/examples/perdition/Makefile
+share/examples/perdition/Makefile.popmap
+share/examples/perdition/perdition.conf
+share/examples/perdition/popmap
+share/examples/perdition/popmap.re
+@dirrm share/examples/perdition
diff -r c0cef9c590f9 -r b831cefbf030 mail/perdition/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/perdition/buildlink3.mk Tue Jan 31 21:07:30 2006 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2006/01/31 21:07:30 tv Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PERDITION_BUILDLINK3_MK:= ${PERDITION_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= perdition
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nperdition}
+BUILDLINK_PACKAGES+= perdition
+
+.if !empty(PERDITION_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.perdition+= perdition>=1.17
+BUILDLINK_PKGSRCDIR.perdition?= ../../mail/perdition
+.endif # PERDITION_BUILDLINK3_MK
+
+# The following are included in Makefile.common for "configure"'s sake.
+#.include "../../devel/popt/buildlink3.mk"
+#.include "../../devel/vanessa_adt/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index