diff options
Diffstat (limited to 'mail/dbmail22')
-rw-r--r-- | mail/dbmail22/Makefile | 103 | ||||
-rw-r--r-- | mail/dbmail22/distinfo | 2 | ||||
-rw-r--r-- | mail/dbmail22/files/dbmail-imapd.sh | 32 | ||||
-rw-r--r-- | mail/dbmail22/files/dbmail-lmtpd.sh | 32 | ||||
-rw-r--r-- | mail/dbmail22/files/dbmail-pop3d.sh | 32 | ||||
-rw-r--r-- | mail/dbmail22/pkg-descr | 22 | ||||
-rw-r--r-- | mail/dbmail22/pkg-plist | 39 |
7 files changed, 0 insertions, 262 deletions
diff --git a/mail/dbmail22/Makefile b/mail/dbmail22/Makefile deleted file mode 100644 index fb5c362f4bb5..000000000000 --- a/mail/dbmail22/Makefile +++ /dev/null @@ -1,103 +0,0 @@ -# New ports collection makefile for: dbmail -# Date created: 07/26/2003 -# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org> -# -# $FreeBSD$ -# - -PORTNAME= dbmail -PORTVERSION= 2.0.0 -PORTREVISION= 2 -CATEGORIES= mail -MASTER_SITES= http://www.dbmail.org/download/ -PKGNAMESUFFIX= -${DATABASE} -EXTRACT_SUFX= .tgz - -MAINTAINER= seanc@FreeBSD.org -COMMENT= An SQL database-based mail system (POP3 and IMAP) - -USE_REINPLACE= YES -GNU_CONFIGURE= YES -CONFIGURE_ARGS= --prefix=${PREFIX} -USE_GMAKE= YES -USE_OPENSSL= YES - -CFLAGS += -fPIC - -SED_SCRIPT+= -e 's|%%RC_SUBR%%|${RC_SUBR}|g' \ - -e 's|%%PREFIX%%|${PREFIX}|g' \ - -e 's|%%RC_DIR%%|${RC_DIR}|g' \ - -e 's|%%RC_SUFX%%|${RC_SUFX}|g' - -.if defined(WITH_POSTGRESQL) -CONFIGURE_ARGS+= --with-pgsql -USE_PGSQL= yes -DATABASE= postgresql -PLIST_SUB+= PGSQL="" -PLIST_SUB+= MYSQL="@comment " -LDFLAGS+= -L${LOCALBASE}/lib/ -.else -USE_MYSQL= YES -CONFIGURE_ARGS+= --with-mysql -DATABASE= mysql -PLIST_SUB+= MYSQL="" -PLIST_SUB+= PGSQL="@comment " -CFLAGS+= -I${LOCALBASE}/include/mysql -LDFLAGS+= -L${LOCALBASE}/lib/mysql -.endif - -CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" LOCALBASE=${LOCALBASE} -PORTDOCS= INSTALL README EXTRAS - -MAN1= dbmail-smtp.1 -MAN8= dbmail-imapd.8 dbmail-lmtpd.8 dbmail-pop3d.8 \ - dbmail-users.8 dbmail-util.8 -MANCOMPRESSED= no - -pre-everything:: - @${ECHO} "" - @${ECHO} "You may use the following build options:" - @${ECHO} " By default dbmail uses MySQL backend database." - @${ECHO} " To build dbmail with PostgreSQL as backend database," - @${ECHO} " define WITH_POSTGRESQL" - @${ECHO} "" - -post-patch: - @${FIND} ${WRKSRC} -name CVS -type d | xargs ${RM} -fr - -post-configure: - @${REINPLACE_CMD} -i.orig 's!/etc/dbmail.conf!${PREFIX}/etc/dbmail.conf!g' \ - ${WRKSRC}/dbmail.h - -post-build: -.for f in imap lmtp pop3 - @${SED} ${SED_SCRIPT} ${FILESDIR}/dbmail-${f}d.sh > ${WRKDIR}/dbmail-${f}d.sh -.endfor - -post-install: - @${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${PREFIX}/etc/dbmail.conf-dist -.for f in imap lmtp pop3 - @${INSTALL_SCRIPT} ${WRKDIR}/dbmail-${f}d.sh ${DESTDIR}${PREFIX}/etc/rc.d/dbmail-${f}d.sh -.endfor - @${MKDIR} ${DATADIR}/sql - @${INSTALL_DATA} ${WRKSRC}/sql/${DATABASE}/* ${DATADIR}/sql - @cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1 -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} -.endif - @${ECHO} "" - @${ECHO} "IMPORTANT NOTE FOR ADMINS UPGRADING FROM 1.X->2.X!!!" - @${ECHO} "" - @${ECHO} " *) Don't forget to update the database using a script from" - @${ECHO} " ${DATADIR}/sql/" - @${ECHO} " *) Many programs have been renamed and their arguments changed." - @${ECHO} " *) Read the upgrading notes." - @${ECHO} " *) Don't be careless with this upgrade or mail will be lost!" - @${ECHO} " *) dbmail can be controled by setting dbmail_imapd_enable," - @${ECHO} " dbmail_lmtpd_enable, and/or dbmail_pop3d_enable in" - @${ECHO} " /etc/rc.conf." - @${ECHO} "" - - -.include <bsd.port.mk> diff --git a/mail/dbmail22/distinfo b/mail/dbmail22/distinfo deleted file mode 100644 index 57adc30d0b26..000000000000 --- a/mail/dbmail22/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (dbmail-2.0.0.tgz) = 936307da839d2e26e9860af6ba67b983 -SIZE (dbmail-2.0.0.tgz) = 530847 diff --git a/mail/dbmail22/files/dbmail-imapd.sh b/mail/dbmail22/files/dbmail-imapd.sh deleted file mode 100644 index 82505e96d9b0..000000000000 --- a/mail/dbmail22/files/dbmail-imapd.sh +++ /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" -# -# 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"} -: ${dbmail_imapd_flags=""} - -run_rc_command "$1" diff --git a/mail/dbmail22/files/dbmail-lmtpd.sh b/mail/dbmail22/files/dbmail-lmtpd.sh deleted file mode 100644 index f1133f43a70e..000000000000 --- a/mail/dbmail22/files/dbmail-lmtpd.sh +++ /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" -# -# 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"} -: ${dbmail_lmtpd_flags=""} - -run_rc_command "$1" diff --git a/mail/dbmail22/files/dbmail-pop3d.sh b/mail/dbmail22/files/dbmail-pop3d.sh deleted file mode 100644 index 21bc97377b8b..000000000000 --- a/mail/dbmail22/files/dbmail-pop3d.sh +++ /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" -# -# 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"} -: ${dbmail_pop3d_flags=""} - -run_rc_command "$1" diff --git a/mail/dbmail22/pkg-descr b/mail/dbmail22/pkg-descr deleted file mode 100644 index 2c03d30b6ea9..000000000000 --- a/mail/dbmail22/pkg-descr +++ /dev/null @@ -1,22 +0,0 @@ -Dbmail is the name of a group of programs that enable the possiblilty of storing -and retrieving mail messages from a database (currently MySQL or PostgreSQL). - -What are the advantages? - - * Scalability. - Dbmail is as scalable as the database that is used for the mail storage. - * Manageability. - Dbmail is based upon a database. Dbmail can be managed by changing - settings in the database (f.e. using PHP/Perl/SQL). - * 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 33804890cba2..000000000000 --- a/mail/dbmail22/pkg-plist +++ /dev/null @@ -1,39 +0,0 @@ -etc/dbmail.conf-dist -etc/rc.d/dbmail-imapd.sh -etc/rc.d/dbmail-lmtpd.sh -etc/rc.d/dbmail-pop3d.sh -lib/dbmail/libauthdbmail.0 -lib/dbmail/libauthdbmail.a -lib/dbmail/libauthdbmail.la -lib/dbmail/libauthdbmail -lib/dbmail/libsortdbmail.0 -lib/dbmail/libsortdbmail.a -lib/dbmail/libsortdbmail.la -lib/dbmail/libsortdbmail -lib/libdbmail -lib/libdbmail.0 -lib/libdbmail.a -lib/libdbmail.la -sbin/dbmail-imapd -sbin/dbmail-lmtpd -sbin/dbmail-pop3d -sbin/dbmail-smtp -sbin/dbmail-users -sbin/dbmail-util -%%MYSQL%%%%DATADIR%%/sql/create_tables.mysql -%%MYSQL%%%%DATADIR%%/sql/create_tables_innoDB.mysql -%%MYSQL%%%%DATADIR%%/sql/migrate_from_1.x_to_2.0.mysql -%%MYSQL%%%%DATADIR%%/sql/migrate_from_1.x_to_2.0_innodb.mysql -%%MYSQL%%lib/dbmail/libmysqldbmail.0 -%%MYSQL%%lib/dbmail/libmysqldbmail.a -%%MYSQL%%lib/dbmail/libmysqldbmail.la -%%MYSQL%%lib/dbmail/libmysqldbmail -%%PGSQL%%%%DATADIR%%/sql/create_tables.pgsql -%%PGSQL%%%%DATADIR%%/sql/migrate_from_1.x_to_2.0.pgsql -%%PGSQL%%/lib/dbmail/libpgsqldbmail.0 -%%PGSQL%%/lib/dbmail/libpgsqldbmail.a -%%PGSQL%%/lib/dbmail/libpgsqldbmail.la -%%PGSQL%%/lib/dbmail/libpgsqldbmail -@dirrm lib/dbmail -@dirrm %%DATADIR%%/sql -@dirrm %%DATADIR%% |