www/py-forcediphttpsadapter 1.1.0_1 FreeBSD
Use IP address when connecting via SSL
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- www, python
- Package size
- 8.2 KiB, 26.4 KiB installed
Description
This module implements a set of requests TransportAdapter, PoolManager, ConnectionPool and HTTPSConnection with one goal only: to use a specific IP address when connecting via SSL to a web service without running into SNI trouble.
The usual technique to force an IP address on an HTTP connection with Requests is (assuming I want http://example.com/some/path on IP 1.2.3.4): requests.get("http://1.2.3.4/some/path", headers={'Host': 'example.com'})
This is useful if I want to specifically test how 1.2.3.4 is responding; for instance, if example.com is DNS round-robined to several IP addresses and I want to hit one of them specifically.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-forcediphttpsadapter | 1.1.0_1 |
| DragonFly | www/py-forcediphttpsadapter | 1.1.0_1 |
| HardenedBSD | www/py-forcediphttpsadapter | 1.1.0_1 |
| GhostBSD | www/py-forcediphttpsadapter | 1.1.0_1 |
Install
Binary package:
pkg install py312-forcediphttpsadapter
From the ports tree:
cd /usr/ports/www/py-forcediphttpsadapter/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-forcediphttpsadapter>0:www/py-forcediphttpsadapter
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.1.0_1 | 1.1.0_1 | 1.0.2 | 1.1.0_1 | 1.1.0_1 |
| FreeBSD:14:quarterly | 1.1.0_1 | 1.1.0_1 | n/a | 1.1.0_1 | 1.1.0_1 |
| FreeBSD:15:latest | 1.1.0_1 | 1.1.0_1 | n/a | 1.1.0_1 | 1.1.0_1 |
| FreeBSD:15:quarterly | 1.1.0_1 | 1.1.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.1.0_1 | 1.1.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 2
${PYTHON_PKGNAMEPREFIX}packaging>=0: devel/py-packaging${PYTHON_PKGNAMEPREFIX}requests>=0: www/py-requests
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 17
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| forcediphttpsadapter-1.1.0.tar.gz | 4794 | 0d224cf6e8e50eb788c9f5994a7afa6d389bac6dbe540b7dfd77a32590ad0153 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.