aboutsummaryrefslogtreecommitdiffstats
path: root/mail/perdition
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-05-20 12:00:00 +0800
committerwill <will@FreeBSD.org>2001-05-20 12:00:00 +0800
commit2adc92cc7d7f67d64206e904e9ab45ecf0786e51 (patch)
tree215e1c4b85777ba74fa3b428e31cebb8874d6e07 /mail/perdition
parent597c6468070e31dafc9449c3e38f2d50f9193eaf (diff)
downloadfreebsd-ports-gnome-2adc92cc7d7f67d64206e904e9ab45ecf0786e51.tar.gz
freebsd-ports-gnome-2adc92cc7d7f67d64206e904e9ab45ecf0786e51.tar.zst
freebsd-ports-gnome-2adc92cc7d7f67d64206e904e9ab45ecf0786e51.zip
Add perdition 0.1.7, a POP3 & IMAP4 proxy that can map users to
multiple backend servers. PR: 26937 Submitted by: Konstantinos Konstantinidis <kkonstan@daemon.gr>
Diffstat (limited to 'mail/perdition')
-rw-r--r--mail/perdition/Makefile45
-rw-r--r--mail/perdition/distinfo1
-rw-r--r--mail/perdition/files/patch-aa19
-rw-r--r--mail/perdition/files/patch-ab25
-rw-r--r--mail/perdition/files/patch-ac19
-rw-r--r--mail/perdition/files/patch-ad19
-rw-r--r--mail/perdition/files/patch-ae25
-rw-r--r--mail/perdition/files/patch-af25
-rw-r--r--mail/perdition/files/patch-ag25
-rw-r--r--mail/perdition/files/patch-ah25
-rw-r--r--mail/perdition/pkg-comment1
-rw-r--r--mail/perdition/pkg-descr23
-rw-r--r--mail/perdition/pkg-plist26
13 files changed, 278 insertions, 0 deletions
diff --git a/mail/perdition/Makefile b/mail/perdition/Makefile
new file mode 100644
index 000000000000..e2a008e3bbd7
--- /dev/null
+++ b/mail/perdition/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: perdition
+# Date created: 28 April 2001
+# Whom: Konstantinos Konstantinidis <kkonstan@daemon.gr>
+#
+# $FreeBSD$
+#
+
+PORTNAME= perdition
+PORTVERSION= 0.1.7
+CATEGORIES= mail net security
+MASTER_SITES= ftp://perdition.sourceforge.net/pub/perdition/%SUBDIR%/ \
+ ftp://ftp.au.vergenet.net/pub/perdition/%SUBDIR%/ \
+ ftp://ftp.nl.vergenet.net/pub/perdition/%SUBDIR%/ \
+ ftp://ftp.jp.vergenet.net/pub/perdition/%SUBDIR%/ \
+ ftp://ftp.us.vergenet.net/pub/perdition/%SUBDIR%/
+MASTER_SITE_SUBDIR= ${PORTVERSION}
+
+MAINTAINER= kkonstan@daemon.gr
+
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext \
+ popt.0:${PORTSDIR}/devel/popt \
+ gdbm.2:${PORTSDIR}/databases/gdbm \
+ vanessa_logger.0:${PORTSDIR}/devel/libvanessa_logger \
+ vanessa_socket.0:${PORTSDIR}/net/libvanessa_socket \
+ vanessa_adt.0:${PORTSDIR}/devel/libvanessa_adt
+
+MAN1= makegdbm.1
+MAN5= perditiondb.5
+MAN8= perdition.8
+
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+INSTALLS_SHLIB= yes
+
+post-extract:
+ ${MV} ${WRKSRC}/etc/perdition/perdition.conf \
+ ${WRKSRC}/etc/perdition/perdition.conf.sample
+ ${MV} ${WRKSRC}/perdition/db/gdbm/popmap \
+ ${WRKSRC}/perdition/db/gdbm/popmap.sample
+ ${MV} ${WRKSRC}/perdition/db/posix_regex/popmap.re \
+ ${WRKSRC}/perdition/db/posix_regex/popmap.re.sample
+
+.include <bsd.port.mk>
diff --git a/mail/perdition/distinfo b/mail/perdition/distinfo
new file mode 100644
index 000000000000..a6bd058b0a35
--- /dev/null
+++ b/mail/perdition/distinfo
@@ -0,0 +1 @@
+MD5 (perdition-0.1.7.tar.gz) = cb26fa05d97115dd03f7ddcb28b9cdbb
diff --git a/mail/perdition/files/patch-aa b/mail/perdition/files/patch-aa
new file mode 100644
index 000000000000..6c0cabeaf062
--- /dev/null
+++ b/mail/perdition/files/patch-aa
@@ -0,0 +1,19 @@
+*** etc/perdition/Makefile.am.orig Sun Apr 29 00:29:58 2001
+--- etc/perdition/Makefile.am Sun Apr 29 00:30:52 2001
+***************
+*** 23,29 ****
+ #
+ ######################################################################
+
+! EXTRA_DIST = perdition.conf
+
+ perditionconfdir = $(sysconfdir)/perdition
+! perditionconf_DATA = perdition.conf
+--- 23,29 ----
+ #
+ ######################################################################
+
+! EXTRA_DIST = perdition.conf.sample
+
+ perditionconfdir = $(sysconfdir)/perdition
+! perditionconf_DATA = perdition.conf.sample
diff --git a/mail/perdition/files/patch-ab b/mail/perdition/files/patch-ab
new file mode 100644
index 000000000000..1f56cb752af3
--- /dev/null
+++ b/mail/perdition/files/patch-ab
@@ -0,0 +1,25 @@
+*** etc/perdition/Makefile.in.orig Sun Apr 29 00:56:52 2001
+--- etc/perdition/Makefile.in Sun Apr 29 00:57:22 2001
+***************
+*** 115,124 ****
+ resolv_lib = @resolv_lib@
+ socket_lib = @socket_lib@
+
+! EXTRA_DIST = perdition.conf
+
+ perditionconfdir = $(sysconfdir)/perdition
+! perditionconf_DATA = perdition.conf
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../../config.h
+ CONFIG_CLEAN_FILES =
+--- 115,124 ----
+ resolv_lib = @resolv_lib@
+ socket_lib = @socket_lib@
+
+! EXTRA_DIST = perdition.conf.sample
+
+ perditionconfdir = $(sysconfdir)/perdition
+! perditionconf_DATA = perdition.conf.sample
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../../config.h
+ CONFIG_CLEAN_FILES =
diff --git a/mail/perdition/files/patch-ac b/mail/perdition/files/patch-ac
new file mode 100644
index 000000000000..fb07a4eb2af4
--- /dev/null
+++ b/mail/perdition/files/patch-ac
@@ -0,0 +1,19 @@
+*** etc/Makefile.am.orig Sun Apr 29 00:31:48 2001
+--- etc/Makefile.am Sun Apr 29 00:32:01 2001
+***************
+*** 23,29 ****
+ #
+ ######################################################################
+
+! SUBDIRS = perdition @pam_dir@ rc.d sysconfig
+
+ EXTRA_DIST =
+
+--- 23,29 ----
+ #
+ ######################################################################
+
+! SUBDIRS = perdition @pam_dir@
+
+ EXTRA_DIST =
+
diff --git a/mail/perdition/files/patch-ad b/mail/perdition/files/patch-ad
new file mode 100644
index 000000000000..fdbcb29af6a8
--- /dev/null
+++ b/mail/perdition/files/patch-ad
@@ -0,0 +1,19 @@
+*** etc/Makefile.in.orig Sun Apr 29 00:59:15 2001
+--- etc/Makefile.in Sun Apr 29 00:59:23 2001
+***************
+*** 115,121 ****
+ resolv_lib = @resolv_lib@
+ socket_lib = @socket_lib@
+
+! SUBDIRS = perdition @pam_dir@ rc.d sysconfig
+
+ EXTRA_DIST =
+
+--- 115,121 ----
+ resolv_lib = @resolv_lib@
+ socket_lib = @socket_lib@
+
+! SUBDIRS = perdition @pam_dir@
+
+ EXTRA_DIST =
+
diff --git a/mail/perdition/files/patch-ae b/mail/perdition/files/patch-ae
new file mode 100644
index 000000000000..de42de09cb54
--- /dev/null
+++ b/mail/perdition/files/patch-ae
@@ -0,0 +1,25 @@
+*** perdition/db/gdbm/Makefile.am.orig Sun Apr 29 00:34:26 2001
+--- perdition/db/gdbm/Makefile.am Sun Apr 29 00:35:37 2001
+***************
+*** 23,32 ****
+ #
+ ######################################################################
+
+! EXTRA_DIST = popmap Makefile.popmap.in Makefile.popmap
+
+ confdir = $(sysconfdir)/perdition
+! conf_DATA = popmap Makefile.popmap
+
+ install-data-hook:
+ (cd $(DESTDIR)$(sysconfdir)/perdition/ && ln -sf Makefile.popmap Makefile)
+--- 23,32 ----
+ #
+ ######################################################################
+
+! EXTRA_DIST = popmap.sample Makefile.popmap.in Makefile.popmap
+
+ confdir = $(sysconfdir)/perdition
+! conf_DATA = popmap.sample Makefile.popmap
+
+ install-data-hook:
+ (cd $(DESTDIR)$(sysconfdir)/perdition/ && ln -sf Makefile.popmap Makefile)
diff --git a/mail/perdition/files/patch-af b/mail/perdition/files/patch-af
new file mode 100644
index 000000000000..aa6f9effe18f
--- /dev/null
+++ b/mail/perdition/files/patch-af
@@ -0,0 +1,25 @@
+*** perdition/db/gdbm/Makefile.in.orig Sun Apr 29 01:00:08 2001
+--- perdition/db/gdbm/Makefile.in Sun Apr 29 01:00:36 2001
+***************
+*** 115,124 ****
+ resolv_lib = @resolv_lib@
+ socket_lib = @socket_lib@
+
+! EXTRA_DIST = popmap Makefile.popmap.in Makefile.popmap
+
+ confdir = $(sysconfdir)/perdition
+! conf_DATA = popmap Makefile.popmap
+
+ lib_LTLIBRARIES = libperditiondb_gdbm.la
+
+--- 115,124 ----
+ resolv_lib = @resolv_lib@
+ socket_lib = @socket_lib@
+
+! EXTRA_DIST = popmap.sample Makefile.popmap.in Makefile.popmap
+
+ confdir = $(sysconfdir)/perdition
+! conf_DATA = popmap.sample Makefile.popmap
+
+ lib_LTLIBRARIES = libperditiondb_gdbm.la
+
diff --git a/mail/perdition/files/patch-ag b/mail/perdition/files/patch-ag
new file mode 100644
index 000000000000..5b2362b74238
--- /dev/null
+++ b/mail/perdition/files/patch-ag
@@ -0,0 +1,25 @@
+*** perdition/db/posix_regex/Makefile.am.orig Sun Apr 29 00:36:56 2001
+--- perdition/db/posix_regex/Makefile.am Sun Apr 29 00:37:17 2001
+***************
+*** 24,33 ****
+ #
+ ######################################################################
+
+! EXTRA_DIST = popmap.re
+
+ confdir = $(sysconfdir)/perdition
+! conf_DATA = popmap.re
+
+ lib_LTLIBRARIES = libperditiondb_posix_regex.la
+
+--- 24,33 ----
+ #
+ ######################################################################
+
+! EXTRA_DIST = popmap.re.sample
+
+ confdir = $(sysconfdir)/perdition
+! conf_DATA = popmap.re.sample
+
+ lib_LTLIBRARIES = libperditiondb_posix_regex.la
+
diff --git a/mail/perdition/files/patch-ah b/mail/perdition/files/patch-ah
new file mode 100644
index 000000000000..eeb3590a4505
--- /dev/null
+++ b/mail/perdition/files/patch-ah
@@ -0,0 +1,25 @@
+*** perdition/db/posix_regex/Makefile.in.orig Sun Apr 29 01:01:11 2001
+--- perdition/db/posix_regex/Makefile.in Sun Apr 29 01:01:24 2001
+***************
+*** 116,125 ****
+ resolv_lib = @resolv_lib@
+ socket_lib = @socket_lib@
+
+! EXTRA_DIST = popmap.re
+
+ confdir = $(sysconfdir)/perdition
+! conf_DATA = popmap.re
+
+ lib_LTLIBRARIES = libperditiondb_posix_regex.la
+
+--- 116,125 ----
+ resolv_lib = @resolv_lib@
+ socket_lib = @socket_lib@
+
+! EXTRA_DIST = popmap.re.sample
+
+ confdir = $(sysconfdir)/perdition
+! conf_DATA = popmap.re.sample
+
+ lib_LTLIBRARIES = libperditiondb_posix_regex.la
+
diff --git a/mail/perdition/pkg-comment b/mail/perdition/pkg-comment
new file mode 100644
index 000000000000..8890a3c31958
--- /dev/null
+++ b/mail/perdition/pkg-comment
@@ -0,0 +1 @@
+A POP3 & IMAP4 proxy that can map users to multiple backend servers
diff --git a/mail/perdition/pkg-descr b/mail/perdition/pkg-descr
new file mode 100644
index 000000000000..2100d9807e4d
--- /dev/null
+++ b/mail/perdition/pkg-descr
@@ -0,0 +1,23 @@
+Perdition is a mail retrieval proxy that allows users to connect to a
+content-free POP3 or IMAP4 server that will redirect them to their real
+POP3 or IMAP4 server. This enables mail retrieval for a domain to be
+split across multiple backend servers on a per user basis. It can also
+be used as a POP3 or IMAP4 proxy in firewall applications.
+
+Perdition supports arbitrary library based map access to determine the
+server for each user - POSIX regex, GDBM, PostgreSQL, MySQL, NIS and
+OpenLDAP libraries ship with the distribution.
+
+Please note that this package does not include support for PostgreSQL,
+MySQL or OpenLDAP, however if you build the port and you have any of
+those installed, the apropriate libraries WILL be build and you will
+be able to use them. Please note though that the packing list does not
+take these into account!
+
+The use of perditon to scale mail services beyond a single box is discussed
+in a paper the author wrote on high capacity email, so be sure to check the
+web page.
+
+WWW: http://perdition.sourceforge.net/
+
+-- K. Konstantinidis <kkonstan@daemon.gr>
diff --git a/mail/perdition/pkg-plist b/mail/perdition/pkg-plist
new file mode 100644
index 000000000000..16113efb90a7
--- /dev/null
+++ b/mail/perdition/pkg-plist
@@ -0,0 +1,26 @@
+bin/makegdbm
+etc/pam.d/perdition
+etc/perdition/popmap.sample
+etc/perdition/Makefile.popmap
+etc/perdition/Makefile
+etc/perdition/README.perditiondb_nis
+etc/perdition/popmap.re.sample
+etc/perdition/perdition.conf.sample
+include/jain.h
+lib/libjain.so.0
+lib/libjain.so
+lib/libjain.a
+lib/libperditiondb_gdbm.so.0
+lib/libperditiondb_gdbm.so
+lib/libperditiondb_gdbm.a
+lib/libperditiondb_nis.so.0
+lib/libperditiondb_nis.so
+lib/libperditiondb_nis.a
+lib/libperditiondb_posix_regex.so.0
+lib/libperditiondb_posix_regex.so
+lib/libperditiondb_posix_regex.a
+sbin/perdition
+sbin/perdition.pop3
+sbin/perdition.imap4
+@dirrm etc/perdition
+@dirrm etc/pam.d