summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Iannello (doctorzoidberg) <doctorzoidberg@stronzi.org>2007-02-12 13:31:56 +0000
committerGiuseppe Iannello (doctorzoidberg) <doctorzoidberg@stronzi.org>2007-02-12 13:31:56 +0000
commit2c5516ee201557600d33111d54bb81e2e5ca6798 (patch)
tree6a41767c73f06951b51dd6332a60c64ea80ff174 /net-mail/dbmail
parentmedia-video/palantir-webclient/Manifest: palantir-*: shortest DESCRIPTION (diff)
downloadsunrise-2c5516ee201557600d33111d54bb81e2e5ca6798.tar.gz
sunrise-2c5516ee201557600d33111d54bb81e2e5ca6798.tar.bz2
sunrise-2c5516ee201557600d33111d54bb81e2e5ca6798.zip
net-mail/dbmail: Added ~amd64 keyword
svn path=/sunrise/; revision=2984
Diffstat (limited to 'net-mail/dbmail')
-rw-r--r--net-mail/dbmail/ChangeLog4
-rw-r--r--net-mail/dbmail/Manifest15
-rw-r--r--net-mail/dbmail/dbmail-2.2.2-r2.ebuild96
-rw-r--r--net-mail/dbmail/files/digest-dbmail-2.2.2-r23
4 files changed, 114 insertions, 4 deletions
diff --git a/net-mail/dbmail/ChangeLog b/net-mail/dbmail/ChangeLog
index e669f4036..7b5ae47db 100644
--- a/net-mail/dbmail/ChangeLog
+++ b/net-mail/dbmail/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 12 Feb 2007; Giuseppe Iannello (doctorzoidberg)
+ <doctorzoidberg@stronzi.org> +dbmail-2.2.2-r2.ebuild:
+ Added ~amd64 keyword
+
08 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> dbmail-2.2.2-r1.ebuild:
The option to activate postgresql-support is --with-pgsql not --with-postgres
diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest
index 8cbb575c6..5f3992324 100644
--- a/net-mail/dbmail/Manifest
+++ b/net-mail/dbmail/Manifest
@@ -27,10 +27,14 @@ EBUILD dbmail-2.2.2-r1.ebuild 2753 RMD160 c96d9e09b96446c7b25b702bf671a9c71924b6
MD5 c27937fafc8f8cb0f24e623e0be9ac1b dbmail-2.2.2-r1.ebuild 2753
RMD160 c96d9e09b96446c7b25b702bf671a9c71924b645 dbmail-2.2.2-r1.ebuild 2753
SHA256 092b093dd20b255a0d67a3f7029b90b1ca0e84b95623c752aa4bdd5aa1c91a7e dbmail-2.2.2-r1.ebuild 2753
-MISC ChangeLog 2827 RMD160 25583558877cf13b72b0afb443ff473f404248c1 SHA1 9ae9df6cef5d9f3aa46816966a0b5ddbe4521736 SHA256 d1caec9c829de3903e14432bddd373df60fcd49d25e975e643ccd05e2a4d16e4
-MD5 9cea777b5f5ce737cb48320664c99ce9 ChangeLog 2827
-RMD160 25583558877cf13b72b0afb443ff473f404248c1 ChangeLog 2827
-SHA256 d1caec9c829de3903e14432bddd373df60fcd49d25e975e643ccd05e2a4d16e4 ChangeLog 2827
+EBUILD dbmail-2.2.2-r2.ebuild 2760 RMD160 14047113625cd5e7377486732705897d249e75a8 SHA1 ff33de85bf15057cf8fa71cf090fa16bb15f57fd SHA256 f4b52cb796a539dff29f70d4f6389ccf9bf551c85aea77492c13d47fcbe17bd8
+MD5 458ad6a46d3d210a4bdd061e5d5aa9df dbmail-2.2.2-r2.ebuild 2760
+RMD160 14047113625cd5e7377486732705897d249e75a8 dbmail-2.2.2-r2.ebuild 2760
+SHA256 f4b52cb796a539dff29f70d4f6389ccf9bf551c85aea77492c13d47fcbe17bd8 dbmail-2.2.2-r2.ebuild 2760
+MISC ChangeLog 2957 RMD160 0b4eb332442d27782f120bf4505ebfa6f48cf586 SHA1 f92a14631805fd82f0f450595d28616e27bd9f0e SHA256 583e1b5c47315ea865b6057228e68c9598385f4978e5ccc9e126bef1dc4f28a3
+MD5 de2205fb4e794d50f77c28e9f7dfb771 ChangeLog 2957
+RMD160 0b4eb332442d27782f120bf4505ebfa6f48cf586 ChangeLog 2957
+SHA256 583e1b5c47315ea865b6057228e68c9598385f4978e5ccc9e126bef1dc4f28a3 ChangeLog 2957
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@@ -38,3 +42,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata
MD5 e64fe5bb4817c023f165c12671c99fd3 files/digest-dbmail-2.2.2-r1 238
RMD160 22e610bf69823bc5dcb2a07781a19467b1c09707 files/digest-dbmail-2.2.2-r1 238
SHA256 bc6a03dd8a741abb35402dfc1fc46755bb100527b2bd4066c7384803b57c941b files/digest-dbmail-2.2.2-r1 238
+MD5 e64fe5bb4817c023f165c12671c99fd3 files/digest-dbmail-2.2.2-r2 238
+RMD160 22e610bf69823bc5dcb2a07781a19467b1c09707 files/digest-dbmail-2.2.2-r2 238
+SHA256 bc6a03dd8a741abb35402dfc1fc46755bb100527b2bd4066c7384803b57c941b files/digest-dbmail-2.2.2-r2 238
diff --git a/net-mail/dbmail/dbmail-2.2.2-r2.ebuild b/net-mail/dbmail/dbmail-2.2.2-r2.ebuild
new file mode 100644
index 000000000..60a7cba08
--- /dev/null
+++ b/net-mail/dbmail/dbmail-2.2.2-r2.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2007 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://www.dbmail.org/download/2.2/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ldap mysql postgres sieve sqlite3 ssl static"
+
+DEPEND="ssl? ( dev-libs/openssl )
+ postgres? ( >=dev-db/postgresql-7.4 )
+ mysql? ( >=virtual/mysql-4.1 )
+ 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.8"
+
+pkg_setup() {
+ enewgroup dbmail
+ enewuser dbmail -1 -1 /var/lib/dbmail dbmail
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-removeversion.patch"
+ epatch "${FILESDIR}/${P}-messages.patch"
+}
+
+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 pgsql) \
+ $(use_with mysql) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS BUGS UPGRADING ChangeLog README* INSTALL* NEWS THANKS
+ 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 and run dbmail-util -by ."
+ 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.2-r2 b/net-mail/dbmail/files/digest-dbmail-2.2.2-r2
new file mode 100644
index 000000000..e68d6bb94
--- /dev/null
+++ b/net-mail/dbmail/files/digest-dbmail-2.2.2-r2
@@ -0,0 +1,3 @@
+MD5 7a1a0940d3ec07dc55c7e49412298b0a dbmail-2.2.2.tar.gz 855310
+RMD160 956525839081813d0bfe97b4a82da1d56f86975a dbmail-2.2.2.tar.gz 855310
+SHA256 fdf8327addcd6edb379debffe56584020e7e477a3d101e8c8d0d5d992e00b4c2 dbmail-2.2.2.tar.gz 855310