summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/dbmail')
-rw-r--r--net-mail/dbmail/ChangeLog3
-rw-r--r--net-mail/dbmail/Manifest16
-rw-r--r--net-mail/dbmail/dbmail-2.1.7.ebuild89
-rw-r--r--net-mail/dbmail/files/digest-dbmail-2.1.73
4 files changed, 107 insertions, 4 deletions
diff --git a/net-mail/dbmail/ChangeLog b/net-mail/dbmail/ChangeLog
index 58a3553ff..b6617e422 100644
--- a/net-mail/dbmail/ChangeLog
+++ b/net-mail/dbmail/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 25 Jul 2006; Martin Hierling <mad@cc.fh-luh.de> ChangeLog:
+ version bump to 2.1.7
+
17 Jul 2006; Martin Hierling <mad@cc.fh-luh.de> ChangeLog:
pre 2.1.7 ebuild
diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest
index 4462d3595..0ab6b6776 100644
--- a/net-mail/dbmail/Manifest
+++ b/net-mail/dbmail/Manifest
@@ -13,6 +13,7 @@ SHA256 2b1ee1f7491e6fb94f0d9a6a1424ff3cba66b2880d6bc1d50f008da8be0a7c52 files/db
DIST dbmail-2.0.10.tar.gz 632451 RMD160 3a9736e1e938b629a22cf52bbf5dba7b2b785dda SHA1 e9c2f856631e977d3bd3123dc1b5247454564966 SHA256 249a57d7c163155c7bf2ca758fa1fabc676aa84d3a0d8403e497a8da7ff49716
DIST dbmail-2.1.6.2192.tar.gz 1044480 RMD160 580c9e5f014427bedf51aef90e2e80def6bf28f7 SHA1 b1a49461b698e6abef61c682427078b4a59bb98d SHA256 08aade300f5ebd2c6a72989d4f52dc046e2c88d391a855f368bf38c290e739f1
DIST dbmail-2.1.6.tar.gz 814724 RMD160 022d2d30a3afa5f15469d9913a6daf616a4d7247 SHA1 f5aff64f5de9e8b9d9306a738fd69c087c9f49ec SHA256 501c1b5df7f465372c91d823114be2521a48ff03fb028b75c33b43e4c44b34a8
+DIST dbmail-2.1.7.tar.gz 842237 RMD160 65e470501c6cc5e5ef50d8da736e2792168cbe8b SHA1 16c383dcd095ba2544b1f7ad1fabe40d551b7e9e SHA256 f46272083fcf4a30cd79a4c97ef19d3e4abc047dbea39eb137eab66c1b6ae133
EBUILD dbmail-2.0.10.ebuild 2487 RMD160 a317fa77a3693d5ca446b1a258190a27b0834d0b SHA1 8025c18a0c50180835350a6dc80f881a602860f2 SHA256 540c8263a3ccc19bde6cb73341591fb3f7fef46edb9ae734fe98156d71127f11
MD5 03fe442794a0d7483cdde7300ed8c9a3 dbmail-2.0.10.ebuild 2487
RMD160 a317fa77a3693d5ca446b1a258190a27b0834d0b dbmail-2.0.10.ebuild 2487
@@ -25,10 +26,14 @@ EBUILD dbmail-2.1.6.ebuild 2494 RMD160 5328cc299cdf8cbc75fc5b3c8ff0b3d7da7915af
MD5 bfa596b8d983e849608f0a591e35a50f dbmail-2.1.6.ebuild 2494
RMD160 5328cc299cdf8cbc75fc5b3c8ff0b3d7da7915af dbmail-2.1.6.ebuild 2494
SHA256 ba2e6e0ce935fb04a9788a618ca917700d3620771a144549530fbef040a8d729 dbmail-2.1.6.ebuild 2494
-MISC ChangeLog 492 RMD160 72cec8016194def4f777a963b0351c3064e62550 SHA1 3919c1dfc5b2adc7aa221ad52391e37d90d14dda SHA256 ffadd10564eaec61b5016c44ade3f668dc07214108a11b9555394d9555d29c5a
-MD5 7c384a108c1a29f7e916fa83d8cc8e0a ChangeLog 492
-RMD160 72cec8016194def4f777a963b0351c3064e62550 ChangeLog 492
-SHA256 ffadd10564eaec61b5016c44ade3f668dc07214108a11b9555394d9555d29c5a ChangeLog 492
+EBUILD dbmail-2.1.7.ebuild 2564 RMD160 e2b9c6cf3a2b1f4c718c9a76411d62c66fd6ef4a SHA1 a113f303f3bdab0e571e8252168886e771b1d46f SHA256 e87b55235283a76d04785539790b5381198391be736f19fc6e182db77f74549c
+MD5 74dc9133d704e7f9fe1039dff8558b00 dbmail-2.1.7.ebuild 2564
+RMD160 e2b9c6cf3a2b1f4c718c9a76411d62c66fd6ef4a dbmail-2.1.7.ebuild 2564
+SHA256 e87b55235283a76d04785539790b5381198391be736f19fc6e182db77f74549c dbmail-2.1.7.ebuild 2564
+MISC ChangeLog 578 RMD160 810eef99d8b52184be70b27b6468b10608b75a65 SHA1 5f93e5d0c137f4f31b724b1d375b9b8767c88a1b SHA256 4d308f5434215f63d06061900db06451abee00e35fc8ee32a7f50bf7327e6e47
+MD5 eb3b9c971211c2b2a629a09a86fa33da ChangeLog 578
+RMD160 810eef99d8b52184be70b27b6468b10608b75a65 ChangeLog 578
+SHA256 4d308f5434215f63d06061900db06451abee00e35fc8ee32a7f50bf7327e6e47 ChangeLog 578
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@@ -42,3 +47,6 @@ SHA256 a59681fa16851718db97944c3351f6a909034d8f3f0f3ddfc83d6d2e3f9b1bed files/di
MD5 5f8ace463272b540b773934b4668c38c files/digest-dbmail-2.1.6.2192 256
RMD160 7fc4ed89c0d53eed80807abe457f4bb752a34387 files/digest-dbmail-2.1.6.2192 256
SHA256 7483e03ae62bcdfacd815bf63a1bf6360199ede3d4a37a8d59d858c35738fb07 files/digest-dbmail-2.1.6.2192 256
+MD5 9989b2fc2de0b352f1840a751bc3af91 files/digest-dbmail-2.1.7 238
+RMD160 d13d7dbf71b05dab90294916aadeb642b2efbeb7 files/digest-dbmail-2.1.7 238
+SHA256 dd5e06f51dc30a53de0722d7e236535152b90dcbf474d518d6a00d641063c03c files/digest-dbmail-2.1.7 238
diff --git a/net-mail/dbmail/dbmail-2.1.7.ebuild b/net-mail/dbmail/dbmail-2.1.7.ebuild
new file mode 100644
index 000000000..6f34630a2
--- /dev/null
+++ b/net-mail/dbmail/dbmail-2.1.7.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils autotools
+
+DESCRIPTION="A mail storage and retrieval daemon that uses MySQL or PostgreSQL as its data store"
+HOMEPAGE="http://www.dbmail.org/"
+SRC_URI="http://www.dbmail.org/download/2.1/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-*"
+IUSE="ssl postgres"
+
+DEPEND="ssl? ( dev-libs/openssl )
+ postgres? ( >=dev-db/postgresql-7.4 )
+ !postgres? ( >=dev-db/mysql-4.1.13 )
+ app-text/asciidoc
+ app-text/xmlto
+ sys-libs/zlib
+ >=dev-libs/gmime-2.1
+ >=dev-libs/glib-2"
+
+ # not yet implemented
+ #depend dev-db/sqlite
+
+pkg_setup() {
+ if use postgres && has_version dev-db/mysql ; then
+ einfo "You have postgres use flag set, ${PN} will compile against PostgreSQL."
+ einfo "If you want to use MySQL instead, unset postgres use flag for this ebuild:"
+ einfo
+ einfo "echo \"net-mail/dbmail -postgres\" >> /etc/portage/package.use"
+ einfo
+ epause 3
+ fi
+
+ enewgroup dbmail
+ enewuser dbmail -1 -1 /var/lib/dbmail dbmail
+}
+
+src_compile() {
+ eautoreconf
+ econf \
+ --sysconfdir=/etc/dbmail \
+ $(use_with ssl) \
+ $(use_with postgres) \
+ $(use_with !postgres mysql) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS BUGS EXTRAS ChangeLog UPGRADING \
+ INSTALL* VERSION NEWS README THANKS TODO
+ dodoc sql/mysql/*
+ dodoc sql/postgresql/*
+
+ 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
+
+ dobin contrib/mailbox2dbmail/mailbox2dbmail
+ doman contrib/mailbox2dbmail/mailbox2dbmail.1
+
+ keepdir /var/lib/dbmail
+ fperms 750 /var/lib/dbmail
+
+}
+
+pkg_postinst() {
+ einfo "Please read /usr/share/doc/${PF}/INSTALL.gz"
+ einfo "for remaining instructions on setting up dbmail users and "
+ einfo "for finishing configuration to connect to your MTA and "
+ einfo "to connect to your db."
+ einfo
+ einfo "Database schemes can be found in /usr/share/doc/${PF}/"
+ einfo "You will also want to follow the installation instructions"
+ einfo "on setting up the maintenance program to delete old messages."
+ einfo "Don't forget to edit /etc/dbmail/dbmail.conf as well. :)"
+ einfo ">>> --- For maintenance ---"
+ einfo ">>> 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.1.7 b/net-mail/dbmail/files/digest-dbmail-2.1.7
new file mode 100644
index 000000000..7c36ea613
--- /dev/null
+++ b/net-mail/dbmail/files/digest-dbmail-2.1.7
@@ -0,0 +1,3 @@
+MD5 b6523e36d228198eeaf631c9a78a7fec dbmail-2.1.7.tar.gz 842237
+RMD160 65e470501c6cc5e5ef50d8da736e2792168cbe8b dbmail-2.1.7.tar.gz 842237
+SHA256 f46272083fcf4a30cd79a4c97ef19d3e4abc047dbea39eb137eab66c1b6ae133 dbmail-2.1.7.tar.gz 842237