head	1.1;
access;
symbols
	pkgsrc-2026Q1:1.1.0.10
	pkgsrc-2026Q1-base:1.1
	pkgsrc-2025Q4:1.1.0.8
	pkgsrc-2025Q4-base:1.1
	pkgsrc-2025Q3:1.1.0.6
	pkgsrc-2025Q3-base:1.1
	pkgsrc-2025Q2:1.1.0.4
	pkgsrc-2025Q2-base:1.1
	pkgsrc-2025Q1:1.1.0.2
	pkgsrc-2025Q1-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2025.01.15.13.28.29;	author manu;	state Exp;
branches;
next	;
commitid	D80YzVAxsbdRhAFF;


desc
@@


1.1
log
@Add net/openbfdd-0.5.3

OpenBFDD is an open source package that provides a software based
implantation of the Bidirectional Forwarding Detection (BFD)
protocol. It is designed to run on a server. Its primary purpose
is to allow the administrator to quickly take the server off-line
when the core service, such as a bind or unbound server, goes down.
This is done by providing a BFD "beacon", bfdd-beacon, that can
communicate with a properly configured, BFD enabled, router. A
control utility, bfdd-control, can be used to configure the running
bfdd-beacon daemon, and to change the state of its BFD sessions.
@
text
@# $NetBSD$

DISTNAME=	OpenBFDD-0.5.3
PKGNAME=	${DISTNAME:tl}
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_GITHUB:=dyninc/}
GITHUB_TAG=	refs/tags/v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/dyninc/OpenBFDD/
COMMENT=	BFD link monitoring protocol
LICENSE=	modified-bsd

USE_LANGUAGES+=	c c++
USE_TOOLS+=	autoconf automake gmake

WRKSRC=		${WRKDIR}/${DISTNAME}

GNU_CONFIGURE=	yes

OPENBFDD_CONFIG=	${PKG_SYSCONFDIR}/bfdd.conf
OPENBFDD_EGDIR=		${PREFIX}/share/examples

CONF_FILES=	${OPENBFDD_EGDIR}/bfdd.conf ${OPENBFDD_CONFIG}

RCD_SCRIPTS=	bfdd

pre-configure:
	cd ${WRKSRC} && ./autogen.sh

post-install:
	${INSTALL_DATA} ${FILESDIR}/bfdd.conf ${DESTDIR}${OPENBFDD_EGDIR}/

.include "../../mk/bsd.pkg.mk"
@
