1 |
commit: 84e4a4dfecd6c2eb9d4f24bb63f54662643758bf |
2 |
Author: Alarig Le Lay <alarig <AT> swordarmor <DOT> fr> |
3 |
AuthorDate: Fri May 29 04:50:31 2020 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Fri May 29 04:57:40 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=84e4a4df |
7 |
|
8 |
net-misc/openbgpd: Version bump to 6.7 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Alarig Le Lay <alarig <AT> swordarmor.fr> |
12 |
|
13 |
net-misc/openbgpd/Manifest | 1 + |
14 |
.../openbgpd/files/openbgpd-9999-config.c.patch | 4 ++-- |
15 |
net-misc/openbgpd/files/openbgpd-9999-update.patch | 4 ++-- |
16 |
net-misc/openbgpd/openbgpd-6.6_p0.ebuild | 12 +++++++---- |
17 |
...enbgpd-6.6_p0.ebuild => openbgpd-6.7_p0.ebuild} | 16 +++++++-------- |
18 |
net-misc/openbgpd/openbgpd-9999.ebuild | 24 +++++++++++++--------- |
19 |
6 files changed, 35 insertions(+), 26 deletions(-) |
20 |
|
21 |
diff --git a/net-misc/openbgpd/Manifest b/net-misc/openbgpd/Manifest |
22 |
index 5d2486d..5e4abe2 100644 |
23 |
--- a/net-misc/openbgpd/Manifest |
24 |
+++ b/net-misc/openbgpd/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST openbgpd-6.6p0.tar.gz 676732 BLAKE2B 80b391ead81d8d3bd20fe9b3eb3f8976485d29241f30c7395c678ff3f0fd87b2f3036b2ebb502ff0ca27d79f4fbbe6ba93576069edb32f004705d71d92e2b3a2 SHA512 07a7599b3ab14181575dc38647b307a4efa7d5dfa8a7aefe70483eb6773cb792eac788a10ea865d78daa59f197fc2d9cd2ce96d0c0251564507963716057fee0 |
27 |
+DIST openbgpd-6.7p0.tar.gz 699211 BLAKE2B 981105c3a9ba6a7b143ad6d926459382686f23b6355392fedaecaaf572c0d6054f6ce7656eaf7461d5bdc753e0be3d70f7ae44ee85395fd0d310d2bef7251bf8 SHA512 7309fe00ada74503ae6c739886e8a78af6cba93cbe6d29f9656eb95f96124401ac7b00ebe1b345b1c786582f661c72caf22c9193968662db2a1f19703f34cd2e |
28 |
|
29 |
diff --git a/net-misc/openbgpd/files/openbgpd-9999-config.c.patch b/net-misc/openbgpd/files/openbgpd-9999-config.c.patch |
30 |
index a4bda12..edda6fb 100644 |
31 |
--- a/net-misc/openbgpd/files/openbgpd-9999-config.c.patch |
32 |
+++ b/net-misc/openbgpd/files/openbgpd-9999-config.c.patch |
33 |
@@ -1,5 +1,5 @@ |
34 |
---- openbsd/src/usr.sbin/bgpd/config.c 2020-03-20 17:55:04.089577745 +0100 |
35 |
-+++ openbsd/src/usr.sbin/bgpd/config.c 2020-03-20 17:56:01.480205070 +0100 |
36 |
+--- a/openbsd/src/usr.sbin/bgpd/config.c 2020-03-20 17:55:04.089577745 +0100 |
37 |
++++ b/openbsd/src/usr.sbin/bgpd/config.c 2020-03-20 17:56:01.480205070 +0100 |
38 |
@@ -343,7 +343,8 @@ |
39 |
fatal("getifaddrs"); |
40 |
|
41 |
|
42 |
diff --git a/net-misc/openbgpd/files/openbgpd-9999-update.patch b/net-misc/openbgpd/files/openbgpd-9999-update.patch |
43 |
index a60752d..15969c0 100644 |
44 |
--- a/net-misc/openbgpd/files/openbgpd-9999-update.patch |
45 |
+++ b/net-misc/openbgpd/files/openbgpd-9999-update.patch |
46 |
@@ -1,5 +1,5 @@ |
47 |
---- update.sh 2020-03-20 15:14:46.462983445 +0100 |
48 |
-+++ update.sh 2020-03-20 15:14:56.473090379 +0100 |
49 |
+--- a/update.sh 2020-03-20 15:14:46.462983445 +0100 |
50 |
++++ b/update.sh 2020-03-20 15:14:56.473090379 +0100 |
51 |
@@ -13,10 +13,6 @@ |
52 |
git clone "${OPENBGPD_GIT}/openbsd" |
53 |
fi |
54 |
|
55 |
diff --git a/net-misc/openbgpd/openbgpd-6.6_p0.ebuild b/net-misc/openbgpd/openbgpd-6.6_p0.ebuild |
56 |
index 2dd151e..c4b1f50 100644 |
57 |
--- a/net-misc/openbgpd/openbgpd-6.6_p0.ebuild |
58 |
+++ b/net-misc/openbgpd/openbgpd-6.6_p0.ebuild |
59 |
@@ -20,6 +20,7 @@ IUSE="" |
60 |
DEPEND="" |
61 |
RDEPEND=" |
62 |
${DEPEND} |
63 |
+ !!net-misc/quagga |
64 |
acct-group/_bgpd |
65 |
acct-user/_bgpd |
66 |
" |
67 |
@@ -42,8 +43,11 @@ src_install() { |
68 |
} |
69 |
|
70 |
pkg_postinst() { |
71 |
- ewarn "" |
72 |
- ewarn "OpenBGPD portable (not running on OpenBSD) can’t export its RIB to" |
73 |
- ewarn "the FIB. It’s only suitable for route-reflectors or route-servers." |
74 |
- ewarn "" |
75 |
+ if [ -z "${REPLACING_VERSIONS}" ]; then |
76 |
+ ewarn "" |
77 |
+ ewarn "OpenBGPD portable (not running on OpenBSD) can’t export its RIB" |
78 |
+ ewarn "to the FIB. It’s only suitable for route-reflectors or" |
79 |
+ ewarn "route-servers." |
80 |
+ ewarn "" |
81 |
+ fi |
82 |
} |
83 |
|
84 |
diff --git a/net-misc/openbgpd/openbgpd-6.6_p0.ebuild b/net-misc/openbgpd/openbgpd-6.7_p0.ebuild |
85 |
similarity index 73% |
86 |
copy from net-misc/openbgpd/openbgpd-6.6_p0.ebuild |
87 |
copy to net-misc/openbgpd/openbgpd-6.7_p0.ebuild |
88 |
index 2dd151e..ccd7a6b 100644 |
89 |
--- a/net-misc/openbgpd/openbgpd-6.6_p0.ebuild |
90 |
+++ b/net-misc/openbgpd/openbgpd-6.7_p0.ebuild |
91 |
@@ -20,6 +20,7 @@ IUSE="" |
92 |
DEPEND="" |
93 |
RDEPEND=" |
94 |
${DEPEND} |
95 |
+ !!net-misc/quagga |
96 |
acct-group/_bgpd |
97 |
acct-user/_bgpd |
98 |
" |
99 |
@@ -29,10 +30,6 @@ BDEPEND=" |
100 |
|
101 |
S="${WORKDIR}/${MY_P}" |
102 |
|
103 |
-PATCHES=( |
104 |
- "${FILESDIR}/${P}-config.c.patch" |
105 |
-) |
106 |
- |
107 |
src_install() { |
108 |
default |
109 |
|
110 |
@@ -42,8 +39,11 @@ src_install() { |
111 |
} |
112 |
|
113 |
pkg_postinst() { |
114 |
- ewarn "" |
115 |
- ewarn "OpenBGPD portable (not running on OpenBSD) can’t export its RIB to" |
116 |
- ewarn "the FIB. It’s only suitable for route-reflectors or route-servers." |
117 |
- ewarn "" |
118 |
+ if [ -z "${REPLACING_VERSIONS}" ]; then |
119 |
+ ewarn "" |
120 |
+ ewarn "OpenBGPD portable (not running on OpenBSD) can’t export its RIB" |
121 |
+ ewarn "to the FIB. It’s only suitable for route-reflectors or" |
122 |
+ ewarn "route-servers." |
123 |
+ ewarn "" |
124 |
+ fi |
125 |
} |
126 |
|
127 |
diff --git a/net-misc/openbgpd/openbgpd-9999.ebuild b/net-misc/openbgpd/openbgpd-9999.ebuild |
128 |
index a7ba284..53a836b 100644 |
129 |
--- a/net-misc/openbgpd/openbgpd-9999.ebuild |
130 |
+++ b/net-misc/openbgpd/openbgpd-9999.ebuild |
131 |
@@ -6,8 +6,8 @@ EAPI=7 |
132 |
inherit autotools git-r3 systemd |
133 |
|
134 |
DESCRIPTION="OpenBGPD is a free implementation of BGPv4" |
135 |
-HOMEPAGE="http://www.openbgpd.org/index.html" |
136 |
-EGIT_REPO_URI="https://github.com/openbgpd-portable/openbgpd-portable.git" |
137 |
+HOMEPAGE="http://www.openbgpd.org/" |
138 |
+EGIT_REPO_URI="https://github.com/${PN}-portable/${PN}-portable.git" |
139 |
|
140 |
LICENSE="ISC" |
141 |
SLOT="0" |
142 |
@@ -23,11 +23,14 @@ RDEPEND=" |
143 |
" |
144 |
BDEPEND=" |
145 |
dev-util/byacc |
146 |
- sys-devel/autoconf |
147 |
- sys-devel/automake |
148 |
sys-devel/libtool |
149 |
" |
150 |
|
151 |
+PATCHES=( |
152 |
+ "${FILESDIR}/${P}-update.patch" |
153 |
+ "${FILESDIR}/${P}-config.c.patch" |
154 |
+) |
155 |
+ |
156 |
src_unpack() { |
157 |
git-r3_src_unpack |
158 |
|
159 |
@@ -41,8 +44,6 @@ src_unpack() { |
160 |
} |
161 |
|
162 |
src_prepare() { |
163 |
- eapply -p0 "${FILESDIR}/${P}-update.patch" |
164 |
- eapply -p0 "${FILESDIR}/${P}-config.c.patch" |
165 |
default |
166 |
./autogen.sh |
167 |
eautoreconf |
168 |
@@ -62,8 +63,11 @@ src_install() { |
169 |
} |
170 |
|
171 |
pkg_postinst() { |
172 |
- ewarn "" |
173 |
- ewarn "OpenBGPD portable (not running on OpenBSD) can’t export its RIB to" |
174 |
- ewarn "the FIB. It’s only suitable for route-reflectors or route-servers." |
175 |
- ewarn "" |
176 |
+ if [ -z "${REPLACING_VERSIONS}" ]; then |
177 |
+ ewarn "" |
178 |
+ ewarn "OpenBGPD portable (not running on OpenBSD) can’t export its RIB" |
179 |
+ ewarn "to the FIB. It’s only suitable for route-reflectors or" |
180 |
+ ewarn "route-servers." |
181 |
+ ewarn "" |
182 |
+ fi |
183 |
} |