Versión parchada de Dbmail por el mismo bug de RETURNING de Dbmail 2.0
This commit is contained in:
parent
3031019855
commit
3879d26fef
2 changed files with 4 additions and 142 deletions
|
@ -1,5 +1,6 @@
|
|||
AUX 3.0-header_cache_perf.patch 2161 SHA256 305fb2dda6764da5357e52d11ee593d1516ccc449cfbf98cf7aff972c78443e6 SHA512 77df1f39e3c9815a96fff510d24ed32d9229e582ac84c0af4f548cd49b6f9806eaf9f5eaf514c205b6604d1be927ddf782d6c3c867f102b54435cc2bd496357c WHIRLPOOL f182b7cca54edd604fe4686b0be313a5a78ef21315eafac5e7d91656f6c14eebb07ee8e709fa9d6be09c0d8d657a423b55201190035199719e55dcb0823e6ddf
|
||||
AUX 3.0-pgsql-RETURNING.patch 1926 SHA256 51cfb57cfc982d1afba0c2fc57c2cc8fcf4b5231311e3fd5cbe1852e4fbc13b3 SHA512 12ca88c042c1cf9bdece97bae51825c9ced2e598060710bd1e5ee848219bc50727da23c26a32992052565ab8202ba9db65b31c4726817f3eed1bb02ad69168b3 WHIRLPOOL 02fce15de9b2e859738fdbaef379b01691004746fb3881d81368e6e1175f7b0b8d4dd8ec01d615914469670d9fb5c80fb61550865a0db3875bcbaaf69ea20b91
|
||||
AUX 3.0-pgsql-RETURNING.patch 1746 SHA256 78be713ff870deb5a4106ffd6e8a1f579639420df5066262439e9f6872582551 SHA512 18b52050eeee5e04cbb4324048938d913fc9be774a4b3f9cd034a00448cc3db7f55c7140be9436b38fd24a513b2c533dd8e4572caa02399e02fd4ca07b818e1e WHIRLPOOL 20bbb6894f30ca4b5ae2c8f8bac7b83dc9563a2d79f94da79502259e888308e8790a047c2a5a5357ca0977f26bd48484b1c21d4d0954c0c182af968127c2e185
|
||||
AUX 3.2-pgsql-RETURNING.patch 1774 SHA256 b8e5182bbca07431ace8728374cd839ed17d7a0bdba079ff19b7c227c3746852 SHA512 7bbb56d74daa575d0b54c15be45cf6b11b1f3e7ce0aca9e9c2028690b9e8667f3438667d34cb1400c2759957a241bc93171f111a20b134f639915070b46c2e21 WHIRLPOOL 784bbc9f1b750748ff80a73f890de590ebbb907eb207455e0fadf24c7e5b5d9da7cf1f203c59655ac237f79059d22b55dd2664fe43a529f22b6dced84d943a2e
|
||||
AUX dbmail-2.0.11-lcrypt.patch 642 SHA256 9f36e404eac0ba733f2386db27b05fe55693148ee04ca296824cecfaf41f5737 SHA512 aa3c25ab2206f104e4de6b20929d55c0e3ceeebd41a670dea553797486696b145feee47f720f4043a1b1fa6b37c73c1684eeb467eace5142e1090a08b63044ff WHIRLPOOL 111332025c7b4b1dbbfbf43c6c59ef26cef3f846075dbeb40bd201d27e37fe8dcff211c884b008000c63ff53ce55a05b8b2b4da710f3764c2d567fb3981e543f
|
||||
AUX dbmail-2.0.4-01_quota.patch 5108 SHA256 84c977684a26bd0a77a81c66e63e889d2d2acf9e9bac51b8b9d3aeb71f4ebc77 SHA512 3cbc50be3d2766185a37e627e7e2b7f737a083821755b099b6fade2aa3163ca291b368346a961c32dd40892dd3de64c6fa901980fa8c5d54e573a3b9d7e1d050 WHIRLPOOL 1134c9883332e6da351ed516485ed07f4187451d3cd5ef8358e4f2e762f75e09c4e12b0a723f7bd93282b36913f2713eaef902721a0060503f41ae3c571bf15e
|
||||
AUX dbmail-2.0.4-fPIC.patch 2871 SHA256 2afd521204639963903b5148c1db8b062ce5731f12ca6c5da63b2ca2cadd8e3e SHA512 dffcc1f79bb1dd4e38aa1842c1aac38fde44ef56c0152013eecabb293154d2d0045596f13321f4c07aaee63e5cf02663305042db5842d612bef461c98fbb67ef WHIRLPOOL 1a1f0f5f7b8e7bf0eaa02fc84e8a1486cbe268199f4724b3d718e5e9c2108a7e3d9f39b81dd4f5c3bd8dafee4be36d705a432b281deda9981854939ec5d81198
|
||||
|
@ -11,5 +12,7 @@ AUX dbmail-pop3d.rc 540 SHA256 943bac2beedb76903efaf3c990b09a44eaf89cf5f937ef997
|
|||
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-3.0.2.tar.gz 867560 SHA256 139558f4fa3e0f460d688f6d29318366cc3f40dd570a1a29484bb580d0190c3e SHA512 ca1d30a114c1b2b8968227ed678e3857c6d5cb98eb9e7086d45c32b4e957396971bd76cfe2e278fe904fbe8a8ded53199ded76da300d9835b324839e42532834 WHIRLPOOL a79d8b344361bd032446e99bbbb865e798db54e60a730cb7191112e4320ca130d194d8a1ad2d676673b2bb06e50e9cc1ccc78a8a1fc7edcb2a9b3eeeb7841500
|
||||
DIST dbmail-3.2.2.tar.gz 2444241 SHA256 77d2fcf343cc1312fca565a9eeef3927b257b55910be2b198562516334a2c62a SHA512 a2125ea3b9d0ec387135d87854510f36ef0fe87b70f33d54f8af89f22a83802e5838979ba94d6ba66ef986f6f67b08aa6d5e2bfc2f1f2bc44edf03a9f51afb37 WHIRLPOOL 8fa60754e55b56e293a187cd10922586e1c38c0079e8f6eb98b8aaba503705046cf7b6954f677bb295ea799f9261ef62c8589433657a0ad2775dd2cfa1d1ee15
|
||||
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
|
||||
EBUILD dbmail-3.2.2-r1.ebuild 5027 SHA256 75af29fc719c1d5d4865b8b668a93bc68609ba178c2e62c96610a53950cb8aa7 SHA512 3a127188c4f5841e08e535e7da2c526423bb2fdb309b9a351f9bceff930f7826ea345fb94a57f7265da67c2aa98d872fe9d98847d39dde52f88c054dfae918c1 WHIRLPOOL 73072e18d5dac22fb6ced066e15ab28b7882e7078d242deb080b1cb9251b3bbc066afba5d173773b3ce3bba5b5e10d97a3d3bc2a2583acf08e21a306dc859513
|
||||
|
|
|
@ -1,141 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-3.2.2.ebuild,v 1.4 2015/03/22 12:53:43 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils multilib versionator user
|
||||
|
||||
DESCRIPTION="DBMail is an open-source project that enables storage of mail messages in a relational database"
|
||||
HOMEPAGE="http://www.dbmail.org/"
|
||||
SRC_URI="http://www.dbmail.org/download/$(get_version_component_range 1-2)/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="ldap sieve +sqlite ssl static"
|
||||
|
||||
DEPEND="dev-db/libzdb
|
||||
sieve? ( >=mail-filter/libsieve-2.2.1 )
|
||||
ldap? ( >=net-nds/openldap-2.3.33 )
|
||||
app-text/asciidoc
|
||||
app-text/xmlto
|
||||
app-crypt/mhash
|
||||
sys-libs/zlib
|
||||
dev-libs/gmime:2.6
|
||||
>=dev-libs/glib-2.16
|
||||
dev-libs/libevent
|
||||
ssl? ( dev-libs/openssl )"
|
||||
#asciidoc and xmlto needed?
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup dbmail
|
||||
enewuser dbmail -1 -1 /var/lib/dbmail dbmail
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
use ldap && myconf=${myconf}" --with-auth-ldap"
|
||||
|
||||
econf \
|
||||
--sysconfdir=/etc/dbmail \
|
||||
$(use_enable static) \
|
||||
$(use_with sieve) \
|
||||
${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
|
||||
|
||||
docompress -x /usr/share/doc/${PF}/sql
|
||||
dodoc -r sql
|
||||
dodoc -r test-scripts
|
||||
dodoc -r contrib
|
||||
## TODO: install other contrib stuff
|
||||
|
||||
sed -i -e "s:nobody:dbmail:" dbmail.conf
|
||||
sed -i -e "s:nogroup:dbmail:" dbmail.conf
|
||||
sed -i -e "s:/var/run:/var/run/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
|
||||
#sed -i -e "s:/var/run:/var/run/dbmail:" 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
|
||||
# use custom init scripts until updated in upstream contrib
|
||||
newinitd "${FILESDIR}/dbmail-imapd.initd" dbmail-imapd
|
||||
newinitd "${FILESDIR}/dbmail-lmtpd.initd" dbmail-lmtpd
|
||||
newinitd "${FILESDIR}/dbmail-pop3d.initd" dbmail-pop3d
|
||||
newinitd "${FILESDIR}/dbmail-timsieved.initd" dbmail-timsieved
|
||||
|
||||
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
|
||||
|
||||
keepdir /var/lib/dbmail
|
||||
fperms 750 /var/lib/dbmail
|
||||
fowners dbmail:dbmail /var/lib/dbmail
|
||||
# create this through init-scripts instead of at installt ime (bug #455002)
|
||||
#keepdir /var/run/dbmail
|
||||
#fowners dbmail:dbmail /var/run/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 "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)"
|
||||
echo
|
||||
elog "Changed pid directory to /var/run/dbmail (see"
|
||||
elog "http://www.dbmail.org/mantis/view.php?id=949 for details)"
|
||||
echo
|
||||
ewarn "The database config has changed to support libzdb db URI"
|
||||
ewarn "Please check the documentation (or Bug #479664)"
|
||||
echo
|
||||
ewarn "The database schema has changed since 3.0.x make sure"
|
||||
ewarn "to run the migration script"
|
||||
echo
|
||||
ewarn "Please be aware, that the single init-script for all services"
|
||||
ewarn "has been replaced with seperate init scripts for the individual services."
|
||||
ewarn "Make sure to add dbmail-(imapd|lmtpd|pop3d|timsieved) using rc-update"
|
||||
ewarn "and remove dbmail if you want to take advantage of this change."
|
||||
echo
|
||||
}
|
Loading…
Reference in a new issue