Skip to content
Snippets Groups Projects
Commit 23d0ee1e authored by Leo's avatar Leo
Browse files

community/lldpd: upgrade to 1.0.8

parent 61d3f4b2
No related branches found
No related tags found
No related merge requests found
# Contributor: Francesco Colista <fcolista@alpinelinux.org> # Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=lldpd pkgname=lldpd
pkgver=1.0.7 pkgver=1.0.8
pkgrel=1 pkgrel=0
pkgdesc="Implementation of IEEE 802.1ab" pkgdesc="Implementation of IEEE 802.1ab"
url="http://vincentbernat.github.com/lldpd/" url="http://vincentbernat.github.com/lldpd/"
arch="all" arch="all"
...@@ -11,15 +11,23 @@ makedepends="autoconf automake libtool linux-headers bsd-compat-headers ...@@ -11,15 +11,23 @@ makedepends="autoconf automake libtool linux-headers bsd-compat-headers
libevent-dev libxml2-dev net-snmp-dev libbsd-dev jansson-dev libevent-dev libxml2-dev net-snmp-dev libbsd-dev jansson-dev
doxygen perl-dev readline-dev" doxygen perl-dev readline-dev"
install="$pkgname.post-install" install="$pkgname.post-install"
subpackages="$pkgname-dev $pkgname-doc subpackages="
$pkgname-bash-completion:bashcomp:noarch $pkgname-dev
$pkgname-zsh-completion:zshcomp:noarch" $pkgname-doc
$pkgname-openrc
$pkgname-bash-completion
$pkgname-zsh-completion
"
pkgusers="lldpd" pkgusers="lldpd"
pkggroups="lldpd" pkggroups="lldpd"
source="$pkgname-$pkgver.tar.gz::https://github.com/vincentbernat/lldpd/archive/$pkgver.tar.gz source="$pkgname-$pkgver.tar.gz::https://github.com/vincentbernat/lldpd/archive/$pkgver.tar.gz
$pkgname.confd $pkgname.confd
$pkgname.initd" $pkgname.initd"
# secfixes:
# 1.0.8-r0:
# - CVE-2020-27827
prepare() { prepare() {
# this should be shipped with the release tarball # this should be shipped with the release tarball
echo $pkgver > .dist-version echo $pkgver > .dist-version
...@@ -58,24 +66,6 @@ package() { ...@@ -58,24 +66,6 @@ package() {
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }
bashcomp() { sha512sums="ac94f188115a286ae7ef57c5e2f475bcf5b35de5430ea822328bccc6a772afc8c3abdc972f14f00c90bdc46a14e84f3e1b83263e51d337dad51bd9747667e727 lldpd-1.0.8.tar.gz
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
mkdir -p "$subpkgdir"/usr/share/
mv "$pkgdir"/usr/share/bash-completion \
"$subpkgdir"/usr/share
rmdir -p "$pkgdir"/usr/share 2>/dev/null || true
}
zshcomp() {
pkgdesc="Zsh completion for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
install -Dm644 "$builddir"/src/client/completion/_lldpcli \
"$subpkgdir"/usr/share/zsh/site-functions/_lldpcli
}
sha512sums="aecd8de94d0f4288e903b8e061599bab0939eb6b375c56388776b74729cf8accfb74d9e28534e5e76c08f6ed33f893f2edd1342b9ecb9e27361bf5e62abcbaef lldpd-1.0.7.tar.gz
a2a4c85068a6b8b80c92fe56af7799a8b8cb2516e5a65b3ae4cb28f278e5acc72402da2a35f0c48a6048fd4a8536061142cafaa49a4bae8e52ca0a5d9ed38b4c lldpd.confd a2a4c85068a6b8b80c92fe56af7799a8b8cb2516e5a65b3ae4cb28f278e5acc72402da2a35f0c48a6048fd4a8536061142cafaa49a4bae8e52ca0a5d9ed38b4c lldpd.confd
8d88e2a21efee6389d4de4f1ce2fcc9da8bd8ab3cb5a2bf2d322bde577e255662d027688065282146b389b3b8076fb883897e600fd931bcdc30d757fc7191e34 lldpd.initd" 8d88e2a21efee6389d4de4f1ce2fcc9da8bd8ab3cb5a2bf2d322bde577e255662d027688065282146b389b3b8076fb883897e600fd931bcdc30d757fc7191e34 lldpd.initd"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment