Revert "net-misc/openbgpd-8.4: patch for RTR v1 support"
This reverts commit 1e4010a534
.
This commit is contained in:
parent
1e4010a534
commit
c4b78d2ea3
|
@ -1,4 +1,4 @@
|
||||||
BDEPEND=sys-devel/libtool virtual/pkgconfig
|
BDEPEND=dev-build/libtool virtual/pkgconfig
|
||||||
DEFINED_PHASES=install postinst
|
DEFINED_PHASES=install postinst
|
||||||
DESCRIPTION=OpenBGPD is a free implementation of BGPv4
|
DESCRIPTION=OpenBGPD is a free implementation of BGPv4
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
@ -10,4 +10,4 @@ RDEPEND=!!net-misc/frr acct-group/_bgpd acct-user/_bgpd
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=mirror://openbsd/OpenBGPD/openbgpd-8.2.tar.gz
|
SRC_URI=mirror://openbsd/OpenBGPD/openbgpd-8.2.tar.gz
|
||||||
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 systemd c8b03e8df84486aa991d4396686e8942
|
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 systemd c8b03e8df84486aa991d4396686e8942
|
||||||
_md5_=c14b75b7f914b1160a60cb1002791e3f
|
_md5_=dbb40281afddadb5dff8de2e20b98445
|
||||||
|
|
|
@ -10,4 +10,4 @@ RDEPEND=!!net-misc/frr acct-group/_bgpd acct-user/_bgpd
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=mirror://openbsd/OpenBGPD/openbgpd-8.4.tar.gz
|
SRC_URI=mirror://openbsd/OpenBGPD/openbgpd-8.4.tar.gz
|
||||||
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 systemd c8b03e8df84486aa991d4396686e8942
|
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 systemd c8b03e8df84486aa991d4396686e8942
|
||||||
_md5_=e25811e15d0bdf2eef726de15405eaf2
|
_md5_=8b92058a494b0061051bd28d0926748d
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
--- a/src/bgpd/rtr_proto.c 2024-06-01 11:42:02.490253072 +0200
|
|
||||||
+++ b/src/bgpd/rtr_proto.c 2024-06-01 11:43:40.384138844 +0200
|
|
||||||
@@ -36,6 +36,7 @@
|
|
||||||
} __packed;
|
|
||||||
|
|
||||||
#define RTR_MAX_VERSION 2
|
|
||||||
+#define RTR_MIN_VERSION 1
|
|
||||||
#define RTR_MAX_LEN 2048
|
|
||||||
#define RTR_DEFAULT_REFRESH 3600
|
|
||||||
#define RTR_DEFAULT_RETRY 600
|
|
||||||
@@ -1385,7 +1386,7 @@
|
|
||||||
rs->id = id;
|
|
||||||
rs->session_id = -1;
|
|
||||||
rs->version = RTR_MAX_VERSION;
|
|
||||||
- rs->prev_version = RTR_MAX_VERSION;
|
|
||||||
+ rs->prev_version = RTR_MIN_VERSION;
|
|
||||||
rs->refresh = RTR_DEFAULT_REFRESH;
|
|
||||||
rs->retry = RTR_DEFAULT_RETRY;
|
|
||||||
rs->expire = RTR_DEFAULT_EXPIRE;
|
|
|
@ -28,10 +28,6 @@ BDEPEND="
|
||||||
dev-build/libtool
|
dev-build/libtool
|
||||||
"
|
"
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${P}-rtr-v1-support.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
default
|
default
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue