Created attachment 185587 [details]
shar file for dns/py-ub-split-map
ub-split-map is a python module for Unbound to dynamically map external IPs to internal RFC 1918 addresses to avoid split-horizon DNS:
The purpose of this module is to create a 1:1 split horizon IP mapping that
will map external IPs to RFC-1918 IPs. This would be a replacement for split
horizon DNS that would work in a dynamic fashion.
For example, if you had an A record for "www.example.com" that pointed to an
external IP address of 22.214.171.124 that mapped to a web server on your 192.168.0.10
on your internal network. Normally you would have to set up an internal DNS
server to return the 192.168.0.10 address as you wouldn't be able to route
to the 126.96.36.199 address.
Review (via IRC) pending
- Use PyPI (MASTER_SITES=CHEESESHOP) as the distribution file source by default, unless there is a compelling reason to use another source (such as GitHub), such as when important files (such as tests or test data files) aren't included in the PyPI sdist (source tarball).
- Add LICENSE_FILE if one exists in the distribution tarball (one does: "LICENSE")
- USES=python should ONLY declare the Python versions the package supports. If not otherwise explicitly listed/tested upstream, a bare USES=python (without the optional <:version-spec> argument should only be used if it has been explicitly tested to work with both Python 2 and 3.
In this case, without further qualifying information, it appears to only support Python 2.x .
When submitting new ports and updates, please also confirm that the change pass QA, portlint and poudriere in particular. For more information and instructions see: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing.html
 setup.py: Programming Language :: Python :: 2
Created attachment 185728 [details]
New shar file for dns/py-ub-split-map
- Switched to CHEESESHOP
- Added LICENSE_FILE
- RUN_DEPENDS is now pointing to dns/unbound-python slave port (pending PR 221776)
- Fixed USES= python:-2.7
portlint -C complains about dns/unbound-python not existing yet, but otherwise ok.
poudriere testport works fine.