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

2024-06-30 Thread Louis Sautier
commit: 0e5910cc468bba38539422ff42c82af1f5aca66d
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Jun 30 13:11:37 2024 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Sun Jun 30 16:57:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5910cc

net-mail/swaks: add 20240103.0 with ARM64 support, use more optfeatures

* Fix dependencies based on
  https://github.com/jetmore/swaks/blob/v20240103.0/swaks#L1933-L1953
  and move everything not strictly necessary to opftfeature.
* Use EAPI 8.
* Use https for SRC_URI.

Co-authored-by: Alarig Le Lay  swordarmor.fr>
Signed-off-by: Louis Sautier  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/37377

 net-mail/swaks/Manifest|  1 +
 net-mail/swaks/swaks-20240103.0.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/net-mail/swaks/Manifest b/net-mail/swaks/Manifest
index fd5e8ba0b3a8..7037038956ac 100644
--- a/net-mail/swaks/Manifest
+++ b/net-mail/swaks/Manifest
@@ -1 +1,2 @@
 DIST swaks-20201014.0.tar.gz 110953 BLAKE2B 
8dd2c681c6c1e66b76bda71f0bc8b88e658565b28c29ae9f02e5c27500619598e5817a442aa82c48fd90be80cd2dc54eda8390ad3d1cb2e00163cc07a526f463
 SHA512 
8a4e8dc810a9c5943afdbc4db7130e110c42e211d6927ce1cdbab6f81fa49c31490e6c3668ec3cea79580c07b281ce30901b3b4a71325951167158cc9d70d9cc
+DIST swaks-20240103.0.tar.gz 121308 BLAKE2B 
7146c17181c854a474a57e3fc4d2337af910159802c6c2137b48bfb03d54579835b9eecb987874e122ae793c15e3718efd1f1962dc5508878b59afbc5182b658
 SHA512 
89d62cdb94630666c1acb1feb3b62585f36b4d59d14e56d998da6efe45538e9f5072379eebee43dd7244aa3981dbd8d6eb9a42ff7fa21a73127d171b8b3189f5

diff --git a/net-mail/swaks/swaks-20240103.0.ebuild 
b/net-mail/swaks/swaks-20240103.0.ebuild
new file mode 100644
index ..3d4d0004140b
--- /dev/null
+++ b/net-mail/swaks/swaks-20240103.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature
+
+DESCRIPTION="Swiss Army Knife SMTP; Command line SMTP testing, including TLS 
and AUTH"
+HOMEPAGE="https://www.jetmore.org/john/code/swaks/
+   https://github.com/jetmore/swaks";
+SRC_URI="https://www.jetmore.org/john/code/swaks/${P}.tar.gz";
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
+
+RDEPEND="
+   virtual/perl-Getopt-Long
+"
+BDEPEND="app-text/txt2man"
+
+src_compile() {
+   txt2man -s 1 -t "swaks" -v "Mail tools" doc/ref.txt \
+   > swaks.1 \
+   || die "man page compilation failed"
+}
+
+src_install() {
+   dobin swaks
+   doman swaks.1
+   dodoc README.txt doc/*.txt
+}
+
+pkg_postinst() {
+   # See 
https://github.com/jetmore/swaks/blob/v20240103.0/swaks#L1933-L1953
+   local header="Install the following additional packages for optional 
runtime features.\n"
+   header+="You may also check the output of 'swaks --support' to list 
currently available features:"
+   optfeature_header "$header"
+   optfeature "Basic auth support" virtual/perl-MIME-Base64
+   optfeature "AUTH CRAM-MD5 support" virtual/perl-Digest-MD5
+   optfeature "AUTH CRAM-SHA1 support" virtual/perl-Digest-SHA
+   optfeature "AUTH NTLM support" dev-perl/Authen-NTLM
+   optfeature "AUTH DIGEST-MD5 support" dev-perl/Authen-SASL
+   optfeature "MX routing support" dev-perl/Net-DNS
+   optfeature "TLS support" dev-perl/Net-SSLeay
+   optfeature "High Resolution Timing support" virtual/perl-Time-HiRes
+}



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

2024-06-30 Thread Louis Sautier
commit: 0b259734f8b5fbef55c017cfc7a1104ca198cb4b
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Jun 30 13:13:46 2024 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Sun Jun 30 14:31:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b259734

net-mail/swaks: add github upstream metadata

Signed-off-by: Louis Sautier  gentoo.org>

 net-mail/swaks/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-mail/swaks/metadata.xml b/net-mail/swaks/metadata.xml
index 1067669574a5..07083b63ff28 100644
--- a/net-mail/swaks/metadata.xml
+++ b/net-mail/swaks/metadata.xml
@@ -13,4 +13,7 @@
"Swiss Army Knife SMTP; Command line SMTP testing, including 
TLS and
AUTH" - a full-featured Perl script for testing SMTP servers.

+   
+   jetmore/swaks
+   
 



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

2022-07-10 Thread Sam James
commit: 7f8930c49e657967d2239f3f0aefc6db65d60c9d
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 11 03:07:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 11 03:07:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f8930c4

net-mail/swaks: fix UnusedInherits

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

 net-mail/swaks/swaks-20201014.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/swaks/swaks-20201014.0.ebuild 
b/net-mail/swaks/swaks-20201014.0.ebuild
index 775eba5c9230..488f56a7a9e9 100644
--- a/net-mail/swaks/swaks-20201014.0.ebuild
+++ b/net-mail/swaks/swaks-20201014.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit optfeature perl-functions
+inherit optfeature
 
 DESCRIPTION="Swiss Army Knife SMTP; Command line SMTP testing, including TLS 
and AUTH"
 HOMEPAGE="https://www.jetmore.org/john/code/swaks/



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

2020-11-29 Thread David Seifert
commit: 1748dae6b724e2441dfa037dc29e483cf7da0eb9
Author: David Seifert  gentoo  org>
AuthorDate: Sun Nov 29 09:55:24 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 29 09:55:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1748dae6

net-mail/swaks: Remove old

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: David Seifert  gentoo.org>

 net-mail/swaks/Manifest|   1 -
 net-mail/swaks/files/swaks-perl-5.18.patch | 106 -
 net-mail/swaks/swaks-20190914.0.ebuild |  36 --
 3 files changed, 143 deletions(-)

diff --git a/net-mail/swaks/Manifest b/net-mail/swaks/Manifest
index 8c0d4630faf..fd5e8ba0b3a 100644
--- a/net-mail/swaks/Manifest
+++ b/net-mail/swaks/Manifest
@@ -1,2 +1 @@
-DIST swaks-20190914.0.tar.gz 120803 BLAKE2B 
68731c22fbff5ece5c9589c3767afd6aa4fc781df8c6124a0f57d48a3dff8def31ccae1b043e78f7c066194cfe480a0edeb16e43fcd5e1b1aa75b05e65a2367e
 SHA512 
3167435a73e7729d090cba2431d5828895c25154c36d92e0ebecd5c4e2430ca596d62bb3e6eb3b65eadabd52c8331fe3bb8a492cce3ad247fa113c0af9c67339
 DIST swaks-20201014.0.tar.gz 110953 BLAKE2B 
8dd2c681c6c1e66b76bda71f0bc8b88e658565b28c29ae9f02e5c27500619598e5817a442aa82c48fd90be80cd2dc54eda8390ad3d1cb2e00163cc07a526f463
 SHA512 
8a4e8dc810a9c5943afdbc4db7130e110c42e211d6927ce1cdbab6f81fa49c31490e6c3668ec3cea79580c07b281ce30901b3b4a71325951167158cc9d70d9cc

diff --git a/net-mail/swaks/files/swaks-perl-5.18.patch 
b/net-mail/swaks/files/swaks-perl-5.18.patch
deleted file mode 100644
index 3fd89341474..000
--- a/net-mail/swaks/files/swaks-perl-5.18.patch
+++ /dev/null
@@ -1,106 +0,0 @@
 swaks-20130209.0.orig/doc/ref.pod  2014-04-02 19:30:12.742814178 +0300
-+++ swaks-20130209.0.orig/doc/ref.pod  2014-04-02 19:31:49.135105112 +0300
-@@ -824,83 +824,83 @@ 
- 
- =over 4
- 
--=item 0
-+=item C<0>
- 
- no errors occurred
- 
--=item 1
-+=item C<1>
- 
- error parsing command line options
- 
--=item 2
-+=item C<2>
- 
- error connecting to remote server
- 
--=item 3
-+=item C<3>
- 
- unknown connection type
- 
--=item 4
-+=item C<4>
- 
- while running with connection type of "pipe", fatal problem writing to or 
reading from the child process
- 
--=item 5
-+=item C<5>
- 
- while running with connection type of "pipe", child process died 
unexpectedly.  This can mean that the program specified with --pipe doesn't 
exist.
- 
--=item 6
-+=item C<6>
- 
- Connection closed unexpectedly.  If the close is detected in response to the 
'QUIT' swaks sends following an unexpected response, the error code for that 
unexpected response is used instead.  For instance, if a mail server returns a 
550 response to a MAIL FROM: and then immediately closes the connection, swaks 
detects that the connection is closed, but uses the more specific exit code 23 
to detail the nature of the failure.  If instead the server return a 250 code 
and then immediately closes the connection, swaks will use the exit code 6 
because there is not a more specific exit code.
- 
--=item 10
-+=item C<10>
- 
- error in prerequisites (needed module not available)
- 
--=item 21
-+=item C<21>
- 
- error reading initial banner from server
- 
--=item 22
-+=item C<22>
- 
- error in HELO transaction
- 
--=item 23
-+=item C<23>
- 
- error in MAIL transaction
- 
--=item 24
-+=item C<24>
- 
- no RCPTs accepted
- 
--=item 25
-+=item C<25>
- 
- server returned error to DATA request
- 
--=item 26
-+=item C<26>
- 
- server did not accept mail following data
- 
--=item 27
-+=item C<27>
- 
- server returned error after normal-session quit request
- 
--=item 28
-+=item C<28>
- 
- error in AUTH transaction
- 
--=item 29
-+=item C<29>
- 
- error in TLS transaction
- 
--=item 32
-+=item C<32>
- 
- error in EHLO following TLS negotiation
- 
--=item 33
-+=item C<33>
- 
- error in XCLIENT transaction
- 
--=item 34
-+=item C<34>
- 
- error in EHLO following XCLIENT
- 

diff --git a/net-mail/swaks/swaks-20190914.0.ebuild 
b/net-mail/swaks/swaks-20190914.0.ebuild
deleted file mode 100644
index 13065ec2350..000
--- a/net-mail/swaks/swaks-20190914.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Swiss Army Knife SMTP; Command line SMTP testing, including TLS 
and AUTH"
-HOMEPAGE="https://www.jetmore.org/john/code/swaks";
-SRC_URI="https://www.jetmore.org/john/code/swaks/${P}.tar.gz";
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-IUSE="ssl"
-
-DEPEND=">=dev-lang/perl-5.8.8"
-
-RDEPEND="${DEPEND}
-   >=dev-perl/Net-DNS-0.65
-   ssl? ( >=dev-perl/Net-SSLeay-1.35 )
-   >=virtual/perl-MIME-Base64-3.07
-   >=virtual/perl-Digest-MD5-2.39
-   >=virtual/perl-Time-HiRes-1.97
-   >=virtual/perl-Time-Local-1.19
-   >=dev-perl/Authen-NTLM-1.02
-   >=dev-perl/Authen-DigestMD5-0.04
-

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

2020-11-28 Thread Aaron Bauman
commit: cfd55286a20bc9b104ecd7c6542b73c9141bee36
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Nov 28 16:25:18 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Nov 28 16:25:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfd55286

net-mail/swaks: drop old EAPI

Signed-off-by: Aaron Bauman  gentoo.org>

 net-mail/swaks/Manifest   |  1 -
 net-mail/swaks/swaks-20130209.0-r1.ebuild | 41 ---
 2 files changed, 42 deletions(-)

diff --git a/net-mail/swaks/Manifest b/net-mail/swaks/Manifest
index a5f686636f7..8c0d4630faf 100644
--- a/net-mail/swaks/Manifest
+++ b/net-mail/swaks/Manifest
@@ -1,3 +1,2 @@
-DIST swaks-20130209.0.tar.gz 102227 BLAKE2B 
4726da81869e137458f1a3776c51ae33215999bef56b1835cf8558166bd756a8186900b83c0bf32a81d1ab1cf23ec379061f4db78ae5efa51de7a6c1a69d0092
 SHA512 
bf3c639f2c227d8219d5bc98a3d3519886471168c16e38d036283eeb1bb786c80bb80a648637150b3eb1903ef0c0d01bc37fd7b4f55af66a20f7bef18067b118
 DIST swaks-20190914.0.tar.gz 120803 BLAKE2B 
68731c22fbff5ece5c9589c3767afd6aa4fc781df8c6124a0f57d48a3dff8def31ccae1b043e78f7c066194cfe480a0edeb16e43fcd5e1b1aa75b05e65a2367e
 SHA512 
3167435a73e7729d090cba2431d5828895c25154c36d92e0ebecd5c4e2430ca596d62bb3e6eb3b65eadabd52c8331fe3bb8a492cce3ad247fa113c0af9c67339
 DIST swaks-20201014.0.tar.gz 110953 BLAKE2B 
8dd2c681c6c1e66b76bda71f0bc8b88e658565b28c29ae9f02e5c27500619598e5817a442aa82c48fd90be80cd2dc54eda8390ad3d1cb2e00163cc07a526f463
 SHA512 
8a4e8dc810a9c5943afdbc4db7130e110c42e211d6927ce1cdbab6f81fa49c31490e6c3668ec3cea79580c07b281ce30901b3b4a71325951167158cc9d70d9cc

diff --git a/net-mail/swaks/swaks-20130209.0-r1.ebuild 
b/net-mail/swaks/swaks-20130209.0-r1.ebuild
deleted file mode 100644
index 069127b07c9..000
--- a/net-mail/swaks/swaks-20130209.0-r1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils
-
-DESCRIPTION="Swiss Army Knife SMTP; Command line SMTP testing, including TLS 
and AUTH"
-HOMEPAGE="http://www.jetmore.org/john/code/swaks";
-SRC_URI="http://www.jetmore.org/john/code/swaks/${P}.tar.gz";
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-
-IUSE="ssl"
-
-DEPEND=">=dev-lang/perl-5.8.8"
-
-RDEPEND="${DEPEND}
-   >=dev-perl/Net-DNS-0.65
-   ssl? ( >=dev-perl/Net-SSLeay-1.35 )
-   >=virtual/perl-MIME-Base64-3.07
-   >=virtual/perl-Digest-MD5-2.39
-   >=virtual/perl-Time-HiRes-1.97
-   >=virtual/perl-Time-Local-1.19
-   >=dev-perl/Authen-NTLM-1.02
-   >=dev-perl/Authen-DigestMD5-0.04
-   virtual/perl-Digest-SHA"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-perl-5.18.patch
-}
-
-src_compile() {
-   /usr/bin/pod2man -s 1 doc/ref.pod swaks.1 || die "man page compulation 
failed"
-}
-
-src_install() {
-   newbin swaks swaks
-   doman swaks.1
-   dodoc README doc/*.txt
-}



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

2020-11-27 Thread Joonas Niilola
commit: 91869a9d23ecdc4f65c27942db272608622e3236
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Nov 28 06:38:31 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Nov 28 06:39:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91869a9d

net-mail/swaks: stabilize 20201014.0 on amd64

Bug: https://bugs.gentoo.org/757201
Signed-off-by: Joonas Niilola  gentoo.org>

 net-mail/swaks/swaks-20201014.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/swaks/swaks-20201014.0.ebuild 
b/net-mail/swaks/swaks-20201014.0.ebuild
index 223095db605..775eba5c923 100644
--- a/net-mail/swaks/swaks-20201014.0.ebuild
+++ b/net-mail/swaks/swaks-20201014.0.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://www.jetmore.org/john/code/swaks/
 SRC_URI="http://www.jetmore.org/john/code/swaks/${P}.tar.gz";
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
+KEYWORDS="amd64 ~ppc x86"
 
 RDEPEND="
dev-perl/Authen-DigestMD5



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

2020-11-27 Thread Thomas Deutschmann
commit: b8b3afea30be5a886cc26b8712f3b50844840565
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Nov 27 16:49:01 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Nov 27 16:49:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8b3afea

net-mail/swaks: x86 stable (bug #757201)

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-mail/swaks/swaks-20201014.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/swaks/swaks-20201014.0.ebuild 
b/net-mail/swaks/swaks-20201014.0.ebuild
index 0364b7e0eb0..223095db605 100644
--- a/net-mail/swaks/swaks-20201014.0.ebuild
+++ b/net-mail/swaks/swaks-20201014.0.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://www.jetmore.org/john/code/swaks/
 SRC_URI="http://www.jetmore.org/john/code/swaks/${P}.tar.gz";
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc x86"
 
 RDEPEND="
dev-perl/Authen-DigestMD5



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

2020-10-26 Thread Joonas Niilola
commit: 1a74d04b93d24d1104544b43730be4402b83aede
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Sat Oct 10 19:25:04 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct 26 10:14:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a74d04b

net-mail/swaks: New upstream version 20201014.0

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/17878
Signed-off-by: Joonas Niilola  gentoo.org>

 net-mail/swaks/Manifest|  1 +
 net-mail/swaks/swaks-20201014.0.ebuild | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/net-mail/swaks/Manifest b/net-mail/swaks/Manifest
index 2ccb63dceea..a5f686636f7 100644
--- a/net-mail/swaks/Manifest
+++ b/net-mail/swaks/Manifest
@@ -1,2 +1,3 @@
 DIST swaks-20130209.0.tar.gz 102227 BLAKE2B 
4726da81869e137458f1a3776c51ae33215999bef56b1835cf8558166bd756a8186900b83c0bf32a81d1ab1cf23ec379061f4db78ae5efa51de7a6c1a69d0092
 SHA512 
bf3c639f2c227d8219d5bc98a3d3519886471168c16e38d036283eeb1bb786c80bb80a648637150b3eb1903ef0c0d01bc37fd7b4f55af66a20f7bef18067b118
 DIST swaks-20190914.0.tar.gz 120803 BLAKE2B 
68731c22fbff5ece5c9589c3767afd6aa4fc781df8c6124a0f57d48a3dff8def31ccae1b043e78f7c066194cfe480a0edeb16e43fcd5e1b1aa75b05e65a2367e
 SHA512 
3167435a73e7729d090cba2431d5828895c25154c36d92e0ebecd5c4e2430ca596d62bb3e6eb3b65eadabd52c8331fe3bb8a492cce3ad247fa113c0af9c67339
+DIST swaks-20201014.0.tar.gz 110953 BLAKE2B 
8dd2c681c6c1e66b76bda71f0bc8b88e658565b28c29ae9f02e5c27500619598e5817a442aa82c48fd90be80cd2dc54eda8390ad3d1cb2e00163cc07a526f463
 SHA512 
8a4e8dc810a9c5943afdbc4db7130e110c42e211d6927ce1cdbab6f81fa49c31490e6c3668ec3cea79580c07b281ce30901b3b4a71325951167158cc9d70d9cc

diff --git a/net-mail/swaks/swaks-20201014.0.ebuild 
b/net-mail/swaks/swaks-20201014.0.ebuild
new file mode 100644
index 000..cb896589454
--- /dev/null
+++ b/net-mail/swaks/swaks-20201014.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit perl-functions
+
+DESCRIPTION="Swiss Army Knife SMTP; Command line SMTP testing, including TLS 
and AUTH"
+HOMEPAGE="https://www.jetmore.org/john/code/swaks/
+https://github.com/jetmore/swaks";
+SRC_URI="http://www.jetmore.org/john/code/swaks/${P}.tar.gz";
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="
+   >=dev-perl/Authen-DigestMD5-0.04
+   >=dev-perl/Authen-NTLM-1.02
+   >=dev-perl/Net-DNS-0.65
+   >=virtual/perl-Digest-MD5-2.39
+   >=virtual/perl-MIME-Base64-3.07
+   >=virtual/perl-Time-HiRes-1.97
+   >=virtual/perl-Time-Local-1.19
+   dev-perl/CGI
+   dev-perl/DBI
+   dev-perl/Email-Send
+   dev-perl/Email-Valid
+   dev-perl/Params-Validate
+   dev-perl/URI
+   virtual/perl-Data-Dumper
+   virtual/perl-Digest-SHA
+   virtual/perl-Getopt-Long
+"
+BDEPEND="app-text/txt2man"
+
+src_compile() {
+   /usr/bin/txt2man -s 1 -t "${PN}" -v "Mail tools" doc/ref.txt \
+   > swaks.1 \
+   || die "man page compulation failed"
+}
+
+src_install() {
+   dobin swaks
+   doman swaks.1
+   dodoc README.txt doc/*.txt
+}
+
+pkg_postinst() {
+   optfeature "ssl" dev-perl/IO-Socket-SSL
+}



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

2020-10-26 Thread Joonas Niilola
commit: 3cd8e75f34af27049cced11b7d610dbdc9997095
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Oct 26 08:47:53 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct 26 10:14:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cd8e75f

net-mail/swaks: ebuild cleaning on 20201014.0

Signed-off-by: Joonas Niilola  gentoo.org>

 net-mail/swaks/swaks-20201014.0.ebuild | 22 +++---
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/net-mail/swaks/swaks-20201014.0.ebuild 
b/net-mail/swaks/swaks-20201014.0.ebuild
index cb896589454..0364b7e0eb0 100644
--- a/net-mail/swaks/swaks-20201014.0.ebuild
+++ b/net-mail/swaks/swaks-20201014.0.ebuild
@@ -3,40 +3,40 @@
 
 EAPI=7
 
-inherit perl-functions
+inherit optfeature perl-functions
 
 DESCRIPTION="Swiss Army Knife SMTP; Command line SMTP testing, including TLS 
and AUTH"
 HOMEPAGE="https://www.jetmore.org/john/code/swaks/
-https://github.com/jetmore/swaks";
+   https://github.com/jetmore/swaks";
 SRC_URI="http://www.jetmore.org/john/code/swaks/${P}.tar.gz";
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 
 RDEPEND="
-   >=dev-perl/Authen-DigestMD5-0.04
-   >=dev-perl/Authen-NTLM-1.02
-   >=dev-perl/Net-DNS-0.65
-   >=virtual/perl-Digest-MD5-2.39
-   >=virtual/perl-MIME-Base64-3.07
-   >=virtual/perl-Time-HiRes-1.97
-   >=virtual/perl-Time-Local-1.19
+   dev-perl/Authen-DigestMD5
+   dev-perl/Authen-NTLM
dev-perl/CGI
dev-perl/DBI
dev-perl/Email-Send
dev-perl/Email-Valid
+   dev-perl/Net-DNS
dev-perl/Params-Validate
dev-perl/URI
virtual/perl-Data-Dumper
+   virtual/perl-Digest-MD5
virtual/perl-Digest-SHA
virtual/perl-Getopt-Long
+   virtual/perl-MIME-Base64
+   virtual/perl-Time-HiRes
+   virtual/perl-Time-Local
 "
 BDEPEND="app-text/txt2man"
 
 src_compile() {
-   /usr/bin/txt2man -s 1 -t "${PN}" -v "Mail tools" doc/ref.txt \
+   txt2man -s 1 -t "swaks" -v "Mail tools" doc/ref.txt \
> swaks.1 \
-   || die "man page compulation failed"
+   || die "man page compilation failed"
 }
 
 src_install() {



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

2020-04-26 Thread Joonas Niilola
commit: 48a4268aede85f77a67a0a799b7c573da3f2d3bb
Author: Alarig Le Lay  swordarmor  fr>
AuthorDate: Fri Apr 24 08:29:25 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Apr 26 13:36:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48a4268a

net-mail/swaks: Version bump to 20190914.0 and EAPI 7

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay  swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/15496
Signed-off-by: Joonas Niilola  gentoo.org>

 net-mail/swaks/Manifest|  1 +
 net-mail/swaks/metadata.xml| 14 +++--
 net-mail/swaks/swaks-20190914.0.ebuild | 36 ++
 3 files changed, 49 insertions(+), 2 deletions(-)

diff --git a/net-mail/swaks/Manifest b/net-mail/swaks/Manifest
index 774411390ac..2ccb63dceea 100644
--- a/net-mail/swaks/Manifest
+++ b/net-mail/swaks/Manifest
@@ -1 +1,2 @@
 DIST swaks-20130209.0.tar.gz 102227 BLAKE2B 
4726da81869e137458f1a3776c51ae33215999bef56b1835cf8558166bd756a8186900b83c0bf32a81d1ab1cf23ec379061f4db78ae5efa51de7a6c1a69d0092
 SHA512 
bf3c639f2c227d8219d5bc98a3d3519886471168c16e38d036283eeb1bb786c80bb80a648637150b3eb1903ef0c0d01bc37fd7b4f55af66a20f7bef18067b118
+DIST swaks-20190914.0.tar.gz 120803 BLAKE2B 
68731c22fbff5ece5c9589c3767afd6aa4fc781df8c6124a0f57d48a3dff8def31ccae1b043e78f7c066194cfe480a0edeb16e43fcd5e1b1aa75b05e65a2367e
 SHA512 
3167435a73e7729d090cba2431d5828895c25154c36d92e0ebecd5c4e2430ca596d62bb3e6eb3b65eadabd52c8331fe3bb8a492cce3ad247fa113c0af9c67339

diff --git a/net-mail/swaks/metadata.xml b/net-mail/swaks/metadata.xml
index 24e041dfd19..e78c3a3b67c 100644
--- a/net-mail/swaks/metadata.xml
+++ b/net-mail/swaks/metadata.xml
@@ -1,6 +1,16 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-
-"Swiss Army Knife SMTP; Command line SMTP testing, including 
TLS and AUTH" - a full-featured Perl script for testing SMTP 
servers.
+   
+   ala...@swordarmor.fr
+   Alarig Le Lay
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   "Swiss Army Knife SMTP; Command line SMTP testing, including 
TLS and
+   AUTH" - a full-featured Perl script for testing SMTP servers.
+   
 

diff --git a/net-mail/swaks/swaks-20190914.0.ebuild 
b/net-mail/swaks/swaks-20190914.0.ebuild
new file mode 100644
index 000..13065ec2350
--- /dev/null
+++ b/net-mail/swaks/swaks-20190914.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Swiss Army Knife SMTP; Command line SMTP testing, including TLS 
and AUTH"
+HOMEPAGE="https://www.jetmore.org/john/code/swaks";
+SRC_URI="https://www.jetmore.org/john/code/swaks/${P}.tar.gz";
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="ssl"
+
+DEPEND=">=dev-lang/perl-5.8.8"
+
+RDEPEND="${DEPEND}
+   >=dev-perl/Net-DNS-0.65
+   ssl? ( >=dev-perl/Net-SSLeay-1.35 )
+   >=virtual/perl-MIME-Base64-3.07
+   >=virtual/perl-Digest-MD5-2.39
+   >=virtual/perl-Time-HiRes-1.97
+   >=virtual/perl-Time-Local-1.19
+   >=dev-perl/Authen-NTLM-1.02
+   >=dev-perl/Authen-DigestMD5-0.04
+   virtual/perl-Digest-SHA"
+
+src_compile() {
+   /usr/bin/pod2man -s 1 doc/ref.pod swaks.1 || die "man page compulation 
failed"
+}
+
+src_install() {
+   dobin swaks
+   doman swaks.1
+   dodoc README.txt doc/*.txt
+}



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

2017-07-17 Thread Eray Aslan
commit: 290d48670a68f942535e973b420681b85a17efe7
Author: Eray Aslan  gentoo  org>
AuthorDate: Mon Jul 17 14:44:15 2017 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Mon Jul 17 14:44:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=290d4867

net-mail/swaks: remove old - bug 533018

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-mail/swaks/swaks-20130209.0.ebuild | 34 --
 1 file changed, 34 deletions(-)

diff --git a/net-mail/swaks/swaks-20130209.0.ebuild 
b/net-mail/swaks/swaks-20130209.0.ebuild
deleted file mode 100644
index 66fde1889c5..000
--- a/net-mail/swaks/swaks-20130209.0.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-DESCRIPTION="Swiss Army Knife SMTP; Command line SMTP testing, including TLS 
and AUTH"
-HOMEPAGE="http://www.jetmore.org/john/code/swaks";
-SRC_URI="http://www.jetmore.org/john/code/swaks/${P}.tar.gz";
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-
-IUSE="ssl"
-
-DEPEND=">=dev-lang/perl-5.8.8"
-
-RDEPEND="${DEPEND}
-   >=dev-perl/Net-DNS-0.65
-   ssl? ( >=dev-perl/Net-SSLeay-1.35 )
-   >=virtual/perl-MIME-Base64-3.07
-   >=virtual/perl-Digest-MD5-2.39
-   >=virtual/perl-Time-HiRes-1.97
-   >=virtual/perl-Time-Local-1.19
-   >=dev-perl/Authen-NTLM-1.02
-   >=dev-perl/Authen-DigestMD5-0.04
-   virtual/perl-Digest-SHA"
-
-src_compile() {
-   /usr/bin/pod2man -s 1 doc/ref.pod swaks.1 || die "man page compulation 
failed"
-}
-
-src_install() {
-   newbin swaks swaks || die "newbin failed"
-   doman swaks.1 || die
-   dodoc README doc/*.txt || die
-}