Opened 8 years ago

Closed 7 years ago

#51825 closed submission (wontfix)

mitmproxy @0.17.1 -- New port

Reported by: iamGavinJ (GΛVĪN) Owned by: petrrr
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: mdeaudelin (Mathieu Deaudelin-Lemay)
Port: py-mitmproxy

Description

New port for https://mitmproxy.org/

This is a binary release built by the author and does not require the python dependencies that the py-mitmproxy port does.

Attachments (1)

Portfile (1.6 KB) - added by iamGavinJ (GΛVĪN) 8 years ago.
Fixed tab/space indentation

Download all attachments as: .zip

Change History (11)

Changed 8 years ago by iamGavinJ (GΛVĪN)

Attachment: Portfile added

Fixed tab/space indentation

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: petr@… added
Owner: changed from macports-tickets@… to macports@…
Port: py-mitmproxy added; mitmproxy removed

Cc'ing the maintainers of the existing py-mitmproxy port. We cannot have duplicate ports.

Last edited 8 years ago by mf2k (Frank Schima) (previous) (diff)

comment:2 Changed 8 years ago by petrrr

The reporter seems to be aware of port py-mitmproxy, it is specified as conflicting.

I am not sure what exactly the purpose of the port should be, but the description above indicates that the reporter wants to install a binary build to avoid the dependency on Python. As far as i understand this is not the approach MacPorts uses. Macport's Python packages always install against a set of Python versions provided by Macports and do not rely on system's Python of which the version is not controlled by MacPorts.

I therefore would propose to close this ticket as invalid, and only take it as hint to update the existing port. I'll wait for a final comment from the reporter and close this within some days if there is no good reason.

Last edited 8 years ago by petrrr (previous) (diff)

comment:3 Changed 8 years ago by mf2k (Frank Schima)

@ petr: I completely agree with you.

comment:4 Changed 8 years ago by petrrr

See #51562, which tracks update of port py-mitmproxy.

comment:5 Changed 8 years ago by petrrr

Cc: macports@… added; petr@… removed
Owner: changed from macports@… to petr@…

comment:6 Changed 8 years ago by petrrr

You might already have noted that I upgraded py-mitmproxy. See ticket #51562 for more details.

The Portfile provided with this ticket proposes some firewall settings in the activation/deactivation phase. Is this something we want to adopt for the py-mitproxy port? Or do we prefer that users make such settings consciously/manually?

comment:7 in reply to:  2 Changed 8 years ago by iamGavinJ (GΛVĪN)

Sorry for the delay replying... Happy to close this ticket. I submitted it simply because I had already written the portfile after not finding the port. I was limiting my search to the specific name (didn't think to prefix with "py-", or "*mitm*" for that matter).

Replying to petr@…:

The reporter seems to be aware of port py-mitmproxy, it is specified as conflicting.

I am not sure what exactly the purpose of the port should be, but the description above indicates that the reporter wants to install a binary build to avoid the dependency on Python. As far as i understand this is not the approach MacPorts uses. Macport's Python packages always install against a set of Python versions provided by Macports and do not rely on system's Python of which the version is not controlled by MacPorts.

I therefore would propose to close this ticket as invalid, and only take it as hint to update the existing port. I'll wait for a final comment from the reporter and close this within some days if there is no good reason.

comment:8 in reply to:  6 Changed 8 years ago by iamGavinJ (GΛVĪN)

Maybe the firewall additions could be included as a variant?

Replying to petr@…:

You might already have noted that I upgraded py-mitmproxy. See ticket #51562 for more details.

The Portfile provided with this ticket proposes some firewall settings in the activation/deactivation phase. Is this something we want to adopt for the py-mitproxy port? Or do we prefer that users make such settings consciously/manually?

comment:9 Changed 8 years ago by petrrr

I submitted a PR on Github for review of the proposed variant.

@gavin, would you be interested in maintaining this port?

comment:10 Changed 7 years ago by petrrr

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.