net-mail/dbmail-3.3.0
This commit is contained in:
parent
ba77ecb0dc
commit
848417e73d
6 changed files with 116 additions and 12 deletions
|
@ -10,17 +10,19 @@ AUX dbmail-3.2.4-group_concat.patch 800 BLAKE2B 170453eaebcc4bd2c6f4bc433ef04014
|
|||
AUX dbmail-3.2.4-size.patch 715 BLAKE2B 607217605a34a6bc6a642c07d32420c1a615d2468d7ddb84d91f245624971d6c6fd9d99bba2bc9d7d8593a0e60397e3a2e9cdb3402e059ef8f8a93a79c40ae22 SHA512 b5d9599748a669b355ac4288ba83054a58d05b7a4910774874ba490b8c02b90fe71b101442ad3cdc572aad7206141125091b0e65245af15bde2a871ca36f2616
|
||||
AUX dbmail-3.2.5-crypt.patch 874 BLAKE2B bd550f1f0c0fe06b87c380a41a3a4a870978511871b4fd2d8367cf683d5fc0e7f66df2ae29abd94c7efca449294de69ea500e0e9f67c7d45c9216e1c64385d46 SHA512 abf0b859cadbb5eeceacd3c23edf7d94c90c70ebf6308de42ccb69e9bfbf59b0ac697f80476f2422647e5433d6f5ad4fc67262b302011b53c841e57fdb9ec39a
|
||||
AUX dbmail-3.2.5-debug.patch 1475 BLAKE2B c0c466c6dd1cb0f6479e81a280ad4746db7b36d175f6bca50649f4b7833ce527c269743267c0cecc92831d3d41297cfa468581741bdbd42f979b008764640170 SHA512 4be630f5c2cd9aaf2eb3cf37fa61c64c5bfe03f916d9de7936e212dcd16b8129fdf0d746fef0ca86b93552251bd21beaafca43e4564a2728861d59a1cc3b2207
|
||||
AUX dbmail-imapd.initd 726 BLAKE2B 98627190c184c837480c7fcbe5ee2afa7118de0a299a89c9d7b9a38fdb0b389df734504f79bb361d52324000e1dd2e6d20c64af47e1d81e2808e2cb3c8acc028 SHA512 3a9b175dfa189d74a241f770f701e07d0555e94c45ab162256d60972e4368bea7f9f040f2fa0e1d35969253d8c17fedf1d68f11e975084146d41219067f46486
|
||||
AUX dbmail-imapd.initd 734 BLAKE2B da923219b225e09f164983596519e2dae1b8abb60d443ec0d40fdb84d65ec94c2e01fae1b68a2d1ae63e768e94965b65c6437b18dc59d5658ccafb5fa2d9fef9 SHA512 a5544da0ebfe3eb0e50cd1b48058e1174241f07d626d097441c42374cb802643873c6e5fd5ba350980280a5b0ebeb953840151dea129fc0a170530104faa70f1
|
||||
AUX dbmail-imapd.rc 540 BLAKE2B 1aa1b0a64d62efb9c73313decdd34688c4ef193e5bb8f9aa530b2f8f849133f3d6732616e99342d5ab67671229fbd966efc79c9f827d196a45311946ab1f3174 SHA512 57e6eb07b2492543716f60306017cfff95db4872e0a16becf919ed2113f7ab8a802f6f83c9467ae0174185f13fd703dba4bbde0bf3b6b5e050da4336507d8158
|
||||
AUX dbmail-lmtpd.initd 726 BLAKE2B beb9d6396d906df897aabbbdb92cb30bd8f256c4bda58111a486bd668168e9db3c90672c02ab2faeb74cf7b36e71b943a6d982625a2dcd5a82c829ab1854cc9e SHA512 e0a0c50600ea151c9e2c19f0b460e85f91c560627a71c6133560804f7364ecc0506c052e2b6203df5921bb9d0941b25b2c80d28a9d4f0e3207a1684e86aed9cb
|
||||
AUX dbmail-pop3d.initd 726 BLAKE2B cfbdf36ef1a1f7feca659a760c968955af933228ed62d7d903e3462de1a9cec2b87258fcb501b8d037b03d0162f843a41f3a1b08ec530649cfec5aba9682d1c8 SHA512 56173abe17cd01d5401038e07ac9e0d1850eb7a2b2f36fbf58c132021ed50a274fb401385192d17df81b410e608e97eb0475e5bcf777ce2a542bd376afb2a00c
|
||||
AUX dbmail-lmtpd.initd 734 BLAKE2B 4fa37ee6b656fe1c31d3018d0d479bef7e47985d0d8346d7ae29caa1212e856eb69364e80a925c2fa9a2973b87d93490046191bc43017d6e8ec7ec049eedead3 SHA512 2b0faf81e224b23db59ac2358fa339ea73ab201a1c1dcc180ade69b42a2f1950906c5071740098e79d5ade7a66926ef0f5e3132b76414d654a733b0245e509ce
|
||||
AUX dbmail-pop3d.initd 734 BLAKE2B 241a90cb2fbd77cd09c46a9a7ccbe7bdada0fe53326cd748afa5139d9ac4a11e10e2e693ad6802f61c6ce835d622a951a9f32b6bd7c4cedf72920451768403ee SHA512 3d624d0096530b6ad406037f6b40e9fc7e891a23f624ed13e33613efa94499799a9965b67e274d8696c1a4641501d3cb8c0eadf3cd8008b255bbc76f014a29d9
|
||||
AUX dbmail-pop3d.rc 540 BLAKE2B 6d4ccd2508a38387a647c246dfccaab49520720834aa9094be6efc666b461f54bc6989ee960964cc7f6c70512bc703a9233c47a5347c2429e285afdb4d9f9ea8 SHA512 ed184a60ee72f1c6503ee14d00d2c2dbb5098895be1a5b87574418f20a68ea5e3843fef7fd77f2ac771fee8bd1ea564b804f916e23821304c8dcc5887d039045
|
||||
AUX dbmail-startup-gentoo.patch 10704 BLAKE2B f8c72aaf30254a24df0a583c419d7437f3d954939038a4002d935d990a2539189db621ead1fab7fc7f8cce31155cb262e46749131ca5071b08e226c32d43b38e SHA512 34f2544fb6f9b1e33dff1733c7bcb718117145da5ba037508e851f25f27df4f954158fbbae677d0240fbb3a43f2d48144566a6cddd821fcbfd6b40f369b71021
|
||||
AUX dbmail-timsieved.initd 712 BLAKE2B 7cf8719435b6b6a5c807d18b3cbd4ca937a20140a2ef05b3241137f30d362577c3b421c290cb26b31b5240bf848ed9bc2f00b0f50be6f88637fad5b4068eaf8f SHA512 8b3127072c664c6de173b4000920cac5df7b710785fd54839bf358ac6009cc296a586594b6086ca5c4ba10d4b19337c2b5befa2bea413396ef6ccc75dae4f505
|
||||
AUX dbmail-timsieved.initd 720 BLAKE2B 8c3e54cff980f804d54c1be0e8c009275cd0138b48db921a80337474530c6cd864bc1fad5ebc5819da6c4cbb1d6aab8e3c68fb29facf7fd2be535d1b483c32db SHA512 9127abfde2b6222a273ad28227f1e89e5a85e81386ef94a49d965308bfb62b3792c4ec53df59d7619a0adc71634433b811da6e92a2c5bc445ddd47baf1ab3a9b
|
||||
AUX dbmail.tmpfiles 35 BLAKE2B cdbb94deabfc3a971edbe7f2f2e49f3a8888b998318956d91c4b2b29ad9a5555cf7006511afdddc3115eaab7538143cc2316793d50d667de29f0f8326c9f73ad SHA512 291e579101e8ffeaa17298a7cf54c07f471de0ecbcf1559c394f965a8a0146b985fa2138c8e03c9a3712098225f5d46db959a7e312554ace0ab4c86b05d13b41
|
||||
DIST dbmail-3.2.3.tar.gz 2444227 BLAKE2B baa812fb3e925e6d896762596426208fc2ac5fcb01cb8100cfbd0464f1342f934c099ca52fd857e05fc82b97227155e9dcfc987d6c9b5c37e7daf21b167c9841 SHA512 29cc89830278f2ff28a4221fc81d4ff13cc371fbca7fb51d5376e9243234220b552cb4b6ec035c150e6cfa178435c4f36b9ce132fc02334bc6cdeb1a41c8ed85
|
||||
DIST dbmail-3.2.4.tar.gz 2461068 BLAKE2B 2aea108bd314f2f0f3ac5c1764683aa093f07b9642a2a25db08c8b765387ddbc2d02972ea3ede7e86de09aa7bb2d7a4c8423d2e3ab6831a5c613b93c97ee0e82 SHA512 34df0b17307e3d4bd255b4f3f9df59791379fc0b090a73af9dfb02f416747051cbc7a34039384906ab30d6208efbe9c470de9c950d3ace6129292ec8c8fb1786
|
||||
DIST dbmail-3.2.5.tar.gz 2463966 BLAKE2B f4099c6f869dbb041d7eccdf20f3a34d36918237cc0386c71a1d339da8651b9301e676b25201856038045bb9590f880353c6ccafd57330f9cf48382c1b4c603c SHA512 6b0d7e1f6f7449869db1e094ffce9e1ef315c60784ea5ae5f814f2cf9a18c358b4c5d107a420c7317961ffa343fc59c9083789177514aee96523927688f276a0
|
||||
DIST dbmail-3.2.6.tar.gz 2520233 BLAKE2B 55e818a825c4c798b89790b1faa50245dd433f5cc0268e5908bf802cda2755881b5c1d9ce581e21166d8259a2081237d6c2dd88a0f5d4df14456791e414a3bcb SHA512 1b5b1e843415100151ac46f58ece228f04e330d8816301532d6cd889736afb1b7786f4a2162361de0fa8756173848402c769aa91cceb8c1e1abb962b839fc39f
|
||||
DIST dbmail-3.3.0.tar.gz 2520817 BLAKE2B 4e3423fa7b8b5abe37e0a91afc9accb47dd88dc9d116632d27f206e062d1601e3b2e99b1286f7d0ee8241f72606bcb898385f56f926ba731623ff4f8ffdaf86c SHA512 50b778b409350035a97f44d4bd0c139331e6d3ada4116fb94e910ee20c84e677d78187bd7f35b0efc09bef82cf6c8d5108860e2357363edbd51f99c0ac85239a
|
||||
EBUILD dbmail-3.2.3-r102.ebuild 4749 BLAKE2B a5b5f821cd256bee124d0649b910718db20b679f76fde36ff5a82e51fbc15fade8380c99ebc367a68a2ecd7c7ab1b9c43c4ea00f27d1a8f5408968ec2db16071 SHA512 aabb8ce3bd21b133cf32bd9323a5970d8c173be6d13ba013e7d99107b7370545ac6dde716f395fcdd83e185358b87a0275f30a87ae0076817038eed959baac4c
|
||||
EBUILD dbmail-3.2.4-r2.ebuild 5029 BLAKE2B a54c7b4cd5f796f49334336f518d7c38c6aff9f0e10c7ba992dbe227ab19fe826470a1eefdef551826511ae64d50dfe2e2d1e57692af65254da4affc09b456c7 SHA512 bf0b4655f8b64d1dd27e665c2f9fcff74f598069c34ee2ed0d6b00dc020bb6d07af6a85affd710f47119b632d8f127aff3f57bf153ffd8e36ab4fba86c26aa8e
|
||||
EBUILD dbmail-3.2.4.ebuild 4876 BLAKE2B dcd2aef5ad6572080af315eb5604137ec7b340f3b1b3858a0591a30ef5d95cd95569a7b68e4aeeed356464cfcbd6b37e34d0d89e790da296f7a639ec6031d5ce SHA512 50caa2e33bd1f8111df1d3c44a43093e6a776287122e70208ab6a63f4201b790cc8edf6ddd13a1b2ad1bc735b6ee40372c483e4c0c028b0d43125ad558ffad93
|
||||
|
@ -28,5 +30,6 @@ EBUILD dbmail-3.2.5-r2.ebuild 2440 BLAKE2B 00c1740b96418850b8f8f71220ff06f4879df
|
|||
EBUILD dbmail-3.2.5.ebuild 2433 BLAKE2B 6830616ea4e99605fdc88cd30322bc5df24b3e673bd83a6189f43608586ba1643f4b1cb02eb1ddc7313832ce9c2bf1931ee4eb967ce1e7b38c1e76ddb1be0d0b SHA512 730b9793e00bf28e99eec82c14ba6e4dd28530b2382d26f4e54aacb6879fa14b55a0a237340e542f24e5e4cc7ad8738365360c5581c214af5bef43f62ebfae2a
|
||||
EBUILD dbmail-3.2.6-r1.ebuild 2440 BLAKE2B 00c1740b96418850b8f8f71220ff06f4879df5ba0522930305e4fd087819639c4e291af1cb1a4cbc6e918ea85c36f840a40779099802ba612df8b5a4e0f674c4 SHA512 36c0abd2b88422e4497036dfbbaebcd749e605edbe31609c88fa60ee101a4c2ad7b6b1d2d40b648c0f22289fa29be3f0dd386764b6cd9acb057474fd6bcba282
|
||||
EBUILD dbmail-3.2.6.ebuild 2393 BLAKE2B 157dcd4e53ba3fc54ee20b2acee586c23944e38aa59bb70362e96a5404ee84be58236357668e51e3881e0724a69349b0483d788a5fcb3ed0ed9229c3ffe66766 SHA512 d0e58dda7855d6e48e3f3a748f25075d5229eeb6b9993e2dbdad923c262a2e9ca4177bd71c464b819dddc26cb174f2dfacc3983767c66cf798ff0ebd9994e896
|
||||
EBUILD dbmail-3.3.0.ebuild 2509 BLAKE2B 6b6a0f1bf96f48abb89e5f4d39ddb89cfeec191fe5e6188efa4e1160abad218c2c145c5c0195a3f6621e01e68c0bc7d4872067157937bdf3ccecca3fa461f10d SHA512 11f9406404037a580f2e7b2f62996449f64b8f3c93fcca82977ba3e96088401d5017001e817ebdd9699da27e6721b3ce05e8458257c2b35aeb25b6c65141080a
|
||||
MISC dbmail.diff 343 BLAKE2B e5a8c5e4a1495ca1a0f0d35053e647c23ac96f26051fce32ba7d198aa17f7eaae42281ad455c61250b01a80eb5c0bc35e4a8e3949df03b0651510e217a82815c SHA512 e7babaca19be91a6fa973806fb29ed7a414aaf2d01c4905008a900fb389d90c28a77baac8e40b7b3ec09292ea0781196d7052b9395166bc466beb25dff82fa07
|
||||
MISC metadata.xml 644 BLAKE2B 70a3c2d8665df2f44e04a95a47ba9ff39778fb386c0cd9d23fe0bf824767a432c5fd9b7a87a50635b9d6592dc72632957be5c45e6777cb77625810a38823f354 SHA512 e1be3706af1329c23f831c4b2d58e076bdd0f5f30c01a4a08fd7554be392ea1dfb5f219c6852099f9c45df17cd37a71a3c228434fddbcebfac3a6ca235128877
|
||||
|
|
101
net-mail/dbmail/dbmail-3.3.0.ebuild
Normal file
101
net-mail/dbmail/dbmail-3.3.0.ebuild
Normal file
|
@ -0,0 +1,101 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit tmpfiles systemd readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Fast and scalable sql based email services"
|
||||
HOMEPAGE="https://www.dbmail.org/"
|
||||
SRC_URI="https://github.com/dbmail/dbmail/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+doc jemalloc ldap sieve ssl static systemd"
|
||||
|
||||
DEPEND="dev-db/libzdb
|
||||
sieve? ( >=mail-filter/libsieve-2.2.1 )
|
||||
ldap? ( >=net-nds/openldap-2.3.33 )
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
app-text/asciidoc
|
||||
app-text/xmlto
|
||||
app-crypt/mhash
|
||||
sys-libs/zlib
|
||||
dev-libs/gmime:3.0
|
||||
>=dev-libs/glib-2.16
|
||||
dev-libs/libevent:=
|
||||
virtual/libcrypt:=
|
||||
ssl? (
|
||||
dev-libs/openssl:0=
|
||||
)"
|
||||
RDEPEND="${DEPEND}
|
||||
acct-group/dbmail
|
||||
acct-user/dbmail"
|
||||
DOCS=( AUTHORS README.md INSTALL THANKS UPGRADING )
|
||||
|
||||
README_GENTOO_SUFFIX=""
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s:nobody:dbmail: ; s:nogroup:dbmail: ; s:/var/run:/run/dbmail:" dbmail.conf || die
|
||||
# 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 || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-manpages \
|
||||
--sysconfdir=/etc/dbmail \
|
||||
$(use_enable doc manpages) \
|
||||
$(use_enable static) \
|
||||
$(use_enable systemd) \
|
||||
$(use_with jemalloc) \
|
||||
$(use_with sieve) \
|
||||
$(use_with ldap auth-ldap)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" install
|
||||
einstalldocs
|
||||
|
||||
docompress -x /usr/share/doc/${PF}/sql
|
||||
dodoc -r sql
|
||||
dodoc -r test-scripts
|
||||
dodoc -r contrib
|
||||
## TODO: install other contrib stuff
|
||||
|
||||
insinto /etc/dbmail
|
||||
newins dbmail.conf dbmail.conf.dist
|
||||
|
||||
# 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
|
||||
newtmpfiles - dbmail.conf <<-EOF
|
||||
d /run/dbmail 0755 dbmail dbmail -
|
||||
EOF
|
||||
|
||||
|
||||
dobin contrib/mailbox2dbmail/mailbox2dbmail
|
||||
doman contrib/mailbox2dbmail/mailbox2dbmail.1
|
||||
|
||||
# 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
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process dbmail.conf
|
||||
readme.gentoo_print_elog
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
#!/sbin/runscript
|
||||
#!/sbin/openrc-run
|
||||
#
|
||||
|
||||
PIDFILE="/run/dbmail-imapd.pid"
|
||||
PIDFILE="/run/dbmail/dbmail-imapd.pid"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/sbin/runscript
|
||||
#!/sbin/openrc-run
|
||||
#
|
||||
|
||||
PIDFILE="/run/dbmail-lmtpd.pid"
|
||||
PIDFILE="/run/dbmail/dbmail-lmtpd.pid"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/sbin/runscript
|
||||
#!/sbin/openrc-run
|
||||
#
|
||||
|
||||
PIDFILE="/run/dbmail-pop3d.pid"
|
||||
PIDFILE="/run/dbmail/dbmail-pop3d.pid"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/sbin/runscript
|
||||
#!/sbin/openrc-run
|
||||
#
|
||||
|
||||
PIDFILE="/run/dbmail-timsieved.pid"
|
||||
PIDFILE="/run/dbmail/dbmail-timsieved.pid"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
|
|
Loading…
Reference in a new issue