diff --git a/net/sshuttle/Makefile b/net/sshuttle/Makefile index 8d6c6878cf3..321ccb4ed11 100644 --- a/net/sshuttle/Makefile +++ b/net/sshuttle/Makefile @@ -2,7 +2,7 @@ COMMENT= VPN over an SSH tunnel MODPY_EGG_VERSION= 1.1.1 DISTNAME= sshuttle-${MODPY_EGG_VERSION} -REVISION= 2 +REVISION= 3 FIX_EXTRACT_PERMISSIONS=Yes diff --git a/net/sshuttle/patches/patch-sshuttle_methods_pf_py b/net/sshuttle/patches/patch-sshuttle_methods_pf_py new file mode 100644 index 00000000000..413bda2f0fc --- /dev/null +++ b/net/sshuttle/patches/patch-sshuttle_methods_pf_py @@ -0,0 +1,20 @@ +#include +#include +#include + +int main (void) { + printf("%zu\n", sizeof(struct pfioc_rule)); +} + +Index: sshuttle/methods/pf.py +--- sshuttle/methods/pf.py.orig ++++ sshuttle/methods/pf.py +@@ -266,7 +266,7 @@ class OpenBsd(Generic): + ("proto_variant", c_uint8), + ("direction", c_uint8)] + +- self.pfioc_rule = c_char * 3424 ++ self.pfioc_rule = c_char * 3408 + self.pfioc_natlook = pfioc_natlook + super(OpenBsd, self).__init__() +