commit:     5d6e70558b98edfdb9e2abee34abee17fba21992
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 15:36:49 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 15:40:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d6e7055

net-misc/vrrpd: add 1.18

Bug: https://bugs.gentoo.org/937096
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/vrrpd/Manifest          |  1 +
 net-misc/vrrpd/vrrpd-1.18.ebuild | 41 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/net-misc/vrrpd/Manifest b/net-misc/vrrpd/Manifest
index ff0f05077753..98bc25022fa0 100644
--- a/net-misc/vrrpd/Manifest
+++ b/net-misc/vrrpd/Manifest
@@ -1,2 +1,3 @@
 DIST vrrpd-1.15.tar.bz2 148430 BLAKE2B 
787fa185ce64a0711403718b2627d9d2d8867ef3956090b93196f62d92428e0e02ee4440bc23fda46cdca70ca6693b76ed28a5e469a31e86fa4e36dc25c6a82a
 SHA512 
4e7fa17e01d9b667f538204fbe84decea47ac7d84da8adf2e8e3bcf042d233a704a99347d3d97531993f2693c145ff54fb3ac346ade33f5d99cfbbac405ed784
+DIST vrrpd-1.18.tar.bz2 242752 BLAKE2B 
bf6dc9481bdaf8988953c5344295738f7163a3499b53d039a318e423f8d1c955a42b54415d376a71e1a5a3eb4f413bb9e9fafef22dc00afa151dd99f007e9261
 SHA512 
d0fe53960ad7dc79457f92bbc78fd9a7d6d3c4406a26af55dfb50d8589fec0daae364945fe2e642650eb41ef06f85c85735ac9438a84fa486675eb2edc875344
 DIST vrrpd-1.9.tar.gz 542249 BLAKE2B 
a412559be70791515c6b82639a8e1d5fc33954963fbf00aa3c549434ac0748b9d0ea657b2d02b1a3537a30742c18fe6d6db832a11c23b6989151c5f04c771d05
 SHA512 
8c719cabbd6a799e4e439dbb698af9d6e24cf2635cfbd71a204b46bd2b65c1384e53f130b663d0fcfc903d89080ff25d9c97ae4cd9f6b2434d5462cf678a306b

diff --git a/net-misc/vrrpd/vrrpd-1.18.ebuild b/net-misc/vrrpd/vrrpd-1.18.ebuild
new file mode 100644
index 000000000000..f1af88957240
--- /dev/null
+++ b/net-misc/vrrpd/vrrpd-1.18.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Virtual Router Redundancy Protocol Daemon"
+HOMEPAGE="https://gitlab.com/fredbcode/Vrrpd/";
+GITLAB_SHA1="4fdb0d95fd6a09a229a31e975b01271f6245ab5b"
+SRC_URI="https://gitlab.com/fredbcode/Vrrpd/-/archive/v${PV}/${P}.tar.bz2";
+
+S="${WORKDIR}/Vrrpd-v${PV}-${GITLAB_SHA1}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+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 README.md
+       dodoc doc/*
+}

Reply via email to