net-misc/openbgpd: Using EGIT_REPO_URI instead of SRC_URI
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
7bd18396fe
commit
55fef66056
|
@ -1,2 +1 @@
|
||||||
DIST openbgpd-6.6p0.tar.gz 676732 BLAKE2B 80b391ead81d8d3bd20fe9b3eb3f8976485d29241f30c7395c678ff3f0fd87b2f3036b2ebb502ff0ca27d79f4fbbe6ba93576069edb32f004705d71d92e2b3a2 SHA512 07a7599b3ab14181575dc38647b307a4efa7d5dfa8a7aefe70483eb6773cb792eac788a10ea865d78daa59f197fc2d9cd2ce96d0c0251564507963716057fee0
|
DIST openbgpd-6.6p0.tar.gz 676732 BLAKE2B 80b391ead81d8d3bd20fe9b3eb3f8976485d29241f30c7395c678ff3f0fd87b2f3036b2ebb502ff0ca27d79f4fbbe6ba93576069edb32f004705d71d92e2b3a2 SHA512 07a7599b3ab14181575dc38647b307a4efa7d5dfa8a7aefe70483eb6773cb792eac788a10ea865d78daa59f197fc2d9cd2ce96d0c0251564507963716057fee0
|
||||||
DIST openbgpd-portable-master.zip 79593 BLAKE2B 7a19522d015076491e698d5dd4434dfaab88ae2dde00b5cbc16122fb3be8a3bbe6906a89ed50d173806298e0e86737f93d7c6be57461ada6c7bb50699a19cbdd SHA512 6d55527c3955457f40c95ff1164f4f6f8c0a8b326c8a632014f83150ffb238eb393053a54b608d650b3756255588b155d537e1a0d228e2961d8f9890e3da641d
|
|
||||||
|
|
|
@ -5,17 +5,9 @@ EAPI=7
|
||||||
|
|
||||||
inherit autotools git-r3 systemd
|
inherit autotools git-r3 systemd
|
||||||
|
|
||||||
MY_PV="master"
|
|
||||||
MY_PN="openbgpd-portable"
|
|
||||||
MY_P="${MY_PN}-${MY_PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="OpenBGPD is a free implementation of BGPv4"
|
DESCRIPTION="OpenBGPD is a free implementation of BGPv4"
|
||||||
HOMEPAGE="http://www.openbgpd.org/index.html"
|
HOMEPAGE="http://www.openbgpd.org/index.html"
|
||||||
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/master.zip -> ${MY_P}.zip"
|
EGIT_REPO_URI="https://github.com/openbgpd-portable/openbgpd-portable.git"
|
||||||
|
|
||||||
EGIT_REPO_URI="https://github.com/openbgpd-portable/openbgpd-openbsd.git"
|
|
||||||
EGIT3_STORE_DIR="${S}/git"
|
|
||||||
EGIT_CHECKOUT_DIR="${S}/openbsd"
|
|
||||||
|
|
||||||
LICENSE="ISC"
|
LICENSE="ISC"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
|
@ -37,10 +29,14 @@ BDEPEND="
|
||||||
"
|
"
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
unpack ${A}
|
git-r3_src_unpack
|
||||||
mv "${WORKDIR}/${MY_P}" "${S}"
|
|
||||||
|
|
||||||
|
cd "${WORKDIR}"
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/openbgpd-portable/openbgpd-openbsd.git"
|
||||||
EGIT_BRANCH=$(cat "${S}"/OPENBSD_BRANCH)
|
EGIT_BRANCH=$(cat "${S}"/OPENBSD_BRANCH)
|
||||||
|
EGIT3_STORE_DIR="${S}/git"
|
||||||
|
EGIT_CHECKOUT_DIR="${S}/openbsd"
|
||||||
git-r3_fetch
|
git-r3_fetch
|
||||||
git-r3_checkout
|
git-r3_checkout
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue