From 9c741cd2d398adf631cba7d494d58079103ff01a Mon Sep 17 00:00:00 2001 From: Zach Dykstra Date: Sat, 30 May 2020 00:18:04 -0500 Subject: [PATCH] New package: lldpd-1.0.5 --- srcpkgs/lldpd/files/lldpd/log/run | 1 + srcpkgs/lldpd/files/lldpd/run | 3 +++ srcpkgs/lldpd/template | 22 ++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 120000 srcpkgs/lldpd/files/lldpd/log/run create mode 100755 srcpkgs/lldpd/files/lldpd/run create mode 100644 srcpkgs/lldpd/template diff --git a/srcpkgs/lldpd/files/lldpd/log/run b/srcpkgs/lldpd/files/lldpd/log/run new file mode 120000 index 00000000000..3a5b4a58605 --- /dev/null +++ b/srcpkgs/lldpd/files/lldpd/log/run @@ -0,0 +1 @@ +/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/lldpd/files/lldpd/run b/srcpkgs/lldpd/files/lldpd/run new file mode 100755 index 00000000000..79ec74814ea --- /dev/null +++ b/srcpkgs/lldpd/files/lldpd/run @@ -0,0 +1,3 @@ +#!/bin/sh +[ -r conf ] && . ./conf +exec lldpd ${OPTS:- -d} 2>&1 diff --git a/srcpkgs/lldpd/template b/srcpkgs/lldpd/template new file mode 100644 index 00000000000..eab6698c45a --- /dev/null +++ b/srcpkgs/lldpd/template @@ -0,0 +1,22 @@ +# Template file for 'lldpd' +pkgname=lldpd +version=1.0.5 +revision=1 +build_style=gnu-configure +configure_args="--with-privsep-chroot=/var/empty" +hostmakedepends="pkg-config" +makedepends="libpcap-devel libcap-devel libevent-devel readline-devel" +short_desc="Broadcast 802.1AB neighbor announcements" +maintainer="Zach Dykstra " +license="ISC" +homepage="https://vincentbernat.github.io/lldpd/index.html" +distfiles="https://media.luffy.cx/files/lldpd/${pkgname}-${version}.tar.gz" +checksum=2dd3b212f4dbabfcbb2794c0010b245f9f8e74b387984e757be6243a74c6cb99 + +system_groups="_lldpd" +system_accounts="_lldpd" + +post_install() { + vsv lldpd + vlicense LICENSE +}