[gentoo-commits] repo/gentoo:master commit in: net-mail/list-remote-forwards/

2024-04-24 Thread Michael Orlitzky
commit: 4b31645ff7767f9b549c8d8bde50ff7fda6c32df
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Apr 24 11:51:46 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Apr 24 11:54:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b31645f

net-mail/list-remote-forwards: drop long longdescription

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

 net-mail/list-remote-forwards/metadata.xml | 146 ++---
 1 file changed, 8 insertions(+), 138 deletions(-)

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 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   m...@gentoo.org
-   Michael Orlitzky
-   
-   
-   hask...@gentoo.org
-   Gentoo Haskell
-   
-   
-   /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 

[gentoo-commits] repo/gentoo:master commit in: net-mail/list-remote-forwards/

2024-04-24 Thread Michael Orlitzky
commit: 519711be122585cb9b990eebddf97781c318cd86
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Apr 24 11:38:04 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Apr 24 11:50:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519711be

net-mail/list-remote-forwards: add 0.0.4, fix deps

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

 net-mail/list-remote-forwards/Manifest |  1 +
 .../list-remote-forwards-0.0.4.ebuild  | 42 ++
 2 files changed, 43 insertions(+)

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



[gentoo-commits] repo/gentoo:master commit in: net-mail/list-remote-forwards/

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

net-mail/list-remote-forwards: Stabilize for amd64

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

 net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild 
b/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild
index 45630524bd48..2b1dc278724b 100644
--- a/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild
+++ b/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.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
@@ -14,7 +14,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=""
 
 # dev-haskell/dns and dev-haskell/resolv conflict



[gentoo-commits] repo/gentoo:master commit in: net-mail/list-remote-forwards/

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

net-mail/list-remote-forwards: keyword 0.0.3 for ~riscv

Closes: https://github.com/gentoo/gentoo/pull/27397
Signed-off-by: Jakov Smolić  gentoo.org>

 net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild 
b/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild
index 4e73d3802679..45630524bd48 100644
--- a/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild
+++ b/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild
@@ -14,7 +14,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=""
 
 # dev-haskell/dns and dev-haskell/resolv conflict



[gentoo-commits] repo/gentoo:master commit in: net-mail/list-remote-forwards/

2022-08-31 Thread Sam James
commit: 8598bd31b6100ea5bab392b4596c15d0b7bda2fc
Author: matoro  users  noreply  github  com>
AuthorDate: Tue Aug 30 19:03:27 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug 31 21:31:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8598bd31

net-mail/list-remote-forwards: keyword 0.0.3 for ~arm64

Closes: https://github.com/gentoo/gentoo/pull/27048
Signed-off-by: Sam James  gentoo.org>

 net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild 
b/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild
index 23ab9d72c982..4e73d3802679 100644
--- a/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild
+++ b/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild
@@ -14,7 +14,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=""
 
 # dev-haskell/dns and dev-haskell/resolv conflict



[gentoo-commits] repo/gentoo:master commit in: net-mail/list-remote-forwards/

2022-08-30 Thread Michael Orlitzky
commit: f514c0dc9bc346e626b8731cc070fe49add4aae1
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Aug 30 09:38:52 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Aug 30 09:43:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f514c0dc

net-mail/list-remote-forwards: RESTRICT inconsistent tests.

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

 net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild 
b/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild
index 3f6ac736d824..23ab9d72c982 100644
--- a/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild
+++ b/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild
@@ -17,6 +17,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE=""
 
+# dev-haskell/dns and dev-haskell/resolv conflict
+# https://github.com/sol/doctest/issues/119
+RESTRICT=test
+
 RDEPEND=""
 DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.0.0



[gentoo-commits] repo/gentoo:master commit in: net-mail/list-remote-forwards/

2022-08-28 Thread Michael Orlitzky
commit: 1127205d30fc54981f75516aa0a25d8237b3b486
Author: matoro  users  noreply  github  com>
AuthorDate: Tue Aug 23 16:06:27 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Aug 28 22:01:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1127205d

net-mail/list-remote-forwards: keyword 0.0.1-r2 for ~ppc64

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

 .../list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild| 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild 
b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
index 9eaad075cb50..5f826c60fefc 100644
--- a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
+++ b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE=""
 
 RESTRICT=test # Ambiguous packages: dns-3.0.2 resolv-0.1.1.1
@@ -41,6 +41,11 @@ PATCHES=(
"${FILESDIR}"/${P}-ghc84.patch
 )
 
+src_prepare() {
+   sed -i -e "/-optc-O3/d" -e "/-optc-march=native/d" "${PN}.cabal" || die
+   default
+}
+
 src_install() {
haskell-cabal_src_install
doman "${S}/doc/man1/${PN}.1"



[gentoo-commits] repo/gentoo:master commit in: net-mail/list-remote-forwards/files/, net-mail/list-remote-forwards/

2022-08-28 Thread Michael Orlitzky
commit: dc4ac74a14401a57b9f7d85dfaf6d0c073d51004
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Aug 28 21:53:55 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Aug 28 22:01:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc4ac74a

net-mail/list-remote-forwards: add 0.0.3, drop 0.0.1-r2

Signed-off-by: Michael Orlitzky  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/26981

 net-mail/list-remote-forwards/Manifest |  2 +-
 .../files/list-remote-forwards-0.0.1-ghc84.patch   | 26 --
 ...r2.ebuild => list-remote-forwards-0.0.3.ebuild} | 19 
 3 files changed, 5 insertions(+), 42 deletions(-)

diff --git a/net-mail/list-remote-forwards/Manifest 
b/net-mail/list-remote-forwards/Manifest
index 90f3106e81b1..8070a53751a5 100644
--- a/net-mail/list-remote-forwards/Manifest
+++ b/net-mail/list-remote-forwards/Manifest
@@ -1 +1 @@
-DIST list-remote-forwards-0.0.1.tar.gz 25869 BLAKE2B 
decfd8b5d4fcbd5e278f9c58f79687aa33cc91d4d4907ff7a29fe6b745ff49c073e3beaf2876ec071f4ed1099b4575cacb8194049add04c0aa8ebeff3338293e
 SHA512 
b6d8c0e8a72e3dcbc62c00b291da99da6c37c853997c367eb60db128db327c1f862e9dc6d9ad4028aad2e0cec9acc96add28d85d4b22508e1fd00a65bb9b0317
+DIST list-remote-forwards-0.0.3.tar.gz 26495 BLAKE2B 
7bc0a02133dfabe0f27c7ed861bbb994757eadb4d55d369fdd143da7ef03fcadf7d1f11bb034fc8ade7dc879d4b615a3ae5ed44a1ed5af3e10f1aaffcd79210a
 SHA512 
833bb0a3fda76b43d0004d7906c54aa21920f1db8ff50fc2c0d1da6f98dd49310041fa7101050108cb6cb803084fff0673316a1ce86224d35ba09e8060864a9d

diff --git 
a/net-mail/list-remote-forwards/files/list-remote-forwards-0.0.1-ghc84.patch 
b/net-mail/list-remote-forwards/files/list-remote-forwards-0.0.1-ghc84.patch
deleted file mode 100644
index bf21a42d5973..
--- a/net-mail/list-remote-forwards/files/list-remote-forwards-0.0.1-ghc84.patch
+++ /dev/null
@@ -1,26 +0,0 @@
 a/src/OptionalConfiguration.hs
-+++ b/src/OptionalConfiguration.hs
-@@ -31,2 +31,3 @@ import System.IO.Error ( catchIOError )
- import MxList ( MxList(..) )
-+import qualified Data.Semigroup as S
- 
-@@ -59,2 +60,19 @@ merge_maybes (Just _) (Just y) = Just y
- 
-+instance S.Semigroup OptionalConfiguration where
-+  cfg1 <> cfg2 =
-+OptionalConfiguration
-+  (merge_maybes (database cfg1) (database cfg2))
-+  (merge_maybes (domain_query cfg1) (domain_query cfg2))
-+  all_excluded_mx
-+  (merge_maybes (forward_query cfg1) (forward_query cfg2))
-+  (merge_maybes (host cfg1) (host cfg2))
-+  (merge_maybes (password cfg1) (password cfg2))
-+  (merge_maybes (port cfg1) (port cfg2))
-+  (merge_maybes (username cfg1) (username cfg2))
-+where
-+  -- Use only the latter exclude_mx if there are any.
-+  all_excluded_mx =
-+exclude_mx $ if (null (get_mxs $ exclude_mx cfg2))
-+ then cfg1
-+ else cfg2
- 

diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild 
b/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild
similarity index 76%
rename from net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
rename to net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild
index 5f826c60fefc..3f6ac736d824 100644
--- a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
+++ b/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 # ebuild generated by hackport 0.4.4
 
@@ -12,16 +12,14 @@ DESCRIPTION="List all remote forwards for mail accounts 
stored in a database"
 HOMEPAGE="https://hackage.haskell.org/package/list-remote-forwards;
 SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
 
-LICENSE="GPL-3"
+LICENSE="AGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE=""
 
-RESTRICT=test # Ambiguous packages: dns-3.0.2 resolv-0.1.1.1
-
 RDEPEND=""
 DEPEND="${RDEPEND}
-   >=dev-haskell/cabal-1.16.0
+   >=dev-haskell/cabal-3.0.0
>=dev-haskell/cmdargs-0.10
>=dev-haskell/configurator-0.2
>=dev-haskell/dns-1.4
@@ -32,20 +30,11 @@ DEPEND="${RDEPEND}
>=dev-haskell/tasty-0.8
>=dev-haskell/tasty-hunit-0.8
>=dev-haskell/tasty-quickcheck-0.8
-   >=dev-lang/ghc-7.6.1
+   >=dev-lang/ghc-9.0.0
test? ( >=dev-haskell/doctest-0.9
>=dev-haskell/filemanip-0.3.6 )
 "
 
-PATCHES=(
-   "${FILESDIR}"/${P}-ghc84.patch
-)
-
-src_prepare() {
-   sed -i -e "/-optc-O3/d" -e "/-optc-march=native/d" "${PN}.cabal" || die
-   default
-}
-
 src_install() {
haskell-cabal_src_install
doman "${S}/doc/man1/${PN}.1"



[gentoo-commits] repo/gentoo:master commit in: net-mail/list-remote-forwards/

2021-07-25 Thread Sergei Trofimovich
commit: d1b0d6bcfb1bf12ce009214c527a24112e6e67c5
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jul 25 08:45:19 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jul 25 08:45:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1b0d6bc

net-mail/list-remote-forwards: drop obsolete CABAL_FEATURES=bin

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

 net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild 
b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
index a0fccd96a41..9eaad075cb5 100644
--- a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
+++ b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 # ebuild generated by hackport 0.4.4
 
-CABAL_FEATURES="bin test-suite"
+CABAL_FEATURES="test-suite"
 inherit haskell-cabal
 
 DESCRIPTION="List all remote forwards for mail accounts stored in a database"



[gentoo-commits] repo/gentoo:master commit in: net-mail/list-remote-forwards/

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

net-mail/list-remote-forwards: 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/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild 
b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
index 783e292e6de..a0fccd96a41 100644
--- a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
+++ b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,7 +9,7 @@ CABAL_FEATURES="bin test-suite"
 inherit haskell-cabal
 
 DESCRIPTION="List all remote forwards for mail accounts stored in a database"
-HOMEPAGE="http://hackage.haskell.org/package/list-remote-forwards;
+HOMEPAGE="https://hackage.haskell.org/package/list-remote-forwards;
 SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
 
 LICENSE="GPL-3"



[gentoo-commits] repo/gentoo:master commit in: net-mail/list-remote-forwards/

2020-06-28 Thread Sergei Trofimovich
commit: 38984aa6470a25c635fcea929b8fde70cc2e1cbb
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 28 22:33:23 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 28 22:43:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38984aa6

net-mail/list-remote-forwards: drop old

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

 .../list-remote-forwards-0.0.1-r1.ebuild   | 41 --
 1 file changed, 41 deletions(-)

diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r1.ebuild 
b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r1.ebuild
deleted file mode 100644
index 0c3763e369f..000
--- a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r1.ebuild
+++ /dev/null
@@ -1,41 +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.4
-
-CABAL_FEATURES="bin test-suite"
-inherit haskell-cabal
-
-DESCRIPTION="List all remote forwards for mail accounts stored in a database"
-HOMEPAGE="http://hackage.haskell.org/package/list-remote-forwards;
-SRC_URI="https://hackage.haskell.org/package/${P}/${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/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-7.6.1
-   test? ( >=dev-haskell/doctest-0.9
-   >=dev-haskell/filemanip-0.3.6 )
-"
-
-src_install() {
-   haskell-cabal_src_install
-   doman "${S}/doc/man1/${PN}.1"
-}



[gentoo-commits] repo/gentoo:master commit in: net-mail/list-remote-forwards/files/, net-mail/list-remote-forwards/

2019-12-14 Thread Sergei Trofimovich
commit: 9b0b3e554064ac255d93f9f7d2796cac811bd136
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Dec 14 10:52:19 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Dec 14 10:52:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b0b3e55

net-mail/list-remote-forwards: fix for ghc-8.4

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

 .../files/list-remote-forwards-0.0.1-ghc84.patch   | 26 
 .../list-remote-forwards-0.0.1-r2.ebuild   | 47 ++
 2 files changed, 73 insertions(+)

diff --git 
a/net-mail/list-remote-forwards/files/list-remote-forwards-0.0.1-ghc84.patch 
b/net-mail/list-remote-forwards/files/list-remote-forwards-0.0.1-ghc84.patch
new file mode 100644
index 000..bf21a42d597
--- /dev/null
+++ b/net-mail/list-remote-forwards/files/list-remote-forwards-0.0.1-ghc84.patch
@@ -0,0 +1,26 @@
+--- a/src/OptionalConfiguration.hs
 b/src/OptionalConfiguration.hs
+@@ -31,2 +31,3 @@ import System.IO.Error ( catchIOError )
+ import MxList ( MxList(..) )
++import qualified Data.Semigroup as S
+ 
+@@ -59,2 +60,19 @@ merge_maybes (Just _) (Just y) = Just y
+ 
++instance S.Semigroup OptionalConfiguration where
++  cfg1 <> cfg2 =
++OptionalConfiguration
++  (merge_maybes (database cfg1) (database cfg2))
++  (merge_maybes (domain_query cfg1) (domain_query cfg2))
++  all_excluded_mx
++  (merge_maybes (forward_query cfg1) (forward_query cfg2))
++  (merge_maybes (host cfg1) (host cfg2))
++  (merge_maybes (password cfg1) (password cfg2))
++  (merge_maybes (port cfg1) (port cfg2))
++  (merge_maybes (username cfg1) (username cfg2))
++where
++  -- Use only the latter exclude_mx if there are any.
++  all_excluded_mx =
++exclude_mx $ if (null (get_mxs $ exclude_mx cfg2))
++ then cfg1
++ else cfg2
+ 

diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild 
b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
new file mode 100644
index 000..783e292e6de
--- /dev/null
+++ b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.4.4
+
+CABAL_FEATURES="bin test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="List all remote forwards for mail accounts stored in a database"
+HOMEPAGE="http://hackage.haskell.org/package/list-remote-forwards;
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT=test # Ambiguous packages: dns-3.0.2 resolv-0.1.1.1
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+   >=dev-haskell/cabal-1.16.0
+   >=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-7.6.1
+   test? ( >=dev-haskell/doctest-0.9
+   >=dev-haskell/filemanip-0.3.6 )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-ghc84.patch
+)
+
+src_install() {
+   haskell-cabal_src_install
+   doman "${S}/doc/man1/${PN}.1"
+}



[gentoo-commits] repo/gentoo:master commit in: net-mail/list-remote-forwards/, net-mail/mailbox-count/, dev-haskell/hdbc/, ...

2017-03-25 Thread Sergei Trofimovich
commit: 07ecabef92ad21cf9e12af3c1bc97d582d207094
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Mar 25 18:56:59 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Mar 25 19:07:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07ecabef

dev-haskell/hdbc-sqlite3: move package from dev-haskell/hdbc-sqlite:2

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-haskell/{hdbc-sqlite => hdbc-sqlite3}/Manifest |  0
 .../hdbc-sqlite3-2.3.3.1-r1.ebuild}| 30 +++---
 .../{hdbc-sqlite => hdbc-sqlite3}/metadata.xml |  4 +++
 dev-haskell/hdbc/hdbc-2.3.1.2.ebuild   |  2 +-
 .../list-remote-forwards-0.0.1-r1.ebuild   |  2 +-
 .../mailbox-count/mailbox-count-0.0.2-r1.ebuild|  2 +-
 profiles/updates/4Q-2016   |  1 +
 7 files changed, 23 insertions(+), 18 deletions(-)

diff --git a/dev-haskell/hdbc-sqlite/Manifest 
b/dev-haskell/hdbc-sqlite3/Manifest
similarity index 100%
rename from dev-haskell/hdbc-sqlite/Manifest
rename to dev-haskell/hdbc-sqlite3/Manifest

diff --git a/dev-haskell/hdbc-sqlite/hdbc-sqlite-2.3.3.1.ebuild 
b/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild
similarity index 66%
rename from dev-haskell/hdbc-sqlite/hdbc-sqlite-2.3.3.1.ebuild
rename to dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild
index 3d5d1c9d91f..696da308bff 100644
--- a/dev-haskell/hdbc-sqlite/hdbc-sqlite-2.3.3.1.ebuild
+++ b/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-# ebuild generated by hackport 0.4.6
+# ebuild generated by hackport 0.5.1
 
-CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
 inherit haskell-cabal
 
 MY_PN="HDBC-sqlite3"
@@ -16,29 +16,29 @@ HOMEPAGE="https://github.com/hdbc/hdbc-sqlite3;
 SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
 
 LICENSE="BSD"
-SLOT="2"
+SLOT="0/${PV}"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
+IUSE="buildtests +splitbase"
 
 RDEPEND=">=dev-db/sqlite-3.0
>=dev-haskell/hdbc-2.3.0.0:2=[profile?]
dev-haskell/mtl:=[profile?]
dev-haskell/utf8-string:=[profile?]
>=dev-lang/ghc-7.4.1:=
-"
-DEPEND="${RDEPEND}
-   >=dev-haskell/cabal-1.2.3
-   test? ( dev-haskell/convertible:=[profile?]
+   buildtests? ( dev-haskell/convertible:=[profile?]
dev-haskell/hunit:=[profile?]
dev-haskell/old-locale:=[profile?]
dev-haskell/old-time:=[profile?]
dev-haskell/testpack:=[profile?] )
 "
+DEPEND="${RDEPEND}
+   >=dev-haskell/cabal-1.2.3
+"
 
 S="${WORKDIR}/${MY_P}"
 
-# The test suite doesn't work right now. See
-#
-#   https://github.com/hdbc/hdbc-sqlite3/pull/17
-#
-RESTRICT="test"
+src_configure() {
+   haskell-cabal_src_configure \
+   $(cabal_flag buildtests buildtests) \
+   $(cabal_flag splitbase splitbase)
+}

diff --git a/dev-haskell/hdbc-sqlite/metadata.xml 
b/dev-haskell/hdbc-sqlite3/metadata.xml
similarity index 74%
rename from dev-haskell/hdbc-sqlite/metadata.xml
rename to dev-haskell/hdbc-sqlite3/metadata.xml
index 0bcac4dfde2..a6dc7b001d9 100644
--- a/dev-haskell/hdbc-sqlite/metadata.xml
+++ b/dev-haskell/hdbc-sqlite3/metadata.xml
@@ -5,6 +5,10 @@
hask...@gentoo.org
Gentoo Haskell

+   
+   Build the executable to run unit 
tests
+   Choose the new smaller, split-up 
package.
+   

This is the Sqlite v3 driver for HDBC, the generic
database access system for Haskell

diff --git a/dev-haskell/hdbc/hdbc-2.3.1.2.ebuild 
b/dev-haskell/hdbc/hdbc-2.3.1.2.ebuild
index 20bd7eecdef..43595a5a528 100644
--- a/dev-haskell/hdbc/hdbc-2.3.1.2.ebuild
+++ b/dev-haskell/hdbc/hdbc-2.3.1.2.ebuild
@@ -37,7 +37,7 @@ DEPENDV="$(get_version_component_range 1-2)"
 PDEPEND="mysql? ( dev-haskell/hdbc-mysql )
odbc? ( =dev-haskell/hdbc-odbc-${DEPENDV}* )
postgres? ( =dev-haskell/hdbc-postgresql-${DEPENDV}* )
-   sqlite? ( >=dev-haskell/hdbc-sqlite-${DEPENDV} )"
+   sqlite? ( >=dev-haskell/hdbc-sqlite3-${DEPENDV} )"
 
 S="${WORKDIR}/${MY_P}"
 

diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r1.ebuild 
b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r1.ebuild
index 6118538101f..65c65475d57 100644
--- a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r1.ebuild
+++ b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r1.ebuild
@@ -25,7 +25,7 @@ DEPEND="${RDEPEND}
>=dev-haskell/dns-1.4
>=dev-haskell/hdbc-2.4
>=dev-haskell/hdbc-postgresql-2.3
-   >=dev-haskell/hdbc-sqlite-2.3
+   

[gentoo-commits] repo/gentoo:master commit in: net-mail/list-remote-forwards/

2016-07-15 Thread Michael Orlitzky
commit: 61f3a0994dfb4a7220d6899dd5fb40c97c8f15f6
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Jul 15 14:47:20 2016 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Jul 15 15:04:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61f3a099

net-mail/list-remote-forwards: new package to find off-site mail forwards.

Package-Manager: portage-2.2.28

 net-mail/list-remote-forwards/Manifest |   1 +
 .../list-remote-forwards-0.0.1-r1.ebuild   |  42 ++
 net-mail/list-remote-forwards/metadata.xml | 142 +
 3 files changed, 185 insertions(+)

diff --git a/net-mail/list-remote-forwards/Manifest 
b/net-mail/list-remote-forwards/Manifest
new file mode 100644
index 000..acd556e
--- /dev/null
+++ b/net-mail/list-remote-forwards/Manifest
@@ -0,0 +1 @@
+DIST list-remote-forwards-0.0.1.tar.gz 25869 SHA256 
da772a92043fcdfd60698bd24c03c1a73cd0531ab88923dd1dbe13ed091105af SHA512 
b6d8c0e8a72e3dcbc62c00b291da99da6c37c853997c367eb60db128db327c1f862e9dc6d9ad4028aad2e0cec9acc96add28d85d4b22508e1fd00a65bb9b0317
 WHIRLPOOL 
5ac8b0001b8cc53fc8ecf3dcd25ac8e4c071a3516efda929f7c977c9d91a94b97596bf332612e32e2396f8f4907799dd7251c5d9061276f17970c2909902c899

diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r1.ebuild 
b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r1.ebuild
new file mode 100644
index 000..5701833
--- /dev/null
+++ b/net-mail/list-remote-forwards/list-remote-forwards-0.0.1-r1.ebuild
@@ -0,0 +1,42 @@
+# 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.4
+
+CABAL_FEATURES="bin test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="List all remote forwards for mail accounts stored in a database"
+HOMEPAGE="http://hackage.haskell.org/package/list-remote-forwards;
+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/dns-1.4
+   >=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-haskell/tasty-quickcheck-0.8
+   >=dev-lang/ghc-7.6.1
+   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
new file mode 100644
index 000..9ff09b2
--- /dev/null
+++ b/net-mail/list-remote-forwards/metadata.xml
@@ -0,0 +1,142 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   m...@gentoo.org
+   Michael Orlitzky
+   
+   
+   hask...@gentoo.org
+   Gentoo Haskell
+   
+   
+   /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:/
+   
+