Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Python3 dnsrecon
@ 2023-11-19 20:00 jason1987d
  2023-11-19 20:10 ` [PR REVIEW] [WIP] python3-dnsrecon: update to 1.1.5 ahesford
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: jason1987d @ 2023-11-19 20:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]

There is a new pull request by jason1987d against master on the void-packages repository

https://github.com/jason1987d/void-packages python3-dnsrecon
https://github.com/void-linux/void-packages/pull/47317

Python3 dnsrecon
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/47317.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-dnsrecon-47317.patch --]
[-- Type: text/x-diff, Size: 2492 bytes --]

From 8b1fe420335c012a0421b14576a4f4275e840a25 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.tv>
Date: Sun, 19 Nov 2023 13:55:23 -0600
Subject: [PATCH 1/2] python3-pyflakes: Update to 3.1.0.

---
 srcpkgs/python3-pyflakes/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-pyflakes/template b/srcpkgs/python3-pyflakes/template
index 49feba052dd0e..ceb4cca74e197 100644
--- a/srcpkgs/python3-pyflakes/template
+++ b/srcpkgs/python3-pyflakes/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-pyflakes'
 pkgname=python3-pyflakes
-version=3.0.1
+version=3.1.0
 revision=2
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://github.com/PyCQA/pyflakes"
 changelog="https://raw.githubusercontent.com/PyCQA/pyflakes/master/NEWS.rst"
 distfiles="${PYPI_SITE}/p/pyflakes/pyflakes-${version}.tar.gz"
-checksum=ec8b276a6b60bd80defed25add7e439881c19e64850afd9b346283d4165fd0fd
+checksum=a0aae034c444db0071aa077972ba4768d40c830d9539fd45bf4cd3f8f6992efc
 conflicts="python-pyflakes>=0"
 
 post_install() {

From 86f0557c8bfac215b789c222f17069f018b82ce0 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.tv>
Date: Sun, 19 Nov 2023 13:59:25 -0600
Subject: [PATCH 2/2] python3-dnsrecon: update to 1.1.5.

---
 srcpkgs/python3-dnsrecon/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-dnsrecon/template b/srcpkgs/python3-dnsrecon/template
index ba1bd1f1722d2..3052401bfb75b 100644
--- a/srcpkgs/python3-dnsrecon/template
+++ b/srcpkgs/python3-dnsrecon/template
@@ -1,14 +1,14 @@
 # Template file for 'python3-dnsrecon'
 pkgname=python3-dnsrecon
-version=1.1.4
+version=1.1.5
 revision=2
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3 python3-netaddr python3-dnspython python3-lxml python3-flake8 python3-setuptools"
+depends="python3 python3-netaddr python3-dnspython python3-lxml python3-flake8 python3-setuptools python3-pyflakes"
 checkdepends="${depends} python3-pytest"
 short_desc="DNS enumeration script"
 maintainer="Jason Elswick <jason@jasondavid.tv>"
 license="GPL-2.0-only"
 homepage="https://github.com/darkoperator/dnsrecon"
 distfiles="https://github.com/darkoperator/dnsrecon/archive/refs/tags/${version}.tar.gz"
-checksum=ef3a7969b2cf25d1a65a62043a8dbede73103920e2c17c72e8c1aa7c1cc467b2
+checksum=528881c6f2cf759ce91c895c19345768902c3fd811b05dbdfba864f5980aef9c

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] [WIP] python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
@ 2023-11-19 20:10 ` ahesford
  2023-11-19 20:23 ` jason1987d
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ahesford @ 2023-11-19 20:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

New review comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/47317#discussion_r1398486507

Comment:
None of `python3-flake8`, `python3-pyflakes` or `python3-setuptools` belong in `depends`.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] [WIP] python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
  2023-11-19 20:10 ` [PR REVIEW] [WIP] python3-dnsrecon: update to 1.1.5 ahesford
@ 2023-11-19 20:23 ` jason1987d
  2023-11-19 20:25 ` jason1987d
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jason1987d @ 2023-11-19 20:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

New review comment by jason1987d on void-packages repository

https://github.com/void-linux/void-packages/pull/47317#discussion_r1398488373

Comment:
Fixed that, will push shortly, still trying to figure out what to do about some zone transfer failing, perhaps just patch to remove some of that?

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [WIP] python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
  2023-11-19 20:10 ` [PR REVIEW] [WIP] python3-dnsrecon: update to 1.1.5 ahesford
  2023-11-19 20:23 ` jason1987d
@ 2023-11-19 20:25 ` jason1987d
  2023-11-19 20:48 ` ahesford
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jason1987d @ 2023-11-19 20:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3127 bytes --]

New comment by jason1987d on void-packages repository

https://github.com/void-linux/void-packages/pull/47317#issuecomment-1817967353

Comment:
But moving flake to just checkdepends, packaging and installing without these flake packages present... results in this error.

```
$ dnsrecon
Traceback (most recent call last):
  File "/usr/bin/dnsrecon", line 33, in <module>
    sys.exit(load_entry_point('dnsrecon==1.1.5', 'console_scripts', 'dnsrecon')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/dnsrecon", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1381, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1354, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1304, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1381, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1354, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1325, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 929, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 994, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.12/site-packages/dnsrecon/__init__.py", line 1, in <module>
    import pkg_resources
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 3327, in <module>
    @_call_aside
     ^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 3302, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 3340, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 631, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 968, in require
    needed = self.resolve(parse_requirements(requirements))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 829, in resolve
    dist = self._resolve_dist(
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'flake8' distribution was not found and is required by dnsrecon
```

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [WIP] python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (2 preceding siblings ...)
  2023-11-19 20:25 ` jason1987d
@ 2023-11-19 20:48 ` ahesford
  2023-11-19 21:34 ` jason1987d
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ahesford @ 2023-11-19 20:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 298 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/47317#issuecomment-1817973248

Comment:
Pull [this patch](https://github.com/darkoperator/dnsrecon/commit/d0507ef2499d9cc3c3354e1c0632cfc5898a9bf3) which removes superfluous runtime dependencies.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [WIP] python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (3 preceding siblings ...)
  2023-11-19 20:48 ` ahesford
@ 2023-11-19 21:34 ` jason1987d
  2023-11-19 21:59 ` ahesford
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jason1987d @ 2023-11-19 21:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 633 bytes --]

New comment by jason1987d on void-packages repository

https://github.com/void-linux/void-packages/pull/47317#issuecomment-1817984448

Comment:
> Pull [this patch](https://github.com/darkoperator/dnsrecon/commit/d0507ef2499d9cc3c3354e1c0632cfc5898a9bf3) which removes superfluous runtime dependencies.

Trying to find the correct syntax for the dev diff file here.
```
--- a/requirements.txt	2023-11-19 15:09:58.534925710 -0600
+++ b/requirements-dev.txt	2023-11-19 15:25:45.599952918 -0600
@@ -1,3 +1,5 @@
-dnspython>=2.0.0
-netaddr
-lxml
+-r requirements.txt
+pytest
+black==23.7.0
+flake8==6.1.0
+isort==5.12.0
```

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [WIP] python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (4 preceding siblings ...)
  2023-11-19 21:34 ` jason1987d
@ 2023-11-19 21:59 ` ahesford
  2023-11-19 22:02 ` [PR PATCH] [Updated] " jason1987d
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ahesford @ 2023-11-19 21:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/47317#issuecomment-1817990681

Comment:
The `requirements-dev.txt` file is irrelevant, so you can just drop that part of the patch.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (5 preceding siblings ...)
  2023-11-19 21:59 ` ahesford
@ 2023-11-19 22:02 ` jason1987d
  2023-11-19 22:04 ` jason1987d
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jason1987d @ 2023-11-19 22:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 643 bytes --]

There is an updated pull request by jason1987d against master on the void-packages repository

https://github.com/jason1987d/void-packages python3-dnsrecon
https://github.com/void-linux/void-packages/pull/47317

[WIP] python3-dnsrecon: update to 1.1.5.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

Testing zone transfer in some cases fails. Runs when packaged without tests.

Upgrading python3-pyflakes 3.1.0 is necessary for dnsrecon to run.

A patch file from https://github.com/void-linux/void-packages/pull/47317.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-dnsrecon-47317.patch --]
[-- Type: text/x-diff, Size: 3808 bytes --]

From 8b1fe420335c012a0421b14576a4f4275e840a25 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.tv>
Date: Sun, 19 Nov 2023 13:55:23 -0600
Subject: [PATCH 1/2] python3-pyflakes: Update to 3.1.0.

---
 srcpkgs/python3-pyflakes/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-pyflakes/template b/srcpkgs/python3-pyflakes/template
index 49feba052dd0e..ceb4cca74e197 100644
--- a/srcpkgs/python3-pyflakes/template
+++ b/srcpkgs/python3-pyflakes/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-pyflakes'
 pkgname=python3-pyflakes
-version=3.0.1
+version=3.1.0
 revision=2
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://github.com/PyCQA/pyflakes"
 changelog="https://raw.githubusercontent.com/PyCQA/pyflakes/master/NEWS.rst"
 distfiles="${PYPI_SITE}/p/pyflakes/pyflakes-${version}.tar.gz"
-checksum=ec8b276a6b60bd80defed25add7e439881c19e64850afd9b346283d4165fd0fd
+checksum=a0aae034c444db0071aa077972ba4768d40c830d9539fd45bf4cd3f8f6992efc
 conflicts="python-pyflakes>=0"
 
 post_install() {

From 00cc7ce3e752faaea3bbd94a6785d0f249063be4 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.tv>
Date: Sun, 19 Nov 2023 13:59:25 -0600
Subject: [PATCH 2/2] python3-dnsrecon: update to 1.1.5.

---
 .../python3-dnsrecon/patches/requirements-dev.txt.diff |  8 ++++++++
 srcpkgs/python3-dnsrecon/patches/requirements.txt.diff |  9 +++++++++
 srcpkgs/python3-dnsrecon/template                      | 10 +++++-----
 3 files changed, 22 insertions(+), 5 deletions(-)
 create mode 100644 srcpkgs/python3-dnsrecon/patches/requirements-dev.txt.diff
 create mode 100644 srcpkgs/python3-dnsrecon/patches/requirements.txt.diff

diff --git a/srcpkgs/python3-dnsrecon/patches/requirements-dev.txt.diff b/srcpkgs/python3-dnsrecon/patches/requirements-dev.txt.diff
new file mode 100644
index 0000000000000..76f385d34bdd5
--- /dev/null
+++ b/srcpkgs/python3-dnsrecon/patches/requirements-dev.txt.diff
@@ -0,0 +1,8 @@
+--- a/file	1969-12-31 18:00:00.000000000 -0600
++++ b/requirements-dev.txt	2023-11-19 15:25:45.599952918 -0600
+@@ -0,0 +1,5 @@
++-r requirements.txt
++pytest
++black==23.7.0
++flake8==6.1.0
++isort==5.12.0
diff --git a/srcpkgs/python3-dnsrecon/patches/requirements.txt.diff b/srcpkgs/python3-dnsrecon/patches/requirements.txt.diff
new file mode 100644
index 0000000000000..cb7722c20c91e
--- /dev/null
+++ b/srcpkgs/python3-dnsrecon/patches/requirements.txt.diff
@@ -0,0 +1,9 @@
+--- a/requirements.txt	2023-11-19 15:38:53.078304888 -0600
++++ b/requirements.txt	2023-11-19 16:00:30.710566194 -0600
+@@ -1,6 +1,3 @@
+ dnspython>=2.0.0
+ netaddr
+ lxml
+-flake8
+-pytest
+-
diff --git a/srcpkgs/python3-dnsrecon/template b/srcpkgs/python3-dnsrecon/template
index ba1bd1f1722d2..ceeae7f5238e1 100644
--- a/srcpkgs/python3-dnsrecon/template
+++ b/srcpkgs/python3-dnsrecon/template
@@ -1,14 +1,14 @@
 # Template file for 'python3-dnsrecon'
 pkgname=python3-dnsrecon
-version=1.1.4
-revision=2
+version=1.1.5
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3 python3-netaddr python3-dnspython python3-lxml python3-flake8 python3-setuptools"
-checkdepends="${depends} python3-pytest"
+depends="python3 python3-netaddr python3-dnspython python3-lxml"
+checkdepends="${depends} python3-flake8 python3-pyflakes python3-pytest"
 short_desc="DNS enumeration script"
 maintainer="Jason Elswick <jason@jasondavid.tv>"
 license="GPL-2.0-only"
 homepage="https://github.com/darkoperator/dnsrecon"
 distfiles="https://github.com/darkoperator/dnsrecon/archive/refs/tags/${version}.tar.gz"
-checksum=ef3a7969b2cf25d1a65a62043a8dbede73103920e2c17c72e8c1aa7c1cc467b2
+checksum=528881c6f2cf759ce91c895c19345768902c3fd811b05dbdfba864f5980aef9c

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [WIP] python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (6 preceding siblings ...)
  2023-11-19 22:02 ` [PR PATCH] [Updated] " jason1987d
@ 2023-11-19 22:04 ` jason1987d
  2023-11-19 22:04 ` jason1987d
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jason1987d @ 2023-11-19 22:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

New comment by jason1987d on void-packages repository

https://github.com/void-linux/void-packages/pull/47317#issuecomment-1817991948

Comment:
> The `requirements-dev.txt` file is irrelevant, so you can just drop that part of the patch.

I figured out the patch syntax. Is that file only irrelevant I assume if I skip tests?

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [WIP] python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (7 preceding siblings ...)
  2023-11-19 22:04 ` jason1987d
@ 2023-11-19 22:04 ` jason1987d
  2023-11-19 23:10 ` ahesford
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jason1987d @ 2023-11-19 22:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 421 bytes --]

New comment by jason1987d on void-packages repository

https://github.com/void-linux/void-packages/pull/47317#issuecomment-1817991948

Comment:
> The `requirements-dev.txt` file is irrelevant, so you can just drop that part of the patch.

I figured out the patch syntax. Is that file only irrelevant I assume if I skip tests?

I have the package itself working at least, thank you for pointing out the obvious patch.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [WIP] python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (8 preceding siblings ...)
  2023-11-19 22:04 ` jason1987d
@ 2023-11-19 23:10 ` ahesford
  2023-11-24  2:49 ` jason1987d
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ahesford @ 2023-11-19 23:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 237 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/47317#issuecomment-1818009218

Comment:
The file is probably irrelevant even if you run tests, because I doubt anything is reading it.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [WIP] python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (9 preceding siblings ...)
  2023-11-19 23:10 ` ahesford
@ 2023-11-24  2:49 ` jason1987d
  2023-11-26  4:31 ` [PR PATCH] [Updated] " jason1987d
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jason1987d @ 2023-11-24  2:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 242 bytes --]

New comment by jason1987d on void-packages repository

https://github.com/void-linux/void-packages/pull/47317#issuecomment-1825085857

Comment:
Zone transfer test failure submitted as issue https://github.com/darkoperator/dnsrecon/issues/251

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (10 preceding siblings ...)
  2023-11-24  2:49 ` jason1987d
@ 2023-11-26  4:31 ` jason1987d
  2023-11-26  5:42 ` jason1987d
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jason1987d @ 2023-11-26  4:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 643 bytes --]

There is an updated pull request by jason1987d against master on the void-packages repository

https://github.com/jason1987d/void-packages python3-dnsrecon
https://github.com/void-linux/void-packages/pull/47317

[WIP] python3-dnsrecon: update to 1.1.5.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

Testing zone transfer in some cases fails. Runs when packaged without tests.

Upgrading python3-pyflakes 3.1.0 is necessary for dnsrecon to run.

A patch file from https://github.com/void-linux/void-packages/pull/47317.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-dnsrecon-47317.patch --]
[-- Type: text/x-diff, Size: 3212 bytes --]

From 0f71bcebdd3a2209a41022cc48617a585f08c555 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.tv>
Date: Sun, 19 Nov 2023 13:55:23 -0600
Subject: [PATCH 1/2] python3-pyflakes: Update to 3.1.0.

---
 srcpkgs/python3-pyflakes/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-pyflakes/template b/srcpkgs/python3-pyflakes/template
index 49feba052dd0e..ceb4cca74e197 100644
--- a/srcpkgs/python3-pyflakes/template
+++ b/srcpkgs/python3-pyflakes/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-pyflakes'
 pkgname=python3-pyflakes
-version=3.0.1
+version=3.1.0
 revision=2
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://github.com/PyCQA/pyflakes"
 changelog="https://raw.githubusercontent.com/PyCQA/pyflakes/master/NEWS.rst"
 distfiles="${PYPI_SITE}/p/pyflakes/pyflakes-${version}.tar.gz"
-checksum=ec8b276a6b60bd80defed25add7e439881c19e64850afd9b346283d4165fd0fd
+checksum=a0aae034c444db0071aa077972ba4768d40c830d9539fd45bf4cd3f8f6992efc
 conflicts="python-pyflakes>=0"
 
 post_install() {

From 75cf0e853d325be8eb6271f51771942a12cfa168 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.tv>
Date: Sun, 19 Nov 2023 13:59:25 -0600
Subject: [PATCH 2/2] python3-dnsrecon: update to 1.1.5.

---
 .../python3-dnsrecon/patches/requirements.txt.diff    |  9 +++++++++
 srcpkgs/python3-dnsrecon/template                     | 11 ++++++-----
 2 files changed, 15 insertions(+), 5 deletions(-)
 create mode 100644 srcpkgs/python3-dnsrecon/patches/requirements.txt.diff

diff --git a/srcpkgs/python3-dnsrecon/patches/requirements.txt.diff b/srcpkgs/python3-dnsrecon/patches/requirements.txt.diff
new file mode 100644
index 0000000000000..cb7722c20c91e
--- /dev/null
+++ b/srcpkgs/python3-dnsrecon/patches/requirements.txt.diff
@@ -0,0 +1,9 @@
+--- a/requirements.txt	2023-11-19 15:38:53.078304888 -0600
++++ b/requirements.txt	2023-11-19 16:00:30.710566194 -0600
+@@ -1,6 +1,3 @@
+ dnspython>=2.0.0
+ netaddr
+ lxml
+-flake8
+-pytest
+-
diff --git a/srcpkgs/python3-dnsrecon/template b/srcpkgs/python3-dnsrecon/template
index ba1bd1f1722d2..61e88c751f99f 100644
--- a/srcpkgs/python3-dnsrecon/template
+++ b/srcpkgs/python3-dnsrecon/template
@@ -1,14 +1,15 @@
 # Template file for 'python3-dnsrecon'
 pkgname=python3-dnsrecon
-version=1.1.4
-revision=2
+version=1.1.5
+revision=1
 build_style=python3-module
+make_check_args="-k not(test_zone_transfer)"
 hostmakedepends="python3-setuptools"
-depends="python3 python3-netaddr python3-dnspython python3-lxml python3-flake8 python3-setuptools"
-checkdepends="${depends} python3-pytest"
+depends="python3 python3-netaddr python3-dnspython python3-lxml"
+checkdepends="${depends} python3-flake8 python3-pyflakes python3-pytest"
 short_desc="DNS enumeration script"
 maintainer="Jason Elswick <jason@jasondavid.tv>"
 license="GPL-2.0-only"
 homepage="https://github.com/darkoperator/dnsrecon"
 distfiles="https://github.com/darkoperator/dnsrecon/archive/refs/tags/${version}.tar.gz"
-checksum=ef3a7969b2cf25d1a65a62043a8dbede73103920e2c17c72e8c1aa7c1cc467b2
+checksum=528881c6f2cf759ce91c895c19345768902c3fd811b05dbdfba864f5980aef9c

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (11 preceding siblings ...)
  2023-11-26  4:31 ` [PR PATCH] [Updated] " jason1987d
@ 2023-11-26  5:42 ` jason1987d
  2023-11-26 15:35 ` jason1987d
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jason1987d @ 2023-11-26  5:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 643 bytes --]

There is an updated pull request by jason1987d against master on the void-packages repository

https://github.com/jason1987d/void-packages python3-dnsrecon
https://github.com/void-linux/void-packages/pull/47317

[WIP] python3-dnsrecon: update to 1.1.5.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

Testing zone transfer in some cases fails. Runs when packaged without tests.

Upgrading python3-pyflakes 3.1.0 is necessary for dnsrecon to run.

A patch file from https://github.com/void-linux/void-packages/pull/47317.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-dnsrecon-47317.patch --]
[-- Type: text/x-diff, Size: 3245 bytes --]

From f264b77f28ccb940c0b3c8765e080ec644be33a9 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.tv>
Date: Sun, 19 Nov 2023 13:55:23 -0600
Subject: [PATCH 1/2] python3-pyflakes: Update to 3.1.0.

---
 srcpkgs/python3-pyflakes/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-pyflakes/template b/srcpkgs/python3-pyflakes/template
index 49feba052dd0e..9c681542b80e8 100644
--- a/srcpkgs/python3-pyflakes/template
+++ b/srcpkgs/python3-pyflakes/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-pyflakes'
 pkgname=python3-pyflakes
-version=3.0.1
-revision=2
+version=3.1.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://github.com/PyCQA/pyflakes"
 changelog="https://raw.githubusercontent.com/PyCQA/pyflakes/master/NEWS.rst"
 distfiles="${PYPI_SITE}/p/pyflakes/pyflakes-${version}.tar.gz"
-checksum=ec8b276a6b60bd80defed25add7e439881c19e64850afd9b346283d4165fd0fd
+checksum=a0aae034c444db0071aa077972ba4768d40c830d9539fd45bf4cd3f8f6992efc
 conflicts="python-pyflakes>=0"
 
 post_install() {

From f6561e278f00fe5c90213a41e63f92e36169a566 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.tv>
Date: Sat, 25 Nov 2023 23:42:09 -0600
Subject: [PATCH 2/2] python3-dnsrecon: update to 1.1.5.

---
 .../python3-dnsrecon/patches/requirements.txt.diff    |  9 +++++++++
 srcpkgs/python3-dnsrecon/template                     | 11 ++++++-----
 2 files changed, 15 insertions(+), 5 deletions(-)
 create mode 100644 srcpkgs/python3-dnsrecon/patches/requirements.txt.diff

diff --git a/srcpkgs/python3-dnsrecon/patches/requirements.txt.diff b/srcpkgs/python3-dnsrecon/patches/requirements.txt.diff
new file mode 100644
index 0000000000000..cb7722c20c91e
--- /dev/null
+++ b/srcpkgs/python3-dnsrecon/patches/requirements.txt.diff
@@ -0,0 +1,9 @@
+--- a/requirements.txt	2023-11-19 15:38:53.078304888 -0600
++++ b/requirements.txt	2023-11-19 16:00:30.710566194 -0600
+@@ -1,6 +1,3 @@
+ dnspython>=2.0.0
+ netaddr
+ lxml
+-flake8
+-pytest
+-
diff --git a/srcpkgs/python3-dnsrecon/template b/srcpkgs/python3-dnsrecon/template
index ba1bd1f1722d2..61e88c751f99f 100644
--- a/srcpkgs/python3-dnsrecon/template
+++ b/srcpkgs/python3-dnsrecon/template
@@ -1,14 +1,15 @@
 # Template file for 'python3-dnsrecon'
 pkgname=python3-dnsrecon
-version=1.1.4
-revision=2
+version=1.1.5
+revision=1
 build_style=python3-module
+make_check_args="-k not(test_zone_transfer)"
 hostmakedepends="python3-setuptools"
-depends="python3 python3-netaddr python3-dnspython python3-lxml python3-flake8 python3-setuptools"
-checkdepends="${depends} python3-pytest"
+depends="python3 python3-netaddr python3-dnspython python3-lxml"
+checkdepends="${depends} python3-flake8 python3-pyflakes python3-pytest"
 short_desc="DNS enumeration script"
 maintainer="Jason Elswick <jason@jasondavid.tv>"
 license="GPL-2.0-only"
 homepage="https://github.com/darkoperator/dnsrecon"
 distfiles="https://github.com/darkoperator/dnsrecon/archive/refs/tags/${version}.tar.gz"
-checksum=ef3a7969b2cf25d1a65a62043a8dbede73103920e2c17c72e8c1aa7c1cc467b2
+checksum=528881c6f2cf759ce91c895c19345768902c3fd811b05dbdfba864f5980aef9c

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (12 preceding siblings ...)
  2023-11-26  5:42 ` jason1987d
@ 2023-11-26 15:35 ` jason1987d
  2023-11-26 19:30 ` ahesford
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jason1987d @ 2023-11-26 15:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

New comment by jason1987d on void-packages repository

https://github.com/void-linux/void-packages/pull/47317#issuecomment-1826815317

Comment:
Although pyflakes is not actually necessary to run, I have the update for it in here anyway, since it likely could use the update. Is this good?

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (13 preceding siblings ...)
  2023-11-26 15:35 ` jason1987d
@ 2023-11-26 19:30 ` ahesford
  2023-11-26 20:49 ` jason1987d
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ahesford @ 2023-11-26 19:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 466 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/47317#issuecomment-1826876051

Comment:
When I say to pull the upstream patch, I literally mean

    curl -L -o requirements.patch https://github.com/darkoperator/dnsrecon/commit/d0507ef2499d9cc3c3354e1c0632cfc5898a9bf3.patch

Using the upstream patch verbatim provides a "chain of custody" with headers that show the upstream commit hash and original author.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (14 preceding siblings ...)
  2023-11-26 19:30 ` ahesford
@ 2023-11-26 20:49 ` jason1987d
  2023-11-27  1:08 ` ahesford
  2023-11-27  1:14 ` [PR PATCH] [Closed]: " ahesford
  17 siblings, 0 replies; 19+ messages in thread
From: jason1987d @ 2023-11-26 20:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

New comment by jason1987d on void-packages repository

https://github.com/void-linux/void-packages/pull/47317#issuecomment-1826892872

Comment:
> When I say to pull the upstream patch, I literally mean
> 
> ```
> curl -L -o requirements.patch https://github.com/darkoperator/dnsrecon/commit/d0507ef2499d9cc3c3354e1c0632cfc5898a9bf3.patch
> ```
> 
> Using the upstream patch verbatim provides a "chain of custody" with headers that show the upstream commit hash and original author.

I did that, and it leads to...
```
=> python3-dnsrecon-1.1.5_1: patching: requirements.patch.
1 out of 1 hunk FAILED -- saving rejects to file requirements.txt.rej
=> ERROR: python3-dnsrecon-1.1.5_1: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1
```

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (15 preceding siblings ...)
  2023-11-26 20:49 ` jason1987d
@ 2023-11-27  1:08 ` ahesford
  2023-11-27  1:14 ` [PR PATCH] [Closed]: " ahesford
  17 siblings, 0 replies; 19+ messages in thread
From: ahesford @ 2023-11-27  1:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/47317#issuecomment-1826981934

Comment:
My mistake; it seems there were some preceding changes to `requirements.txt` that were not in the release. What you have currently is fine.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Closed]: python3-dnsrecon: update to 1.1.5.
  2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
                   ` (16 preceding siblings ...)
  2023-11-27  1:08 ` ahesford
@ 2023-11-27  1:14 ` ahesford
  17 siblings, 0 replies; 19+ messages in thread
From: ahesford @ 2023-11-27  1:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]

There's a closed pull request on the void-packages repository

python3-dnsrecon: update to 1.1.5.
https://github.com/void-linux/void-packages/pull/47317

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

Testing zone transfer in some cases fails. Runs when packaged without tests and other tests pass. Zone transfer is disabled for tests in this template.

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2023-11-27  1:14 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-19 20:00 [PR PATCH] Python3 dnsrecon jason1987d
2023-11-19 20:10 ` [PR REVIEW] [WIP] python3-dnsrecon: update to 1.1.5 ahesford
2023-11-19 20:23 ` jason1987d
2023-11-19 20:25 ` jason1987d
2023-11-19 20:48 ` ahesford
2023-11-19 21:34 ` jason1987d
2023-11-19 21:59 ` ahesford
2023-11-19 22:02 ` [PR PATCH] [Updated] " jason1987d
2023-11-19 22:04 ` jason1987d
2023-11-19 22:04 ` jason1987d
2023-11-19 23:10 ` ahesford
2023-11-24  2:49 ` jason1987d
2023-11-26  4:31 ` [PR PATCH] [Updated] " jason1987d
2023-11-26  5:42 ` jason1987d
2023-11-26 15:35 ` jason1987d
2023-11-26 19:30 ` ahesford
2023-11-26 20:49 ` jason1987d
2023-11-27  1:08 ` ahesford
2023-11-27  1:14 ` [PR PATCH] [Closed]: " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).