From 7f0ccc917c7abe6223784c703d86cd14755691fb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 3 Jul 2021 22:39:47 +0100 Subject: gentoo resync : 03.07.2021 --- net-mail/dbmail/Manifest | 4 +- net-mail/dbmail/dbmail-3.2.3-r3.ebuild | 132 -------------------------------- net-mail/dbmail/dbmail-3.2.3-r4.ebuild | 133 +++++++++++++++++++++++++++++++++ net-mail/dbmail/dbmail-3.2.5-r1.ebuild | 96 ++++++++++++++++++++++++ net-mail/dbmail/dbmail-3.2.5.ebuild | 95 ----------------------- 5 files changed, 231 insertions(+), 229 deletions(-) delete mode 100644 net-mail/dbmail/dbmail-3.2.3-r3.ebuild create mode 100644 net-mail/dbmail/dbmail-3.2.3-r4.ebuild create mode 100644 net-mail/dbmail/dbmail-3.2.5-r1.ebuild delete mode 100644 net-mail/dbmail/dbmail-3.2.5.ebuild (limited to 'net-mail/dbmail') diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest index f3210e0c1cbc..ae313f8e2489 100644 --- a/net-mail/dbmail/Manifest +++ b/net-mail/dbmail/Manifest @@ -6,6 +6,6 @@ AUX dbmail-pop3d.initd 867 BLAKE2B 2d24bbe482c28fab0884377bbd47fe7a859313d8c8b20 AUX dbmail-timsieved.initd 930 BLAKE2B 4eb24e608540d994d75c8aea44aa8128e603fd9c64c4a8205c9581cc521e4a0ca75391796d4a9b369cdcbe74636cdaf55c00408c14b7cc9ec4ad4db307445909 SHA512 7f66fa4b77a638e803f1763809da66bd26f54b435f8e4cff3304d4b4e62d1510485c1af943046489a8c37b3b93a8b6cf4901feefa9f1f38dcdaa313211f19fa0 DIST dbmail-3.2.3.tar.gz 2444227 BLAKE2B baa812fb3e925e6d896762596426208fc2ac5fcb01cb8100cfbd0464f1342f934c099ca52fd857e05fc82b97227155e9dcfc987d6c9b5c37e7daf21b167c9841 SHA512 29cc89830278f2ff28a4221fc81d4ff13cc371fbca7fb51d5376e9243234220b552cb4b6ec035c150e6cfa178435c4f36b9ce132fc02334bc6cdeb1a41c8ed85 DIST dbmail-3.2.5.tar.gz 2463966 BLAKE2B f4099c6f869dbb041d7eccdf20f3a34d36918237cc0386c71a1d339da8651b9301e676b25201856038045bb9590f880353c6ccafd57330f9cf48382c1b4c603c SHA512 6b0d7e1f6f7449869db1e094ffce9e1ef315c60784ea5ae5f814f2cf9a18c358b4c5d107a420c7317961ffa343fc59c9083789177514aee96523927688f276a0 -EBUILD dbmail-3.2.3-r3.ebuild 3939 BLAKE2B b0f244ece5c4099d736ea940bd64198a7e77c7b03d26f694052bc94aba4e3951b80340cd2d22c9bf1112d74a6081570d23e43ad36ebcb80dee2caa94361f4aea SHA512 f0949d7fd1e86f19111449a72d9af6fe26d1a98ab77f279332640f5efdd984d7c8f0dfa8ba61440d3f4006c028d78216568abd2de3bb73256dea8245fbf6bac1 -EBUILD dbmail-3.2.5.ebuild 2371 BLAKE2B 5e3f63bfdbac0b3306def0eb9f247e0e85ca9b7ddb0419b0592baccc939b0631ba7be21cbb3ccb919b9b589d1808098986cd410ae01780ffa5e05f16c9b20d02 SHA512 bb8d1ddf62d2992eed5ff6303668bacaa2781865a684d7b65d0ee138baf2d4757217c81287bfd91b10fa480db2f9a14d8366b07538922ee2786832d7c3570818 +EBUILD dbmail-3.2.3-r4.ebuild 3961 BLAKE2B 7d2de1e5199d39fdafa496a032ba1ab77f82f0450bd405b9af2463414c658a482c8e343a030bd78db42cdb257e2fc812ddfcd87cedf160a0c32bcbb1f098bf05 SHA512 e5bbcb2e140cd93c3ec4ff34ffb4b3a3263f83075f1b7f966b20da3b284b91225bc1cdd4b1b6ba920ae849d7b2a4aeb0c4a41adc6750673dc3b391bc87366861 +EBUILD dbmail-3.2.5-r1.ebuild 2393 BLAKE2B 157dcd4e53ba3fc54ee20b2acee586c23944e38aa59bb70362e96a5404ee84be58236357668e51e3881e0724a69349b0483d788a5fcb3ed0ed9229c3ffe66766 SHA512 d0e58dda7855d6e48e3f3a748f25075d5229eeb6b9993e2dbdad923c262a2e9ca4177bd71c464b819dddc26cb174f2dfacc3983767c66cf798ff0ebd9994e896 MISC metadata.xml 570 BLAKE2B 5f2c04c5edfeba1166114d6b3d103abf9acd2bf312a359b4d25fc622b482b75b8660d2b3c48239a6cd8f87ed63bc591e9495346af944c8b853c74123ac67fb22 SHA512 b993fc2d7954a9afe0a5c53f84e3791a78c033abd64f3d279a54c34053bbe344ba4d0aa4456c9aca5ef9b2131db08698fecb717f5d7f130c501d659ec8fd59a8 diff --git a/net-mail/dbmail/dbmail-3.2.3-r3.ebuild b/net-mail/dbmail/dbmail-3.2.3-r3.ebuild deleted file mode 100644 index 6d3339b9400f..000000000000 --- a/net-mail/dbmail/dbmail-3.2.3-r3.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit readme.gentoo-r1 systemd - -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="ldap sieve ssl" - -RDEPEND=" - acct-group/dbmail - acct-user/dbmail - app-text/asciidoc - app-crypt/mhash - app-text/xmlto - dev-db/libzdb - >=dev-libs/glib-2.16 - dev-libs/gmime:2.6 - dev-libs/libevent - sys-libs/zlib - ldap? ( >=net-nds/openldap-2.3.33 ) - sieve? ( >=mail-filter/libsieve-2.2.1 ) - ssl? ( - dev-libs/openssl:0= - )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) - -DOC_CONTENTS="Please read the INSTALL file in /usr/share/doc/${PF}/ -for remaining instructions on setting up dbmail users and -for finishing configuration to connect to your MTA and -to connect to your db. -DBMail requires either SQLite, PostgreSQL or MySQL. -Database schemes can be found in /usr/share/doc/${PF}/ -You will also want to follow the installation instructions -on setting up the maintenance program to delete old messages. -Don't forget to edit /etc/dbmail/dbmail.conf as well. -For regular maintenance, add this to crontab: -0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1 -Please make sure to run etc-update. -If you get an error message about plugins not found -please add the library_directory configuration switch to -dbmail.conf and set it to the correct path -(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64) -A sample can be found in dbmail.conf.dist after etc-update. -We are now using the init script from upstream. -Please edit /etc/conf.d/dbmail to set which services to start -and delete /etc/init.d/dbmail-* when you are done. (don't -forget to rc-update del dbmail-* first) -Changed pid directory to /run/dbmail (see -http://www.dbmail.org/mantis/view.php?id=949 for details) -The database config has changed to support libzdb db URI -Please check the documentation (or Bug #479664) -The database schema has changed since 3.0.x make sure -to run the migration script -Please be aware, that the single init-script for all services -has been replaced with seperate init scripts for the individual services. -Make sure to add dbmail-(imapd|lmtpd|pop3d|timsieved) using rc-update -and remove dbmail if you want to take advantage of this change." - -src_prepare() { - default - - # 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 - - sed -i \ - -e "s:nobody:dbmail:" \ - -e "s:nogroup:dbmail:" \ - -e "s:/var/run:/run/dbmail:" \ - dbmail.conf || die -} - -src_configure() { - econf \ - --enable-manpages \ - --enable-systemd \ - --sysconfdir=/etc/dbmail \ - --disable-static \ - $(use_with sieve) \ - $(use_with ldap auth-ldap) -} - -src_install() { - emake DESTDIR="${D}" SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" install - einstalldocs - dodoc UPGRADING - - docompress -x /usr/share/doc/${PF}/sql - dodoc -r sql - dodoc -r test-scripts - dodoc -r contrib - - 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 - - dobin contrib/mailbox2dbmail/mailbox2dbmail - doman contrib/mailbox2dbmail/mailbox2dbmail.1 - - # ldap schema - if use ldap; then - insinto /etc/openldap/schema - doins dbmail.schema - fi - - keepdir /var/lib/dbmail - fperms 750 /var/lib/dbmail - fowners dbmail:dbmail /var/lib/dbmail - - readme.gentoo_create_doc - - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - readme.gentoo_print_elog -} diff --git a/net-mail/dbmail/dbmail-3.2.3-r4.ebuild b/net-mail/dbmail/dbmail-3.2.3-r4.ebuild new file mode 100644 index 000000000000..4bc7382ac4c6 --- /dev/null +++ b/net-mail/dbmail/dbmail-3.2.3-r4.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit readme.gentoo-r1 systemd + +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="ldap sieve ssl" + +RDEPEND=" + acct-group/dbmail + acct-user/dbmail + app-text/asciidoc + app-crypt/mhash + app-text/xmlto + dev-db/libzdb + >=dev-libs/glib-2.16 + dev-libs/gmime:2.6 + dev-libs/libevent:= + sys-libs/zlib + virtual/libcrypt:= + ldap? ( >=net-nds/openldap-2.3.33 ) + sieve? ( >=mail-filter/libsieve-2.2.1 ) + ssl? ( + dev-libs/openssl:0= + )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) + +DOC_CONTENTS="Please read the INSTALL file in /usr/share/doc/${PF}/ +for remaining instructions on setting up dbmail users and +for finishing configuration to connect to your MTA and +to connect to your db. +DBMail requires either SQLite, PostgreSQL or MySQL. +Database schemes can be found in /usr/share/doc/${PF}/ +You will also want to follow the installation instructions +on setting up the maintenance program to delete old messages. +Don't forget to edit /etc/dbmail/dbmail.conf as well. +For regular maintenance, add this to crontab: +0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1 +Please make sure to run etc-update. +If you get an error message about plugins not found +please add the library_directory configuration switch to +dbmail.conf and set it to the correct path +(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64) +A sample can be found in dbmail.conf.dist after etc-update. +We are now using the init script from upstream. +Please edit /etc/conf.d/dbmail to set which services to start +and delete /etc/init.d/dbmail-* when you are done. (don't +forget to rc-update del dbmail-* first) +Changed pid directory to /run/dbmail (see +http://www.dbmail.org/mantis/view.php?id=949 for details) +The database config has changed to support libzdb db URI +Please check the documentation (or Bug #479664) +The database schema has changed since 3.0.x make sure +to run the migration script +Please be aware, that the single init-script for all services +has been replaced with seperate init scripts for the individual services. +Make sure to add dbmail-(imapd|lmtpd|pop3d|timsieved) using rc-update +and remove dbmail if you want to take advantage of this change." + +src_prepare() { + default + + # 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 + + sed -i \ + -e "s:nobody:dbmail:" \ + -e "s:nogroup:dbmail:" \ + -e "s:/var/run:/run/dbmail:" \ + dbmail.conf || die +} + +src_configure() { + econf \ + --enable-manpages \ + --enable-systemd \ + --sysconfdir=/etc/dbmail \ + --disable-static \ + $(use_with sieve) \ + $(use_with ldap auth-ldap) +} + +src_install() { + emake DESTDIR="${D}" SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" install + einstalldocs + dodoc UPGRADING + + docompress -x /usr/share/doc/${PF}/sql + dodoc -r sql + dodoc -r test-scripts + dodoc -r contrib + + 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 + + dobin contrib/mailbox2dbmail/mailbox2dbmail + doman contrib/mailbox2dbmail/mailbox2dbmail.1 + + # ldap schema + if use ldap; then + insinto /etc/openldap/schema + doins dbmail.schema + fi + + keepdir /var/lib/dbmail + fperms 750 /var/lib/dbmail + fowners dbmail:dbmail /var/lib/dbmail + + readme.gentoo_create_doc + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/net-mail/dbmail/dbmail-3.2.5-r1.ebuild b/net-mail/dbmail/dbmail-3.2.5-r1.ebuild new file mode 100644 index 000000000000..f4d3ee2d7c21 --- /dev/null +++ b/net-mail/dbmail/dbmail-3.2.5-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit 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:2.6 + >=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 + + 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() { + readme.gentoo_print_elog +} diff --git a/net-mail/dbmail/dbmail-3.2.5.ebuild b/net-mail/dbmail/dbmail-3.2.5.ebuild deleted file mode 100644 index fecbd53a0c11..000000000000 --- a/net-mail/dbmail/dbmail-3.2.5.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit 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:2.6 - >=dev-libs/glib-2.16 - dev-libs/libevent - 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 - - 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() { - readme.gentoo_print_elog -} -- cgit v1.2.3