summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-12-11 22:06:51 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-12-11 22:32:31 +0100
commit9e70b79ef5558774a10af7543edf0f933fab8418 (patch)
tree1a3244c09060601beb498b78c5dd45cb92254437 /net-misc
parentnet-ftp/ftp: drop 0.17.23.0.2.1 (diff)
downloadgentoo-9e70b79ef5558774a10af7543edf0f933fab8418.tar.gz
gentoo-9e70b79ef5558774a10af7543edf0f933fab8418.tar.bz2
gentoo-9e70b79ef5558774a10af7543edf0f933fab8418.zip
net-misc/vrrpd: update EAPI 5 -> 8
Closes: https://bugs.gentoo.org/725172 Closes: https://bugs.gentoo.org/828713 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/vrrpd/vrrpd-1.9-r1.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/net-misc/vrrpd/vrrpd-1.9-r1.ebuild b/net-misc/vrrpd/vrrpd-1.9-r1.ebuild
new file mode 100644
index 000000000000..5aefe0f4576f
--- /dev/null
+++ b/net-misc/vrrpd/vrrpd-1.9-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Virtual Router Redundancy Protocol Daemon"
+HOMEPAGE="http://numsys.eu/vrrp_art.php"
+SRC_URI="https://github.com/fredbcode/Vrrpd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/Vrrpd-${PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=( "${FILESDIR}"/vrrpd-1.9-rollup.patch )
+
+src_prepare() {
+ default
+
+ # Don't hardcore GCC
+ sed -e '/CC=/d' -i Makefile || die
+
+ emake mrproper
+}
+
+src_compile() {
+ local myemakeargs=(
+ DBG_OPT=""
+ MACHINEOPT="${CFLAGS}"
+ PROF_OPT="${LDFLAGS}"
+ )
+
+ emake "${myemakeargs[@]}"
+}
+
+src_install() {
+ dosbin vrrpd atropos
+ doman vrrpd.8
+ dodoc FAQ Changes TODO scott_example doc/draft-ietf-vrrp-spec-v2-05.txt doc/rfc2338.txt.vrrp doc/draft-jou-duplicate-ip-address-02.txt doc/principe-Vrrp1.jpg doc/principe-Vrrp2.jpg README.md
+}