From 7c59acba5699c9c58090a7a738669669a7307023 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 21 Aug 2021 23:14:26 +0100 Subject: gentoo resync : 21.08.2021 --- mail-mta/notqmail/Manifest | 4 +- mail-mta/notqmail/notqmail-1.08-r3.ebuild | 185 ----------------------------- mail-mta/notqmail/notqmail-1.08-r4.ebuild | 187 ++++++++++++++++++++++++++++++ mail-mta/notqmail/notqmail-9999.ebuild | 6 +- 4 files changed, 193 insertions(+), 189 deletions(-) delete mode 100644 mail-mta/notqmail/notqmail-1.08-r3.ebuild create mode 100644 mail-mta/notqmail/notqmail-1.08-r4.ebuild (limited to 'mail-mta/notqmail') diff --git a/mail-mta/notqmail/Manifest b/mail-mta/notqmail/Manifest index 2932910ac19b..44274bafc550 100644 --- a/mail-mta/notqmail/Manifest +++ b/mail-mta/notqmail/Manifest @@ -6,6 +6,6 @@ DIST notqmail-1.08-tls-20200107.patch 50123 BLAKE2B 94bbab86bd089c6ac032bfabc300 DIST notqmail-1.08-tls-spp.patch 64223 BLAKE2B d2337017dacd41d975a9ebd4650cce58425c3c6e1ebfaaaf29a222a532cfd246fec16f52997e85eb921ad376235eb69a8580ba8df493bf760f3d8237311411c0 SHA512 012cdc62c2361737fb984e750a28bd06f357aefd9fa8d909e2e380e65fc5ae3a2cbef3f592eb60455ad858385dbf8e8b50a2f6358a9ffa3f885aa76250a336a0 DIST notqmail-1.08.tar.xz 179500 BLAKE2B 6c774037b257849aea65e7761a6f6c9918079faa490c0ed027d73a8b32de5d5907a54a59162b9b68479229c4b92a23fe28cd2f334123cfe674a94502b90a3635 SHA512 c18d09e28c2e580522eea144e5344e814811108b12f3272b4cf10ad58d9d3d8e666616dcfea2f369e226b68db4fe8cf67cbae994b242d36e9e07c289a0539394 DIST qmail-103.patch 2104 BLAKE2B 23721b3331c719f3b6deca8b2603bf824b66068d3901a84dda9edbe33b506d0c2b6e711364e2426d9e393453a54485f0286d4668f99cf6b9acabf10a5dc59b0a SHA512 b81062bb0b0023f474c0b6af40601926e1c04ad395de480d114809e48a8060c06d99bdbdeb6f44d9e24ae1acedabb094b979193d305371aed958f18fc6eee354 -EBUILD notqmail-1.08-r3.ebuild 4345 BLAKE2B 3acf5aa25d847b394dd95c71184099cf293d45ba94f3cdea265b8a6061ca1eacf3dea520735e93ebfd1ba2f0b80026b43e5cac349655d01a27bbb498fad6b3c5 SHA512 9c69b88ce22a52bb3ee2a566d096515f1893110fad00cd2566c20441056c18e2a98270527ece512c79a6b570df255ba836228c8aea3aa4b576d9680694ae0b82 -EBUILD notqmail-9999.ebuild 4200 BLAKE2B 1767f0d643eba378498ef256e20a1030a78bec0e8c610f44317eccdfd32c2da33700b5285074541e0677ab7a514ebd7b2e9ef68e1b3212a350b37fbc3145e1e7 SHA512 cee482b43bd22f77ae2f1a958eba78bdf1f88ab96961c526ad8fb98da0df958800a5b80d1e4bf3efd754f6d841b11a22b91db6377d8ead1f472b427960fa9b02 +EBUILD notqmail-1.08-r4.ebuild 4357 BLAKE2B 0703b5f20431a97a71394e840a1d6e73266efe0e575af5bc8001587f6ba9fe9b555dbcd24294aeb593ae7ff0f7ae4ee7439b6e7933c098ee1443951fa056ef8c SHA512 8fc5b44175d807f7f69b9cf868204a87c62e1dc2e744009c120f77b73eb07911fa41054f7abbe9976835f7fc0bcc5db98409c4379e82b52a5eae3755a51b9f69 +EBUILD notqmail-9999.ebuild 4212 BLAKE2B 912e80676f3d90c6ee04e176246eacd4fff76d99b5edcb29f2332925ad22885ceb71b7ebc5627abd590b707746d9fee42f3240ea8d222990c6683474956a1bff SHA512 b98f08f3ff2f5b006d6f02142eedd57744074a295da580d920533bd69182cfca2060536bc76c3e71ad7ee35b6d92889b5d0df0ffd69f68355bebe02f80f01c08 MISC metadata.xml 807 BLAKE2B 3bbc2374094c3bcfab161787b20321ab8dac7e861c758f4803507d6063b3441c382ce8dd3447c6e939181d32d06547bf91c47d4928a1e5ce8a76eca6c7db496c SHA512 e0619acfcebadc9b2d1ff7c47767426528c74d157072a489b61f8cc61c549671544744c6fd74c4531c2bed04974157fd12010c5ef6b28380d11723446549084b diff --git a/mail-mta/notqmail/notqmail-1.08-r3.ebuild b/mail-mta/notqmail/notqmail-1.08-r3.ebuild deleted file mode 100644 index 6afc55ac3bde..000000000000 --- a/mail-mta/notqmail/notqmail-1.08-r3.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -GENQMAIL_PV=20200817 -QMAIL_SPP_PV=0.42 - -QMAIL_TLS_PV=20200107 -QMAIL_TLS_F=notqmail-1.08-tls-${QMAIL_TLS_PV}.patch - -QMAIL_BIGTODO_F=notqmail-1.08-big-todo.patch - -QMAIL_LARGE_DNS="qmail-103.patch" - -inherit qmail systemd - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/notqmail/notqmail.git" - inherit git-r3 -else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" - SRC_URI="https://github.com/notqmail/notqmail/releases/download/${P}/${P}.tar.xz" -fi - -DESCRIPTION="Collaborative open-source successor to qmail" -HOMEPAGE=" - https://notqmail.org - https://cr.yp.to/qmail.html - http://qmail.org -" -SRC_URI="${SRC_URI} - https://github.com/DerDakon/genqmail/releases/download/genqmail-${GENQMAIL_PV}/${GENQMAIL_F} - https://www.ckdhr.com/ckd/${QMAIL_LARGE_DNS} - !vanilla? ( - highvolume? ( - https://github.com/notqmail/notqmail/commit/3a22b45974ddd1230da0dfa21f886c3401bee020.patch -> ${QMAIL_BIGTODO_F} - ) - qmail-spp? ( - ssl? ( - https://github.com/notqmail/notqmail/commit/c467ba6880aaecfe1d3f592a7738de88cb5ac79a.patch -> ${PN}-1.08-auth.patch - https://github.com/notqmail/notqmail/commit/d950cc34491afe90432cafcaeda61d1c1a9508e9.patch -> ${PN}-1.08-tls-spp.patch - ) - !ssl? ( - https://github.com/notqmail/notqmail/commit/b36d52a0dd7315a969f2a9a7455717466e45be23.patch -> ${PN}-1.08-spp.patch - ) - ) - ssl? ( - https://github.com/notqmail/notqmail/commit/0dc6a3aa9cb3440fe589ca5384ea27d683f05625.patch -> ${QMAIL_TLS_F} - ) - !ssl? ( - https://github.com/notqmail/notqmail/commit/c467ba6880aaecfe1d3f592a7738de88cb5ac79a.patch -> ${PN}-1.08-auth.patch - ) - ) -" - -LICENSE="public-domain" -SLOT="0" -IUSE="authcram gencertdaily highvolume pop3 qmail-spp ssl test vanilla" -REQUIRED_USE="vanilla? ( !ssl !qmail-spp !highvolume !authcram !gencertdaily ) gencertdaily? ( ssl )" -RESTRICT="!test? ( test )" - -DEPEND=" - net-dns/libidn2 - net-mail/queue-repair - sys-apps/gentoo-functions - ssl? ( >=dev-libs/openssl-1.1:0= ) - test? ( dev-libs/check ) -" -RDEPEND="${DEPEND} - acct-group/nofiles - acct-group/qmail - acct-user/alias - acct-user/qmaild - acct-user/qmaill - acct-user/qmailp - acct-user/qmailq - acct-user/qmailr - acct-user/qmails - sys-apps/ucspi-tcp - virtual/checkpassword - virtual/daemontools - authcram? ( >=net-mail/cmd5checkpw-0.30 ) - ssl? ( - pop3? ( sys-apps/ucspi-ssl ) - ) - !mail-mta/courier - !mail-mta/esmtp - !mail-mta/exim - !mail-mta/msmtp[mta] - !mail-mta/nullmailer - !mail-mta/opensmtpd - !mail-mta/postfix - !mail-mta/qmail-ldap - !mail-mta/netqmail - !mail-mta/sendmail - !mail-mta/ssmtp[mta] -" - -src_unpack() { - genqmail_src_unpack - - [[ ${PV} == "9999" ]] && git-r3_src_unpack - [[ ${PV} != "9999" ]] && default -} - -PATCHES=( - "${DISTDIR}/${QMAIL_LARGE_DNS}" -) - -src_prepare() { - if ! use vanilla; then - if use qmail-spp; then - PATCHES+=( "${DISTDIR}/${P}-auth.patch" ) - elif use ssl; then - PATCHES+=( "${DISTDIR}/${QMAIL_TLS_F}" ) - else - PATCHES+=( "${DISTDIR}/${P}-auth.patch" ) - fi - use highvolume && PATCHES+=( "${DISTDIR}/${QMAIL_BIGTODO_F}" ) - - if use qmail-spp; then - if use ssl; then - PATCHES+=( "${DISTDIR}/${PN}-1.08-tls-spp.patch" ) - else - PATCHES+=( "${DISTDIR}/${PN}-1.08-spp.patch" ) - fi - fi - fi - - default - - qmail_src_postunpack - - if ! use authcram; then - einfo "Disabled CRAM_MD5 support" - sed -e 's,^#define CRAM_MD5$,/*&*/,' -i "${S}"/qmail-smtpd.c || die - else - einfo "Enabled CRAM_MD5 support" - fi - - ht_fix_file Makefile* -} - -src_compile() { - qmail_src_compile NROFF=true - emake qmail-send.service - use qmail-spp && qmail_spp_src_compile -} - -src_install() { - qmail_src_install - systemd_dounit "${S}"/qmail-send.service -} - -src_test() { - emake test -} - -pkg_postinst() { - qmail_queue_setup - qmail_rootmail_fixup - qmail_tcprules_build - - qmail_config_notice - qmail_supervise_config_notice - elog - elog "If you are looking for documentation, check those links:" - elog "https://wiki.gentoo.org/wiki/Virtual_mail_hosting_with_qmail" - elog " -- qmail/vpopmail Virtual Mail Hosting System Guide" - elog "http://www.lifewithqmail.com/" - elog " -- Life with qmail" - elog -} - -pkg_config() { - # avoid some weird locale problems - export LC_ALL=C - - qmail_config_fast - qmail_tcprules_config - qmail_tcprules_build - - use ssl && qmail_ssl_generate -} diff --git a/mail-mta/notqmail/notqmail-1.08-r4.ebuild b/mail-mta/notqmail/notqmail-1.08-r4.ebuild new file mode 100644 index 000000000000..e9e36f9d9138 --- /dev/null +++ b/mail-mta/notqmail/notqmail-1.08-r4.ebuild @@ -0,0 +1,187 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GENQMAIL_PV=20200817 +QMAIL_SPP_PV=0.42 + +QMAIL_TLS_PV=20200107 +QMAIL_TLS_F=notqmail-1.08-tls-${QMAIL_TLS_PV}.patch + +QMAIL_BIGTODO_F=notqmail-1.08-big-todo.patch + +QMAIL_LARGE_DNS="qmail-103.patch" + +inherit qmail systemd + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/notqmail/notqmail.git" + inherit git-r3 +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + SRC_URI="https://github.com/notqmail/notqmail/releases/download/${P}/${P}.tar.xz" +fi + +DESCRIPTION="Collaborative open-source successor to qmail" +HOMEPAGE=" + https://notqmail.org + https://cr.yp.to/qmail.html + http://qmail.org +" +SRC_URI="${SRC_URI} + https://github.com/DerDakon/genqmail/releases/download/genqmail-${GENQMAIL_PV}/${GENQMAIL_F} + https://www.ckdhr.com/ckd/${QMAIL_LARGE_DNS} + !vanilla? ( + highvolume? ( + https://github.com/notqmail/notqmail/commit/3a22b45974ddd1230da0dfa21f886c3401bee020.patch -> ${QMAIL_BIGTODO_F} + ) + qmail-spp? ( + ssl? ( + https://github.com/notqmail/notqmail/commit/c467ba6880aaecfe1d3f592a7738de88cb5ac79a.patch -> ${PN}-1.08-auth.patch + https://github.com/notqmail/notqmail/commit/d950cc34491afe90432cafcaeda61d1c1a9508e9.patch -> ${PN}-1.08-tls-spp.patch + ) + !ssl? ( + https://github.com/notqmail/notqmail/commit/b36d52a0dd7315a969f2a9a7455717466e45be23.patch -> ${PN}-1.08-spp.patch + ) + ) + ssl? ( + https://github.com/notqmail/notqmail/commit/0dc6a3aa9cb3440fe589ca5384ea27d683f05625.patch -> ${QMAIL_TLS_F} + ) + !ssl? ( + https://github.com/notqmail/notqmail/commit/c467ba6880aaecfe1d3f592a7738de88cb5ac79a.patch -> ${PN}-1.08-auth.patch + ) + ) +" + +LICENSE="public-domain" +SLOT="0" +IUSE="authcram gencertdaily highvolume pop3 qmail-spp ssl test vanilla" +REQUIRED_USE="vanilla? ( !ssl !qmail-spp !highvolume !authcram !gencertdaily ) gencertdaily? ( ssl )" +RESTRICT="!test? ( test )" + +DEPEND=" + net-dns/libidn2 + net-mail/queue-repair + sys-apps/gentoo-functions + ssl? ( >=dev-libs/openssl-1.1:0= ) + test? ( dev-libs/check ) +" +RDEPEND="${DEPEND} + acct-group/nofiles + acct-group/qmail + acct-user/alias + acct-user/qmaild + acct-user/qmaill + acct-user/qmailp + acct-user/qmailq + acct-user/qmailr + acct-user/qmails + sys-apps/ucspi-tcp + authcram? ( >=net-mail/cmd5checkpw-0.30 ) + ssl? ( + pop3? ( sys-apps/ucspi-ssl ) + ) + !mail-mta/courier + !mail-mta/esmtp + !mail-mta/exim + !mail-mta/msmtp[mta] + !mail-mta/nullmailer + !mail-mta/opensmtpd + !mail-mta/postfix + !mail-mta/qmail-ldap + !mail-mta/netqmail + !mail-mta/sendmail + !mail-mta/ssmtp[mta] +" +PDEPEND=" + virtual/checkpassword + virtual/daemontools +" + +src_unpack() { + genqmail_src_unpack + + [[ ${PV} == "9999" ]] && git-r3_src_unpack + [[ ${PV} != "9999" ]] && default +} + +PATCHES=( + "${DISTDIR}/${QMAIL_LARGE_DNS}" +) + +src_prepare() { + if ! use vanilla; then + if use qmail-spp; then + PATCHES+=( "${DISTDIR}/${P}-auth.patch" ) + elif use ssl; then + PATCHES+=( "${DISTDIR}/${QMAIL_TLS_F}" ) + else + PATCHES+=( "${DISTDIR}/${P}-auth.patch" ) + fi + use highvolume && PATCHES+=( "${DISTDIR}/${QMAIL_BIGTODO_F}" ) + + if use qmail-spp; then + if use ssl; then + PATCHES+=( "${DISTDIR}/${PN}-1.08-tls-spp.patch" ) + else + PATCHES+=( "${DISTDIR}/${PN}-1.08-spp.patch" ) + fi + fi + fi + + default + + qmail_src_postunpack + + if ! use authcram; then + einfo "Disabled CRAM_MD5 support" + sed -e 's,^#define CRAM_MD5$,/*&*/,' -i "${S}"/qmail-smtpd.c || die + else + einfo "Enabled CRAM_MD5 support" + fi + + ht_fix_file Makefile* +} + +src_compile() { + qmail_src_compile NROFF=true + emake qmail-send.service + use qmail-spp && qmail_spp_src_compile +} + +src_install() { + qmail_src_install + systemd_dounit "${S}"/qmail-send.service +} + +src_test() { + emake test +} + +pkg_postinst() { + qmail_queue_setup + qmail_rootmail_fixup + qmail_tcprules_build + + qmail_config_notice + qmail_supervise_config_notice + elog + elog "If you are looking for documentation, check those links:" + elog "https://wiki.gentoo.org/wiki/Virtual_mail_hosting_with_qmail" + elog " -- qmail/vpopmail Virtual Mail Hosting System Guide" + elog "http://www.lifewithqmail.com/" + elog " -- Life with qmail" + elog +} + +pkg_config() { + # avoid some weird locale problems + export LC_ALL=C + + qmail_config_fast + qmail_tcprules_config + qmail_tcprules_build + + use ssl && qmail_ssl_generate +} diff --git a/mail-mta/notqmail/notqmail-9999.ebuild b/mail-mta/notqmail/notqmail-9999.ebuild index 224aaed06285..baec765a78d4 100644 --- a/mail-mta/notqmail/notqmail-9999.ebuild +++ b/mail-mta/notqmail/notqmail-9999.ebuild @@ -75,8 +75,6 @@ RDEPEND="${DEPEND} acct-user/qmailr acct-user/qmails sys-apps/ucspi-tcp - virtual/checkpassword - virtual/daemontools authcram? ( >=net-mail/cmd5checkpw-0.30 ) ssl? ( pop3? ( sys-apps/ucspi-ssl ) @@ -93,6 +91,10 @@ RDEPEND="${DEPEND} !mail-mta/sendmail !mail-mta/ssmtp[mta] " +PDEPEND=" + virtual/checkpassword + virtual/daemontools +" src_unpack() { genqmail_src_unpack -- cgit v1.2.3