mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
net/py-netif: fix build
- LAGG_PROTO_ETHERCHANNEL was removed from 11-CURRENT in r288654 https://lists.freebsd.org/pipermail/svn-src-head/2015-October/076987.html PR: 204202 Approved by: wg (maintainer)
This commit is contained in:
parent
883b837753
commit
f7369076dc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=400871
@ -16,7 +16,7 @@ BUILD_DEPENDS= cython>0:${PORTSDIR}/lang/cython
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= freenas
|
||||
GH_PROJECT= py-netif
|
||||
GH_TAGNAME= 87ed51c
|
||||
GH_TAGNAME= 4432c12
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
@ -29,8 +29,6 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100036
|
||||
IGNORE= This module requires at least FreeBSD 11
|
||||
.else
|
||||
BROKEN= fails to compile
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (freenas-py-netif-1.0-87ed51c_GH0.tar.gz) = 62a3a5d8b8ead84727a97a6d9180a7af5e96460e04814e11730a1a5c6f38a5a7
|
||||
SIZE (freenas-py-netif-1.0-87ed51c_GH0.tar.gz) = 15743
|
||||
SHA256 (freenas-py-netif-1.0-4432c12_GH0.tar.gz) = 0531049b780ba2b64683d2d353958f000a063e43ed642106efc0d0635d23187b
|
||||
SIZE (freenas-py-netif-1.0-4432c12_GH0.tar.gz) = 16654
|
||||
|
10
net/py-netif/files/patch-defs.pxd
Normal file
10
net/py-netif/files/patch-defs.pxd
Normal file
@ -0,0 +1,10 @@
|
||||
--- defs.pxd.orig 2015-11-01 19:57:45 UTC
|
||||
+++ defs.pxd
|
||||
@@ -516,7 +516,6 @@ cdef extern from "net/if_lagg.h":
|
||||
LAGG_PROTO_FAILOVER
|
||||
LAGG_PROTO_LOADBALANCE
|
||||
LAGG_PROTO_LACP
|
||||
- LAGG_PROTO_ETHERCHANNEL
|
||||
|
||||
cdef struct lacp_opreq:
|
||||
uint16_t actor_prio
|
11
net/py-netif/files/patch-netif.pyx
Normal file
11
net/py-netif/files/patch-netif.pyx
Normal file
@ -0,0 +1,11 @@
|
||||
--- netif.pyx.orig 2015-11-01 19:57:48 UTC
|
||||
+++ netif.pyx
|
||||
@@ -424,8 +424,6 @@ class AggregationProtocol(enum.IntEnum):
|
||||
FAILOVER = defs.LAGG_PROTO_FAILOVER
|
||||
LOADBALANCE = defs.LAGG_PROTO_LOADBALANCE
|
||||
LACP = defs.LAGG_PROTO_LACP
|
||||
- ETHERCHANNEL = defs.LAGG_PROTO_ETHERCHANNEL
|
||||
-
|
||||
|
||||
class NeighborDiscoveryFlags(enum.IntEnum):
|
||||
PERFORMNUD = defs.ND6_IFF_PERFORMNUD
|
Loading…
x
Reference in New Issue
Block a user