From 1ba3ea710b76cb80ead7cbec100d755c517c9cd0 Mon Sep 17 00:00:00 2001 From: Sandino Araico Sanchez Date: Sat, 14 Sep 2013 05:40:41 -0500 Subject: [PATCH] cleaned dbmail overlay --- net-mail/dbmail/Manifest | 24 ---- net-mail/dbmail/dbmail-1.2.11.ebuild | 122 ----------------- net-mail/dbmail/dbmail-1.2.12.1-r1.ebuild | 101 -------------- net-mail/dbmail/dbmail-2.0.11.ebuild | 139 ------------------- net-mail/dbmail/dbmail-2.0.4.ebuild | 138 ------------------- net-mail/dbmail/dbmail-2.0.5.ebuild | 137 ------------------- net-mail/dbmail/dbmail-2.0.6-r1.ebuild | 138 ------------------- net-mail/dbmail/dbmail-2.0.6-r2.ebuild | 135 ------------------- net-mail/dbmail/dbmail-2.0.6.ebuild | 138 ------------------- net-mail/dbmail/dbmail-2.0.7.ebuild | 133 ------------------ net-mail/dbmail/dbmail-2.2.11.ebuild | 153 --------------------- net-mail/dbmail/dbmail-2.2.15.ebuild | 154 --------------------- net-mail/dbmail/dbmail-2.2.17.ebuild | 156 ---------------------- net-mail/dbmail/dbmail-2.2.9.ebuild | 109 --------------- 14 files changed, 1777 deletions(-) delete mode 100644 net-mail/dbmail/dbmail-1.2.11.ebuild delete mode 100644 net-mail/dbmail/dbmail-1.2.12.1-r1.ebuild delete mode 100644 net-mail/dbmail/dbmail-2.0.11.ebuild delete mode 100644 net-mail/dbmail/dbmail-2.0.4.ebuild delete mode 100644 net-mail/dbmail/dbmail-2.0.5.ebuild delete mode 100644 net-mail/dbmail/dbmail-2.0.6-r1.ebuild delete mode 100644 net-mail/dbmail/dbmail-2.0.6-r2.ebuild delete mode 100644 net-mail/dbmail/dbmail-2.0.6.ebuild delete mode 100644 net-mail/dbmail/dbmail-2.0.7.ebuild delete mode 100644 net-mail/dbmail/dbmail-2.2.11.ebuild delete mode 100644 net-mail/dbmail/dbmail-2.2.15.ebuild delete mode 100644 net-mail/dbmail/dbmail-2.2.17.ebuild delete mode 100644 net-mail/dbmail/dbmail-2.2.9.ebuild diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest index b40d909..22688d4 100644 --- a/net-mail/dbmail/Manifest +++ b/net-mail/dbmail/Manifest @@ -10,30 +10,6 @@ AUX dbmail-pop3d.initd 730 SHA256 2b1ee1f7491e6fb94f0d9a6a1424ff3cba66b2880d6bc1 AUX dbmail-pop3d.rc 540 SHA256 943bac2beedb76903efaf3c990b09a44eaf89cf5f937ef997406439e2992520c SHA512 ed184a60ee72f1c6503ee14d00d2c2dbb5098895be1a5b87574418f20a68ea5e3843fef7fd77f2ac771fee8bd1ea564b804f916e23821304c8dcc5887d039045 WHIRLPOOL 599c11333e1919bae98f21a4c48889b9a73d4fee6047d57274de866d5a6d869db15d56d52aaef0158495aaedd009763865b8ae46bf7c9a559502f11e303f6dd3 AUX dbmail-startup-gentoo.patch 10704 SHA256 533756d346fbe32999f4fee6c6cdc3a00c7a639d43450447320f48a7a30ce4f3 SHA512 34f2544fb6f9b1e33dff1733c7bcb718117145da5ba037508e851f25f27df4f954158fbbae677d0240fbb3a43f2d48144566a6cddd821fcbfd6b40f369b71021 WHIRLPOOL d6b1d94728e8c518314b7ba89d80456ae2f51f2ef384e354a66715f4445c9198aa68d4d56a7d778e703eb32b4c1ab7a68eb0b2cd6904b2fa4d51d51eeff32d18 AUX dbmail-timsieved.initd 716 SHA256 c92cd221b37391703ec7aaff2eb3b33ed2b9b699a281f318f54ba6efd6e69224 SHA512 04f66443573fde84d220a0d808f98295a8931990a0d7bad13c0c86bfe7b2d95c3311f7fdbc6b4068223601286c34e97cb17b0f5fbc28ca05991d0cdc13d250f5 WHIRLPOOL 8f3c2a53f084861f63db8056b4b2ac82fb9e2ef6e0cf519073368c6bf59b8e2026872af0c847011bd6ac237e94dc7ac280805a3200ec738a96c8dfc50e0bc238 -DIST dbmail-1.2.11.tgz 248256 SHA256 4fcdf66fb8f6ab97fad014a5c54284f6ae815ae48708692c29c5dd5edc45c17b -DIST dbmail-1.2.12.1.tgz 253497 SHA256 a49fb9a66717d85025f787f23c4f61aca75cf1a00a7e422bc342538e135abea1 -DIST dbmail-2.0.11.tgz 649830 SHA256 6271c79c85fc686013339e8583782721a77cd41b8bf67b584693c44efdbecc82 -DIST dbmail-2.0.4.tgz 589603 SHA256 a212a122bc7184ebc80393ded289abfbfe068beec7e7f02487f8b140d86a9daa -DIST dbmail-2.0.5.tar.gz 583899 SHA256 787186abcfec648d34505a30783607659b67c5ffb88b2a8e026a4577fb83538c -DIST dbmail-2.0.6.tar.gz 582932 SHA256 cd1de68b603db90fb6e4c404832b01054e6c8e66e28d5e3fa7077ace113eb7bb -DIST dbmail-2.0.7.tar.gz 584457 SHA256 ef678002a0f6eed3ae8babc17760e36a76e678852c50d70d8dee1fe693f54026 -DIST dbmail-2.2.11.tar.gz 901705 SHA256 7d61ce32b5f1cbbc42fa39e3c1cc10659c524a7d3135555efe4b272064939148 SHA512 30eb5ab7abffe52f51beae480fc2713b55bd78330bc140b09142322bc5c5bbf901045219f316be54a841e1b59961a78e1405f74e223b62cbddcbe8a3277db9cf WHIRLPOOL 53fd2a7932e468ee1cc5d67d677715a98ecfccdfe1d57439ef32c026e83c77eb0fd9b24bc08f8294524bb6eba78284b929e540663b30aa98a312559fb2b2d797 -DIST dbmail-2.2.15.tar.gz 875592 SHA256 ca88e4a3bc1360b3621ffd8567103668a896ecb22102d3886ab5e59e7747217b SHA512 fc18a32f8b53c56ed28482d938ec69fdc5b4c3837283c30608f56ba0f3f88957362ecd804aebb72ff665ac98003bc867fdb617bfcdd4c3da861ed0119f8aeef5 WHIRLPOOL 1724e7ebcf6d99278140288161eb7db24b7b608f0dbc1ad89d32a0a47b55f540baca8e703195e458eb9a47758b34c56d327481f41a7d253b28378229c7b7aa6f -DIST dbmail-2.2.17.tar.gz 896838 SHA256 11d457b0114047185aff4249afb6b91baf843b393e73ecbb147549960d7eaefd SHA512 c703e77210e067ce553bf0662ef3624e48e12001c48252ca95c47a0b2bbecc45bfb694ceec2746b5721e4570300e786071169122ba0398e148945fcba0a13839 WHIRLPOOL 60bfb7a93e23f29128a5dbb8faf719c8a13dc8b33544360087898ec4e3226b22ed0bd45d574f9ec0fb71a73af2cf61cdde2c7518e99c6544b74907045110407b -DIST dbmail-2.2.9.tar.gz 900072 SHA256 f6a222b142f4aa05f8b458acda50022ec85c6ec46b78658a414d6e7055b2bb84 SHA512 22bb03e6ffe283a3aa333625a610fd439ed62737390df000edabe3c0b33ba3b287a61e347e56e12225657be28037ada76b1621f0089c5c76c829755e01b4f5bc WHIRLPOOL aac0949c75a85f1e2d5841e4f563e116423cf0532376d903523a8599a6117c8bbe539fc1bf52ee16b5c2d00001c502b1c91ef3ae9c2a6feb72ece46133e06073 DIST dbmail-3.0.2.tar.gz 867560 SHA256 139558f4fa3e0f460d688f6d29318366cc3f40dd570a1a29484bb580d0190c3e SHA512 ca1d30a114c1b2b8968227ed678e3857c6d5cb98eb9e7086d45c32b4e957396971bd76cfe2e278fe904fbe8a8ded53199ded76da300d9835b324839e42532834 WHIRLPOOL a79d8b344361bd032446e99bbbb865e798db54e60a730cb7191112e4320ca130d194d8a1ad2d676673b2bb06e50e9cc1ccc78a8a1fc7edcb2a9b3eeeb7841500 -EBUILD dbmail-1.2.11.ebuild 3622 SHA256 83c2e98c14797ae3d489cb59cce1359836a4014ca02a2903c272d60ef01629f5 SHA512 36d601a6d327887846584f08f39a9cf7630b997c3e7296c7041f45415b329e5bc097acd264567b478ae68a6c57de49f262c98c8316df5ba33338b5e178b2ee04 WHIRLPOOL 6894be409f9c1d5cacef857b59b58a67b057ada07188320aa573161744b81953d6964479b422ec27cc6b85048ac793ba11f7ede4a2f13138c8b58c8c0cfea69a -EBUILD dbmail-1.2.12.1-r1.ebuild 3021 SHA256 af8f43cdd41d43398fc3ce86024e5c2ac66cfb3730f4876b7f0c3ae52c6b77a4 SHA512 31a0fea3df0a87825d114a9a1ca5e2f872ebe66b90615c1555300c91e84afcec5a03cc204c0aa2228d81ff1a9fdebf4fc0ad8712ab4d56a24899b9e9e4eceb89 WHIRLPOOL 380d1dba6180f6a754ade514a07efe8e8018e57076c4112dae351468b234d75ad789e76e43defba8e92865c71921a7121b18abdcbbf13f9f4b633712e0a78be9 -EBUILD dbmail-2.0.11.ebuild 4306 SHA256 6549d7dd33ea08ab111073793300c8a8e8801e2e8ec77dc52686729025849a2d SHA512 43c73a741c69b7cdbeb0a13e34d70fb6fef88247f7a2018220acd3e00800c539f72fdde8e25516eea19fca14e58a9d59e1f4ed4f8a6bb3dddfa230da15ea8d2a WHIRLPOOL bc4edc5544287915157579fafc8ad5b8cb13f7748ea2c71ba152a5a961a5d7babf8581b4c9c7bcb84b6e1ff8566efe458789c70743d412579aa317f06706fe44 -EBUILD dbmail-2.0.4.ebuild 4236 SHA256 e1552f141aacb262bb90dc049dd1389053e879b4bfd4591bda09d3a94c0f743f SHA512 53bfc4be92b843830aceee512e37a9a4c9645b0ac6077caa1a25648804a0684d622622d6b724fccfb0890cc7da85f8bf3378db6cfc1707a533450a16f28720ce WHIRLPOOL 72ff859a6f43cf25ce232c3253c01850df685d4574c7ee85ea50ee51611934d4d7d1913350d3d451816675aa1e60b2e2871f2bfa3c594bfc53dc30ee5ff96f3d -EBUILD dbmail-2.0.5.ebuild 4191 SHA256 1788b95d2cc82cce7fa29949b02a36b2de47acc560f25977da8210c6e0d1e003 SHA512 1efed401c937b2c6374cce35b785aeefeefaebaf775b8708842c82d07199f1de6a1502a8732c92d83f5186efbef29ff99465679e86d951e9ebf902289e8f8c2a WHIRLPOOL 17bfaf0db2f6f35169a4092af44d00118a510e48dd0dd1c03eed91062bf3c82d3cb610873287dc1d150fa71520fb9b87c89a29b93ecd6e99b41117937a1022a4 -EBUILD dbmail-2.0.6-r1.ebuild 4275 SHA256 60b23851cbe2d5ccb81e5d2da14b717da4b93e1f5b7a7336b92fb7214dbd986d SHA512 7dbc928b5b0d620c80e367cd8132cb341faf6efe74887669df84ad760a293abeb5b65263eee7c74b031b308350de774a1120c3f971b754c3f27b33ec9c9294f1 WHIRLPOOL 1797c2dbfb69afe963cd415dd4543636ac4258464b8f6424059be65431881bc21f686065616c2c5c7e8ef7767b0c06da0321d52618e8a55cdcc4b1f199377cf9 -EBUILD dbmail-2.0.6-r2.ebuild 4232 SHA256 728bf34f7088aab4176dd8a919dd6e639c93c54c968d0241e95e6bf309791e71 SHA512 a48b5d5c657863dfd95acce04be418ffd4b0f07c0e47aa3d30c21918521a417b07a7167e8c3b7b427feb3b42fca4b93c0a2d715896ccb8249240ec27467755a6 WHIRLPOOL 3ecb22c1e3f0550ec0fbc031de8520ef4ad5a09cb8a4ee0c53b67205b0382b69a0121827860286fe282a9b6c8e533779bfa4cf7ad8c9954986156b8f3d1739a4 -EBUILD dbmail-2.0.6.ebuild 4274 SHA256 30fb2af2b367cbb7fa5b5df988cf023d3d673b53ce09d1b4baba06dc4cd08c85 SHA512 aac21fd8c8bcae0473bed5dd2b5b183d68b6f18b5169cf807b84f1fb2da188e02dbc7a8e73f0d45ea1f8961f14d8e09ed3d5e85dfc7b193e9f5aa81edc57da6f WHIRLPOOL 8a49151aa2ff23c7df86e708130f4242b155f7a761c4a8e92f1788413fbb1e177c56b433dd894b83183b8d02f2d6c586bf41d26a96d3e2248d99470f210b096c -EBUILD dbmail-2.0.7.ebuild 4151 SHA256 336d8b8ac97d71cc743d5f7b1e0adf6d300a297693ea8f74ddc2e7de52fb597c SHA512 98944765fd33e5e9898a37892252c29c4c99dfd32e9459987e074a1f0bf5695f223ab4a2bdfc15a2f6ed467a96edcf643b6b6c9125e1e1fe3d94f7411f121316 WHIRLPOOL 64c56eaa41b752b95ceabeceef0d88532e749f1a5ac840e428d592c6ef330949098b953dff3735523ca9d31fca87402517a40087b5eead481c5f057d4d4ad3bf -EBUILD dbmail-2.2.11.ebuild 4859 SHA256 35887c5ee0c750c60c129668640881e4273d77a8290d213baa6965f1f8376f51 SHA512 6c444d1f4951cc9c2e62185ab0fef591879cdcc42debb06bc82b872aaa0893e34550e37da4cce6b39a328ab5f6f7c5f9be455d270492d16864d954d83682af07 WHIRLPOOL 925158706160ef06cd149c491480aecf58f1b506e052910274c04c2f0fa4fe3a90092195137f34c8dc8708b214d56c7f918f33589c800425aef3b4a0b516b651 -EBUILD dbmail-2.2.15.ebuild 4873 SHA256 da9996ab358f63c1f23e75979e233923543f6dd3c2b73faef7d1f9735573491f SHA512 cbf4efd66150ec677afb6f8127af4eaafeb9dda39bbe49c9391fd601d52f3d089df1b56e906c6ee2a9572e27cc570778a2e43b5930ed67d327cb86c2edb5ea74 WHIRLPOOL 103d43f4e0b8749d91d39d0c4f9eaced8b4659d2c5a6bb7b12358383706d034d197823dd0107e8c1023524580f1674d605b16ccefded68798726b80705b2618e -EBUILD dbmail-2.2.17.ebuild 4897 SHA256 94b3b5cf9bb3cc40e8ccebf56545e619f93ab0ed1e707786bb1b3817c4115f2b SHA512 f2d3ce18608ec2ae88c01b99c2ea48b09ab16770b8acb8072e0ba943719050f3dfb1cc280de6b5ba20ba5b791c1e5b41ecb6ed4e4b46da57c158dde065ffaaef WHIRLPOOL 61dedf8db86eb17e841dcbeaa696c2be5011327e76db99850dec2b9a4d995f59110541d1ffeb08e9a4a658759fcc040d3134875ceb2c62110f73f0b6cf8c13d3 -EBUILD dbmail-2.2.9.ebuild 3567 SHA256 7bd6d6300d5446ede1fe7cf53f008f5f2827f498fc4cb1906fe1ef610f1160f9 SHA512 ada7668115e2bfcfc9f0bc7a158a0c76b55e4d836df6512d3c0182a05aab406c62e6250c8786a53cc92d9644c9f1a260d572e9f6b51bb39ae12d9b14791e82e3 WHIRLPOOL 64cd2d1a29f08f6e64634b5d3b06e512f5939fe9e39d288bf983599b09829a645d981f4721a603a2ca580c05bfc27b09e3655bbb2ca314de2430f557bca7bfd2 EBUILD dbmail-3.0.2-r1.ebuild 4972 SHA256 047c7fa1897990dfadea8a18098df3f361b5aa4ad9ddccc78ceab5b9c7074953 SHA512 1f01fde119e6b449a25c65099a40eadc585b58b43db814c2fc109052b8fed567f761e3962a42cfd4af76a3b2abec060a869ec6ec1896ced2a065902cd953699b WHIRLPOOL ba1edb9d92f4d5aa25e9e1a3e48f50159e49a5f2fc694da2c8f0cd5c531e816cf991960102069bd8af7cc76922c6f550e2ff9a007708a863d5b123181f8cc363 EBUILD dbmail-3.0.2-r2.ebuild 5020 SHA256 84531e11e4dd8625f5c1958dffff536c3b07a428dc7657e18678657c92c52a05 SHA512 ac33994e480cba4a3af03938061e0cdf3b07c9de45c9edd41110a92daed7789d063648d72e3036ef9e896cd4d58ff248229d54f584a2a230f112ce99d9c11bd5 WHIRLPOOL c59ebd9068de1edbcfdbc3809787700961e89a27d25eda0876eae955e6e07d626dc27a4dc5c0c7764de02a25d2bdd363e222b224c1f4d131de7f278e112b3ba5 diff --git a/net-mail/dbmail/dbmail-1.2.11.ebuild b/net-mail/dbmail/dbmail-1.2.11.ebuild deleted file mode 100644 index a4926f9..0000000 --- a/net-mail/dbmail/dbmail-1.2.11.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils - -IUSE="ssl postgres mysql" - -DESCRIPTION="A mail transfer agent that uses mysql or postgresql as its data store rather than maildir" -HOMEPAGE="http://www.dbmail.org/" -SRC_URI="http://www.dbmail.org/download/1.2/${P}.tgz" - -DEPEND="ssl? ( dev-libs/openssl ) - postgres? ( >=dev-db/postgresql-7.4 ) - mysql? ( >=virtual/mysql-4.1 )" - -RDEPEND="mysql? ( dev-db/mysql ) - postgres? ( dev-db/postgresql )" - -SLOT="0" -LICENSE="gpl-2" -KEYWORDS="~x86 ~ppc ~sparc" - -pkg_setup() { - - enewgroup dbmail - enewuser dbmail -1 /bin/bash /home/dbmail dbmail - einfo "Creating /home/dbmail if it does not exist." - if ! [ -d /home/dbmail ]; then - einfo "* Creating /home/dbmail" - mkdir /home/dbmail - fi -} - -src_compile() { - if [ -n "`use mysql`" -a -n "`use postgres`" ]; then - eerror "Unfortunatly you can't have both MySQL and PostgreSQL enabled at the same time." - eerror "You have to remove either 'mysql' or 'postgres' from your USE flags before emerging this." - - has_version ">=sys-apps/portage-2.0.50" && ( - einfo "You can add:" - einfo "net-mail/dbmail [use flags]" - einfo "to the file:" - einfo "/etc/portage/package.use" - einfo "to permamently set this package's USE flags" - ) - - exit 1 - fi - - local myconf - - use mysql && myconf="$myconf --with-mysql" - use postgres && myconf="$myconf --with-pgsql" - - cd ${S} - ./configure --prefix=/usr \ - --with-openssl \ - $myconf || die - - emake || die "compile problem" - -} - -src_install() { - cd ${S} - for file in dbmail-smtp dbmail-pop3d dbmail-imapd \ - dbmail-maintenance dbmail-adduser \ - dbmail-mini-injector dbmail-readvut - do - chown dbmail:dbmail $file - chmod 770 $file - dobin $file - done - doman man/* - dodoc AUTHORS INSTALL EXTRAS ChangeLog COPYING \ - VERSION NEWS README TODO mysql2pgsql/HOW-TO-CONVERT - insinto /etc - doins dbmail.conf - exeinto /etc/init.d - newexe ${FILESDIR}/dbmail-pop3d.rc dbmail-pop3d - newexe ${FILESDIR}/dbmail-imapd.rc dbmail-imapd - - mkdir -p ${D}/home/dbmail/sql - cp -a sql ${D}/home/dbmail/ - -} - -pkg_postinst() { - einfo ">>> Execute the following command" - einfo ">>> ebuild /var/db/pkg/net-mail/${PF}/${PF}.ebuild config" - einfo ">>> to setup the initial database environment and " - einfo ">>> for more setup instructions." - einfo ">>> --- For maintenance ---" - einfo ">>> add this to crontab: 0 3 * * * /usr/bin/dbmail-maintenance -cfpd >> /dev/null 2>&1 " -} - -pkg_config() { - - einfo ">>> Initializing the database user, databse, and tables ..." - if [ -n "`use postgres`" ]; then - einfo ">>> Creating postgres user dbmail. " - einfo "You may want to add a password for dbmail: " - einfo "`psql -c "ALTER USER dbmail WITH PASSWORD 'secret';"`" - mysqladmin create dbmail - createuser -U postgres -a -d dbmail - psql -U dbmail dbmail < /home/dbmail/sql/postgresql/create_tables.pgsql - else - einfo ">>> No initial database config for MySQL yet. " - einfo "You must configure your MySQL database manually " - fi - einfo "Please read /usr/share/doc/dbmail-1.1/INSTALL " - 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 "The next step is to add users to the db. Example: " - einfo " ./dbmail-adduser a john secret 0 25000000 " - einfo " john@dude.org john@dude.net @net.com" - 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.conf as well. :)" -} diff --git a/net-mail/dbmail/dbmail-1.2.12.1-r1.ebuild b/net-mail/dbmail/dbmail-1.2.12.1-r1.ebuild deleted file mode 100644 index b911304..0000000 --- a/net-mail/dbmail/dbmail-1.2.12.1-r1.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils - -IUSE="ssl postgres " - -DESCRIPTION="A mail transfer agent that uses postgresql as its data store rather than maildir" -HOMEPAGE="http://www.dbmail.org/" -SRC_URI="http://www.dbmail.org/download/1.2/${P}.tgz" - -DEPEND="ssl? ( dev-libs/openssl ) - postgres? ( >=dev-db/postgresql-base-7.4 )" - -RDEPEND=" postgres? ( >> Execute the following command" - einfo ">>> ebuild /var/db/pkg/net-mail/${PF}/${PF}.ebuild config" - einfo ">>> to setup the initial database environment and " - einfo ">>> for more setup instructions." - einfo ">>> --- For maintenance ---" - einfo ">>> add this to crontab: 0 3 * * * /usr/bin/dbmail-maintenance -cfpd >> /dev/null 2>&1 " -} - -pkg_config() { - - einfo ">>> Initializing the database user, databse, and tables ..." - if [ -n "`use postgres`" ]; then - einfo ">>> Creating postgres user dbmail. " - einfo "You may want to add a password for dbmail: " - einfo "`psql -c "ALTER USER dbmail WITH PASSWORD 'secret';"`" - createuser -U postgres -a -d dbmail - psql -U dbmail dbmail < /home/dbmail/sql/postgresql/create_tables.pgsql - else - einfo ">>> No initial database config for MySQL yet. " - einfo "You must configure your MySQL database manually " - fi - einfo "Please read /usr/share/doc/dbmail-1.1/INSTALL " - 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 "The next step is to add users to the db. Example: " - einfo " ./dbmail-adduser a john secret 0 25000000 " - einfo " john@dude.org john@dude.net @net.com" - 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.conf as well. :)" -} diff --git a/net-mail/dbmail/dbmail-2.0.11.ebuild b/net-mail/dbmail/dbmail-2.0.11.ebuild deleted file mode 100644 index 78264a7..0000000 --- a/net-mail/dbmail/dbmail-2.0.11.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils - -IUSE="ssl postgres mysql" - -DESCRIPTION="A mail transfer agent that uses MySQL or PostgreSQL as its data store" -HOMEPAGE="http://www.dbmail.org/" -SRC_URI="http://www.dbmail.org/download/2.0/${P}.tgz" - -DEPEND="ssl? ( dev-libs/openssl ) - postgres? ( >=dev-db/postgresql-base-7.4 ) - mysql? ( >=virtual/mysql-4.1 ) -" - -SLOT="0" -LICENSE="gpl-2" -KEYWORDS="x86 amd64 ~ppc ~sparc" - -pkg_setup() { - - enewgroup dbmail - enewuser dbmail -1 /bin/bash /home/dbmail dbmail - einfo "Creating /home/dbmail if it does not exist." - if ! [ -d /home/dbmail ]; then - einfo "* Creating /home/dbmail" - mkdir /home/dbmail - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - use ssl && epatch ${FILESDIR}/dbmail-2.0.11-lcrypt.patch -} - -src_compile() { - if [ -n "`use mysql`" -a -n "`use postgres`" ]; then - eerror "Unfortunatly you can't have both MySQL and PostgreSQL enabled at the same time." - eerror "You have to remove either 'mysql' or 'postgres' from your USE flags before emerging this." - - has_version ">=sys-apps/portage-2.0.50" && ( - einfo "You can add:" - einfo "net-mail/dbmail [use flags]" - einfo "to the file:" - einfo "/etc/portage/package.use" - einfo "to permamently set this package's USE flags" - ) - - exit 1 - fi - - local myconf - - use mysql && myconf="$myconf --with-mysql" - use postgres && myconf="$myconf --with-pgsql" - if [ use ssl ] ; then - myconf="$myconf --with-openssl" - else - myconf="$myconf --without-openssl" - fi - - cd ${S} - autoconf - ./configure --prefix=/usr \ - $myconf || die - - emake || die "compile problem" - -} - -src_install() { - cd ${S} - make DESTDIR=${D} install || die "Install Problem" - - dodoc AUTHORS BUGS INSTALL EXTRAS ChangeLog COPYING \ - INSTALL.exim INSTALL.postfix INSTALL.qmail UPGRADING \ - VERSION NEWS README THANKS TODO - insinto /etc - doins dbmail.conf - - newinitd contrib/startup-scripts/gentoo/dbmail-imapd dbmail-imapd - newinitd contrib/startup-scripts/gentoo/dbmail-lmtpd dbmail-lmtpd - newinitd contrib/startup-scripts/gentoo/dbmail-pop3d dbmail-pop3d - dosed "s:/usr/local/sbin:/usr/sbin:" /etc/init.d/dbmail-imapd - dosed "s:/usr/local/sbin:/usr/sbin:" /etc/init.d/dbmail-lmtpd - dosed "s:/usr/local/sbin:/usr/sbin:" /etc/init.d/dbmail-pop3d - - dobin contrib/mailbox2dbmail/mailbox2dbmail - doman contrib/mailbox2dbmail/mailbox2dbmail.1 - - mkdir -p ${D}/home/dbmail/sql - cp -a sql ${D}/home/dbmail/ - -} - -pkg_postinst() { - install -d -m0755 -o dbmail -g dbmail ${ROOT}/var/run/dbmail - - einfo ">>> Execute the following command" - einfo ">>> ebuild /var/db/pkg/net-mail/${PF}/${PF}.ebuild config" - einfo ">>> to setup the initial database environment and " - einfo ">>> for more setup instructions." - einfo ">>> Database schemes can be found in /home/dbmail/sql" - einfo ">>> --- For maintenance ---" - einfo ">>> add this to crontab: 0 3 * * * /usr/bin/dbmail-util -cpdy >> /dev/null 2>&1 " -} - -pkg_config() { - - einfo ">>> Initializing the database user, databse, and tables ..." - if [ -n "`use postgres`" ]; then - einfo ">>> Creating postgres user dbmail. " - einfo "You may want to add a password for dbmail: " - einfo "`psql -c "ALTER USER dbmail WITH PASSWORD 'secret';"`" - createuser -U postgres -a -d dbmail - einfo ">>> Creating postgres database dbmail. " - createdb dbmail - psql -U dbmail dbmail < /home/dbmail/sql/postgresql/create_tables.pgsql - else - einfo ">>> Creating mysql database dbmail. " - mysqladmin create dbmail - mysql dbmail < /home/dbmail/sql/mysql/create_tables_innoDB.mysql - einfo "You may want to add a user for dbmail database " - einfo "GRANT ALL ON dbmail.* to dbmail@localhost identified by '' " - fi - einfo "Please read /usr/share/doc/${P}/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 "The next step is to add users to the db. Example: " - einfo " ./dbmail-users -a john -w secret -g 0 -m 25M " - einfo " -s john@dude.org john@dude.net @net.com" - 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.conf as well. :)" -} diff --git a/net-mail/dbmail/dbmail-2.0.4.ebuild b/net-mail/dbmail/dbmail-2.0.4.ebuild deleted file mode 100644 index 984952f..0000000 --- a/net-mail/dbmail/dbmail-2.0.4.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils - -IUSE="ssl postgres mysql" - -DESCRIPTION="A mail transfer agent that uses MySQL or PostgreSQL as its data store" -HOMEPAGE="http://www.dbmail.org/" -SRC_URI="http://www.dbmail.org/download/2.0/${P}.tgz" - -DEPEND="openssl" - -RDEPEND="mysql? ( >=dev-db/mysql-4.0.12 ) - postgres? ( dev-db/postgresql )" - -SLOT="0" -LICENSE="gpl-2" -KEYWORDS="x86 amd64 ~ppc ~sparc" - -pkg_setup() { - - enewgroup dbmail - enewuser dbmail -1 /bin/bash /home/dbmail dbmail - einfo "Creating /home/dbmail if it does not exist." - if ! [ -d /home/dbmail ]; then - einfo "* Creating /home/dbmail" - mkdir /home/dbmail - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/dbmail-startup-gentoo.patch - epatch ${FILESDIR}/dbmail-2.0.4-01_quota.patch - epatch ${FILESDIR}/dbmail-2.0.4-fPIC.patch -} - -src_compile() { - if [ -n "`use mysql`" -a -n "`use postgres`" ]; then - eerror "Unfortunatly you can't have both MySQL and PostgreSQL enabled at the same time." - eerror "You have to remove either 'mysql' or 'postgres' from your USE flags before emerging this." - - has_version ">=sys-apps/portage-2.0.50" && ( - einfo "You can add:" - einfo "net-mail/dbmail [use flags]" - einfo "to the file:" - einfo "/etc/portage/package.use" - einfo "to permamently set this package's USE flags" - ) - - exit 1 - fi - - local myconf - - use mysql && myconf="$myconf --with-mysql" - use postgres && myconf="$myconf --with-pgsql" - - cd ${S} - ./configure --prefix=/usr \ - --with-openssl \ - $myconf || die - - emake || die "compile problem" - -} - -src_install() { - cd ${S} - make DESTDIR=${D} install || die "Install Problem" - - dodoc AUTHORS BUGS INSTALL EXTRAS ChangeLog COPYING \ - INSTALL.exim INSTALL.postfix INSTALL.qmail UPGRADING \ - VERSION NEWS README THANKS TODO - insinto /etc - doins dbmail.conf - - insinto /etc/conf.d - doins contrib/startup-scripts/gentoo/conf.d/dbmail-imapd - doins contrib/startup-scripts/gentoo/conf.d/dbmail-lmtpd - doins contrib/startup-scripts/gentoo/conf.d/dbmail-pop3d - - exeinto /etc/init.d - newexe contrib/startup-scripts/gentoo/init.d/dbmail-pop3d dbmail-pop3d - newexe contrib/startup-scripts/gentoo/init.d/dbmail-lmtpd dbmail-lmtpd - newexe contrib/startup-scripts/gentoo/init.d/dbmail-imapd dbmail-imapd - - dobin contrib/mailbox2dbmail/mailbox2dbmail - doman contrib/mailbox2dbmail/mailbox2dbmail.1 - - mkdir -p ${D}/home/dbmail/sql - cp -a sql ${D}/home/dbmail/ - -} - -pkg_postinst() { - install -d -m0755 -o dbmail -g dbmail ${ROOT}/var/run/dbmail - - einfo ">>> Execute the following command" - einfo ">>> ebuild /var/db/pkg/net-mail/${PF}/${PF}.ebuild config" - einfo ">>> to setup the initial database environment and " - einfo ">>> for more setup instructions." - einfo ">>> Database schemes can be found in /home/dbmail/sql" - einfo ">>> --- For maintenance ---" - einfo ">>> add this to crontab: 0 3 * * * /usr/bin/dbmail-util -cpdy >> /dev/null 2>&1 " -} - -pkg_config() { - - einfo ">>> Initializing the database user, databse, and tables ..." - if [ -n "`use postgres`" ]; then - einfo ">>> Creating postgres user dbmail. " - einfo "You may want to add a password for dbmail: " - einfo "`psql -c "ALTER USER dbmail WITH PASSWORD 'secret';"`" - createuser -U postgres -a -d dbmail - einfo ">>> Creating postgres database dbmail. " - createdb dbmail - psql -U dbmail dbmail < /home/dbmail/sql/postgresql/create_tables.pgsql - else - einfo ">>> Creating mysql database dbmail. " - mysqladmin create dbmail - mysql dbmail < /home/dbmail/sql/mysql/create_tables.mysql - einfo "You may want to add a user for dbmail database " - fi - einfo "Please read /usr/share/doc/${P}/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 "The next step is to add users to the db. Example: " - einfo " ./dbmail-users -a john -w secret -g 0 -m 25M " - einfo " -s john@dude.org john@dude.net @net.com" - 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.conf as well. :)" -} diff --git a/net-mail/dbmail/dbmail-2.0.5.ebuild b/net-mail/dbmail/dbmail-2.0.5.ebuild deleted file mode 100644 index e795251..0000000 --- a/net-mail/dbmail/dbmail-2.0.5.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils - -IUSE="ssl postgres mysql" - -DESCRIPTION="A mail transfer agent that uses MySQL or PostgreSQL as its data store" -HOMEPAGE="http://www.dbmail.org/" -SRC_URI="http://www.dbmail.org/download/2.0/${P}.tar.gz" - -DEPEND="openssl" - -RDEPEND="mysql? ( >=dev-db/mysql-4.0.12 ) - postgres? ( dev-db/postgresql )" - -SLOT="0" -LICENSE="gpl-2" -KEYWORDS="x86 amd64 ~ppc ~sparc" - -pkg_setup() { - - enewgroup dbmail - enewuser dbmail -1 /bin/bash /home/dbmail dbmail - einfo "Creating /home/dbmail if it does not exist." - if ! [ -d /home/dbmail ]; then - einfo "* Creating /home/dbmail" - mkdir /home/dbmail - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/dbmail-startup-gentoo.patch - epatch ${FILESDIR}/dbmail-2.0.4-fPIC.patch -} - -src_compile() { - if [ -n "`use mysql`" -a -n "`use postgres`" ]; then - eerror "Unfortunatly you can't have both MySQL and PostgreSQL enabled at the same time." - eerror "You have to remove either 'mysql' or 'postgres' from your USE flags before emerging this." - - has_version ">=sys-apps/portage-2.0.50" && ( - einfo "You can add:" - einfo "net-mail/dbmail [use flags]" - einfo "to the file:" - einfo "/etc/portage/package.use" - einfo "to permamently set this package's USE flags" - ) - - exit 1 - fi - - local myconf - - use mysql && myconf="$myconf --with-mysql" - use postgres && myconf="$myconf --with-pgsql" - - cd ${S} - ./configure --prefix=/usr \ - --with-openssl \ - $myconf || die - - emake || die "compile problem" - -} - -src_install() { - cd ${S} - make DESTDIR=${D} install || die "Install Problem" - - dodoc AUTHORS BUGS INSTALL EXTRAS ChangeLog COPYING \ - INSTALL.exim INSTALL.postfix INSTALL.qmail UPGRADING \ - VERSION NEWS README THANKS TODO - insinto /etc - doins dbmail.conf - - insinto /etc/conf.d - doins contrib/startup-scripts/gentoo/conf.d/dbmail-imapd - doins contrib/startup-scripts/gentoo/conf.d/dbmail-lmtpd - doins contrib/startup-scripts/gentoo/conf.d/dbmail-pop3d - - exeinto /etc/init.d - newexe contrib/startup-scripts/gentoo/init.d/dbmail-pop3d dbmail-pop3d - newexe contrib/startup-scripts/gentoo/init.d/dbmail-lmtpd dbmail-lmtpd - newexe contrib/startup-scripts/gentoo/init.d/dbmail-imapd dbmail-imapd - - dobin contrib/mailbox2dbmail/mailbox2dbmail - doman contrib/mailbox2dbmail/mailbox2dbmail.1 - - mkdir -p ${D}/home/dbmail/sql - cp -a sql ${D}/home/dbmail/ - -} - -pkg_postinst() { - install -d -m0755 -o dbmail -g dbmail ${ROOT}/var/run/dbmail - - einfo ">>> Execute the following command" - einfo ">>> ebuild /var/db/pkg/net-mail/${PF}/${PF}.ebuild config" - einfo ">>> to setup the initial database environment and " - einfo ">>> for more setup instructions." - einfo ">>> Database schemes can be found in /home/dbmail/sql" - einfo ">>> --- For maintenance ---" - einfo ">>> add this to crontab: 0 3 * * * /usr/bin/dbmail-util -cpdy >> /dev/null 2>&1 " -} - -pkg_config() { - - einfo ">>> Initializing the database user, databse, and tables ..." - if [ -n "`use postgres`" ]; then - einfo ">>> Creating postgres user dbmail. " - einfo "You may want to add a password for dbmail: " - einfo "`psql -c "ALTER USER dbmail WITH PASSWORD 'secret';"`" - createuser -U postgres -a -d dbmail - einfo ">>> Creating postgres database dbmail. " - createdb dbmail - psql -U dbmail dbmail < /home/dbmail/sql/postgresql/create_tables.pgsql - else - einfo ">>> Creating mysql database dbmail. " - mysqladmin create dbmail - mysql dbmail < /home/dbmail/sql/mysql/create_tables.mysql - einfo "You may want to add a user for dbmail database " - fi - einfo "Please read /usr/share/doc/${P}/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 "The next step is to add users to the db. Example: " - einfo " ./dbmail-users -a john -w secret -g 0 -m 25M " - einfo " -s john@dude.org john@dude.net @net.com" - 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.conf as well. :)" -} diff --git a/net-mail/dbmail/dbmail-2.0.6-r1.ebuild b/net-mail/dbmail/dbmail-2.0.6-r1.ebuild deleted file mode 100644 index 0fadebe..0000000 --- a/net-mail/dbmail/dbmail-2.0.6-r1.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils - -IUSE="ssl postgres mysql" - -DESCRIPTION="A mail transfer agent that uses MySQL or PostgreSQL as its data store" -HOMEPAGE="http://www.dbmail.org/" -SRC_URI="http://www.dbmail.org/download/2.0/${P}.tar.gz" - -DEPEND="openssl" - -RDEPEND="mysql? ( >=dev-db/mysql-4.0.12 ) - postgres? ( dev-db/postgresql )" - -SLOT="0" -LICENSE="gpl-2" -KEYWORDS="x86 amd64 ~ppc ~sparc" - -pkg_setup() { - - enewgroup dbmail - enewuser dbmail -1 /bin/bash /home/dbmail dbmail - einfo "Creating /home/dbmail if it does not exist." - if ! [ -d /home/dbmail ]; then - einfo "* Creating /home/dbmail" - mkdir /home/dbmail - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - #epatch ${FILESDIR}/dbmail-startup-gentoo.patch - epatch ${FILESDIR}/dbmail-2.0.4-fPIC.patch -} - -src_compile() { - if [ -n "`use mysql`" -a -n "`use postgres`" ]; then - eerror "Unfortunatly you can't have both MySQL and PostgreSQL enabled at the same time." - eerror "You have to remove either 'mysql' or 'postgres' from your USE flags before emerging this." - - has_version ">=sys-apps/portage-2.0.50" && ( - einfo "You can add:" - einfo "net-mail/dbmail [use flags]" - einfo "to the file:" - einfo "/etc/portage/package.use" - einfo "to permamently set this package's USE flags" - ) - - exit 1 - fi - - local myconf - - use mysql && myconf="$myconf --with-mysql" - use postgres && myconf="$myconf --with-pgsql" - - cd ${S} - ./configure --prefix=/usr \ - --with-openssl \ - $myconf || die - - emake || die "compile problem" - -} - -src_install() { - cd ${S} - make DESTDIR=${D} install || die "Install Problem" - - dodoc AUTHORS BUGS INSTALL EXTRAS ChangeLog COPYING \ - INSTALL.exim INSTALL.postfix INSTALL.qmail UPGRADING \ - VERSION NEWS README THANKS TODO - insinto /etc - doins dbmail.conf - - insinto /etc/conf.d - doins contrib/startup-scripts/gentoo/conf.d/dbmail-imapd - doins contrib/startup-scripts/gentoo/conf.d/dbmail-lmtpd - doins contrib/startup-scripts/gentoo/conf.d/dbmail-pop3d - - exeinto /etc/init.d - newexe contrib/startup-scripts/gentoo/init.d/dbmail-pop3d dbmail-pop3d - newexe contrib/startup-scripts/gentoo/init.d/dbmail-lmtpd dbmail-lmtpd - newexe contrib/startup-scripts/gentoo/init.d/dbmail-imapd dbmail-imapd - - dobin contrib/mailbox2dbmail/mailbox2dbmail - doman contrib/mailbox2dbmail/mailbox2dbmail.1 - - mkdir -p ${D}/home/dbmail/sql - cp -a sql ${D}/home/dbmail/ - -} - -pkg_postinst() { - install -d -m0755 -o dbmail -g dbmail ${ROOT}/var/run/dbmail - - einfo ">>> Execute the following command" - einfo ">>> ebuild /var/db/pkg/net-mail/${PF}/${PF}.ebuild config" - einfo ">>> to setup the initial database environment and " - einfo ">>> for more setup instructions." - einfo ">>> Database schemes can be found in /home/dbmail/sql" - einfo ">>> --- For maintenance ---" - einfo ">>> add this to crontab: 0 3 * * * /usr/bin/dbmail-util -cpdy >> /dev/null 2>&1 " -} - -pkg_config() { - - einfo ">>> Initializing the database user, databse, and tables ..." - if [ -n "`use postgres`" ]; then - einfo ">>> Creating postgres user dbmail. " - einfo "You may want to add a password for dbmail: " - einfo "`psql -c "ALTER USER dbmail WITH PASSWORD 'secret';"`" - createuser -U postgres -a -d dbmail - einfo ">>> Creating postgres database dbmail. " - createdb dbmail - psql -U dbmail dbmail < /home/dbmail/sql/postgresql/create_tables.pgsql - else - einfo ">>> Creating mysql database dbmail. " - mysqladmin create dbmail - mysql dbmail < /home/dbmail/sql/mysql/create_tables_innoDB.mysql - einfo "You may want to add a user for dbmail database " - einfo "GRANT ALL ON dbmail.* to dbmail@localhost identified by '' " - fi - einfo "Please read /usr/share/doc/${P}/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 "The next step is to add users to the db. Example: " - einfo " ./dbmail-users -a john -w secret -g 0 -m 25M " - einfo " -s john@dude.org john@dude.net @net.com" - 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.conf as well. :)" -} diff --git a/net-mail/dbmail/dbmail-2.0.6-r2.ebuild b/net-mail/dbmail/dbmail-2.0.6-r2.ebuild deleted file mode 100644 index 5210ab9..0000000 --- a/net-mail/dbmail/dbmail-2.0.6-r2.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils - -IUSE="ssl postgres mysql" - -DESCRIPTION="A mail transfer agent that uses MySQL or PostgreSQL as its data store" -HOMEPAGE="http://www.dbmail.org/" -SRC_URI="http://www.dbmail.org/download/2.0/${P}.tar.gz" - -DEPEND="openssl" - -RDEPEND="mysql? ( >=dev-db/mysql-4.0.12 ) - postgres? ( dev-db/postgresql )" - -SLOT="0" -LICENSE="gpl-2" -KEYWORDS="x86 amd64 ~ppc ~sparc" - -pkg_setup() { - - enewgroup dbmail - enewuser dbmail -1 /bin/bash /home/dbmail dbmail - einfo "Creating /home/dbmail if it does not exist." - if ! [ -d /home/dbmail ]; then - einfo "* Creating /home/dbmail" - mkdir /home/dbmail - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - #epatch ${FILESDIR}/dbmail-startup-gentoo.patch - epatch ${FILESDIR}/dbmail-2.0.4-fPIC.patch -} - -src_compile() { - if [ -n "`use mysql`" -a -n "`use postgres`" ]; then - eerror "Unfortunatly you can't have both MySQL and PostgreSQL enabled at the same time." - eerror "You have to remove either 'mysql' or 'postgres' from your USE flags before emerging this." - - has_version ">=sys-apps/portage-2.0.50" && ( - einfo "You can add:" - einfo "net-mail/dbmail [use flags]" - einfo "to the file:" - einfo "/etc/portage/package.use" - einfo "to permamently set this package's USE flags" - ) - - exit 1 - fi - - local myconf - - use mysql && myconf="$myconf --with-mysql" - use postgres && myconf="$myconf --with-pgsql" - - cd ${S} - ./configure --prefix=/usr \ - --with-openssl \ - $myconf || die - - emake || die "compile problem" - -} - -src_install() { - cd ${S} - make DESTDIR=${D} install || die "Install Problem" - - dodoc AUTHORS BUGS INSTALL EXTRAS ChangeLog COPYING \ - INSTALL.exim INSTALL.postfix INSTALL.qmail UPGRADING \ - VERSION NEWS README THANKS TODO - insinto /etc - doins dbmail.conf - - newinitd contrib/startup-scripts/gentoo/dbmail-imapd dbmail-imapd - newinitd contrib/startup-scripts/gentoo/dbmail-lmtpd dbmail-lmtpd - newinitd contrib/startup-scripts/gentoo/dbmail-pop3d dbmail-pop3d - dosed "s:/usr/local/sbin:/usr/sbin:" /etc/init.d/dbmail-imapd - dosed "s:/usr/local/sbin:/usr/sbin:" /etc/init.d/dbmail-lmtpd - dosed "s:/usr/local/sbin:/usr/sbin:" /etc/init.d/dbmail-pop3d - - dobin contrib/mailbox2dbmail/mailbox2dbmail - doman contrib/mailbox2dbmail/mailbox2dbmail.1 - - mkdir -p ${D}/home/dbmail/sql - cp -a sql ${D}/home/dbmail/ - -} - -pkg_postinst() { - install -d -m0755 -o dbmail -g dbmail ${ROOT}/var/run/dbmail - - einfo ">>> Execute the following command" - einfo ">>> ebuild /var/db/pkg/net-mail/${PF}/${PF}.ebuild config" - einfo ">>> to setup the initial database environment and " - einfo ">>> for more setup instructions." - einfo ">>> Database schemes can be found in /home/dbmail/sql" - einfo ">>> --- For maintenance ---" - einfo ">>> add this to crontab: 0 3 * * * /usr/bin/dbmail-util -cpdy >> /dev/null 2>&1 " -} - -pkg_config() { - - einfo ">>> Initializing the database user, databse, and tables ..." - if [ -n "`use postgres`" ]; then - einfo ">>> Creating postgres user dbmail. " - einfo "You may want to add a password for dbmail: " - einfo "`psql -c "ALTER USER dbmail WITH PASSWORD 'secret';"`" - createuser -U postgres -a -d dbmail - einfo ">>> Creating postgres database dbmail. " - createdb dbmail - psql -U dbmail dbmail < /home/dbmail/sql/postgresql/create_tables.pgsql - else - einfo ">>> Creating mysql database dbmail. " - mysqladmin create dbmail - mysql dbmail < /home/dbmail/sql/mysql/create_tables_innoDB.mysql - einfo "You may want to add a user for dbmail database " - einfo "GRANT ALL ON dbmail.* to dbmail@localhost identified by '' " - fi - einfo "Please read /usr/share/doc/${P}/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 "The next step is to add users to the db. Example: " - einfo " ./dbmail-users -a john -w secret -g 0 -m 25M " - einfo " -s john@dude.org john@dude.net @net.com" - 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.conf as well. :)" -} diff --git a/net-mail/dbmail/dbmail-2.0.6.ebuild b/net-mail/dbmail/dbmail-2.0.6.ebuild deleted file mode 100644 index 1cd5e58..0000000 --- a/net-mail/dbmail/dbmail-2.0.6.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils - -IUSE="ssl postgres mysql" - -DESCRIPTION="A mail transfer agent that uses MySQL or PostgreSQL as its data store" -HOMEPAGE="http://www.dbmail.org/" -SRC_URI="http://www.dbmail.org/download/2.0/${P}.tar.gz" - -DEPEND="openssl" - -RDEPEND="mysql? ( >=dev-db/mysql-4.0.12 ) - postgres? ( dev-db/postgresql )" - -SLOT="0" -LICENSE="gpl-2" -KEYWORDS="x86 amd64 ~ppc ~sparc" - -pkg_setup() { - - enewgroup dbmail - enewuser dbmail -1 /bin/bash /home/dbmail dbmail - einfo "Creating /home/dbmail if it does not exist." - if ! [ -d /home/dbmail ]; then - einfo "* Creating /home/dbmail" - mkdir /home/dbmail - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/dbmail-startup-gentoo.patch - epatch ${FILESDIR}/dbmail-2.0.4-fPIC.patch -} - -src_compile() { - if [ -n "`use mysql`" -a -n "`use postgres`" ]; then - eerror "Unfortunatly you can't have both MySQL and PostgreSQL enabled at the same time." - eerror "You have to remove either 'mysql' or 'postgres' from your USE flags before emerging this." - - has_version ">=sys-apps/portage-2.0.50" && ( - einfo "You can add:" - einfo "net-mail/dbmail [use flags]" - einfo "to the file:" - einfo "/etc/portage/package.use" - einfo "to permamently set this package's USE flags" - ) - - exit 1 - fi - - local myconf - - use mysql && myconf="$myconf --with-mysql" - use postgres && myconf="$myconf --with-pgsql" - - cd ${S} - ./configure --prefix=/usr \ - --with-openssl \ - $myconf || die - - emake || die "compile problem" - -} - -src_install() { - cd ${S} - make DESTDIR=${D} install || die "Install Problem" - - dodoc AUTHORS BUGS INSTALL EXTRAS ChangeLog COPYING \ - INSTALL.exim INSTALL.postfix INSTALL.qmail UPGRADING \ - VERSION NEWS README THANKS TODO - insinto /etc - doins dbmail.conf - - insinto /etc/conf.d - doins contrib/startup-scripts/gentoo/conf.d/dbmail-imapd - doins contrib/startup-scripts/gentoo/conf.d/dbmail-lmtpd - doins contrib/startup-scripts/gentoo/conf.d/dbmail-pop3d - - exeinto /etc/init.d - newexe contrib/startup-scripts/gentoo/init.d/dbmail-pop3d dbmail-pop3d - newexe contrib/startup-scripts/gentoo/init.d/dbmail-lmtpd dbmail-lmtpd - newexe contrib/startup-scripts/gentoo/init.d/dbmail-imapd dbmail-imapd - - dobin contrib/mailbox2dbmail/mailbox2dbmail - doman contrib/mailbox2dbmail/mailbox2dbmail.1 - - mkdir -p ${D}/home/dbmail/sql - cp -a sql ${D}/home/dbmail/ - -} - -pkg_postinst() { - install -d -m0755 -o dbmail -g dbmail ${ROOT}/var/run/dbmail - - einfo ">>> Execute the following command" - einfo ">>> ebuild /var/db/pkg/net-mail/${PF}/${PF}.ebuild config" - einfo ">>> to setup the initial database environment and " - einfo ">>> for more setup instructions." - einfo ">>> Database schemes can be found in /home/dbmail/sql" - einfo ">>> --- For maintenance ---" - einfo ">>> add this to crontab: 0 3 * * * /usr/bin/dbmail-util -cpdy >> /dev/null 2>&1 " -} - -pkg_config() { - - einfo ">>> Initializing the database user, databse, and tables ..." - if [ -n "`use postgres`" ]; then - einfo ">>> Creating postgres user dbmail. " - einfo "You may want to add a password for dbmail: " - einfo "`psql -c "ALTER USER dbmail WITH PASSWORD 'secret';"`" - createuser -U postgres -a -d dbmail - einfo ">>> Creating postgres database dbmail. " - createdb dbmail - psql -U dbmail dbmail < /home/dbmail/sql/postgresql/create_tables.pgsql - else - einfo ">>> Creating mysql database dbmail. " - mysqladmin create dbmail - mysql dbmail < /home/dbmail/sql/mysql/create_tables_innoDB.mysql - einfo "You may want to add a user for dbmail database " - einfo "GRANT ALL ON dbmail.* to dbmail@localhost identified by '' " - fi - einfo "Please read /usr/share/doc/${P}/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 "The next step is to add users to the db. Example: " - einfo " ./dbmail-users -a john -w secret -g 0 -m 25M " - einfo " -s john@dude.org john@dude.net @net.com" - 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.conf as well. :)" -} diff --git a/net-mail/dbmail/dbmail-2.0.7.ebuild b/net-mail/dbmail/dbmail-2.0.7.ebuild deleted file mode 100644 index 5fa97ee..0000000 --- a/net-mail/dbmail/dbmail-2.0.7.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils - -IUSE="ssl postgres mysql" - -DESCRIPTION="A mail transfer agent that uses MySQL or PostgreSQL as its data store" -HOMEPAGE="http://www.dbmail.org/" -SRC_URI="http://www.dbmail.org/download/2.0/${P}.tar.gz" - -DEPEND="ssl? ( dev-libs/openssl ) - postgres? ( >=dev-db/postgresql-7.4 ) - mysql? ( >=virtual/mysql-4.1 ) -" - -SLOT="0" -LICENSE="gpl-2" -KEYWORDS="x86 amd64 ~ppc ~sparc" - -pkg_setup() { - - enewgroup dbmail - enewuser dbmail -1 /bin/bash /home/dbmail dbmail - einfo "Creating /home/dbmail if it does not exist." - if ! [ -d /home/dbmail ]; then - einfo "* Creating /home/dbmail" - mkdir /home/dbmail - fi -} - -src_unpack() { - unpack ${A} - cd ${S} -} - -src_compile() { - if [ -n "`use mysql`" -a -n "`use postgres`" ]; then - eerror "Unfortunatly you can't have both MySQL and PostgreSQL enabled at the same time." - eerror "You have to remove either 'mysql' or 'postgres' from your USE flags before emerging this." - - has_version ">=sys-apps/portage-2.0.50" && ( - einfo "You can add:" - einfo "net-mail/dbmail [use flags]" - einfo "to the file:" - einfo "/etc/portage/package.use" - einfo "to permamently set this package's USE flags" - ) - - exit 1 - fi - - local myconf - - use mysql && myconf="$myconf --with-mysql" - use postgres && myconf="$myconf --with-pgsql" - - cd ${S} - ./configure --prefix=/usr \ - --with-openssl \ - $myconf || die - - emake || die "compile problem" - -} - -src_install() { - cd ${S} - make DESTDIR=${D} install || die "Install Problem" - - dodoc AUTHORS BUGS INSTALL EXTRAS ChangeLog COPYING \ - INSTALL.exim INSTALL.postfix INSTALL.qmail UPGRADING \ - VERSION NEWS README THANKS TODO - insinto /etc - doins dbmail.conf - - newinitd contrib/startup-scripts/gentoo/dbmail-imapd dbmail-imapd - newinitd contrib/startup-scripts/gentoo/dbmail-lmtpd dbmail-lmtpd - newinitd contrib/startup-scripts/gentoo/dbmail-pop3d dbmail-pop3d - dosed "s:/usr/local/sbin:/usr/sbin:" /etc/init.d/dbmail-imapd - dosed "s:/usr/local/sbin:/usr/sbin:" /etc/init.d/dbmail-lmtpd - dosed "s:/usr/local/sbin:/usr/sbin:" /etc/init.d/dbmail-pop3d - - dobin contrib/mailbox2dbmail/mailbox2dbmail - doman contrib/mailbox2dbmail/mailbox2dbmail.1 - - mkdir -p ${D}/home/dbmail/sql - cp -a sql ${D}/home/dbmail/ - -} - -pkg_postinst() { - install -d -m0755 -o dbmail -g dbmail ${ROOT}/var/run/dbmail - - einfo ">>> Execute the following command" - einfo ">>> ebuild /var/db/pkg/net-mail/${PF}/${PF}.ebuild config" - einfo ">>> to setup the initial database environment and " - einfo ">>> for more setup instructions." - einfo ">>> Database schemes can be found in /home/dbmail/sql" - einfo ">>> --- For maintenance ---" - einfo ">>> add this to crontab: 0 3 * * * /usr/bin/dbmail-util -cpdy >> /dev/null 2>&1 " -} - -pkg_config() { - - einfo ">>> Initializing the database user, databse, and tables ..." - if [ -n "`use postgres`" ]; then - einfo ">>> Creating postgres user dbmail. " - einfo "You may want to add a password for dbmail: " - einfo "`psql -c "ALTER USER dbmail WITH PASSWORD 'secret';"`" - createuser -U postgres -a -d dbmail - einfo ">>> Creating postgres database dbmail. " - createdb dbmail - psql -U dbmail dbmail < /home/dbmail/sql/postgresql/create_tables.pgsql - else - einfo ">>> Creating mysql database dbmail. " - mysqladmin create dbmail - mysql dbmail < /home/dbmail/sql/mysql/create_tables_innoDB.mysql - einfo "You may want to add a user for dbmail database " - einfo "GRANT ALL ON dbmail.* to dbmail@localhost identified by '' " - fi - einfo "Please read /usr/share/doc/${P}/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 "The next step is to add users to the db. Example: " - einfo " ./dbmail-users -a john -w secret -g 0 -m 25M " - einfo " -s john@dude.org john@dude.net @net.com" - 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.conf as well. :)" -} diff --git a/net-mail/dbmail/dbmail-2.2.11.ebuild b/net-mail/dbmail/dbmail-2.2.11.ebuild deleted file mode 100644 index ac51c95..0000000 --- a/net-mail/dbmail/dbmail-2.2.11.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/Attic/dbmail-2.2.11.ebuild,v 1.7 2010/06/17 21:53:54 patrick Exp $ - -inherit eutils multilib python - -MY_P="${P/_/-}" # for rcX was without the - for versions < 2.2.6 -#MY_P="${P}" # releases -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/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="ldap mysql postgres sieve sqlite ssl static python" - -DEPEND="ssl? ( dev-libs/openssl ) - postgres? ( dev-db/postgresql-server ) - mysql? ( >=virtual/mysql-4.1 ) - sqlite? ( >=dev-db/sqlite-3.0 ) - !mysql? ( !postgres? ( !sqlite? ( >=dev-db/sqlite-3.0 ) ) ) - sieve? ( >=mail-filter/libsieve-2.2.1 ) - ldap? ( >=net-nds/openldap-2.3.33 ) - python? ( net-zope/zope-interface ) - app-text/asciidoc - app-text/xmlto - sys-libs/zlib - =dev-libs/gmime-2.2* - >=dev-libs/glib-2.8" - -S=${WORKDIR}/${P/_/-} - -pkg_setup() { - enewgroup dbmail - enewuser dbmail -1 -1 /var/lib/dbmail dbmail -} - -src_compile() { - use sqlite && myconf="--with-sqlite" - if ! use postgres && ! use mysql && ! use sqlite; then myconf="${myconf} --with-sqlite" ; fi - 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 ChangeLog README* INSTALL NEWS THANKS UPGRADING VERSION - - docinto sql/mysql - dodoc sql/mysql/* - docinto sql/postgresql - dodoc sql/postgresql/* - docinto sql/sqlite - dodoc sql/sqlite/* - docinto test-scripts - dodoc test-scripts/* - docinto contrib/sql2sql - dodoc contrib/sql2sql - docinto contrib/mailbox2dbmail - dodoc contrib/mailbox2dbmail - docinto contrib - dodoc contrib/quota_warn.pl - - sed -i -e "s:nobody:dbmail:" dbmail.conf - sed -i -e "s:nogroup:dbmail:" dbmail.conf - #sed -i -e "s:#library_directory:library_directory:" dbmail.conf - - insinto /etc/dbmail - newins dbmail.conf dbmail.conf.dist - - # change config path to our default and use the conf.d and init.d files from the contrib dir - sed -i -e "s:/etc/dbmail.conf:/etc/dbmail/dbmail.conf:" contrib/startup-scripts/gentoo/init.d-dbmail - newconfd contrib/startup-scripts/gentoo/conf.d-dbmail dbmail - newinitd contrib/startup-scripts/gentoo/init.d-dbmail dbmail - - dobin contrib/mailbox2dbmail/mailbox2dbmail - doman contrib/mailbox2dbmail/mailbox2dbmail.1 - - # ldap schema - if use ldap; then - insinto /etc/openldap/schema - doins "${S}/dbmail.schema" - fi - - if use python; then - insinto $(python_get_sitedir)/dbmail - doins python/*.py - insinto $(python_get_sitedir)/dbmail/app - doins python/app/*.py - insinto $(python_get_sitedir)/dbmail/bin - doins python/bin/*.py - insinto $(python_get_sitedir)/dbmail/lib - doins python/lib/*.py - insinto $(python_get_sitedir)/dbmail/tests - doins python/tests/*.py - fi - - keepdir /var/lib/dbmail - fperms 750 /var/lib/dbmail - -} - -pkg_postinst() { - if use python; then - python_mod_optimize $(python_get_sitedir)/dbmail - fi - elog "Please read the INSTALL file in /usr/share/doc/${PF}/" - 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." - echo - elog "DBMail requires either SQLite, PostgreSQL or MySQL." - elog "If none of the use-flags are specified SQLite is" - elog "used as default. To use another database please" - elog "specify the appropriate use-flag and re-emerge dbmail." - echo - 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." - echo - elog "For regular maintenance, add this to crontab:" - elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1" - echo - elog "Please make sure to run etc-update." - elog "If you get an error message about plugins not found" - elog "please add the library_directory configuration switch to" - elog "dbmail.conf and set it to the correct path" - elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)" - elog "A sample can be found in dbmail.conf.dist after etc-update." - echo - elog "We are now using the init script from upstream." - elog "Please edit /etc/conf.d/dbmail to set which services to start" - elog "and delete /etc/init.d/dbmail-* when you are done. (don't" - elog "forget to rc-update del dbmail-* first)" -} - -pkg_postrm() { - python_mod_cleanup $(python_get_sitedir)/dbmail -} diff --git a/net-mail/dbmail/dbmail-2.2.15.ebuild b/net-mail/dbmail/dbmail-2.2.15.ebuild deleted file mode 100644 index 0840167..0000000 --- a/net-mail/dbmail/dbmail-2.2.15.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/Attic/dbmail-2.2.15.ebuild,v 1.3 2010/06/17 21:53:54 patrick Exp $ - -EAPI="1" -inherit eutils multilib python - -MY_P="${P/_/-}" # for rcX was without the - for versions < 2.2.6 -#MY_P="${P}" # releases -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/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="ldap mysql postgres sieve sqlite ssl static python" - -DEPEND="ssl? ( dev-libs/openssl ) - postgres? ( dev-db/postgresql-server ) - mysql? ( >=virtual/mysql-4.1 ) - sqlite? ( >=dev-db/sqlite-3.0 ) - !mysql? ( !postgres? ( !sqlite? ( >=dev-db/sqlite-3.0 ) ) ) - sieve? ( >=mail-filter/libsieve-2.2.1 ) - ldap? ( >=net-nds/openldap-2.3.33 ) - python? ( net-zope/zope-interface ) - app-text/asciidoc - app-text/xmlto - sys-libs/zlib - >=dev-libs/gmime-2.2.10:0 - >=dev-libs/glib-2.8" - -S=${WORKDIR}/${P/_/-} - -pkg_setup() { - enewgroup dbmail - enewuser dbmail -1 -1 /var/lib/dbmail dbmail -} - -src_compile() { - use sqlite && myconf="--with-sqlite" - if ! use postgres && ! use mysql && ! use sqlite; then myconf="${myconf} --with-sqlite" ; fi - 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 ChangeLog README* INSTALL NEWS THANKS UPGRADING VERSION - - docinto sql/mysql - dodoc sql/mysql/* - docinto sql/postgresql - dodoc sql/postgresql/* - docinto sql/sqlite - dodoc sql/sqlite/* - docinto test-scripts - dodoc test-scripts/* - docinto contrib/sql2sql - dodoc contrib/sql2sql - docinto contrib/mailbox2dbmail - dodoc contrib/mailbox2dbmail - docinto contrib - dodoc contrib/quota_warn.pl - - sed -i -e "s:nobody:dbmail:" dbmail.conf - sed -i -e "s:nogroup:dbmail:" dbmail.conf - #sed -i -e "s:#library_directory:library_directory:" dbmail.conf - - insinto /etc/dbmail - newins dbmail.conf dbmail.conf.dist - - # change config path to our default and use the conf.d and init.d files from the contrib dir - sed -i -e "s:/etc/dbmail.conf:/etc/dbmail/dbmail.conf:" contrib/startup-scripts/gentoo/init.d-dbmail - newconfd contrib/startup-scripts/gentoo/conf.d-dbmail dbmail - newinitd contrib/startup-scripts/gentoo/init.d-dbmail dbmail - - dobin contrib/mailbox2dbmail/mailbox2dbmail - doman contrib/mailbox2dbmail/mailbox2dbmail.1 - - # ldap schema - if use ldap; then - insinto /etc/openldap/schema - doins "${S}/dbmail.schema" - fi - - if use python; then - insinto $(python_get_sitedir)/dbmail - doins python/*.py - insinto $(python_get_sitedir)/dbmail/app - doins python/app/*.py - insinto $(python_get_sitedir)/dbmail/bin - doins python/bin/*.py - insinto $(python_get_sitedir)/dbmail/lib - doins python/lib/*.py - insinto $(python_get_sitedir)/dbmail/tests - doins python/tests/*.py - fi - - keepdir /var/lib/dbmail - fperms 750 /var/lib/dbmail - -} - -pkg_postinst() { - if use python; then - python_mod_optimize $(python_get_sitedir)/dbmail - fi - elog "Please read the INSTALL file in /usr/share/doc/${PF}/" - 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." - echo - elog "DBMail requires either SQLite, PostgreSQL or MySQL." - elog "If none of the use-flags are specified SQLite is" - elog "used as default. To use another database please" - elog "specify the appropriate use-flag and re-emerge dbmail." - echo - 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." - echo - elog "For regular maintenance, add this to crontab:" - elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1" - echo - elog "Please make sure to run etc-update." - elog "If you get an error message about plugins not found" - elog "please add the library_directory configuration switch to" - elog "dbmail.conf and set it to the correct path" - elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)" - elog "A sample can be found in dbmail.conf.dist after etc-update." - echo - elog "We are now using the init script from upstream." - elog "Please edit /etc/conf.d/dbmail to set which services to start" - elog "and delete /etc/init.d/dbmail-* when you are done. (don't" - elog "forget to rc-update del dbmail-* first)" -} - -pkg_postrm() { - python_mod_cleanup $(python_get_sitedir)/dbmail -} diff --git a/net-mail/dbmail/dbmail-2.2.17.ebuild b/net-mail/dbmail/dbmail-2.2.17.ebuild deleted file mode 100644 index 0581147..0000000 --- a/net-mail/dbmail/dbmail-2.2.17.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/Attic/dbmail-2.2.17.ebuild,v 1.4 2012/09/07 12:37:47 lordvan Exp $ - -EAPI="2" -inherit eutils multilib python - -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="amd64 x86" -IUSE="ldap mysql postgres sieve +sqlite static python" - -DEPEND="postgres? ( dev-db/postgresql-server ) - mysql? ( >=virtual/mysql-4.1 ) - sqlite? ( >=dev-db/sqlite-3.0 ) - sieve? ( >=mail-filter/libsieve-2.2.1 ) - ldap? ( >=net-nds/openldap-2.3.33 ) - python? ( net-zope/zope-interface ) - app-text/asciidoc - app-text/xmlto - sys-libs/zlib - >=dev-libs/gmime-2.2.10:0 - >=dev-libs/glib-2.8" -RDEPEND="${DEPEND}" - -pkg_setup() { - enewgroup dbmail - enewuser dbmail -1 -1 /var/lib/dbmail dbmail - if ! use postgres && ! use mysql && ! use sqlite; then - ewarn "No database backend selected. Sqlite will be turned on..." - fi -} - -src_configure() { - local myconf="" - if ! use postgres && ! use mysql && ! use sqlite; then - myconf="${myconf} --with-sqlite" - fi - use ldap && myconf=${myconf}" --with-auth-ldap" - - econf \ - --sysconfdir=/etc/dbmail \ - $(use_enable static) \ - $(use_with sieve) \ - $(use_with postgres pgsql) \ - $(use_with mysql) \ - $(use_with sqlite) \ - ${myconf} -} - -src_compile() { - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - dodoc AUTHORS BUGS ChangeLog README* INSTALL NEWS THANKS UPGRADING VERSION - - docinto sql/mysql - dodoc sql/mysql/* - docinto sql/postgresql - dodoc sql/postgresql/* - docinto sql/sqlite - dodoc sql/sqlite/* - docinto test-scripts - dodoc test-scripts/* - docinto contrib/sql2sql - dodoc contrib/sql2sql/* - docinto contrib/mailbox2dbmail - dodoc contrib/mailbox2dbmail/README - docinto contrib - dodoc contrib/quota_warn.pl - - sed -i -e "s:nobody:dbmail:" dbmail.conf - sed -i -e "s:nogroup:dbmail:" dbmail.conf - #sed -i -e "s:#library_directory:library_directory:" dbmail.conf - - insinto /etc/dbmail - newins dbmail.conf dbmail.conf.dist - - # change config path to our default and use the conf.d and init.d files from the contrib dir - sed -i -e "s:/etc/dbmail.conf:/etc/dbmail/dbmail.conf:" contrib/startup-scripts/gentoo/init.d-dbmail - sed -i -e "s:exit 0:return 1:" contrib/startup-scripts/gentoo/init.d-dbmail - newconfd contrib/startup-scripts/gentoo/conf.d-dbmail dbmail - newinitd contrib/startup-scripts/gentoo/init.d-dbmail dbmail - - dobin contrib/mailbox2dbmail/mailbox2dbmail - doman contrib/mailbox2dbmail/mailbox2dbmail.1 - doman man/*.{1,5,8} - - # ldap schema - if use ldap; then - insinto /etc/openldap/schema - doins "${S}/dbmail.schema" - fi - - if use python; then - insinto $(python_get_sitedir)/dbmail - doins python/*.py - insinto $(python_get_sitedir)/dbmail/app - doins python/app/*.py - insinto $(python_get_sitedir)/dbmail/bin - doins python/bin/*.py - insinto $(python_get_sitedir)/dbmail/lib - doins python/lib/*.py - insinto $(python_get_sitedir)/dbmail/tests - doins python/tests/*.py - fi - - keepdir /var/lib/dbmail - fperms 750 /var/lib/dbmail -} - -pkg_postinst() { - if use python; then - python_mod_optimize $(python_get_sitedir)/dbmail - fi - elog "Please read the INSTALL file in /usr/share/doc/${PF}/" - 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." - echo - elog "DBMail requires either SQLite, PostgreSQL or MySQL." - elog "If none of the use-flags are specified SQLite is" - elog "used as default. To use another database please" - elog "specify the appropriate use-flag and re-emerge dbmail." - echo - 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." - echo - elog "For regular maintenance, add this to crontab:" - elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1" - echo - elog "Please make sure to run etc-update." - elog "If you get an error message about plugins not found" - elog "please add the library_directory configuration switch to" - elog "dbmail.conf and set it to the correct path" - elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)" - elog "A sample can be found in dbmail.conf.dist after etc-update." - echo - elog "We are now using the init script from upstream." - elog "Please edit /etc/conf.d/dbmail to set which services to start" - elog "and delete /etc/init.d/dbmail-* when you are done. (don't" - elog "forget to rc-update del dbmail-* first)" -} - -pkg_postrm() { - python_mod_cleanup $(python_get_sitedir)/dbmail -} diff --git a/net-mail/dbmail/dbmail-2.2.9.ebuild b/net-mail/dbmail/dbmail-2.2.9.ebuild deleted file mode 100644 index 32e47e0..0000000 --- a/net-mail/dbmail/dbmail-2.2.9.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/Attic/dbmail-2.2.9.ebuild,v 1.11 2010/06/17 21:53:54 patrick Exp $ - -inherit eutils - -MY_P="${P/_/}" # for rcX -#MY_P="${P}" # releases -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/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="ldap mysql postgres sieve sqlite ssl static" - -DEPEND="ssl? ( dev-libs/openssl ) - postgres? ( dev-db/postgresql-server ) - mysql? ( >=virtual/mysql-4.1 ) - sqlite? ( >=dev-db/sqlite-3.0 ) - !mysql? ( !postgres? ( !sqlite? ( >=dev-db/sqlite-3.0 ) ) ) - sieve? ( >=mail-filter/libsieve-2.2.1 ) - ldap? ( >=net-nds/openldap-2.3.33 ) - app-text/asciidoc - app-text/xmlto - sys-libs/zlib - =dev-libs/gmime-2.2* - >=dev-libs/glib-2.8" - -S=${WORKDIR}/${P/_/-} - -pkg_setup() { - enewgroup dbmail - enewuser dbmail -1 -1 /var/lib/dbmail dbmail -} - -src_compile() { - use sqlite && myconf="--with-sqlite" - if ! use postgres && ! use mysql && ! use sqlite; then myconf="${myconf} --with-sqlite" ; fi - 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/* - - cp dbmail.conf.dist dbmail.conf - sed -i -e "s:nobody:dbmail:" dbmail.conf - sed -i -e "s:nogroup:dbmail:" dbmail.conf - #sed -i -e "s:#library_directory:library_directory:" 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 "Please read the INSTALL file in /usr/share/doc/${PF}/" - 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." - echo - elog "DBMail requires either SQLite, PostgreSQL or MySQL." - elog "If none of the use-flags are specified SQLite is" - elog "used as default. To use another database please" - elog "specify the appropriate use-flag and re-emerge dbmail." - echo - 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." - echo - elog "For regular maintenance, add this to crontab:" - elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1" - echo - elog "Please make sure to run etc-update." - elog "If you get an error message about plugins not found" - elog "please add the library_directory configuration switch to" - elog "dbmail.conf and set it to the correct path" - elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)" - elog "A sample can be found in dbmail.conf.dist after etc-update." -}