diff options
Diffstat (limited to 'net-mail')
43 files changed, 946 insertions, 359 deletions
diff --git a/net-mail/autorespond/autorespond-2.0.4.ebuild b/net-mail/autorespond/autorespond-2.0.4.ebuild index ce8d328cb4fd..336b43cb7a6b 100644 --- a/net-mail/autorespond/autorespond-2.0.4.ebuild +++ b/net-mail/autorespond/autorespond-2.0.4.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Autoresponder add on package for qmailadmin" HOMEPAGE="https://www.inter7.com/software/" -SRC_URI="mirror://sourceforge/qmailadmin/${P}.tar.gz +SRC_URI="https://downloads.sourceforge.net/qmailadmin/${P}.tar.gz mirror://gentoo/${PN}_${PV}-1.diff.gz" LICENSE="GPL-2" diff --git a/net-mail/checkpassword-pam/checkpassword-pam-0.99-r1.ebuild b/net-mail/checkpassword-pam/checkpassword-pam-0.99-r1.ebuild index 6ffd859dd6ea..ebaf60aa0318 100644 --- a/net-mail/checkpassword-pam/checkpassword-pam-0.99-r1.ebuild +++ b/net-mail/checkpassword-pam/checkpassword-pam-0.99-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="checkpassword-compatible authentication program w/pam support" HOMEPAGE="http://checkpasswd-pam.sourceforge.net/" -SRC_URI="mirror://sourceforge/checkpasswd-pam/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/checkpasswd-pam/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" diff --git a/net-mail/checkpassword-pam/checkpassword-pam-0.99-r2.ebuild b/net-mail/checkpassword-pam/checkpassword-pam-0.99-r2.ebuild index 4edde9cfb0e0..cc4fb55ba866 100644 --- a/net-mail/checkpassword-pam/checkpassword-pam-0.99-r2.ebuild +++ b/net-mail/checkpassword-pam/checkpassword-pam-0.99-r2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="checkpassword-compatible authentication program w/pam support" HOMEPAGE="http://checkpasswd-pam.sourceforge.net/" -SRC_URI="mirror://sourceforge/checkpasswd-pam/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/checkpasswd-pam/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" diff --git a/net-mail/courier-common/courier-common-3.1.5.ebuild b/net-mail/courier-common/courier-common-3.1.5.ebuild index d46b4abe3535..a5bd7f30ea2c 100644 --- a/net-mail/courier-common/courier-common-3.1.5.ebuild +++ b/net-mail/courier-common/courier-common-3.1.5.ebuild @@ -8,7 +8,7 @@ MYP=maildrop-${PV} DESCRIPTION="Mail delivery agent/filter" HOMEPAGE="https://www.courier-mta.org/maildrop/" -SRC_URI="mirror://sourceforge/courier/${MYP}.tar.bz2" +SRC_URI="https://downloads.sourceforge.net/courier/${MYP}.tar.bz2" LICENSE="GPL-3" SLOT="0" diff --git a/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild index 98096cb65fdf..ec8445a8c47b 100644 --- a/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild +++ b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ inherit autotools readme.gentoo-r1 systemd DESCRIPTION="An IMAP daemon designed specifically for maildirs" HOMEPAGE="https://www.courier-mta.org/imap/" -SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" +SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild index f6d1408fd0eb..535d625dda14 100644 --- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild +++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild @@ -6,7 +6,7 @@ inherit readme.gentoo-r1 systemd DESCRIPTION="An IMAP daemon designed specifically for maildirs" HOMEPAGE="https://www.courier-mta.org/imap/" -SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" +SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" diff --git a/net-mail/fetchmail/fetchmail-6.4.37.ebuild b/net-mail/fetchmail/fetchmail-6.4.37.ebuild index 1d2797a64700..a3287d80a52f 100644 --- a/net-mail/fetchmail/fetchmail-6.4.37.ebuild +++ b/net-mail/fetchmail/fetchmail-6.4.37.ebuild @@ -7,7 +7,7 @@ inherit autotools systemd tmpfiles toolchain-funcs DESCRIPTION="the legendary remote-mail retrieval and forwarding utility" HOMEPAGE="https://www.fetchmail.info/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz" LICENSE="GPL-2 public-domain" SLOT="0" diff --git a/net-mail/fetchmail/fetchmail-6.4.38.ebuild b/net-mail/fetchmail/fetchmail-6.4.38.ebuild index 5090653a89cd..cd3e44bfe6ba 100644 --- a/net-mail/fetchmail/fetchmail-6.4.38.ebuild +++ b/net-mail/fetchmail/fetchmail-6.4.38.ebuild @@ -7,7 +7,7 @@ inherit autotools systemd tmpfiles toolchain-funcs DESCRIPTION="the legendary remote-mail retrieval and forwarding utility" HOMEPAGE="https://www.fetchmail.info/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz" LICENSE="GPL-2 public-domain" SLOT="0" diff --git a/net-mail/gnubiff/gnubiff-2.2.17-r2.ebuild b/net-mail/gnubiff/gnubiff-2.2.17-r2.ebuild index 2cbcdd2ea191..3ad5e5bfb620 100644 --- a/net-mail/gnubiff/gnubiff-2.2.17-r2.ebuild +++ b/net-mail/gnubiff/gnubiff-2.2.17-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,7 @@ inherit autotools DESCRIPTION="A mail notification program" HOMEPAGE="http://gnubiff.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" diff --git a/net-mail/isync/isync-1.4.4-r1.ebuild b/net-mail/isync/isync-1.4.4-r1.ebuild index 7a6e66b14e66..7e2070cbc67e 100644 --- a/net-mail/isync/isync-1.4.4-r1.ebuild +++ b/net-mail/isync/isync-1.4.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://git.code.sf.net/p/${PN}/${PN}" inherit git-r3 autotools else - SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.gz" + SRC_URI="https://downloads.sourceforge.net/${PN}/${PN}/${PV}/${P}.tar.gz" KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv x86" fi diff --git a/net-mail/isync/isync-1.4.4.ebuild b/net-mail/isync/isync-1.4.4.ebuild index 47cd7082dba7..77a6d8a72fc6 100644 --- a/net-mail/isync/isync-1.4.4.ebuild +++ b/net-mail/isync/isync-1.4.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://git.code.sf.net/p/${PN}/${PN}" inherit git-r3 autotools else - SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.gz" + SRC_URI="https://downloads.sourceforge.net/${PN}/${PN}/${PV}/${P}.tar.gz" KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv x86" fi diff --git a/net-mail/isync/isync-9999.ebuild b/net-mail/isync/isync-9999.ebuild index 2337ee0bdb33..985523a6696c 100644 --- a/net-mail/isync/isync-9999.ebuild +++ b/net-mail/isync/isync-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://git.code.sf.net/p/${PN}/${PN}" inherit git-r3 autotools else - SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.gz" + SRC_URI="https://downloads.sourceforge.net/${PN}/${PN}/${PV}/${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" fi diff --git a/net-mail/libdbx/libdbx-1.0.3-r1.ebuild b/net-mail/libdbx/libdbx-1.0.3-r1.ebuild index 5865178f0b22..72baf67aba04 100644 --- a/net-mail/libdbx/libdbx-1.0.3-r1.ebuild +++ b/net-mail/libdbx/libdbx-1.0.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ MYFILE="${MY_PN}_${PV}.tgz" DESCRIPTION="Tools and library for reading Outlook Express mailboxes (.dbx format)" HOMEPAGE="https://sourceforge.net/projects/ol2mbox" -SRC_URI="mirror://sourceforge/ol2mbox/${MYFILE}" +SRC_URI="https://downloads.sourceforge.net/ol2mbox/${MYFILE}" S="${WORKDIR}/${MY_PN}_${PV}" LICENSE="GPL-2" diff --git a/net-mail/list-remote-forwards/Manifest b/net-mail/list-remote-forwards/Manifest index 8070a53751a5..e897585db06b 100644 --- a/net-mail/list-remote-forwards/Manifest +++ b/net-mail/list-remote-forwards/Manifest @@ -1 +1,2 @@ DIST list-remote-forwards-0.0.3.tar.gz 26495 BLAKE2B 7bc0a02133dfabe0f27c7ed861bbb994757eadb4d55d369fdd143da7ef03fcadf7d1f11bb034fc8ade7dc879d4b615a3ae5ed44a1ed5af3e10f1aaffcd79210a SHA512 833bb0a3fda76b43d0004d7906c54aa21920f1db8ff50fc2c0d1da6f98dd49310041fa7101050108cb6cb803084fff0673316a1ce86224d35ba09e8060864a9d +DIST list-remote-forwards-0.0.4.tar.gz 26653 BLAKE2B 743b35456698473184ef5c4ac9184b71e7cee821ab75df2267b3d60df67050231dc98b63dacb4fe4620d018524f3d739ecf026a31752494457b8dcc4a1656b67 SHA512 8df7e252ee186fa8569efe2e92fdc2e7db7b6044f9a7be97c42c152381129e9591d1ace91da8e5fcd2a70dda4976bae6c129d457641ee43bf3efaa5bcb8168dc diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.4.ebuild b/net-mail/list-remote-forwards/list-remote-forwards-0.0.4.ebuild new file mode 100644 index 000000000000..ac047250e4b3 --- /dev/null +++ b/net-mail/list-remote-forwards/list-remote-forwards-0.0.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CABAL_FEATURES="test-suite" +inherit haskell-cabal + +DESCRIPTION="List all remote forwards for mail accounts stored in a database" +HOMEPAGE="https://michael.orlitzky.com/code/list-remote-forwards.xhtml" +SRC_URI="https://michael.orlitzky.com/code/releases/${P}.tar.gz" + +LICENSE="AGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +# dev-haskell/dns and dev-haskell/resolv conflict +# https://github.com/sol/doctest/issues/119 +RESTRICT=test + +RDEPEND=">=dev-haskell/cmdargs-0.10 + >=dev-haskell/configurator-0.2 + >=dev-haskell/dns-1.4 + >=dev-haskell/hdbc-2.4 + >=dev-haskell/hdbc-postgresql-2.3 + >=dev-haskell/hdbc-sqlite3-2.3 + >=dev-haskell/missingh-1.2 + >=dev-haskell/tasty-0.8 + >=dev-haskell/tasty-hunit-0.8 + >=dev-haskell/tasty-quickcheck-0.8 + >=dev-lang/ghc-9.0.0 +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0 + test? ( >=dev-haskell/doctest-0.9 + >=dev-haskell/filemanip-0.3.6 ) +" + +src_install() { + haskell-cabal_src_install + doman "${S}/doc/man1/${PN}.1" +} diff --git a/net-mail/list-remote-forwards/metadata.xml b/net-mail/list-remote-forwards/metadata.xml index d81f432bdff8..062f4341e706 100644 --- a/net-mail/list-remote-forwards/metadata.xml +++ b/net-mail/list-remote-forwards/metadata.xml @@ -1,142 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - <name>Michael Orlitzky</name> - </maintainer> - <maintainer type="project"> - <email>haskell@gentoo.org</email> - <name>Gentoo Haskell</name> - </maintainer> - <longdescription> - /Usage/: - - @ - list-remote-forwards [OPTIONS] - @ - - List all remote forwards for mail accounts stored in a SQL database. - - A list of local domains is supplied to the program (more or less) - through the @--domain-query@ option. Any addresses which - forward to another address not contained in this list of local domains - is considered a remote forward. Remote forwards can cause problems for - a number of reasons, the most common of which are, - - * If the sender has an SPF record authorizing his mail server to send - mail on his behalf, then when his message is forwarded by the - recipient's mail server, it will fail any subsequent SPF checks. This - will likely cause the message to be rejected, and the original - recipient's server will generate backscatter. - - * If any spam makes it through the filter on the recipient's mail - server, that spam will then be forwarded to a remote destination. The - remote destination will blame the forwarding server for the spam, and - that can impact its reputation and potentially lead to a blacklisting - even though the spam did not originate on the recipient's server. - - Whether or not these are an issue depends on the circumstances, but in - any case it is useful to know who is forwarding mail off-site. - - /Input:/ - - None. - - /Output:/ - - A list of addresses that are forwarded to remote domains. - - /Options/: - - @ - \--database - @ - - The name of the database (or file, if SQLite) to which we should - connect. - - Default: The name of the current user (Postgres only). - - @ - \--domain-query - @ - SQL query used to produce a list of local domains. This should return - the set of all domains (i.e one column) that are local to the - server. See the default value for an example. - - Default: \"SELECT domain FROM domain WHERE domain <> 'ALL' ORDER BY domain;\" - - @ - \--exclude-mx, -e - @ - - The name of a mail exchanger, the forwards of whose domains we should - ignore. For example, if one mail exchanger, mx1.example.com, has - strict spam filtering, it may be acceptable to have remote forwarding - for domains that have mx1.example.com as their sole mail exchanger (MX - record). In that case, you might want to exclude those domains from - the report by naming mx1.example.com here. - - A forward will be excluded from the report only if /all/ of its MX - records are contained in the given exclude list. - - This option can be repeated to add mail exchangers to the exclude list. - - Default: [] (empty) - - @ - \--forward-query, -f - @ - - SQL query used to produce a list of all forwards on the mail - system. This query should return the set of all (address, goto) - triples, where \"goto\" is the destination address; i.e. to where - the \"address\" forwards. The \"goto\" field may contain more - than one email address, separated by commas. - - Default: \"SELECT address,goto FROM alias ORDER BY address;\" - - @ - \--host, -h - @ - - Hostname where the database is located (Postgres-only). - - Default: None, a UNIX domain socket connection is attempted (Postgres only) - - @ - \--password - @ - - Password used to connect to the database (Postgres-only). - - Default: None (assumes passwordless authentication) - - @ - \--port - @ - Port number used to connect to the database (Postgres-only). - - Default: None, a UNIX domain socket connection is attempted (Postgres only) - - @ - \--username, -u - @ - - Username used to connect to the database (Postgres-only). - - Default: The current user - - /Examples/: - - @ - $ list-remote-forwards --database=test/fixtures/postfixadmin.sqlite3 - user1@example.com -> user1@example.net - user2@example.com -> user1@example.org - user2@example.com -> user2@example.org - user2@example.com -> user3@example.org - user7@example.com -> user8@example.net - @ - </longdescription> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + <name>Michael Orlitzky</name> + </maintainer> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> </pkgmetadata> diff --git a/net-mail/mailbox-count/Manifest b/net-mail/mailbox-count/Manifest index 82e675aa3c26..ec8f43c86f95 100644 --- a/net-mail/mailbox-count/Manifest +++ b/net-mail/mailbox-count/Manifest @@ -1 +1,2 @@ DIST mailbox-count-0.0.6.tar.gz 21176 BLAKE2B 655815d463e14ee8c32cc955819d6b95d5359a644fb09433cb8ab303f07a98ce33b4c048be724253f30d8855a921abb5a7a29e62391ef8a1a9288e2f430710fc SHA512 285aeeaa8cfaade6c91a850154772e47aa212f73d1206c3c8262d08a15b95f15ce812152ca5acf79f5390f476ed6af52a73e03af4ab297e1268044a4a9ece6b5 +DIST mailbox-count-0.0.8.tar.gz 21179 BLAKE2B 09577d00716f872fbc07dd6b2ad2225a2e11c4bccb68bd22de9e9d78aa334fdece20654e9a5ea91b85d87c4204808693b7efc4eb2375691958bee69814ae5c34 SHA512 2be8d09b241b7a4fb5156e8051227fd87a6df9c8f84e9a14b6f6796a64963ba5e65fd3b96954fc0bfba4c93318dbc06528c771b568c94a1848b0905be466ff1f diff --git a/net-mail/mailbox-count/mailbox-count-0.0.8.ebuild b/net-mail/mailbox-count/mailbox-count-0.0.8.ebuild new file mode 100644 index 000000000000..c2af7578eb1c --- /dev/null +++ b/net-mail/mailbox-count/mailbox-count-0.0.8.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CABAL_FEATURES="test-suite" +inherit haskell-cabal + +DESCRIPTION="Count mailboxes in a SQL database" +HOMEPAGE="https://michael.orlitzky.com/code/mailbox-count.xhtml" +SRC_URI="https://michael.orlitzky.com/code/releases/${P}.tar.gz" + +LICENSE="AGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/cmdargs-0.10 + >=dev-haskell/configurator-0.2 + >=dev-haskell/hdbc-2.4 + >=dev-haskell/hdbc-postgresql-2.3 + >=dev-haskell/hdbc-sqlite3-2.3 + >=dev-haskell/missingh-1.2 + >=dev-haskell/tasty-0.8 + >=dev-haskell/tasty-hunit-0.8 + >=dev-lang/ghc-9.0 +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0 + test? ( >=dev-haskell/doctest-0.9 + >=dev-haskell/filemanip-0.3.6 )" + +src_install() { + haskell-cabal_src_install + dodoc "${S}/doc/${PN}rc.example" + doman "${S}/doc/man1/${PN}.1" +} diff --git a/net-mail/mailbox-count/metadata.xml b/net-mail/mailbox-count/metadata.xml index 4831484d5891..93e079338c31 100644 --- a/net-mail/mailbox-count/metadata.xml +++ b/net-mail/mailbox-count/metadata.xml @@ -1,144 +1,26 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - <name>Michael Orlitzky</name> - </maintainer> - <maintainer type="project"> - <email>haskell@gentoo.org</email> - <name>Gentoo Haskell</name> - </maintainer> - <longdescription> - /Usage/: - - @ - mailbox-count [OPTIONS] - @ - - Mailbox-count produces a simple count of mailboxes that exist - per-domain in some SQL database. The default queries are compatible - with the schema used by PostfixAdmin <http://postfixadmin.sourceforge.net/>, - but it is possible to supply your own queries via the @--summary-query@ - and @--detail-query@ options. - - The summary report lists each domain, along with the number of - mailboxes owned by that domain. The order is determined by the summary - query, which lists the domains alphabetically by default. - - The default detail report shows the same, but also contains a list of - each individual mailbox (again in alphabetical order) belonging to the - domains. - - /Input/: - - None. - - /Output/: - - Either a summary, or detailed report (with @--detail@) of the - number of mailboxes per-domain contained in the database. - - /Options/: - - @ - \--database - @ - - The name of the database (or file, if SQLite) to which we should - connect. - - Default: The name of the current user (Postgres only). - - @ - \--detail - @ - - Produce a detailed report listing all mailboxes by domain. - - @ - \--detail-query - @ - - SQL query used to produce the detail report. This should return the - set of all (domain, username) pairs. See the default value for an - example. - - Default: \"SELECT domain,username FROM mailbox ORDER BY domain;\" - - @ - \--host - @ - - Hostname where the database is located (Postgres-only). - - Default: None, a UNIX domain socket connection is attempted (Postgres only) - - @ - \--password - @ - - Password used to connect to the database (Postgres-only). - - Default: None (assumes passwordless authentication) - - @ - \--port - @ - Port number used to connect to the database (Postgres-only). - - Default: None, a UNIX domain socket connection is attempted (Postgres only) - - @ - \--summary-query - @ - - SQL query used to produce the summary report. This should return - (domain, user count) pairs. See the default value for an - example. - - Default: \"SELECT domain,COUNT(username) FROM mailbox GROUP BY domain - ORDER BY domain;\" - - @ - \--username - @ - - Username used to connect to the database (Postgres-only). - - Default: The current user - - /Examples/: - - The default summary report: - - @ - $ mailbox-count --database=postfixadmin.sqlite3 - Summary (number of mailboxes per domain) - \---------------------------------------- - example.com: 3 - example.invalid: 1 - example.net: 2 - example.org: 1 - @ - - The more detailed report: - - @ - $ mailbox-count --detail --database=postfixadmin.sqlite3 - Detail (list of all mailboxes by domain) - \---------------------------------------- - example.com (3): - &#x20; user1 - &#x20; user3 - &#x20; user5 - example.invalid (1): - &#x20; user7 - example.net (2): - &#x20; user2 - &#x20; user4 - example.org (1): - &#x20; user6 - @ - </longdescription> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + <name>Michael Orlitzky</name> + </maintainer> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <longdescription> + Mailbox-count produces a simple count of mailboxes that exist + per-domain in some SQL database. The default queries are compatible + with the schema used by PostfixAdmin but it is possible to supply + your own queries either on the command-line or in a configuration + file. + + The summary report lists each domain, along with the number of + mailboxes owned by that domain. The order is determined by the + summary query, which lists the domains alphabetically by default. + The default detail report shows the same, but also contains a list + of each individual mailbox (again in alphabetical order) belonging + to the domains. + </longdescription> </pkgmetadata> diff --git a/net-mail/mailshears/Manifest b/net-mail/mailshears/Manifest index 5dd79e70ce12..897347212001 100644 --- a/net-mail/mailshears/Manifest +++ b/net-mail/mailshears/Manifest @@ -1 +1 @@ -DIST mailshears-0.0.5.gem 68608 BLAKE2B bee5c44121e9a5fb746af0ba525e749ae6f0a772a37cff00325ee8e2d3d5f6bf39a20e90bffcf8b9d863525beeb93cf757469412a5dd4b23d566215aaabe134d SHA512 873e906ba5332b5589feb0aa24a7c9e5372971bc821ad290b536412d826fc0b103ed62cff73a33d80ada7e862d66c43808d73c46c46c49b319104022a04f3026 +DIST mailshears-0.1.0.gem 65536 BLAKE2B 9b780bd94999aa9b1959b4145162cb15b183d3d590d39ec1b9aa3887c64a772e5a6fbd30f571f9f939741b66400e130b8f0babae70bab0fdabb58273f07a9de9 SHA512 3428e8d296c1fa6c4b55591eec35858ffbe13723286a19de379ae66a53872ac55ff431194ecc3d332b126079d00c615abd6b1ea0dfb3f95175384acecc141f80 diff --git a/net-mail/mailshears/mailshears-0.0.5.ebuild b/net-mail/mailshears/mailshears-0.1.0.ebuild index 54847ed80848..fe2ef7c0316f 100644 --- a/net-mail/mailshears/mailshears-0.0.5.ebuild +++ b/net-mail/mailshears/mailshears-0.1.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" +USE_RUBY="ruby31 ruby32 ruby33" # The tests are dangerous and shouldn't be run by anyone! # They mess with your local postgres databases. @@ -15,11 +15,11 @@ inherit ruby-fakegem DESCRIPTION="Mangle your mail garden" HOMEPAGE="https://michael.orlitzky.com/code/mailshears.xhtml" +SRC_URI="https://michael.orlitzky.com/code/releases/${P}.gem" -LICENSE="AGPL-3" +LICENSE="AGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" ruby_add_rdepend ">=dev-ruby/pg-1.2 <dev-ruby/pg-2" diff --git a/net-mail/mairix/mairix-0.24-r1.ebuild b/net-mail/mairix/mairix-0.24-r1.ebuild index ff491e5ffc50..088d10c6780c 100644 --- a/net-mail/mairix/mairix-0.24-r1.ebuild +++ b/net-mail/mairix/mairix-0.24-r1.ebuild @@ -7,7 +7,7 @@ inherit toolchain-funcs DESCRIPTION="Indexes and searches Maildir/MH folders" HOMEPAGE="http://www.rpcurnow.force9.co.uk/mairix/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" diff --git a/net-mail/mboxgrep/mboxgrep-0.7.9-r2.ebuild b/net-mail/mboxgrep/mboxgrep-0.7.9-r2.ebuild index 52371d2dfc60..38c5e740ce97 100644 --- a/net-mail/mboxgrep/mboxgrep-0.7.9-r2.ebuild +++ b/net-mail/mboxgrep/mboxgrep-0.7.9-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Grep for mbox files" -SRC_URI="mirror://sourceforge/mboxgrep/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/mboxgrep/${P}.tar.gz" HOMEPAGE="https://datatipp.se/mboxgrep/" SLOT="0" diff --git a/net-mail/mboxgrep/mboxgrep-0.7.9-r3.ebuild b/net-mail/mboxgrep/mboxgrep-0.7.9-r3.ebuild index 9b8d5e50145e..0c9276dd5bbf 100644 --- a/net-mail/mboxgrep/mboxgrep-0.7.9-r3.ebuild +++ b/net-mail/mboxgrep/mboxgrep-0.7.9-r3.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit autotools DESCRIPTION="Grep for mbox files" -SRC_URI="mirror://sourceforge/mboxgrep/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/mboxgrep/${P}.tar.gz" HOMEPAGE="https://datatipp.se/mboxgrep/" SLOT="0" diff --git a/net-mail/mswatch/mswatch-1.2.0-r1.ebuild b/net-mail/mswatch/mswatch-1.2.0-r1.ebuild index 7c542663566e..a3f3fd9b6e3a 100644 --- a/net-mail/mswatch/mswatch-1.2.0-r1.ebuild +++ b/net-mail/mswatch/mswatch-1.2.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,7 @@ inherit linux-info DESCRIPTION="A utility to watch mailstores for changes and initiate mailbox syncs" HOMEPAGE="http://mswatch.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest index 53418bfbb902..5b8c2b56bc60 100644 --- a/net-mail/mu/Manifest +++ b/net-mail/mu/Manifest @@ -2,3 +2,4 @@ DIST mu-1.10.8.tar.xz 570792 BLAKE2B 6e65e77544011d0f6b8fb1a5ac4dfe074fe6af3504e DIST mu-1.12.2.tar.xz 708852 BLAKE2B 72b9a0f8acad114d37a6dc7c214df5c6b2f3691f0f35dfe8408b3420e6d06d7e6345cd3db7bc32047c970367ac9d0374551fbbdff3616bcf9c96ebb7f9efcec5 SHA512 8733bdc6bed6e76278f052db8f270178f4ac269d610cd6f2ad44577be9b6fc8daeb85cd650b7ef2a21d141262065ecacdc9177fabd4bbe971d917943a2669b07 DIST mu-1.12.3.tar.xz 714488 BLAKE2B 2f5ded323d94a028c33c447e877ec3cea3677bf69076893dd6751f69c47764eee2d779c13e8b5c601d0bd04beca4b8cef705a7fd2587fe1f81d22c381debee7a SHA512 27998f65636b42f7933cc39878d8900552aa1c94c90ea54f81d789c01eec5ddfdb93eb508b78a6416497c7c109193e1457b1ff2bafe98aa82ec88a4b5fc03832 DIST mu-1.12.4.tar.xz 715232 BLAKE2B 5886f07ad6fb12d8a538de80c4681cd2ba416da82839519a70676eabd2d2eef1fa1a53d004ab1524966682a4d6c2eef7e67cc4efc6f5e7c380e732b7614de854 SHA512 ddc0430fe41db3639433f60105a67bb184e611d8438a49e51fb9ea4b5b404c270bb78c9165cb3136a3b402a91a65735d917c0868ca4d134f13b4971b028da5b5 +DIST mu-1.12.5.tar.xz 717480 BLAKE2B f67b2231124b48271f3aff27cafa602aa8d6129a1ade7f241c92e28c5d9886b7b4deeeb6473ad5f9d228ae6a3059c915286b42ff60ccb364411a2dd4ee69a195 SHA512 25bdf9898b5058a934618dfd49dbbae56ce9629a10de425f91f7c9c145713d58d3668f09c64bbc854efe7c87e30b09aa080405cbb14d9b6df087d2ed8b3122c5 diff --git a/net-mail/mu/mu-1.12.5.ebuild b/net-mail/mu/mu-1.12.5.ebuild new file mode 100644 index 000000000000..974051ec7307 --- /dev/null +++ b/net-mail/mu/mu-1.12.5.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp-common meson readme.gentoo-r1 + +DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing" +HOMEPAGE="https://www.djcbsoftware.nl/code/mu/ https://github.com/djcb/mu" +SRC_URI="https://github.com/djcb/mu/releases/download/v${PV}/${P}.tar.xz" + +# mu: GPL-3+ +# + cli11: BSD +# + fmt: MIT +# + tl: CC0-1.0 +# + variant-lite: Boost-1.0 +LICENSE="BSD Boost-1.0 CC0-1.0 GPL-3+ MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos" +IUSE="emacs readline" + +DEPEND=" + dev-libs/glib:2 + dev-libs/gmime:3.0 + >=dev-libs/xapian-1.4:= + emacs? ( >=app-editors/emacs-25.3:* ) + readline? ( sys-libs/readline:= )" +RDEPEND="${DEPEND}" +BDEPEND=" + sys-apps/texinfo + virtual/pkgconfig +" + +PATCHES=( + # https://bugs.gentoo.org/925503 + "${FILESDIR}"/${PN}-1.12.0-no-python.patch +) + +DOC_CONTENTS=" + To use mu4e you need to configure it in your .emacs file. + See the manual for more information: + https://www.djcbsoftware.nl/code/mu/mu4e/ +" +SITEFILE="70mu-gentoo-autoload.el" + +src_prepare() { + default + + # Don't install NEWS.org into /usr/share/doc. + sed -i '/NEWS.org/,+1 d' meson.build || die + sed -i '/mu4e-about.org/d' mu4e/meson.build || die + + # Don't compress the info file. + sed -i '/gzip/d' build-aux/meson-install-info.sh || die + + # Instead, put it in /usr/share/doc/${PF}. + sed -i "/MU_DOC_DIR/s/mu/${PF}/" mu4e/meson.build || die +} + +src_configure() { + local emesonargs=( + $(meson_feature readline) + -Dcld2=disabled + -Demacs="$(usex emacs "${EMACS}" emacs-not-enabled)" + # TODO: revisit this, it's not actually deprecated, just been reworked + -Dguile=disabled + ) + meson_src_configure +} + +src_install() { + meson_src_install + + # Since meson no longer installs NEWS.org, install it with dodoc. + # Also, it must be uncompressed so that it can be viewed with + # mu4e-info. + docompress -x /usr/share/doc/${PF}/NEWS.org + dodoc NEWS.org + + if use emacs; then + # Same as above. + docompress -x /usr/share/doc/${PF}/mu4e-about.org + dodoc mu4e/mu4e-about.org + + elisp-site-file-install "${FILESDIR}"/${SITEFILE} + + readme.gentoo_create_doc + fi +} + +pkg_postinst() { + use emacs && readme.gentoo_create_doc +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest index 280ff50fa603..4c31c09a6a0f 100644 --- a/net-mail/notmuch/Manifest +++ b/net-mail/notmuch/Manifest @@ -1,2 +1,3 @@ DIST database-v1.tar.xz 204876 BLAKE2B 846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca SHA512 e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0 DIST notmuch-0.37.tar.xz 792568 BLAKE2B 0a968b776efc39ddc09bb2cb2721609fcdf65171978d285b6877abd4c3aa7d0221b25f1052a211be1864c57d961c7a1f0c9915fd9c65497a9e4bce3a2cdbc1c0 SHA512 31cac1ff03b139b18a4fec5e29907ba0e3a965f0a7bf5f2f2b0f75980f9663173745be854e83943f344a09cdb7f5615fa48218e327c4ade7a55b3a22b2a9c45e +DIST notmuch-0.38.3.tar.xz 805416 BLAKE2B 08f4f5c5732a788a52ca5fb6e6296d7348586796f86cab8273aebf88521e52c52b4515287334d246d030bf3ba0666f24bf0badad843e8b20a1a8bc1da32f6509 SHA512 247f8b365a75b29df719403bc2c9645eb669a7ee6eb4c1e0047dcf55fea4d66c8dcb4899162b952643aa6148ec6e1538ebe3e7e8408376153165e394084aed19 diff --git a/net-mail/notmuch/files/notmuch-0.37-python3.12.patch b/net-mail/notmuch/files/notmuch-0.37-python3.12.patch new file mode 100644 index 000000000000..b8b668ebcae6 --- /dev/null +++ b/net-mail/notmuch/files/notmuch-0.37-python3.12.patch @@ -0,0 +1,29 @@ +https://bugs.gentoo.org/929716 +https://github.com/notmuch/notmuch/commit/3771832b013012e408696897215fd0edde7dce37 + +From 3771832b013012e408696897215fd0edde7dce37 Mon Sep 17 00:00:00 2001 +From: Michael J Gruber <git@grubix.eu> +Date: Fri, 16 Jun 2023 13:19:26 +0200 +Subject: [PATCH] python: adjust legacy bindings to py 3.12 + +Py 3.12 finally pulled the plug on the `SafeConfigParser` class which +has been deprecated since py 3.2. + +We use it in the legacy bindings only, so take the easy route of +importing `ConfigParser` as `SafeConfigParser` and monkey-patching so +that the class has the expected interface. +--- a/bindings/python/notmuch/compat.py ++++ b/bindings/python/notmuch/compat.py +@@ -47,7 +47,10 @@ def encode_utf8(value): + + return value + else: +- from configparser import SafeConfigParser ++ from configparser import ConfigParser as SafeConfigParser ++ ++ if not hasattr(SafeConfigParser, 'readfp'): # py >= 3.12 ++ SafeConfigParser.readfp = SafeConfigParser.read_file + + class Python3StringMixIn(object): + def __str__(self): + diff --git a/net-mail/notmuch/notmuch-0.37-r2.ebuild b/net-mail/notmuch/notmuch-0.37-r2.ebuild new file mode 100644 index 000000000000..7a7621ec990b --- /dev/null +++ b/net-mail/notmuch/notmuch-0.37-r2.ebuild @@ -0,0 +1,305 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_OPTIONAL=1 +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic pax-utils toolchain-funcs xdg-utils + +DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging" +HOMEPAGE="https://notmuchmail.org/" +SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz + test? ( https://notmuchmail.org/releases/test-databases/database-v1.tar.xz )" + +LICENSE="GPL-3" +# Sub-slot corresponds to major wersion of libnotmuch.so.X.Y. Bump of Y is +# meant to be binary backward compatible. +SLOT="0/5" +KEYWORDS="~alpha amd64 arm arm64 ~ppc64 ~riscv x86 ~x64-macos" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + apidoc? ( doc ) + nmbug? ( python ) + test? ( crypt emacs python ) +" +IUSE="apidoc crypt doc emacs mutt nmbug python test" +RESTRICT="!test? ( test )" + +BDEPEND=" + app-arch/xz-utils[extra-filters(-)] + virtual/pkgconfig + apidoc? ( + app-text/doxygen + dev-lang/perl + ) + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + sys-apps/texinfo + ) + python? ( + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + ) + test? ( + app-shells/bash + sys-process/parallel + ) +" + +COMMON_DEPEND=" + dev-libs/glib + dev-libs/gmime:3.0[crypt] + >=dev-libs/xapian-1.4.0:= + sys-libs/talloc + sys-libs/zlib:= + emacs? ( >=app-editors/emacs-${NEED_EMACS}:* ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +DEPEND="${COMMON_DEPEND} + test? ( + >=app-editors/emacs-${NEED_EMACS}:*[libxml2] + app-misc/dtach + dev-debug/gdb[python] + crypt? ( + app-crypt/gnupg + dev-libs/openssl + ) + ) +" + +RDEPEND="${COMMON_DEPEND} + crypt? ( app-crypt/gnupg ) + mutt? ( + dev-perl/File-Which + dev-perl/Mail-Box + dev-perl/MailTools + dev-perl/String-ShellQuote + dev-perl/Term-ReadLine-Gnu + virtual/perl-Digest-SHA + virtual/perl-File-Path + virtual/perl-Getopt-Long + dev-perl/Pod-Parser + ) + nmbug? ( dev-vcs/git ) +" + +SITEFILE="50${PN}-gentoo.el" + +PATCHES=( + "${FILESDIR}"/${PN}-0.37-configure-clang16.patch + "${FILESDIR}"/${PN}-0.37-python3.12.patch +) + +pkg_setup() { + use emacs && elisp-check-emacs-version +} + +src_unpack() { + unpack "${P}".tar.xz + if use test; then + mkdir -p "${S}"/test/test-databases || die + cp "${DISTDIR}"/database-v1.tar.xz "${S}"/test/test-databases/ || die + fi +} + +src_prepare() { + default + + use python && distutils-r1_src_prepare + + mv contrib/notmuch-mutt/README contrib/notmuch-mutt/README-mutt || die + + # Override 'install' target, we want to install manpages with doman, but let it install texinfo files. + sed -i "s/all install-man install-info/all $(usex doc install-info '')/" "Makefile.local" || die + + use test && append-flags '-g' + + # Non-autoconf configure + [[ ${CHOST} == *-solaris* ]] && append-ldflags '-lnsl' '-lsocket' + + # sphinx-4 broke everything. https://bugs.gentoo.org/789492 + echo 'man_make_section_directory = False' >> doc/conf.py || die +} + +src_configure() { + python_setup # For sphinx + + tc-export CC CXX + + local myconf=( + --bashcompletiondir="$(get_bashcompdir)" + --emacslispdir="${EPREFIX}/${SITELISP}/${PN}" + --emacsetcdir="${EPREFIX}/${SITEETC}/${PN}" + --without-desktop + --without-ruby + --zshcompletiondir="${EPREFIX}/usr/share/zsh/site-functions" + $(use_with apidoc api-docs) + $(use_with doc docs) + $(use_with emacs) + ) + + # FIXME: + # Checking for GMime session key extraction support... * ACCESS DENIED: open_wr: /dev/bus/usb/001/011 + # notmuch configure compiles a program _check_session_keys.c, inline in ./configure script + # gmime/gpg/scdaemon tries to open usb devices in GMime test + # we pretend to allow it, without actually allowing it to read or write. + # https://bugs.gentoo.org/821328 + addpredict /dev/bus/usb + + econf "${myconf[@]}" +} + +python_compile() { + pushd bindings/python-cffi > /dev/null || die + distutils-r1_python_compile + # copy stuff just in case + if use test; then + mkdir -p build/stage/tests || die + cp -v tests/*.py build/stage/tests || die + fi + popd > /dev/null || die + + # TODO: we want to drop those, research revdeps + pushd bindings/python > /dev/null || die + distutils-r1_python_compile + popd > /dev/null || die +} + +python_compile_all() { + use doc && emake -C bindings/python/docs html +} + +src_compile() { + python_setup # For sphinx + + # prevent race in emacs doc generation + # FileNotFoundError: [Errno 2] No such file or directory: '..work/notmuch-0.31/emacs/notmuch.rsti' + if use emacs; then + use doc && emake -j1 -C emacs docstring.stamp V=1 #nowarn + fi + + emake V=1 + + use python && distutils-r1_src_compile + + if use mutt; then + pushd contrib/notmuch-mutt > /dev/null || die + emake notmuch-mutt.1 + popd > /dev/null || die + fi +} + +python_test() { + # we only have tests for cffi bindings + pushd bindings/python-cffi > /dev/null || die + rm -f tox.ini || die + pytest -vv || die "Tests failed with ${EPYTHON}" + popd > /dev/null || die +} + +src_test() { + local test_failures=() + pax-mark -m notmuch + + # we run pytest via eclass phasefunc, so delete upstream launcher + use python && { rm -v test/T391-python-cffi.sh || die ; } + + LD_LIBRARY_PATH="${S}/lib" \ + nonfatal emake test V=1 OPTIONS="--verbose --tee" || test_failures+=( "'emake tests'" ) + pax-mark -ze notmuch + + # both lib and bin needed for testsuite. + if use python; then + LD_LIBRARY_PATH="${S}/lib" \ + PATH="${S}:${PATH}" \ + nonfatal distutils-r1_src_test || test_failures+=( "'python tests'" ) + fi + + [[ ${test_failures} ]] && die "Tests failed: ${test_failures[@]}" +} + +python_install() { + pushd bindings/python-cffi > /dev/null || die + distutils-r1_python_install + popd > /dev/null || die + + pushd bindings/python > /dev/null || die + distutils-r1_python_install + popd > /dev/null || die +} + +src_install() { + default + + if use doc; then + if use apidoc; then + # rename overly generic manpage to avoid clashes + mv doc/_build/man/man3/deprecated.3 \ + doc/_build/man/man3/notmuch-deprecated.3 || die + fi + doman doc/_build/man/man?/*.? + fi + + if use emacs; then + elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die + domenu emacs/notmuch-emacs-mua.desktop + fi + + if use nmbug; then + # TODO: those guys need proper deps + python_fix_shebang devel/nmbug/notmuch-report + dobin devel/nmbug/notmuch-report + fi + + if use mutt; then + pushd contrib/notmuch-mutt > /dev/null || die + dobin notmuch-mutt + # this manpage is built by pod2man + doman notmuch-mutt.1 + insinto /etc/mutt + doins notmuch-mutt.rc + dodoc README-mutt + popd > /dev/null || die + fi + + local DOCS=( README{,.rst} INSTALL NEWS ) + einstalldocs + + if use python; then + use doc && local HTML_DOCS=( bindings/python/docs/html/. ) + distutils-r1_src_install + fi +} + +pkg_preinst() { + local _rcfile="/etc/mutt/notmuch-mutt.rc" + if use mutt && ! [[ -e "${EROOT}"${_rcfile} ]]; then + elog "To enable notmuch support in mutt, add the following line" + elog "to your mutt config file:" + elog "" + elog " source ${_rcfile}" + fi +} + +pkg_postinst() { + if use emacs; then + elisp-site-regen + xdg_desktop_database_update + fi +} + +pkg_postrm() { + if use emacs; then + elisp-site-regen + xdg_desktop_database_update + fi +} diff --git a/net-mail/notmuch/notmuch-0.38.3.ebuild b/net-mail/notmuch/notmuch-0.38.3.ebuild new file mode 100644 index 000000000000..4b36d3821319 --- /dev/null +++ b/net-mail/notmuch/notmuch-0.38.3.ebuild @@ -0,0 +1,299 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_OPTIONAL=1 +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic pax-utils toolchain-funcs xdg-utils + +DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging" +HOMEPAGE="https://notmuchmail.org/" +SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz + test? ( https://notmuchmail.org/releases/test-databases/database-v1.tar.xz )" + +LICENSE="GPL-3" +# Sub-slot corresponds to major wersion of libnotmuch.so.X.Y. Bump of Y is +# meant to be binary backward compatible. +SLOT="0/5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + apidoc? ( doc ) + nmbug? ( python ) + test? ( crypt emacs python ) +" +IUSE="apidoc crypt doc emacs mutt nmbug python test" +RESTRICT="!test? ( test )" + +BDEPEND=" + app-arch/xz-utils[extra-filters(-)] + virtual/pkgconfig + apidoc? ( + app-text/doxygen + dev-lang/perl + ) + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + sys-apps/texinfo + ) + python? ( + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + ) + test? ( + app-shells/bash + sys-process/parallel + ) +" + +COMMON_DEPEND=" + dev-libs/glib + dev-libs/gmime:3.0[crypt] + >=dev-libs/xapian-1.4.0:= + sys-libs/talloc + sys-libs/zlib:= + emacs? ( >=app-editors/emacs-${NEED_EMACS}:* ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +DEPEND="${COMMON_DEPEND} + test? ( + >=app-editors/emacs-${NEED_EMACS}:*[libxml2] + app-misc/dtach + dev-debug/gdb[python] + crypt? ( + app-crypt/gnupg + dev-libs/openssl + ) + ) +" + +RDEPEND="${COMMON_DEPEND} + crypt? ( app-crypt/gnupg ) + mutt? ( + dev-perl/File-Which + dev-perl/Mail-Box + dev-perl/MailTools + dev-perl/Term-ReadLine-Gnu + virtual/perl-Digest-SHA + virtual/perl-File-Path + virtual/perl-Getopt-Long + dev-perl/Pod-Parser + ) + nmbug? ( dev-vcs/git ) +" + +SITEFILE="50${PN}-gentoo.el" + +pkg_setup() { + use emacs && elisp-check-emacs-version +} + +src_unpack() { + unpack "${P}".tar.xz + if use test; then + mkdir -p "${S}"/test/test-databases || die + cp "${DISTDIR}"/database-v1.tar.xz "${S}"/test/test-databases/ || die + fi +} + +src_prepare() { + default + + use python && distutils-r1_src_prepare + + mv contrib/notmuch-mutt/README contrib/notmuch-mutt/README-mutt || die + + # Override 'install' target, we want to install manpages with doman, but let it install texinfo files. + sed -i "s/all install-man install-info/all $(usex doc install-info '')/" "Makefile.local" || die + + use test && append-flags '-g' + + # Non-autoconf configure + [[ ${CHOST} == *-solaris* ]] && append-ldflags '-lnsl' '-lsocket' + + # sphinx-4 broke everything. https://bugs.gentoo.org/789492 + echo 'man_make_section_directory = False' >> doc/conf.py || die +} + +src_configure() { + python_setup # For sphinx + + tc-export CC CXX + + local myconf=( + --bashcompletiondir="$(get_bashcompdir)" + --emacslispdir="${EPREFIX}/${SITELISP}/${PN}" + --emacsetcdir="${EPREFIX}/${SITEETC}/${PN}" + --without-desktop + --without-ruby + --zshcompletiondir="${EPREFIX}/usr/share/zsh/site-functions" + $(use_with apidoc api-docs) + $(use_with doc docs) + $(use_with emacs) + ) + + # FIXME: + # Checking for GMime session key extraction support... * ACCESS DENIED: open_wr: /dev/bus/usb/001/011 + # notmuch configure compiles a program _check_session_keys.c, inline in ./configure script + # gmime/gpg/scdaemon tries to open usb devices in GMime test + # we pretend to allow it, without actually allowing it to read or write. + # https://bugs.gentoo.org/821328 + addpredict /dev/bus/usb + + econf "${myconf[@]}" +} + +python_compile() { + pushd bindings/python-cffi > /dev/null || die + distutils-r1_python_compile + # copy stuff just in case + if use test; then + mkdir -p build/stage/tests || die + cp -v tests/*.py build/stage/tests || die + fi + popd > /dev/null || die + + # TODO: we want to drop those, research revdeps + pushd bindings/python > /dev/null || die + distutils-r1_python_compile + popd > /dev/null || die +} + +python_compile_all() { + use doc && emake -C bindings/python/docs html +} + +src_compile() { + python_setup # For sphinx + + # prevent race in emacs doc generation + # FileNotFoundError: [Errno 2] No such file or directory: '..work/notmuch-0.31/emacs/notmuch.rsti' + if use emacs; then + use doc && emake -j1 -C emacs docstring.stamp V=1 + fi + + emake V=1 + + use python && distutils-r1_src_compile + + if use mutt; then + emake -C contrib/notmuch-mutt notmuch-mutt.1 + fi +} + +python_test() { + # we only have tests for cffi bindings + pushd bindings/python-cffi > /dev/null || die + rm -f tox.ini || die + pytest -vv || die "Tests failed with ${EPYTHON}" + popd > /dev/null || die +} + +src_test() { + local test_failures=() + pax-mark -m notmuch + + # we run pytest via eclass phasefunc, so delete upstream launcher + use python && { rm -v test/T391-python-cffi.sh || die ; } + + # These both fail because of line wrapping in the output + rm test/T315-emacs-tagging.sh test/T310-emacs.sh || die + + LD_LIBRARY_PATH="${S}/lib" nonfatal emake test V=1 OPTIONS="--verbose --tee" || test_failures+=( "'emake tests'" ) + pax-mark -ze notmuch + + # both lib and bin needed for testsuite. + if use python; then + LD_LIBRARY_PATH="${S}/lib" \ + PATH="${S}:${PATH}" \ + nonfatal distutils-r1_src_test || test_failures+=( "'python tests'" ) + fi + + [[ ${test_failures} ]] && die "Tests failed: ${test_failures[@]}" +} + +python_install() { + pushd bindings/python-cffi > /dev/null || die + distutils-r1_python_install + popd > /dev/null || die + + pushd bindings/python > /dev/null || die + distutils-r1_python_install + popd > /dev/null || die +} + +src_install() { + default + + if use doc; then + if use apidoc; then + # rename overly generic manpage to avoid clashes + mv doc/_build/man/man3/deprecated.3 \ + doc/_build/man/man3/notmuch-deprecated.3 || die + fi + doman doc/_build/man/man?/*.? + fi + + if use emacs; then + elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die + domenu emacs/notmuch-emacs-mua.desktop + fi + + if use nmbug; then + # TODO: those guys need proper deps + python_fix_shebang devel/nmbug/notmuch-report + dobin devel/nmbug/notmuch-report + fi + + if use mutt; then + pushd contrib/notmuch-mutt > /dev/null || die + dobin notmuch-mutt + # this manpage is built by pod2man + doman notmuch-mutt.1 + insinto /etc/mutt + doins notmuch-mutt.rc + dodoc README-mutt + popd > /dev/null || die + fi + + local DOCS=( README{,.rst} INSTALL NEWS ) + einstalldocs + + if use python; then + use doc && local HTML_DOCS=( bindings/python/docs/html/. ) + distutils-r1_src_install + fi +} + +pkg_preinst() { + local _rcfile="/etc/mutt/notmuch-mutt.rc" + if use mutt && ! [[ -e "${EROOT}"${_rcfile} ]]; then + elog "To enable notmuch support in mutt, add the following line" + elog "to your mutt config file:" + elog "" + elog " source ${_rcfile}" + fi +} + +pkg_postinst() { + if use emacs; then + elisp-site-regen + xdg_desktop_database_update + fi +} + +pkg_postrm() { + if use emacs; then + elisp-site-regen + xdg_desktop_database_update + fi +} diff --git a/net-mail/pfqueue/pfqueue-0.5.6-r2.ebuild b/net-mail/pfqueue/pfqueue-0.5.6-r2.ebuild index c30bd46ac0c3..bcdc4642f30b 100644 --- a/net-mail/pfqueue/pfqueue-0.5.6-r2.ebuild +++ b/net-mail/pfqueue/pfqueue-0.5.6-r2.ebuild @@ -7,7 +7,7 @@ inherit autotools DESCRIPTION="pfqueue is an ncurses console-based tool for managing Postfix queued messages" HOMEPAGE="https://pfqueue.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" diff --git a/net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild b/net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild index 3ebc73117b32..e294c280120a 100644 --- a/net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild +++ b/net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Simple daemon to control email relay based on successful POP or IMAP logins" HOMEPAGE="http://popbsmtp.sourceforge.net" -SRC_URI="mirror://sourceforge/popbsmtp/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/popbsmtp/${P}.tar.gz" LICENSE="|| ( GPL-2 BSD Artistic )" SLOT="0" diff --git a/net-mail/public-inbox/Manifest b/net-mail/public-inbox/Manifest index a6cb43b2750e..44c55ad944f9 100644 --- a/net-mail/public-inbox/Manifest +++ b/net-mail/public-inbox/Manifest @@ -1,3 +1,4 @@ DIST public-inbox-1.9.0.tar.gz 828312 BLAKE2B 0de7a2437074ca75b56872697d7dbc69e8f4cd3735d85b314f80f1d6037da27f29aaaae8aaf9836f089f950ec3be25e473d9cabff60bd8ec6cf4b90da4ee2ac0 SHA512 9d98b78d29fc35a80bd22b9e133a70ebb0dfacc68859b3ae602037485f44e36cd4cc60f86a9d732da657ea665f20ba31f28b0a6cfea34badd5f124cbc13a6533 DIST public-inbox-1.9.0_p20230918.tar.gz 918459 BLAKE2B e263d1ab599203ef9c4cfee3546856a5f472cec65b85d16014eec5359bbd6eb357242e98ffb1b355ce11ba1a5ce3e5c9c22dd51ce672adf0f83ed3c0f9df6ba2 SHA512 4359ba6876b5644cfa6e04ed0d8ed9a307407651f68503ed40841e7f2aaed540bf8d3ac07e7dde4fc2f19d8b0cadf2016e89bb346f58b24b8bb217003680a831 DIST public-inbox-1.9.0_p20231116.tar.gz 929149 BLAKE2B a8693c7720fff56069ac4147db42df4ff15b77b8d5127d12d9845f9b66ff3917f2f1ddbbca97432683bed2ad323e4300c9f3d3d9194cf24551296d64ecc1011d SHA512 f1fa8fa4093859010e1072694b0a46313c10e2d786a01e238600d9d4d669a9aace82959c240faf69ac8e4670953855e2bdc47afc512701b29d7a8d8c11da8c64 +DIST public-inbox-1.9.0_p20240422.tar.gz 959680 BLAKE2B 18fc839f946490aab1f61b82243e5ad5a5abb6e171fbc1abf88e9ce63d467add88324c4855e88fa29fe483e8c7a8ce632bd00c3d60316db14738e1bd6b3c0bfd SHA512 322b0416760f48003e7f3d89f8cb804c1a65127ed387528ded4c96d7af0ead588ec3c7cb1f0f239a859921927052c40bff631a862ad640bfd52777fe26e3dcbf diff --git a/net-mail/public-inbox/public-inbox-1.9.0_p20240422.ebuild b/net-mail/public-inbox/public-inbox-1.9.0_p20240422.ebuild new file mode 100644 index 000000000000..dc0974b2946d --- /dev/null +++ b/net-mail/public-inbox/public-inbox-1.9.0_p20240422.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit perl-module + +DESCRIPTION="An archives-first approach to mailing lists" +HOMEPAGE="https://public-inbox.org" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI=" + https://public-inbox.org/public-inbox.git/ + https://repo.or.cz/public-inbox.git + " + inherit git-r3 +elif [[ ${PV} == *_p* ]] ; then + PUBLIC_INBOX_COMMIT="488958385c6b8974b8780fb44b91c481e57c2eea" + SRC_URI="https://public-inbox.org/public-inbox.git/snapshot/${PUBLIC_INBOX_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/${PUBLIC_INBOX_COMMIT} +else + SRC_URI="https://public-inbox.org/public-inbox.git/snapshot/${P}.tar.gz" +fi + +LICENSE="AGPL-3+" +SLOT="0" +if [[ ${PV} != 9999 ]] ; then + KEYWORDS="~amd64" +fi + +# in order of mention in INSTALL.html, going more for feature completeness +# than for minimal footprint +RDEPEND=" + dev-perl/BSD-Resource + dev-perl/DBD-SQLite + dev-perl/Email-Address-XS + dev-perl/Inline-C + dev-perl/Linux-Inotify2 + dev-perl/Mail-IMAPClient + dev-perl/Net-Server + dev-perl/Parse-RecDescent + dev-perl/Plack + dev-perl/Search-Xapian + dev-perl/TimeDate + dev-perl/URI + dev-vcs/git + net-misc/curl + virtual/mta +" +BDEPEND=" + ${RDEPEND} + virtual/perl-ExtUtils-MakeMaker +" diff --git a/net-mail/public-inbox/public-inbox-9999.ebuild b/net-mail/public-inbox/public-inbox-9999.ebuild index e3774a99b324..dc0974b2946d 100644 --- a/net-mail/public-inbox/public-inbox-9999.ebuild +++ b/net-mail/public-inbox/public-inbox-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ if [[ ${PV} == 9999 ]] ; then " inherit git-r3 elif [[ ${PV} == *_p* ]] ; then - PUBLIC_INBOX_COMMIT="1febc5cbb633cf7eac7dcaf382dd0ebbfe085380" + PUBLIC_INBOX_COMMIT="488958385c6b8974b8780fb44b91c481e57c2eea" SRC_URI="https://public-inbox.org/public-inbox.git/snapshot/${PUBLIC_INBOX_COMMIT}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}"/${PUBLIC_INBOX_COMMIT} else diff --git a/net-mail/qmailadmin/qmailadmin-1.2.15-r2.ebuild b/net-mail/qmailadmin/qmailadmin-1.2.15-r2.ebuild index c107fb96ad6b..8d97d6c4d2d6 100644 --- a/net-mail/qmailadmin/qmailadmin-1.2.15-r2.ebuild +++ b/net-mail/qmailadmin/qmailadmin-1.2.15-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ MY_P=${P/_rc/-rc} DESCRIPTION="A web interface for managing a qmail system with virtual domains" HOMEPAGE="http://www.inter7.com/qmailadmin.html" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" diff --git a/net-mail/qmailadmin/qmailadmin-1.2.16-r1.ebuild b/net-mail/qmailadmin/qmailadmin-1.2.16-r1.ebuild index f7d824c79d7f..3f31a2f47e2f 100644 --- a/net-mail/qmailadmin/qmailadmin-1.2.16-r1.ebuild +++ b/net-mail/qmailadmin/qmailadmin-1.2.16-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,7 +9,7 @@ MY_P=${P/_rc/-rc} DESCRIPTION="A web interface for managing a qmail system with virtual domains" HOMEPAGE="http://www.inter7.com/qmailadmin.html" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" diff --git a/net-mail/qmhandle/qmhandle-1.3.2-r1.ebuild b/net-mail/qmhandle/qmhandle-1.3.2-r1.ebuild index 3b395f8b8d96..badd33fa8a37 100644 --- a/net-mail/qmhandle/qmhandle-1.3.2-r1.ebuild +++ b/net-mail/qmhandle/qmhandle-1.3.2-r1.ebuild @@ -5,7 +5,7 @@ EAPI=7 DESCRIPTION="Qmail message queue tool" HOMEPAGE="http://qmhandle.sourceforge.net/" -SRC_URI="mirror://sourceforge/qmhandle/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/qmhandle/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" diff --git a/net-mail/qmhandle/qmhandle-1.3.2.ebuild b/net-mail/qmhandle/qmhandle-1.3.2.ebuild index 6371288e2363..40f5786bb20c 100644 --- a/net-mail/qmhandle/qmhandle-1.3.2.ebuild +++ b/net-mail/qmhandle/qmhandle-1.3.2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Qmail message queue tool" HOMEPAGE="http://qmhandle.sourceforge.net/" -SRC_URI="mirror://sourceforge/qmhandle/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/qmhandle/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" diff --git a/net-mail/signify/signify-1.14-r1.ebuild b/net-mail/signify/signify-1.14-r1.ebuild deleted file mode 100644 index d6925de8fdcd..000000000000 --- a/net-mail/signify/signify-1.14-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="A (semi-)random e-mail signature rotator" -HOMEPAGE="http://signify.sf.net/" -SRC_URI="mirror://debian/pool/main/s/${PN}/${PN}_${PV}-1.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ppc sparc x86" - -RDEPEND="!app-crypt/signify - dev-lang/perl" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${PN} - -src_prepare() { - default - sed -i 's/head -1/head -n1/' Makefile || die -} - -src_install() { - emake PREFIX="${ED%/}"/usr MANDIR="${ED%/}"/usr/share/man install - einstalldocs - - docinto examples - dodoc examples/{Columned,Complex,Simple,SimpleOrColumned} - docompress -x /usr/share/doc/${PF}/examples -} diff --git a/net-mail/signify/signify-1.14-r2.ebuild b/net-mail/signify/signify-1.14-r2.ebuild index 295774bfe5ee..cdc7a650314d 100644 --- a/net-mail/signify/signify-1.14-r2.ebuild +++ b/net-mail/signify/signify-1.14-r2.ebuild @@ -10,7 +10,7 @@ S="${WORKDIR}/${PN}" LICENSE="public-domain" SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" +KEYWORDS="~amd64 ppc sparc x86" RDEPEND="!app-crypt/signify dev-lang/perl" diff --git a/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild b/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild index 94425547fce5..770d56b94b2c 100644 --- a/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild +++ b/net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,7 @@ inherit autotools fixheadtails qmail toolchain-funcs HOMEPAGE="https://www.inter7.com/index.php?page=vpopmail" DESCRIPTION="Collection of programs to manage virtual email on Qmail servers" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" |