diff options
-rw-r--r-- | net-mail/dbmail/ChangeLog | 3 | ||||
-rw-r--r-- | net-mail/dbmail/Manifest | 40 | ||||
-rw-r--r-- | net-mail/dbmail/dbmail-2.1.6.ebuild | 86 | ||||
-rw-r--r-- | net-mail/dbmail/files/dbmail-imapd.initd | 1 | ||||
-rw-r--r-- | net-mail/dbmail/files/dbmail-lmtpd.initd | 1 | ||||
-rw-r--r-- | net-mail/dbmail/files/dbmail-pop3d.initd | 1 | ||||
-rw-r--r-- | net-mail/dbmail/files/digest-dbmail-2.1.6 | 3 |
7 files changed, 119 insertions, 16 deletions
diff --git a/net-mail/dbmail/ChangeLog b/net-mail/dbmail/ChangeLog index f5afddeee..47e7a1b87 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: $ + 04 Jul 2006; Martin Hierling <mad@cc.fh-luh.de> ChangeLog: + Version Bump to 2.1.6, real unstable, SQLite Support not yet added + 01 Jul 2006; Martin Hierling <mad@cc.fh-luh.de> ChangeLog: New Ebuild for bug 22331 net-mail/dbmail Thanks to all contributors, to much to mention them all. diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest index a07852f28..dd3328568 100644 --- a/net-mail/dbmail/Manifest +++ b/net-mail/dbmail/Manifest @@ -1,24 +1,29 @@ -AUX dbmail-imapd.initd 716 RMD160 f7e0a0aefcac3b64e401e32418e306bef3bb6ed4 SHA1 a95708227b8d96943dfd01f042019e36669bef32 SHA256 b692ca9a0490f393c3eddeb5a57d8fd6aaeb226aee9bc177939baf98ab250ee5 -MD5 3f75eada2b6283142f213a5e31dbf604 files/dbmail-imapd.initd 716 -RMD160 f7e0a0aefcac3b64e401e32418e306bef3bb6ed4 files/dbmail-imapd.initd 716 -SHA256 b692ca9a0490f393c3eddeb5a57d8fd6aaeb226aee9bc177939baf98ab250ee5 files/dbmail-imapd.initd 716 -AUX dbmail-lmtpd.initd 716 RMD160 75dcb5725223080f6b052d2f02295675740d86c8 SHA1 efcbbf1725cb8ef5c174e395bd47054c1984f06e SHA256 ea8f0fa886d8011ebd63c5175b8e23643190352a3c7d0bdf8b3c3e27d73eaa7a -MD5 41465611c98a817ff014418b9627d09c files/dbmail-lmtpd.initd 716 -RMD160 75dcb5725223080f6b052d2f02295675740d86c8 files/dbmail-lmtpd.initd 716 -SHA256 ea8f0fa886d8011ebd63c5175b8e23643190352a3c7d0bdf8b3c3e27d73eaa7a files/dbmail-lmtpd.initd 716 -AUX dbmail-pop3d.initd 716 RMD160 cf46a724049b8bac9a11ea02b89affdc0fb1652b SHA1 99400a0cfc3dde4b3c328cc310a11f9eb5252b82 SHA256 69ea1a4e5ce9d645e5be2d1732aa1dfcb2026fd536797a746be4034c4f89e48d -MD5 dbbd231ee5484a4765219a6db07ce322 files/dbmail-pop3d.initd 716 -RMD160 cf46a724049b8bac9a11ea02b89affdc0fb1652b files/dbmail-pop3d.initd 716 -SHA256 69ea1a4e5ce9d645e5be2d1732aa1dfcb2026fd536797a746be4034c4f89e48d files/dbmail-pop3d.initd 716 +AUX dbmail-imapd.initd 741 RMD160 20b638bc60c9151c9924b7a9cc1d484062845460 SHA1 92f8214410371f6da3ab687bf21c438ff6bc34c1 SHA256 390231a68a2e9f7d8908213cd4448755e25f594cad333dc658f59169dbc9ab7f +MD5 a1c81532649f73adb6f175478e852ae2 files/dbmail-imapd.initd 741 +RMD160 20b638bc60c9151c9924b7a9cc1d484062845460 files/dbmail-imapd.initd 741 +SHA256 390231a68a2e9f7d8908213cd4448755e25f594cad333dc658f59169dbc9ab7f files/dbmail-imapd.initd 741 +AUX dbmail-lmtpd.initd 741 RMD160 04b40188dbe506cc2fe675cc66efadbc823a1ff4 SHA1 b8d282c5ca487e0a52965404720fd560b022d5c5 SHA256 c4c63835e011655e5f67693c3c4dc5ace2cbb4c74570032ca15bf77d72b6cf3b +MD5 95b32bde1928602e971958275e462953 files/dbmail-lmtpd.initd 741 +RMD160 04b40188dbe506cc2fe675cc66efadbc823a1ff4 files/dbmail-lmtpd.initd 741 +SHA256 c4c63835e011655e5f67693c3c4dc5ace2cbb4c74570032ca15bf77d72b6cf3b files/dbmail-lmtpd.initd 741 +AUX dbmail-pop3d.initd 741 RMD160 f08a6dc77c4159c70b5b12ab1d3d27b56c044cc2 SHA1 cf27291896756595b4239298838a6f5bc0913692 SHA256 2bd9a5d2e1c3ac61ae95ca60b8db4d5036a2fc9966a311a01290b60d215d5d35 +MD5 18c5359096455e52b1a873ecb7255bf9 files/dbmail-pop3d.initd 741 +RMD160 f08a6dc77c4159c70b5b12ab1d3d27b56c044cc2 files/dbmail-pop3d.initd 741 +SHA256 2bd9a5d2e1c3ac61ae95ca60b8db4d5036a2fc9966a311a01290b60d215d5d35 files/dbmail-pop3d.initd 741 DIST dbmail-2.0.10.tar.gz 632451 RMD160 3a9736e1e938b629a22cf52bbf5dba7b2b785dda SHA1 e9c2f856631e977d3bd3123dc1b5247454564966 SHA256 249a57d7c163155c7bf2ca758fa1fabc676aa84d3a0d8403e497a8da7ff49716 +DIST dbmail-2.1.6.tar.gz 814724 RMD160 022d2d30a3afa5f15469d9913a6daf616a4d7247 SHA1 f5aff64f5de9e8b9d9306a738fd69c087c9f49ec SHA256 501c1b5df7f465372c91d823114be2521a48ff03fb028b75c33b43e4c44b34a8 EBUILD dbmail-2.0.10.ebuild 2508 RMD160 1b24419009ea2e904cd8b9be8a98665e00372b20 SHA1 9f0b4d646e13e298bfb0626f5348f1485ce42aec SHA256 bfb951da7e7325b1451cbb58d57c7a39fa9d78a4f8d563817c97a38d2ab2f3e3 MD5 bc82477473e8dbaeccab0c24b817e2b3 dbmail-2.0.10.ebuild 2508 RMD160 1b24419009ea2e904cd8b9be8a98665e00372b20 dbmail-2.0.10.ebuild 2508 SHA256 bfb951da7e7325b1451cbb58d57c7a39fa9d78a4f8d563817c97a38d2ab2f3e3 dbmail-2.0.10.ebuild 2508 -MISC ChangeLog 280 RMD160 10c6a9632d3a7d0f9d3bba50ed075d260134c884 SHA1 556a1e84b67bc00348ddc5f4ba7af0df7e1b310a SHA256 3d0bb47627153a9e2e6bd3fda186455e78bc554f0886b69f86f62c811ca34ea8 -MD5 b47e2634973f84d129ef780835dbe776 ChangeLog 280 -RMD160 10c6a9632d3a7d0f9d3bba50ed075d260134c884 ChangeLog 280 -SHA256 3d0bb47627153a9e2e6bd3fda186455e78bc554f0886b69f86f62c811ca34ea8 ChangeLog 280 +EBUILD dbmail-2.1.6.ebuild 2515 RMD160 1dd2341b65cdae722e61b06e84e45c4dfda211ee SHA1 c1288ba948136b1efa1bb5c3ec6ccf1e48227141 SHA256 8fb92aecd68f8d345b915b9de791e72011f8fc7a5818f6503e61fef17e298f01 +MD5 e211077b36a4e73e2304a4effd0697c0 dbmail-2.1.6.ebuild 2515 +RMD160 1dd2341b65cdae722e61b06e84e45c4dfda211ee dbmail-2.1.6.ebuild 2515 +SHA256 8fb92aecd68f8d345b915b9de791e72011f8fc7a5818f6503e61fef17e298f01 dbmail-2.1.6.ebuild 2515 +MISC ChangeLog 411 RMD160 ac4c8df3997390d3a995a246504b9b5d43ef8bf5 SHA1 3383899af1a178a07de2819aac3b1767a4ae5166 SHA256 d56c4a939f6a671230e5e633059e7eba20f671ac5ad3517f8f05d3f6e11a27fc +MD5 5b93b007195982cc7a1024df9f617e83 ChangeLog 411 +RMD160 ac4c8df3997390d3a995a246504b9b5d43ef8bf5 ChangeLog 411 +SHA256 d56c4a939f6a671230e5e633059e7eba20f671ac5ad3517f8f05d3f6e11a27fc ChangeLog 411 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 @@ -26,3 +31,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata MD5 93bf305b4e9a1e0278eadf37983560d7 files/digest-dbmail-2.0.10 241 RMD160 e9d509513db77f3fad774c2d47bb9f5a5f6db3f5 files/digest-dbmail-2.0.10 241 SHA256 ec548ba246a3fccc16caf05cf9c0fbb234a0d91c80bdf6ef0394df074d649bce files/digest-dbmail-2.0.10 241 +MD5 6859b7d65a65cc03ec95f4b5b4e50c00 files/digest-dbmail-2.1.6 238 +RMD160 5591f5be833b069d0fd8778e44a48f67f9d357d3 files/digest-dbmail-2.1.6 238 +SHA256 a59681fa16851718db97944c3351f6a909034d8f3f0f3ddfc83d6d2e3f9b1bed files/digest-dbmail-2.1.6 238 diff --git a/net-mail/dbmail/dbmail-2.1.6.ebuild b/net-mail/dbmail/dbmail-2.1.6.ebuild new file mode 100644 index 000000000..437a58ada --- /dev/null +++ b/net-mail/dbmail/dbmail-2.1.6.ebuild @@ -0,0 +1,86 @@ +# 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://www.dbmail.org/download/2.1/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="ssl postgres" + +DEPEND="ssl? ( dev-libs/openssl ) + postgres? ( >=dev-db/postgresql-7.4 ) + !postgres? ( >=dev-db/mysql-4.1.13 ) + 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() { + 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/dbmail-imapd.initd b/net-mail/dbmail/files/dbmail-imapd.initd index 0a9e0d6f0..81a7fcf8b 100644 --- a/net-mail/dbmail/files/dbmail-imapd.initd +++ b/net-mail/dbmail/files/dbmail-imapd.initd @@ -27,6 +27,7 @@ start() { start-stop-daemon --start --quiet \ --exec /usr/sbin/dbmail-imapd \ --name dbmail-imapd \ + --pidfile ${PIDFILE} \ -- -f /etc/dbmail/dbmail.conf 2>&1 eend $? } diff --git a/net-mail/dbmail/files/dbmail-lmtpd.initd b/net-mail/dbmail/files/dbmail-lmtpd.initd index d2408db8e..fbf7f0aeb 100644 --- a/net-mail/dbmail/files/dbmail-lmtpd.initd +++ b/net-mail/dbmail/files/dbmail-lmtpd.initd @@ -27,6 +27,7 @@ start() { start-stop-daemon --start --quiet \ --exec /usr/sbin/dbmail-lmtpd \ --name dbmail-lmtpd \ + --pidfile ${PIDFILE} \ -- -f /etc/dbmail/dbmail.conf 2>&1 eend $? } diff --git a/net-mail/dbmail/files/dbmail-pop3d.initd b/net-mail/dbmail/files/dbmail-pop3d.initd index f3f45b502..f5ba5d3ca 100644 --- a/net-mail/dbmail/files/dbmail-pop3d.initd +++ b/net-mail/dbmail/files/dbmail-pop3d.initd @@ -27,6 +27,7 @@ start() { start-stop-daemon --start --quiet \ --exec /usr/sbin/dbmail-pop3d \ --name dbmail-pop3d \ + --pidfile ${PIDFILE} \ -- -f /etc/dbmail/dbmail.conf 2>&1 eend $? } diff --git a/net-mail/dbmail/files/digest-dbmail-2.1.6 b/net-mail/dbmail/files/digest-dbmail-2.1.6 new file mode 100644 index 000000000..dedea8bf7 --- /dev/null +++ b/net-mail/dbmail/files/digest-dbmail-2.1.6 @@ -0,0 +1,3 @@ +MD5 394a957c6a8b631e8c456ecefdf7ae93 dbmail-2.1.6.tar.gz 814724 +RMD160 022d2d30a3afa5f15469d9913a6daf616a4d7247 dbmail-2.1.6.tar.gz 814724 +SHA256 501c1b5df7f465372c91d823114be2521a48ff03fb028b75c33b43e4c44b34a8 dbmail-2.1.6.tar.gz 814724 |