summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/dbmail')
-rw-r--r--net-mail/dbmail/Manifest8
-rw-r--r--net-mail/dbmail/dbmail-2.2.0_rc1.ebuild89
-rw-r--r--net-mail/dbmail/files/digest-dbmail-2.2.0_rc13
3 files changed, 100 insertions, 0 deletions
diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest
index 1ac02846c..a9fc23f90 100644
--- a/net-mail/dbmail/Manifest
+++ b/net-mail/dbmail/Manifest
@@ -15,10 +15,15 @@ MD5 96ea543e77e04294deef1dd4abfba59a files/dbmail-timsieved.initd 744
RMD160 0b733fba999532536b07a9ec5b572c362ed96f08 files/dbmail-timsieved.initd 744
SHA256 572358fcddea2981f29cd267c55e6de8e840f5442bcc8520ad40edfaed71577d files/dbmail-timsieved.initd 744
DIST dbmail-2.1.7.tar.gz 842237 RMD160 65e470501c6cc5e5ef50d8da736e2792168cbe8b SHA1 16c383dcd095ba2544b1f7ad1fabe40d551b7e9e SHA256 f46272083fcf4a30cd79a4c97ef19d3e4abc047dbea39eb137eab66c1b6ae133
+DIST dbmail-2.2.0_rc1.tar.gz 870400 RMD160 f91d019bcf021f91419c6153caee34d926faabc4 SHA1 38ad5e5a72b2a73deeda40dd62ba852213fe1b12 SHA256 26a7c732109e90720f7017dc3949c2b09d0ffd6e86f6ceab1e33071aa6a73d44
EBUILD dbmail-2.1.7-r1.ebuild 2476 RMD160 d55cf8f2456af46e3cd4fe2ec8566567001a14b5 SHA1 13b04f56bcaf5105d9c6d2047fe6ae9c751e8f30 SHA256 2b5c8022c8b518bd77b495b8b41a200a8f78e5f9ab34f9e4a558f7369b15b3fa
MD5 8cb6c0efb87b0047701df915b1ac1119 dbmail-2.1.7-r1.ebuild 2476
RMD160 d55cf8f2456af46e3cd4fe2ec8566567001a14b5 dbmail-2.1.7-r1.ebuild 2476
SHA256 2b5c8022c8b518bd77b495b8b41a200a8f78e5f9ab34f9e4a558f7369b15b3fa dbmail-2.1.7-r1.ebuild 2476
+EBUILD dbmail-2.2.0_rc1.ebuild 2601 RMD160 db433d72f3eb84b4b24b8fc71f2671c134ddfd84 SHA1 a292ea0a6a087362d9235c3ea64063d849e68b2b SHA256 00e053c9308679e5b32ea23d223571520e5a8afd5e663bc9ec0b8e98d54b12c2
+MD5 2fe099370e74dd18c6f7f76272f3171e dbmail-2.2.0_rc1.ebuild 2601
+RMD160 db433d72f3eb84b4b24b8fc71f2671c134ddfd84 dbmail-2.2.0_rc1.ebuild 2601
+SHA256 00e053c9308679e5b32ea23d223571520e5a8afd5e663bc9ec0b8e98d54b12c2 dbmail-2.2.0_rc1.ebuild 2601
MISC ChangeLog 1496 RMD160 2a5e13506b1f6c4325668621543aa3b7187712b8 SHA1 88ddb7d26255d08396d9d164d0add18d73d75d1c SHA256 3adf48692d52e786312eba4c8f2c397185f79a9ad2b50dff43da615a24ed7c2e
MD5 c0c09727488bf6d8f77a969858f5b692 ChangeLog 1496
RMD160 2a5e13506b1f6c4325668621543aa3b7187712b8 ChangeLog 1496
@@ -30,3 +35,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata
MD5 9989b2fc2de0b352f1840a751bc3af91 files/digest-dbmail-2.1.7-r1 238
RMD160 d13d7dbf71b05dab90294916aadeb642b2efbeb7 files/digest-dbmail-2.1.7-r1 238
SHA256 dd5e06f51dc30a53de0722d7e236535152b90dcbf474d518d6a00d641063c03c files/digest-dbmail-2.1.7-r1 238
+MD5 c2123ab5c0e701ab462d7d52ec877272 files/digest-dbmail-2.2.0_rc1 250
+RMD160 1c126f63401101dfaeb48993754f3551780afaf3 files/digest-dbmail-2.2.0_rc1 250
+SHA256 bde31b60c2e2b9f10f51c44a174bdef543bcff6cf698daee37487b245f183225 files/digest-dbmail-2.2.0_rc1 250
diff --git a/net-mail/dbmail/dbmail-2.2.0_rc1.ebuild b/net-mail/dbmail/dbmail-2.2.0_rc1.ebuild
new file mode 100644
index 000000000..bf5586469
--- /dev/null
+++ b/net-mail/dbmail/dbmail-2.2.0_rc1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="A mail storage and retrieval daemon that uses MySQL or PostgreSQL as its data store"
+HOMEPAGE="http://www.dbmail.org/"
+SRC_URI="http://gentoo.fh-luh.de/files/dbmail/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="ldap mysql postgres sieve sqlite3 ssl static"
+
+DEPEND="ssl? ( dev-libs/openssl )
+ postgres? ( >=dev-db/postgresql-7.4 )
+ mysql? ( >=dev-db/mysql-4.1.13 )
+ sqlite3? ( >=dev-db/sqlite-3.0 )
+ sieve? ( >=mail-filter/libsieve-2.2.1 )
+ app-text/asciidoc
+ app-text/xmlto
+ sys-libs/zlib
+ >=dev-libs/gmime-2.1
+ >=dev-libs/glib-2.6"
+
+pkg_setup() {
+ enewgroup dbmail
+ enewuser dbmail -1 -1 /var/lib/dbmail dbmail
+}
+
+src_compile() {
+ use sqlite3 && myconf="--with-sqlite"
+ use ldap && myconf=${myconf}" --with-auth-ldap"
+
+ econf \
+ --sysconfdir=/etc/dbmail \
+ ${myconf} \
+ $(use_enable static) \
+ $(use_with sieve) \
+ $(use_with ssl) \
+ $(use_with postgres) \
+ $(use_with mysql) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS BUGS ChangeLog README README.* \
+ INSTALL* NEWS THANKS TODO
+ dodoc sql/mysql/*
+ dodoc sql/postgresql/*
+ dodoc sql/sqlite/*
+
+ sed -i -e "s:nobody:dbmail:" dbmail.conf
+ sed -i -e "s:nogroup:dbmail:" dbmail.conf
+ insinto /etc/dbmail
+ newins dbmail.conf dbmail.conf.dist
+
+ newinitd "${FILESDIR}"/dbmail-imapd.initd dbmail-imapd
+ newinitd "${FILESDIR}"/dbmail-lmtpd.initd dbmail-lmtpd
+ newinitd "${FILESDIR}"/dbmail-pop3d.initd dbmail-pop3d
+ use sieve && newinitd "${FILESDIR}"/dbmail-timsieved.initd dbmail-timsieved
+
+ dobin contrib/mailbox2dbmail/mailbox2dbmail
+ doman contrib/mailbox2dbmail/mailbox2dbmail.1
+
+ keepdir /var/lib/dbmail
+ fperms 750 /var/lib/dbmail
+
+}
+
+pkg_postinst() {
+ elog "If you update from 2.1.7 please apply 2_1_7-2_2_0.<YOUR_DB>.gz"
+ elog "to your dbmail database."
+ einfo
+ elog "Please read /usr/share/doc/${PF}/INSTALL.gz"
+ elog "for remaining instructions on setting up dbmail users and "
+ elog "for finishing configuration to connect to your MTA and "
+ elog "to connect to your db."
+ einfo
+ elog "Database schemes can be found in /usr/share/doc/${PF}/"
+ elog "You will also want to follow the installation instructions"
+ elog "on setting up the maintenance program to delete old messages."
+ elog "Don't forget to edit /etc/dbmail/dbmail.conf as well. :)"
+ elog ">>> --- For maintenance ---"
+ elog ">>> add this to crontab: 0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1 "
+}
diff --git a/net-mail/dbmail/files/digest-dbmail-2.2.0_rc1 b/net-mail/dbmail/files/digest-dbmail-2.2.0_rc1
new file mode 100644
index 000000000..26e7ed19e
--- /dev/null
+++ b/net-mail/dbmail/files/digest-dbmail-2.2.0_rc1
@@ -0,0 +1,3 @@
+MD5 5ff31a9444fd1d3584160ce43f2cce67 dbmail-2.2.0_rc1.tar.gz 870400
+RMD160 f91d019bcf021f91419c6153caee34d926faabc4 dbmail-2.2.0_rc1.tar.gz 870400
+SHA256 26a7c732109e90720f7017dc3949c2b09d0ffd6e86f6ceab1e33071aa6a73d44 dbmail-2.2.0_rc1.tar.gz 870400