Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2001 03:44:54 +0300 (EEST)
From:      kkonstan@duth.gr
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26937: New port: mail/perdition-0.1.7: A POP3 & IMAP4 proxy that can map users to multiple backend servers
Message-ID:  <200104290044.f3T0is865694@emily.cc.duth.gr>

next in thread | raw e-mail | index | archive | help

>Number:         26937
>Category:       ports
>Synopsis:       New port: mail/perdition-0.1.7: A POP3 & IMAP4 proxy that can map users to multiple backend servers
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 28 17:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Konstantinos Konstantinidis
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
Demokritos University of Thrace
>Environment:

>Description:

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/

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	perdition
#	perdition/Makefile
#	perdition/distinfo
#	perdition/pkg-comment
#	perdition/pkg-descr
#	perdition/pkg-plist
#	perdition/files
#	perdition/files/patch-aa
#	perdition/files/patch-ab
#	perdition/files/patch-ae
#	perdition/files/patch-ag
#	perdition/files/patch-ac
#	perdition/files/patch-ad
#	perdition/files/patch-af
#	perdition/files/patch-ah
#
echo c - perdition
mkdir -p perdition > /dev/null 2>&1
echo x - perdition/Makefile
sed 's/^X//' >perdition/Makefile << 'END-of-perdition/Makefile'
X# New ports collection makefile for:	perdition
X# Date created:		28 April 2001
X# Whom:			Konstantinos Konstantinidis <kkonstan@daemon.gr>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	perdition
XPORTVERSION=	0.1.7
XCATEGORIES=	mail net security
XMASTER_SITES=	ftp://perdition.sourceforge.net/pub/perdition/%SUBDIR%/ \
X		ftp://ftp.au.vergenet.net/pub/perdition/%SUBDIR%/ \
X		ftp://ftp.nl.vergenet.net/pub/perdition/%SUBDIR%/ \
X		ftp://ftp.jp.vergenet.net/pub/perdition/%SUBDIR%/ \
X		ftp://ftp.us.vergenet.net/pub/perdition/%SUBDIR%/
XMASTER_SITE_SUBDIR=	${PORTVERSION}
X
XMAINTAINER=	kkonstan@daemon.gr
X
XLIB_DEPENDS=	intl.1:${PORTSDIR}/devel/gettext \
X		popt.0:${PORTSDIR}/devel/popt \
X		gdbm.2:${PORTSDIR}/databases/gdbm \
X		vanessa_logger.0:${PORTSDIR}/devel/libvanessa_logger \
X		vanessa_socket.0:${PORTSDIR}/net/libvanessa_socket \
X		vanessa_adt.0:${PORTSDIR}/devel/libvanessa_adt
X
XMAN1=		makegdbm.1
XMAN5=		perditiondb.5
XMAN8=		perdition.8
X
XUSE_LIBTOOL=	YES
XGNU_CONFIGURE=	YES
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
X
Xpost-extract:
X	${MV} ${WRKSRC}/etc/perdition/perdition.conf \
X	      ${WRKSRC}/etc/perdition/perdition.conf.sample
X	${MV} ${WRKSRC}/perdition/db/gdbm/popmap \
X	      ${WRKSRC}/perdition/db/gdbm/popmap.sample
X	${MV} ${WRKSRC}/perdition/db/posix_regex/popmap.re \
X	      ${WRKSRC}/perdition/db/posix_regex/popmap.re.sample
X.include <bsd.port.mk>
END-of-perdition/Makefile
echo x - perdition/distinfo
sed 's/^X//' >perdition/distinfo << 'END-of-perdition/distinfo'
XMD5 (perdition-0.1.7.tar.gz) = cb26fa05d97115dd03f7ddcb28b9cdbb
END-of-perdition/distinfo
echo x - perdition/pkg-comment
sed 's/^X//' >perdition/pkg-comment << 'END-of-perdition/pkg-comment'
XA POP3 & IMAP4 proxy that can map users to multiple backend servers
END-of-perdition/pkg-comment
echo x - perdition/pkg-descr
sed 's/^X//' >perdition/pkg-descr << 'END-of-perdition/pkg-descr'
XPerdition is a mail retrieval proxy that allows users to connect to a
Xcontent-free POP3 or IMAP4 server that will redirect them to their real
XPOP3 or IMAP4 server. This enables mail retrieval for a domain to be
Xsplit across multiple backend servers on a per user basis. It can also
Xbe used as a POP3 or IMAP4 proxy in firewall applications.
X
XPerdition supports arbitrary library based map access to determine the
Xserver for each user - POSIX regex, GDBM, PostgreSQL, MySQL, NIS and
XOpenLDAP libraries ship with the distribution.
X
XPlease note that this package does not include support for PostgreSQL,
XMySQL or OpenLDAP, however if you build the port and you have any of
Xthose installed, the apropriate libraries WILL be build and you will
Xbe able to use them. Please note though that the packing list does not
Xtake these into account!
X
XThe use of perditon to scale mail services beyond a single box is discussed
Xin a paper the author wrote on high capacity email, so be sure to check the
Xweb page.
X
XWWW: http://perdition.sourceforge.net/
X
X-- K. Konstantinidis <kkonstan@daemon.gr>
END-of-perdition/pkg-descr
echo x - perdition/pkg-plist
sed 's/^X//' >perdition/pkg-plist << 'END-of-perdition/pkg-plist'
Xbin/makegdbm
Xetc/pam.d/perdition
Xetc/perdition/popmap.sample
Xetc/perdition/Makefile.popmap
Xetc/perdition/Makefile
Xetc/perdition/README.perditiondb_nis
Xetc/perdition/popmap.re.sample
Xetc/perdition/perdition.conf.sample
Xinclude/jain.h
Xlib/libjain.so.0
Xlib/libjain.so
Xlib/libjain.a
Xlib/libperditiondb_gdbm.so.0
Xlib/libperditiondb_gdbm.so
Xlib/libperditiondb_gdbm.a
Xlib/libperditiondb_nis.so.0
Xlib/libperditiondb_nis.so
Xlib/libperditiondb_nis.a
Xlib/libperditiondb_posix_regex.so.0
Xlib/libperditiondb_posix_regex.so
Xlib/libperditiondb_posix_regex.a
Xsbin/perdition
Xsbin/perdition.pop3
Xsbin/perdition.imap4
X@dirrm etc/perdition
X@dirrm etc/pam.d
END-of-perdition/pkg-plist
echo c - perdition/files
mkdir -p perdition/files > /dev/null 2>&1
echo x - perdition/files/patch-aa
sed 's/^X//' >perdition/files/patch-aa << 'END-of-perdition/files/patch-aa'
X*** etc/perdition/Makefile.am.orig	Sun Apr 29 00:29:58 2001
X--- etc/perdition/Makefile.am	Sun Apr 29 00:30:52 2001
X***************
X*** 23,29 ****
X  #
X  ######################################################################
X  
X! EXTRA_DIST = perdition.conf
X  
X  perditionconfdir = $(sysconfdir)/perdition
X! perditionconf_DATA = perdition.conf
X--- 23,29 ----
X  #
X  ######################################################################
X  
X! EXTRA_DIST = perdition.conf.sample
X  
X  perditionconfdir = $(sysconfdir)/perdition
X! perditionconf_DATA = perdition.conf.sample
END-of-perdition/files/patch-aa
echo x - perdition/files/patch-ab
sed 's/^X//' >perdition/files/patch-ab << 'END-of-perdition/files/patch-ab'
X*** etc/perdition/Makefile.in.orig	Sun Apr 29 00:56:52 2001
X--- etc/perdition/Makefile.in	Sun Apr 29 00:57:22 2001
X***************
X*** 115,124 ****
X  resolv_lib = @resolv_lib@
X  socket_lib = @socket_lib@
X  
X! EXTRA_DIST = perdition.conf
X  
X  perditionconfdir = $(sysconfdir)/perdition
X! perditionconf_DATA = perdition.conf
X  mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
X  CONFIG_HEADER = ../../config.h
X  CONFIG_CLEAN_FILES = 
X--- 115,124 ----
X  resolv_lib = @resolv_lib@
X  socket_lib = @socket_lib@
X  
X! EXTRA_DIST = perdition.conf.sample
X  
X  perditionconfdir = $(sysconfdir)/perdition
X! perditionconf_DATA = perdition.conf.sample
X  mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
X  CONFIG_HEADER = ../../config.h
X  CONFIG_CLEAN_FILES = 
END-of-perdition/files/patch-ab
echo x - perdition/files/patch-ae
sed 's/^X//' >perdition/files/patch-ae << 'END-of-perdition/files/patch-ae'
X*** perdition/db/gdbm/Makefile.am.orig	Sun Apr 29 00:34:26 2001
X--- perdition/db/gdbm/Makefile.am	Sun Apr 29 00:35:37 2001
X***************
X*** 23,32 ****
X  #
X  ######################################################################
X  
X! EXTRA_DIST = popmap Makefile.popmap.in Makefile.popmap
X  
X  confdir = $(sysconfdir)/perdition
X! conf_DATA = popmap Makefile.popmap
X  
X  install-data-hook:
X  	(cd $(DESTDIR)$(sysconfdir)/perdition/ && ln -sf Makefile.popmap Makefile)
X--- 23,32 ----
X  #
X  ######################################################################
X  
X! EXTRA_DIST = popmap.sample Makefile.popmap.in Makefile.popmap
X  
X  confdir = $(sysconfdir)/perdition
X! conf_DATA = popmap.sample Makefile.popmap
X  
X  install-data-hook:
X  	(cd $(DESTDIR)$(sysconfdir)/perdition/ && ln -sf Makefile.popmap Makefile)
END-of-perdition/files/patch-ae
echo x - perdition/files/patch-ag
sed 's/^X//' >perdition/files/patch-ag << 'END-of-perdition/files/patch-ag'
X*** perdition/db/posix_regex/Makefile.am.orig	Sun Apr 29 00:36:56 2001
X--- perdition/db/posix_regex/Makefile.am	Sun Apr 29 00:37:17 2001
X***************
X*** 24,33 ****
X  #
X  ######################################################################
X  
X! EXTRA_DIST = popmap.re
X  
X  confdir = $(sysconfdir)/perdition
X! conf_DATA = popmap.re
X  
X  lib_LTLIBRARIES = libperditiondb_posix_regex.la
X  
X--- 24,33 ----
X  #
X  ######################################################################
X  
X! EXTRA_DIST = popmap.re.sample
X  
X  confdir = $(sysconfdir)/perdition
X! conf_DATA = popmap.re.sample
X  
X  lib_LTLIBRARIES = libperditiondb_posix_regex.la
X  
END-of-perdition/files/patch-ag
echo x - perdition/files/patch-ac
sed 's/^X//' >perdition/files/patch-ac << 'END-of-perdition/files/patch-ac'
X*** etc/Makefile.am.orig	Sun Apr 29 00:31:48 2001
X--- etc/Makefile.am	Sun Apr 29 00:32:01 2001
X***************
X*** 23,29 ****
X  #
X  ######################################################################
X  
X! SUBDIRS = perdition @pam_dir@ rc.d sysconfig
X  
X  EXTRA_DIST = 
X  
X--- 23,29 ----
X  #
X  ######################################################################
X  
X! SUBDIRS = perdition @pam_dir@
X  
X  EXTRA_DIST = 
X  
END-of-perdition/files/patch-ac
echo x - perdition/files/patch-ad
sed 's/^X//' >perdition/files/patch-ad << 'END-of-perdition/files/patch-ad'
X*** etc/Makefile.in.orig	Sun Apr 29 00:59:15 2001
X--- etc/Makefile.in	Sun Apr 29 00:59:23 2001
X***************
X*** 115,121 ****
X  resolv_lib = @resolv_lib@
X  socket_lib = @socket_lib@
X  
X! SUBDIRS = perdition @pam_dir@ rc.d sysconfig
X  
X  EXTRA_DIST = 
X  
X--- 115,121 ----
X  resolv_lib = @resolv_lib@
X  socket_lib = @socket_lib@
X  
X! SUBDIRS = perdition @pam_dir@
X  
X  EXTRA_DIST = 
X  
END-of-perdition/files/patch-ad
echo x - perdition/files/patch-af
sed 's/^X//' >perdition/files/patch-af << 'END-of-perdition/files/patch-af'
X*** perdition/db/gdbm/Makefile.in.orig	Sun Apr 29 01:00:08 2001
X--- perdition/db/gdbm/Makefile.in	Sun Apr 29 01:00:36 2001
X***************
X*** 115,124 ****
X  resolv_lib = @resolv_lib@
X  socket_lib = @socket_lib@
X  
X! EXTRA_DIST = popmap Makefile.popmap.in Makefile.popmap
X  
X  confdir = $(sysconfdir)/perdition
X! conf_DATA = popmap Makefile.popmap
X  
X  lib_LTLIBRARIES = libperditiondb_gdbm.la
X  
X--- 115,124 ----
X  resolv_lib = @resolv_lib@
X  socket_lib = @socket_lib@
X  
X! EXTRA_DIST = popmap.sample Makefile.popmap.in Makefile.popmap
X  
X  confdir = $(sysconfdir)/perdition
X! conf_DATA = popmap.sample Makefile.popmap
X  
X  lib_LTLIBRARIES = libperditiondb_gdbm.la
X  
END-of-perdition/files/patch-af
echo x - perdition/files/patch-ah
sed 's/^X//' >perdition/files/patch-ah << 'END-of-perdition/files/patch-ah'
X*** perdition/db/posix_regex/Makefile.in.orig	Sun Apr 29 01:01:11 2001
X--- perdition/db/posix_regex/Makefile.in	Sun Apr 29 01:01:24 2001
X***************
X*** 116,125 ****
X  resolv_lib = @resolv_lib@
X  socket_lib = @socket_lib@
X  
X! EXTRA_DIST = popmap.re
X  
X  confdir = $(sysconfdir)/perdition
X! conf_DATA = popmap.re
X  
X  lib_LTLIBRARIES = libperditiondb_posix_regex.la
X  
X--- 116,125 ----
X  resolv_lib = @resolv_lib@
X  socket_lib = @socket_lib@
X  
X! EXTRA_DIST = popmap.re.sample
X  
X  confdir = $(sysconfdir)/perdition
X! conf_DATA = popmap.re.sample
X  
X  lib_LTLIBRARIES = libperditiondb_posix_regex.la
X  
END-of-perdition/files/patch-ah
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104290044.f3T0is865694>