[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/

2024-04-26 Thread Michael Orlitzky
commit: 2d3b3962404a1e4d7b30d3c3d801217a53df4033
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Apr 26 12:59:45 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Apr 26 12:59:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d3b3962

net-mail/mailbox-count: minor update to longdescription

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-mail/mailbox-count/metadata.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/mailbox-count/metadata.xml 
b/net-mail/mailbox-count/metadata.xml
index 134a467564f6..93e079338c31 100644
--- a/net-mail/mailbox-count/metadata.xml
+++ b/net-mail/mailbox-count/metadata.xml
@@ -13,12 +13,12 @@
 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 via the --summary-query and --detail-query options.
+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.



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/

2024-04-26 Thread Michael Orlitzky
commit: 1f1f562771099a7dd31afcc39bdfdb4de6f3bc3e
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Apr 26 12:33:41 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Apr 26 12:58:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f1f5627

net-mail/mailbox-count: add 0.0.8

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-mail/mailbox-count/Manifest   |  1 +
 net-mail/mailbox-count/mailbox-count-0.0.8.ebuild | 37 +++
 2 files changed, 38 insertions(+)

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 ..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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/

2024-04-24 Thread Michael Orlitzky
commit: 3c8b6585a9ba887e45fc53823cf520d5f986027f
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Apr 24 11:57:55 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Apr 24 11:59:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c8b6585

net-mail/mailbox-count: trim down longdescription

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-mail/mailbox-count/metadata.xml | 162 +---
 1 file changed, 22 insertions(+), 140 deletions(-)

diff --git a/net-mail/mailbox-count/metadata.xml 
b/net-mail/mailbox-count/metadata.xml
index 4831484d5891..134a467564f6 100644
--- a/net-mail/mailbox-count/metadata.xml
+++ b/net-mail/mailbox-count/metadata.xml
@@ -1,144 +1,26 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   m...@gentoo.org
-   Michael Orlitzky
-   
-   
-   hask...@gentoo.org
-   Gentoo Haskell
-   
-   
-   /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 

[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/

2023-03-17 Thread Sam James
commit: 8326fc5776882617065096b9465f058a399bb87a
Author: hololeap  users  noreply  github  com>
AuthorDate: Wed Mar 15 23:45:37 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 17 18:22:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8326fc57

net-mail/mailbox-count: Stabilize for amd64

Signed-off-by: hololeap  users.noreply.github.com>
Signed-off-by: Sam James  gentoo.org>

 net-mail/mailbox-count/mailbox-count-0.0.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild 
b/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild
index 448bf57bb078..5af4570d8c06 100644
--- a/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild
+++ b/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/

2022-10-06 Thread Jakov Smolić
commit: 46b565f3a140e8cdd246fb2c23e1963f521a9cf2
Author: matoro  users  noreply  github  com>
AuthorDate: Thu Sep 22 04:04:26 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Oct  6 06:11:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46b565f3

net-mail/mailbox-count: keyword 0.0.6 for ~riscv

Signed-off-by: Jakov Smolić  gentoo.org>

 net-mail/mailbox-count/mailbox-count-0.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild 
b/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild
index 8a107660437b..448bf57bb078 100644
--- a/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild
+++ b/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/

2022-08-31 Thread Sam James
commit: 2b15a43470d2441be84a06c1d3c4937b3abc6ef8
Author: matoro  users  noreply  github  com>
AuthorDate: Sun Aug 28 23:10:15 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug 31 21:31:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b15a434

net-mail/mailbox-count: keyword 0.0.6 for ~arm64

Signed-off-by: Sam James  gentoo.org>

 net-mail/mailbox-count/mailbox-count-0.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild 
b/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild
index 77d6b2bd5bdf..8a107660437b 100644
--- a/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild
+++ b/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/

2022-08-28 Thread Michael Orlitzky
commit: 0bc380dfdc5405aeb971d64027d17d69789eb80d
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Aug 28 21:57:24 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Aug 28 22:01:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bc380df

net-mail/mailbox-count: add 0.0.6, drop 0.0.5

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-mail/mailbox-count/Manifest   | 2 +-
 .../{mailbox-count-0.0.5.ebuild => mailbox-count-0.0.6.ebuild}| 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-mail/mailbox-count/Manifest b/net-mail/mailbox-count/Manifest
index d732e867fcb3..82e675aa3c26 100644
--- a/net-mail/mailbox-count/Manifest
+++ b/net-mail/mailbox-count/Manifest
@@ -1 +1 @@
-DIST mailbox-count-0.0.5.tar.gz 21476 BLAKE2B 
3ad79233ae1dbb202bc46c60e8a7d13d5d6820f74e090056f37eacb7b37c2f18498f599603d1ee32a7ac43b5f9931f26aba1780ff5160333c66129889ac6812b
 SHA512 
3c63bd9021f64ba745572907eae8bc25e9ddc7d443d5ab84626dd90f95af71267cbffb9d371f0e308988fbdf14f3a126d93a727d55bf9ee3e02037e687267d26
+DIST mailbox-count-0.0.6.tar.gz 21176 BLAKE2B 
655815d463e14ee8c32cc955819d6b95d5359a644fb09433cb8ab303f07a98ce33b4c048be724253f30d8855a921abb5a7a29e62391ef8a1a9288e2f430710fc
 SHA512 
285aeeaa8cfaade6c91a850154772e47aa212f73d1206c3c8262d08a15b95f15ce812152ca5acf79f5390f476ed6af52a73e03af4ab297e1268044a4a9ece6b5

diff --git a/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild 
b/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild
similarity index 94%
rename from net-mail/mailbox-count/mailbox-count-0.0.5.ebuild
rename to net-mail/mailbox-count/mailbox-count-0.0.6.ebuild
index 93789be780e1..77d6b2bd5bdf 100644
--- a/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild
+++ b/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild
@@ -24,10 +24,10 @@ RDEPEND="
>=dev-haskell/missingh-1.2
>=dev-haskell/tasty-0.8
>=dev-haskell/tasty-hunit-0.8
-   >=dev-lang/ghc-8.0
+   >=dev-lang/ghc-9.0
 "
 DEPEND="${RDEPEND}
-   >=dev-haskell/cabal-1.16.0
+   >=dev-haskell/cabal-3.0.0
test? ( >=dev-haskell/doctest-0.9
>=dev-haskell/filemanip-0.3.6 )"
 



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/

2022-08-28 Thread Michael Orlitzky
commit: 4ca1d51d2136783414f16de9a9de05492aa3bf2d
Author: matoro  users  noreply  github  com>
AuthorDate: Tue Aug 23 16:07:57 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Aug 28 22:01:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ca1d51d

net-mail/mailbox-count: keyword 0.0.5 for ~ppc64

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-mail/mailbox-count/mailbox-count-0.0.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild 
b/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild
index bcdc6ed7c3f7..93789be780e1 100644
--- a/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild
+++ b/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
 
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE=""
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/

2020-12-25 Thread Sergei Trofimovich
commit: 6fcaa2a9802dd8f235e6aed31ec1710431c8bb12
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Dec 25 12:10:41 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Dec 25 12:17:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fcaa2a9

net-mail/mailbox-count: drop unsatisfiable alternative

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-mail/mailbox-count/mailbox-count-0.0.5.ebuild | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild 
b/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild
index 5173370716a..bcdc6ed7c3f 100644
--- a/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild
+++ b/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild
@@ -24,10 +24,7 @@ RDEPEND="
>=dev-haskell/missingh-1.2
>=dev-haskell/tasty-0.8
>=dev-haskell/tasty-hunit-0.8
-   || ( >=dev-lang/ghc-8.0
-( >=dev-lang/ghc-7.10.1
-  =dev-lang/ghc-8.0
 "
 DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.16.0



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/

2020-08-18 Thread Sergei Trofimovich
commit: 86e9d8ceeb3be9daa89bdddb0733f7fb46e7497f
Author: Jakov Smolic  sartura  hr>
AuthorDate: Tue Aug 18 07:36:04 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Aug 18 17:06:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86e9d8ce

net-mail/mailbox-count: update homepage

Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-mail/mailbox-count/mailbox-count-0.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild 
b/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild
index 00d1fe4550c..5173370716a 100644
--- a/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild
+++ b/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild
@@ -7,7 +7,7 @@ CABAL_FEATURES="test-suite"
 inherit haskell-cabal
 
 DESCRIPTION="Count mailboxes in a SQL database"
-HOMEPAGE="http://hackage.haskell.org/package/mailbox-count;
+HOMEPAGE="https://hackage.haskell.org/package/mailbox-count;
 SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
 
 LICENSE="AGPL-3"



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/

2020-02-03 Thread Michael Orlitzky
commit: 2484132579ec86372a1f243c6a2ba4e807fd1431
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Mon Feb  3 21:10:45 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Mon Feb  3 21:14:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24841325

net-mail/mailbox-count: new version 0.0.5.

This new version contains a one-line upstream fix to unbreak the build
on ghc-8.0 and ghc-8.2 (but not higher or lower versions...). Poor
Toralf.

Closes: https://bugs.gentoo.org/708030
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Orlitzky  gentoo.org>

 net-mail/mailbox-count/Manifest | 2 +-
 .../{mailbox-count-0.0.4.ebuild => mailbox-count-0.0.5.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbox-count/Manifest b/net-mail/mailbox-count/Manifest
index ee68504812e..d732e867fcb 100644
--- a/net-mail/mailbox-count/Manifest
+++ b/net-mail/mailbox-count/Manifest
@@ -1 +1 @@
-DIST mailbox-count-0.0.4.tar.gz 21470 BLAKE2B 
e26653b9224250d13da907c3dcf3397728e3bba0e300e2246edc19d63daf99408a97f9ebd4745e56982772f770eebf502c26e59bc4acef442de65414db0791cc
 SHA512 
6a5e65442ccb827d7f89fd63dbfec79d513d126d64df71104e46c713cdd87bd4635f57670feae504e84ad88d57439e314cc22fafc1cdcec8bcec8b2530c69c3d
+DIST mailbox-count-0.0.5.tar.gz 21476 BLAKE2B 
3ad79233ae1dbb202bc46c60e8a7d13d5d6820f74e090056f37eacb7b37c2f18498f599603d1ee32a7ac43b5f9931f26aba1780ff5160333c66129889ac6812b
 SHA512 
3c63bd9021f64ba745572907eae8bc25e9ddc7d443d5ab84626dd90f95af71267cbffb9d371f0e308988fbdf14f3a126d93a727d55bf9ee3e02037e687267d26

diff --git a/net-mail/mailbox-count/mailbox-count-0.0.4.ebuild 
b/net-mail/mailbox-count/mailbox-count-0.0.5.ebuild
similarity index 100%
rename from net-mail/mailbox-count/mailbox-count-0.0.4.ebuild
rename to net-mail/mailbox-count/mailbox-count-0.0.5.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/

2020-02-02 Thread Michael Orlitzky
commit: 1a466575421518436eeca3b53692ae79046b53a1
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Feb  2 17:55:59 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Feb  2 18:02:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a466575

net-mail/mailbox-count: new version 0.0.4.

Another attempt to fix the semigroups mess. The semigroups package is
supposed to offer a backwards-compatible API, but deleted their whole
source tree in the minor release 0.18.2. And since the build system
restricts package visibility to only things you've declared, we need
to hack together a double-conditional both in the cabal build system
and in the ebuild, to require old-enough semigroups with old-enough
ghc, or alternately just a new enough GHC.

Bug: https://bugs.gentoo.org/707836
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Orlitzky  gentoo.org>

 net-mail/mailbox-count/Manifest | 2 +-
 .../{mailbox-count-0.0.3.ebuild => mailbox-count-0.0.4.ebuild}  | 6 --
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/net-mail/mailbox-count/Manifest b/net-mail/mailbox-count/Manifest
index 6a336c7338f..ee68504812e 100644
--- a/net-mail/mailbox-count/Manifest
+++ b/net-mail/mailbox-count/Manifest
@@ -1 +1 @@
-DIST mailbox-count-0.0.3.tar.gz 21358 BLAKE2B 
f56030876321251637d4d41246ccec767edbc71cbd9547a403a8fab2c4b7fbffbef74205faed5dba6e9f2047a7dd85a82301dae52106b18b19f63daf8d66c478
 SHA512 
24d79cd122c3c34b61f5f0234f8a6e55c04f9f7ff74d1fb589c3aa7af2e5fb2df7c02960b6cf4fd743edc006214bb788ea9059361f5614c2a47543dbbe8790b4
+DIST mailbox-count-0.0.4.tar.gz 21470 BLAKE2B 
e26653b9224250d13da907c3dcf3397728e3bba0e300e2246edc19d63daf99408a97f9ebd4745e56982772f770eebf502c26e59bc4acef442de65414db0791cc
 SHA512 
6a5e65442ccb827d7f89fd63dbfec79d513d126d64df71104e46c713cdd87bd4635f57670feae504e84ad88d57439e314cc22fafc1cdcec8bcec8b2530c69c3d

diff --git a/net-mail/mailbox-count/mailbox-count-0.0.3.ebuild 
b/net-mail/mailbox-count/mailbox-count-0.0.4.ebuild
similarity index 88%
rename from net-mail/mailbox-count/mailbox-count-0.0.3.ebuild
rename to net-mail/mailbox-count/mailbox-count-0.0.4.ebuild
index 1da9929cd88..00d1fe4550c 100644
--- a/net-mail/mailbox-count/mailbox-count-0.0.3.ebuild
+++ b/net-mail/mailbox-count/mailbox-count-0.0.4.ebuild
@@ -22,10 +22,12 @@ RDEPEND="
>=dev-haskell/hdbc-postgresql-2.3
>=dev-haskell/hdbc-sqlite3-2.3
>=dev-haskell/missingh-1.2
-   >=dev-haskell/semigroups-0.18
>=dev-haskell/tasty-0.8
>=dev-haskell/tasty-hunit-0.8
-   >=dev-lang/ghc-7.10.1
+   || ( >=dev-lang/ghc-8.0
+( >=dev-lang/ghc-7.10.1
+  

[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/, net-mail/mailbox-count/files/

2020-02-01 Thread Michael Orlitzky
commit: accea94b09cc78b46e73e566ff6fff6cfeae530b
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Feb  2 05:58:43 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Feb  2 05:59:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=accea94b

net-mail/mailbox-count: new version 0.0.3.

This new version attempts to support both the ghc-7.10.1 and ghc-8.x
compilers. The newer GHCs require monoid instances to be semigroups,
but the semigroups package wasn't bundled with the GHC until then.
However, requiring a "redundant" semigroups package seems to not hurt,
and should theoretically fix the build with ghc-7.10.1 as well.

Bug: https://bugs.gentoo.org/707836
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Orlitzky  gentoo.org>

 net-mail/mailbox-count/Manifest|  2 +-
 .../files/mailbox-count-0.0.2-ghc84.patch  | 24 -
 .../mailbox-count/mailbox-count-0.0.2-r2.ebuild| 40 --
 ...-0.0.2-r1.ebuild => mailbox-count-0.0.3.ebuild} | 29 +---
 4 files changed, 18 insertions(+), 77 deletions(-)

diff --git a/net-mail/mailbox-count/Manifest b/net-mail/mailbox-count/Manifest
index f539e1520f1..6a336c7338f 100644
--- a/net-mail/mailbox-count/Manifest
+++ b/net-mail/mailbox-count/Manifest
@@ -1 +1 @@
-DIST mailbox-count-0.0.2.tar.gz 20644 BLAKE2B 
036d118f9c23d42e21de06405d2703e97017f35d618a90e77561d604441092b543a8ba03b50dee5a7c2a48c2b8c0d6e87c06c2338853d9c508de7b6ea9d86006
 SHA512 
98e39927382719295260c64bd5888244000dbbb3fbd7f6405dcffe78a4fc5f1dea7f8236542e58eb0118bb421c19225a8be0560b92c7688c0701418c7221d569
+DIST mailbox-count-0.0.3.tar.gz 21358 BLAKE2B 
f56030876321251637d4d41246ccec767edbc71cbd9547a403a8fab2c4b7fbffbef74205faed5dba6e9f2047a7dd85a82301dae52106b18b19f63daf8d66c478
 SHA512 
24d79cd122c3c34b61f5f0234f8a6e55c04f9f7ff74d1fb589c3aa7af2e5fb2df7c02960b6cf4fd743edc006214bb788ea9059361f5614c2a47543dbbe8790b4

diff --git a/net-mail/mailbox-count/files/mailbox-count-0.0.2-ghc84.patch 
b/net-mail/mailbox-count/files/mailbox-count-0.0.2-ghc84.patch
deleted file mode 100644
index 5257a10a3ac..000
--- a/net-mail/mailbox-count/files/mailbox-count-0.0.2-ghc84.patch
+++ /dev/null
@@ -1,24 +0,0 @@
 a/src/OptionalConfiguration.hs
-+++ b/src/OptionalConfiguration.hs
-@@ -27,3 +27,3 @@ import System.FilePath ( () )
- import System.IO.Error ( catchIOError )
--
-+import qualified Data.Semigroup as S
- 
-@@ -65,2 +65,16 @@ merge_maybes (Just _) (Just y) = Just y
- --
-+
-+instance S.Semigroup OptionalConfiguration where
-+  -- | Combine @cfg1@ and @cfg2@, giving precedence to @cfg2@.
-+  cfg1 <> cfg2 =
-+OptionalConfiguration
-+  (merge_maybes (database cfg1) (database cfg2))
-+  (merge_maybes (detail cfg1) (detail cfg2))
-+  (merge_maybes (detail_query cfg1) (detail_query cfg2))
-+  (merge_maybes (host cfg1) (host cfg2))
-+  (merge_maybes (password cfg1) (password cfg2))
-+  (merge_maybes (port cfg1) (port cfg2))
-+  (merge_maybes (summary_query cfg1) (summary_query cfg2))
-+  (merge_maybes (username cfg1) (username cfg2))
-+
- instance Monoid OptionalConfiguration where

diff --git a/net-mail/mailbox-count/mailbox-count-0.0.2-r2.ebuild 
b/net-mail/mailbox-count/mailbox-count-0.0.2-r2.ebuild
deleted file mode 100644
index 275709ed0d9..000
--- a/net-mail/mailbox-count/mailbox-count-0.0.2-r2.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# ebuild generated by hackport 0.4.2
-
-CABAL_FEATURES="bin test-suite"
-inherit haskell-cabal
-
-DESCRIPTION="Count mailboxes in a SQL database"
-HOMEPAGE="http://hackage.haskell.org/package/mailbox-count;
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RESTRICT=test # Could not find module ‘Paths_mailbox_count’
-
-RDEPEND=""
-DEPEND="${RDEPEND}
-   >=dev-haskell/cabal-1.16.0
-   >=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-7.6.1
-   test? ( >=dev-haskell/doctest-0.9
-   >=dev-haskell/filemanip-0.3.6 )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-ghc84.patch
-)

diff --git a/net-mail/mailbox-count/mailbox-count-0.0.2-r1.ebuild 
b/net-mail/mailbox-count/mailbox-count-0.0.3.ebuild
similarity index 67%
rename from net-mail/mailbox-count/mailbox-count-0.0.2-r1.ebuild
rename to net-mail/mailbox-count/mailbox-count-0.0.3.ebuild
index 737684cfbc1..1da9929cd88 100644
--- a/net-mail/mailbox-count/mailbox-count-0.0.2-r1.ebuild
+++ b/net-mail/mailbox-count/mailbox-count-0.0.3.ebuild
@@ -1,34 +1,39 @@
-# Copyright 1999-2019 Gentoo 

[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/files/, net-mail/mailbox-count/

2019-12-14 Thread Sergei Trofimovich
commit: 5a0278f19b1212b2f801d984b1df0ae95eea7899
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Dec 14 10:49:39 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Dec 14 10:49:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a0278f1

net-mail/mailbox-count: fix for ghc-8.4

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich  gentoo.org>

 .../files/mailbox-count-0.0.2-ghc84.patch  | 24 +
 .../mailbox-count/mailbox-count-0.0.2-r2.ebuild| 40 ++
 2 files changed, 64 insertions(+)

diff --git a/net-mail/mailbox-count/files/mailbox-count-0.0.2-ghc84.patch 
b/net-mail/mailbox-count/files/mailbox-count-0.0.2-ghc84.patch
new file mode 100644
index 000..5257a10a3ac
--- /dev/null
+++ b/net-mail/mailbox-count/files/mailbox-count-0.0.2-ghc84.patch
@@ -0,0 +1,24 @@
+--- a/src/OptionalConfiguration.hs
 b/src/OptionalConfiguration.hs
+@@ -27,3 +27,3 @@ import System.FilePath ( () )
+ import System.IO.Error ( catchIOError )
+-
++import qualified Data.Semigroup as S
+ 
+@@ -65,2 +65,16 @@ merge_maybes (Just _) (Just y) = Just y
+ --
++
++instance S.Semigroup OptionalConfiguration where
++  -- | Combine @cfg1@ and @cfg2@, giving precedence to @cfg2@.
++  cfg1 <> cfg2 =
++OptionalConfiguration
++  (merge_maybes (database cfg1) (database cfg2))
++  (merge_maybes (detail cfg1) (detail cfg2))
++  (merge_maybes (detail_query cfg1) (detail_query cfg2))
++  (merge_maybes (host cfg1) (host cfg2))
++  (merge_maybes (password cfg1) (password cfg2))
++  (merge_maybes (port cfg1) (port cfg2))
++  (merge_maybes (summary_query cfg1) (summary_query cfg2))
++  (merge_maybes (username cfg1) (username cfg2))
++
+ instance Monoid OptionalConfiguration where

diff --git a/net-mail/mailbox-count/mailbox-count-0.0.2-r2.ebuild 
b/net-mail/mailbox-count/mailbox-count-0.0.2-r2.ebuild
new file mode 100644
index 000..275709ed0d9
--- /dev/null
+++ b/net-mail/mailbox-count/mailbox-count-0.0.2-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.4.2
+
+CABAL_FEATURES="bin test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Count mailboxes in a SQL database"
+HOMEPAGE="http://hackage.haskell.org/package/mailbox-count;
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT=test # Could not find module ‘Paths_mailbox_count’
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+   >=dev-haskell/cabal-1.16.0
+   >=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-7.6.1
+   test? ( >=dev-haskell/doctest-0.9
+   >=dev-haskell/filemanip-0.3.6 )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-ghc84.patch
+)



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/

2016-07-15 Thread Michael Orlitzky
commit: 65bb6654e931adfeafc407c3554f25f77691d321
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Jul 15 22:06:06 2016 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Jul 15 22:06:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65bb6654

net-mail/mailbox-count: new package to count SQL mailboxes.

Package-Manager: portage-2.2.28

 net-mail/mailbox-count/Manifest|   1 +
 .../mailbox-count/mailbox-count-0.0.2-r1.ebuild|  35 +
 net-mail/mailbox-count/metadata.xml| 144 +
 3 files changed, 180 insertions(+)

diff --git a/net-mail/mailbox-count/Manifest b/net-mail/mailbox-count/Manifest
new file mode 100644
index 000..831867e
--- /dev/null
+++ b/net-mail/mailbox-count/Manifest
@@ -0,0 +1 @@
+DIST mailbox-count-0.0.2.tar.gz 20644 SHA256 
6eef4b2300a8a5a53bb44ec8c192324025ebddcdc81c2ba145f812a941dba3fd SHA512 
98e39927382719295260c64bd5888244000dbbb3fbd7f6405dcffe78a4fc5f1dea7f8236542e58eb0118bb421c19225a8be0560b92c7688c0701418c7221d569
 WHIRLPOOL 
e8a01030415a3be24926d9b0f6ba812a706d361f065c3b8a7622ab532f31282f4d506e976f1fefdf208039ddc95e1e9b8002e27e01d67ca3648cb85cf7cff7e8

diff --git a/net-mail/mailbox-count/mailbox-count-0.0.2-r1.ebuild 
b/net-mail/mailbox-count/mailbox-count-0.0.2-r1.ebuild
new file mode 100644
index 000..2fc2721
--- /dev/null
+++ b/net-mail/mailbox-count/mailbox-count-0.0.2-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# ebuild generated by hackport 0.4.2
+
+CABAL_FEATURES="bin test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Count mailboxes in a SQL database"
+HOMEPAGE="http://hackage.haskell.org/package/mailbox-count;
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+   >=dev-haskell/cabal-1.16.0
+   >=dev-haskell/cmdargs-0.10
+   >=dev-haskell/configurator-0.2
+   >=dev-haskell/hdbc-2.4
+   >=dev-haskell/hdbc-postgresql-2.3
+   >=dev-haskell/hdbc-sqlite-2.3
+   >=dev-haskell/missingh-1.2
+   >=dev-haskell/tasty-0.8
+   >=dev-haskell/tasty-hunit-0.8
+   >=dev-lang/ghc-7.6.1
+   test? ( >=dev-haskell/doctest-0.9
+   >=dev-haskell/filemanip-0.3.6 )
+"

diff --git a/net-mail/mailbox-count/metadata.xml 
b/net-mail/mailbox-count/metadata.xml
new file mode 100644
index 000..fb7f98b
--- /dev/null
+++ b/net-mail/mailbox-count/metadata.xml
@@ -0,0 +1,144 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   m...@gentoo.org
+   Michael Orlitzky
+   
+   
+   hask...@gentoo.org
+   Gentoo Haskell
+   
+   
+   /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