summaryrefslogtreecommitdiff
path: root/mail/dbmail22
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dbmail22')
-rw-r--r--mail/dbmail22/Makefile142
-rw-r--r--mail/dbmail22/distinfo3
-rw-r--r--mail/dbmail22/files/dbmail-imapd.sh.in32
-rw-r--r--mail/dbmail22/files/dbmail-lmtpd.sh.in32
-rw-r--r--mail/dbmail22/files/dbmail-pop3d.sh.in32
-rw-r--r--mail/dbmail22/files/dbmail-timsieved.sh.in32
-rw-r--r--mail/dbmail22/files/pkg-message.in17
-rw-r--r--mail/dbmail22/pkg-descr24
-rw-r--r--mail/dbmail22/pkg-plist61
9 files changed, 0 insertions, 375 deletions
diff --git a/mail/dbmail22/Makefile b/mail/dbmail22/Makefile
deleted file mode 100644
index 8235aab9e30d..000000000000
--- a/mail/dbmail22/Makefile
+++ /dev/null
@@ -1,142 +0,0 @@
-# New ports collection makefile for: dbmail
-# Date created: 07/26/2003
-# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= dbmail
-PORTVERSION= 2.2.11
-PORTREVISION= 0
-CATEGORIES= mail
-MASTER_SITES= http://www.dbmail.org/download/2.2/
-
-MAINTAINER= mark_sf@kikg.ifmo.ru
-COMMENT= An SQL database-based mail system (POP3 and IMAP)
-
-LIB_DEPENDS= gmime-2.0.4:${PORTSDIR}/mail/gmime2
-
-CONFLICTS= dbmail-*-2.0.* dbmail-2.1.*
-
-OPTIONS= MYSQL "Build with MySQL support" on \
- POSTGRESQL "Build with PostgreSQL support" off \
- SQLITE "Build with SQLite support" off \
- SIEVE "Build w. support for Sieve mail sorting language" off \
- LDAP "Build with support for LDAP authentication" off
-
-USE_AUTOTOOLS= libtool:22
-USE_GMAKE= YES
-USE_LDCONFIG= ${PREFIX}/lib/dbmail
-USE_RC_SUBR= dbmail-pop3d.sh dbmail-lmtpd.sh dbmail-imapd.sh dbmail-timsieved.sh
-USE_GNOME= glib20 pkgconfig
-USE_OPENSSL= YES
-
-CFLAGS+= -fPIC -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" LOCALBASE=${LOCALBASE}
-CONFIGURE_ARGS+= --with-pkglibdir=${LOCALBASE}/lib/dbmail
-MAKE_ARGS+= mandir=${MANPREFIX}/man
-
-PORTDOCS= AUTHORS BUGS COPYING INSTALL NEWS README \
- README.aliases README.exim README.ldap \
- README.postfix README.qmail README.sieve \
- README.smtp README.solaris README.usermap \
- THANKS
-MAN1= dbmail-smtp.1 dbmail.1
-MAN5= dbmail.conf.5
-MAN8= dbmail-export.8 dbmail-imapd.8 dbmail-lmtpd.8 \
- dbmail-pop3d.8 dbmail-sievecmd.8 dbmail-timsieved.8 \
- dbmail-users.8 dbmail-util.8
-MANCOMPRESSED= no
-SUB_FILES= pkg-message
-
-PLIST_SUB+= PORTNAME=${PORTNAME}
-.if defined(NOPORTDOCS)
-PLIST_SUB+= PORTDOCS="@comment "
-.else
-PLIST_SUB+= PORTDOCS=""
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if !defined(WITHOUT_MYSQL)
-CONFIGURE_ARGS+=--with-mysql
-USE_MYSQL= YES
-DATABASE+= mysql
-PLIST_SUB+= MYSQL=""
-.else
-PLIST_SUB+= MYSQL="@comment "
-.endif
-
-.if defined(WITH_POSTGRESQL)
-CONFIGURE_ARGS+=--with-pgsql
-USE_PGSQL= yes
-DATABASE+= postgresql
-PLIST_SUB+= PGSQL=""
-.else
-PLIST_SUB+= PGSQL="@comment "
-.endif
-
-.if defined(WITH_SQLITE)
-CONFIGURE_ARGS+=--with-sqlite
-USE_SQLITE= yes
-DATABASE+= sqlite
-PLIST_SUB+= SQLITE=""
-.else
-PLIST_SUB+= SQLITE="@comment "
-.endif
-
-.if defined(WITH_SIEVE)
-CONFIGURE_ARGS+=--with-sieve=${LOCALBASE}/include
-LIB_DEPENDS+= sieve.1:${PORTSDIR}/mail/libsieve
-PLIST_SUB+= SIEVE=""
-.else
-PLIST_SUB+= SIEVE="@comment "
-.endif
-
-.if defined(WITH_LDAP)
-CONFIGURE_ARGS+=--with-auth-ldap=${LOCALBASE}/include
-USE_OPENLDAP= yes
-PLIST_SUB+= LDAP=""
-.else
-PLIST_SUB+= LDAP="@comment "
-.endif
-
-.if defined(WITHOUT_MYSQL) && !defined(WITH_POSTGRESQL) && !defined(WITH_SQLITE)
-IGNORE="requires at least one database backend selected. Run 'make config'"
-.endif
-
-post-patch:
- @${FIND} ${WRKSRC} -name CVS -type d | ${XARGS} ${RM} -fr
- @${FIND} ${WRKSRC} -name *.orig -type f | ${XARGS} ${RM} -fr
-
-post-configure:
- @${REINPLACE_CMD} -i.orig 's!/etc/dbmail.conf!${PREFIX}/etc/dbmail.conf!g' \
- ${WRKSRC}/dbmail.h
-
-# remove leftovers which are not removed by some revisions of port
-# fixes the `Shared object "libpgsqldbmail.so.0" not found, required by "libdbmail.so.0"' error.
-pre-install:
- @for f in 'a' 'la' 'so' 'so.0'; do \
- if [ -f ${PREFIX}/lib/libdbmail.$$f ] ; then \
- ${RM} ${PREFIX}/lib/libdbmail.$$f; \
- fi; \
- done
-
-post-install:
- @${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${PREFIX}/etc/dbmail.conf-dist
- @if [ ! -f ${PREFIX}/etc/dbmail.conf ] ; then \
- ${CP} -p ${PREFIX}/etc/dbmail.conf-dist ${PREFIX}/etc/dbmail.conf; \
- fi
- @${MKDIR} ${DATADIR}
- @for f in ${DATABASE}; do \
- ${MKDIR} ${DATADIR}/$$f ; \
- ${INSTALL_DATA} ${WRKSRC}/sql/$$f/* ${DATADIR}/$$f; \
- done
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
diff --git a/mail/dbmail22/distinfo b/mail/dbmail22/distinfo
deleted file mode 100644
index 37e5c85d3ee3..000000000000
--- a/mail/dbmail22/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (dbmail-2.2.11.tar.gz) = d535587973d73b85469d92a35f52133b
-SHA256 (dbmail-2.2.11.tar.gz) = 7d61ce32b5f1cbbc42fa39e3c1cc10659c524a7d3135555efe4b272064939148
-SIZE (dbmail-2.2.11.tar.gz) = 901705
diff --git a/mail/dbmail22/files/dbmail-imapd.sh.in b/mail/dbmail22/files/dbmail-imapd.sh.in
deleted file mode 100644
index dce54a82f917..000000000000
--- a/mail/dbmail22/files/dbmail-imapd.sh.in
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: dbmail-imapd
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable dbmail-imapd:
-#
-# dbmail_imapd_enable="YES"
-# dbmail_imapd_flags="<set as needed>"
-#
-# See dbmail-imapd(8) for flags
-#
-
-. %%RC_SUBR%%
-
-name=dbmail_imapd
-rcvar=`set_rcvar`
-
-command=%%PREFIX%%/sbin/dbmail-imapd
-pidfile=/var/run/dbmail-imapd.pid
-required_files=%%PREFIX%%/etc/dbmail.conf
-
-# read settings, set default values
-load_rc_config "$name"
-: ${dbmail_imapd_enable="NO"}
-
-run_rc_command "$1"
diff --git a/mail/dbmail22/files/dbmail-lmtpd.sh.in b/mail/dbmail22/files/dbmail-lmtpd.sh.in
deleted file mode 100644
index e62355064847..000000000000
--- a/mail/dbmail22/files/dbmail-lmtpd.sh.in
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: dbmail-lmtpd
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable dbmail-lmtpd:
-#
-# dbmail_lmtpd_enable="YES"
-# dbmail_lmtpd_flags="<set as needed>"
-#
-# See dbmail-lmtpd(8) for flags
-#
-
-. %%RC_SUBR%%
-
-name=dbmail_lmtpd
-rcvar=`set_rcvar`
-
-command=%%PREFIX%%/sbin/dbmail-lmtpd
-pidfile=/var/run/dbmail-lmtpd.pid
-required_files=%%PREFIX%%/etc/dbmail.conf
-
-# read settings, set default values
-load_rc_config "$name"
-: ${dbmail_lmtpd_enable="NO"}
-
-run_rc_command "$1"
diff --git a/mail/dbmail22/files/dbmail-pop3d.sh.in b/mail/dbmail22/files/dbmail-pop3d.sh.in
deleted file mode 100644
index 8df206a0edec..000000000000
--- a/mail/dbmail22/files/dbmail-pop3d.sh.in
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: dbmail-pop3d
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable dbmail-pop3d:
-#
-# dbmail_pop3d_enable="YES"
-# dbmail_pop3d_flags="<set as needed>"
-#
-# See dbmail-pop3d(8) for flags
-#
-
-. %%RC_SUBR%%
-
-name=dbmail_pop3d
-rcvar=`set_rcvar`
-
-command=%%PREFIX%%/sbin/dbmail-pop3d
-pidfile=/var/run/dbmail-pop3d.pid
-required_files=%%PREFIX%%/etc/dbmail.conf
-
-# read settings, set default values
-load_rc_config "$name"
-: ${dbmail_pop3d_enable="NO"}
-
-run_rc_command "$1"
diff --git a/mail/dbmail22/files/dbmail-timsieved.sh.in b/mail/dbmail22/files/dbmail-timsieved.sh.in
deleted file mode 100644
index 63a2d5b97cda..000000000000
--- a/mail/dbmail22/files/dbmail-timsieved.sh.in
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: dbmail-timsieved
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable dbmail-timsieved:
-#
-# dbmail_timsieved_enable="YES"
-# dbmail_timsieved_flags="<set as needed>"
-#
-# See dbmail-timsieved(8) for flags
-#
-
-. %%RC_SUBR%%
-
-name=dbmail_timsieved
-rcvar=`set_rcvar`
-
-command=%%PREFIX%%/sbin/dbmail-timsieved
-pidfile=/var/run/dbmail-timsieved.pid
-required_files=%%PREFIX%%/etc/dbmail.conf
-
-# read settings, set default values
-load_rc_config "$name"
-: ${dbmail_timsieved_enable="NO"}
-
-run_rc_command "$1"
diff --git a/mail/dbmail22/files/pkg-message.in b/mail/dbmail22/files/pkg-message.in
deleted file mode 100644
index 14a762a71a8f..000000000000
--- a/mail/dbmail22/files/pkg-message.in
+++ /dev/null
@@ -1,17 +0,0 @@
-
-NOTE FOR ADMINS UPGRADING FROM 2.0.X -> 2.2.X :
- *) Update database using a script
- %%DATADIR%%/mysql/migrate_from_2.0_to_2.2.mysql or
- %%DATADIR%%/postgresql/migrate_from_2.0_to_2.2.pgsql
- *) Run `dbmail-util -by'
- *) Edit configuration file
- `[DBMAIL]' section must have `driver=mysql/pgsql' and
- `authdriver=sql/ldap'.
-
-NOTE FOR ADMINS UPGRADING FROM 2.1.X -> 2.2 :
-
- *) Update database using a script
- %%DATADIR%%/mysql/2_1_7-2_2_0.mysql (if you're using MySQL)
- %%DATADIR%%/postgresql/2_1_7-2_2_0.pgsql (PostgreSQL)
- %%DATADIR%%/sqlite/2_1_7-2_2_0.sqlite (SQLite3)
- *) Run `dbmail-util -by'
diff --git a/mail/dbmail22/pkg-descr b/mail/dbmail22/pkg-descr
deleted file mode 100644
index 5c1648e0e4a6..000000000000
--- a/mail/dbmail22/pkg-descr
+++ /dev/null
@@ -1,24 +0,0 @@
-Dbmail is the name of a group of programs that enable the possibility of
-storing and retrieving mail messages from a database (currently MySQL,
-PostgreSQL or SQLite).
-
-* Scalability.
- Dbmail is as scalable as the database system that is used for the mail
- storage. In theory millions of accounts can be managed using dbmail. One
- could, for example, run 4 different servers with the pop3 daemon each
- connecting to the same database (cluster) server.
-* Manageability.
- Dbmail is based upon a database. Dbmail can be managed by changing settings
- in the database (f.e. using PHP/Perl/SQL), without needing shell access.
-* Speed.
- Dbmail uses very efficient, database specific queries for retrieving mail
- information. This is much faster then parsing a filesystem.
-* Security.
- Dbmail has got nothing to do with the filesystem or interaction with other
- programs in the Unix environment which need special permissions. Dbmail is
- as secure as the database it's based upon.
-* Flexibility.
- Changes on a Dbmail system (adding of users, changing passwords etc.) are
- effective immediately.
-
-WWW: http://www.dbmail.org/
diff --git a/mail/dbmail22/pkg-plist b/mail/dbmail22/pkg-plist
deleted file mode 100644
index cb010c553592..000000000000
--- a/mail/dbmail22/pkg-plist
+++ /dev/null
@@ -1,61 +0,0 @@
-@unexec if cmp -s %D/etc/dbmail.conf-dist %D/etc/dbmail.conf; then rm -f %D/etc/dbmail.conf; fi
-etc/dbmail.conf-dist
-@exec if [ ! -f %D/etc/dbmail.conf ] ; then cp -p %D/%F %B/dbmail.conf; fi
-@exec mkdir -p %D/lib/dbmail
-%%LDAP%%lib/dbmail/libauth_ldap.a
-%%LDAP%%lib/dbmail/libauth_ldap.la
-%%LDAP%%lib/dbmail/libauth_ldap.so
-%%LDAP%%lib/dbmail/libauth_ldap.so.0
-lib/dbmail/libauth_sql.a
-lib/dbmail/libauth_sql.la
-lib/dbmail/libauth_sql.so
-lib/dbmail/libauth_sql.so.0
-lib/dbmail/libdbmail.a
-lib/dbmail/libdbmail.la
-lib/dbmail/libdbmail.so
-lib/dbmail/libdbmail.so.0
-%%MYSQL%%lib/dbmail/libmysql.a
-%%MYSQL%%lib/dbmail/libmysql.la
-%%MYSQL%%lib/dbmail/libmysql.so
-%%MYSQL%%lib/dbmail/libmysql.so.0
-%%PGSQL%%lib/dbmail/libpgsql.a
-%%PGSQL%%lib/dbmail/libpgsql.la
-%%PGSQL%%lib/dbmail/libpgsql.so
-%%PGSQL%%lib/dbmail/libpgsql.so.0
-%%SIEVE%%lib/dbmail/libsort_sieve.a
-%%SIEVE%%lib/dbmail/libsort_sieve.la
-%%SIEVE%%lib/dbmail/libsort_sieve.so
-%%SIEVE%%lib/dbmail/libsort_sieve.so.0
-%%SQLITE%%lib/dbmail/libsqlite.a
-%%SQLITE%%lib/dbmail/libsqlite.la
-%%SQLITE%%lib/dbmail/libsqlite.so
-%%SQLITE%%lib/dbmail/libsqlite.so.0
-@dirrm lib/dbmail
-sbin/dbmail-export
-sbin/dbmail-imapd
-sbin/dbmail-lmtpd
-sbin/dbmail-pop3d
-%%SIEVE%%sbin/dbmail-sievecmd
-sbin/dbmail-smtp
-%%SIEVE%%sbin/dbmail-timsieved
-sbin/dbmail-users
-sbin/dbmail-util
-@exec mkdir -p %D/share/%%PORTNAME%%
-%%MYSQL%%@exec mkdir -p %D/share/PORTNAME/%%PORTNAME%%/mysql
-%%MYSQL%%share/%%PORTNAME%%/mysql/2_1_7-2_2_0.mysql
-%%MYSQL%%share/%%PORTNAME%%/mysql/create_tables.mysql
-%%MYSQL%%share/%%PORTNAME%%/mysql/migrate_from_1.x_to_2.0_innodb.mysql
-%%MYSQL%%share/%%PORTNAME%%/mysql/migrate_from_2.0_to_2.2.mysql
-%%MYSQL%%share/%%PORTNAME%%/mysql/update_headervalue_01.mysql
-%%MYSQL%%@dirrm share/%%PORTNAME%%/mysql
-%%PGSQL%%@exec mkdir -p %D/share/PORTNAME/%%PORTNAME%%/postgresql
-%%PGSQL%%share/%%PORTNAME%%/postgresql/2_1_7-2_2_0.pgsql
-%%PGSQL%%share/%%PORTNAME%%/postgresql/create_tables.pgsql
-%%PGSQL%%share/%%PORTNAME%%/postgresql/migrate_from_1.x_to_2.0.pgsql
-%%PGSQL%%share/%%PORTNAME%%/postgresql/migrate_from_2.0_to_2.2.pgsql
-%%PGSQL%%@dirrm share/%%PORTNAME%%/postgresql
-%%SQLITE%%@exec mkdir -p %D/share/PORTNAME/%%PORTNAME%%/sqlite
-%%SQLITE%%share/%%PORTNAME%%/sqlite/2_1_7-2_2_0.sqlite
-%%SQLITE%%share/%%PORTNAME%%/sqlite/create_tables.sqlite
-%%SQLITE%%@dirrm share/%%PORTNAME%%/sqlite
-@dirrm share/%%PORTNAME%%