Skip to content
Snippets Groups Projects
Verified Commit 5b97ba60 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

1.8-2

parent 87133ba6
No related branches found
No related tags found
No related merge requests found
.SRCINFO 0 → 100644
pkgbase = libndp
pkgdesc = Library for Neighbor Discovery Protocol
pkgver = 1.8
pkgrel = 2
url = http://libndp.org/
arch = x86_64
license = LGPL-2.1-or-later
makedepends = git
depends = glibc
source = git+https://github.com/jpirko/libndp#tag=v1.8
b2sums = e2b6d04137c769fa870fa85be159f3a9d3b7c3302d7999962279a643ecc85639e9513c6c8d6a531b23b4bfb929aa16382eab062ee4e5a3f46425ed3ea7747b2e
pkgname = libndp
[libndp]
source = "github"
github = "jpirko/libndp"
use_max_tag = true
prefix = "v"
......@@ -4,33 +4,35 @@ pkgname=libndp
pkgver=1.8
pkgrel=2
pkgdesc="Library for Neighbor Discovery Protocol"
arch=(x86_64)
url="http://libndp.org/"
license=(LGPL)
arch=(x86_64)
license=(LGPL-2.1-or-later)
depends=(glibc)
makedepends=(git)
_commit=009ce9cd9b950ffa1f4f94c9436027b936850d0c # tags/v1.8
source=("git+https://github.com/jpirko/libndp#commit=$_commit")
sha256sums=('36275381d288177b2b75982a79ce9266d99541d23636c957cfb3afb7f736282a')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^v//;s/-/+/g'
}
source=("git+https://github.com/jpirko/libndp#tag=v$pkgver")
b2sums=('e2b6d04137c769fa870fa85be159f3a9d3b7c3302d7999962279a643ecc85639e9513c6c8d6a531b23b4bfb929aa16382eab062ee4e5a3f46425ed3ea7747b2e')
prepare() {
cd $pkgname
# Fix CVE-2024-5564 https://github.com/jpirko/libndp/issues/26
# Fix CVE-2024-5564
# https://github.com/jpirko/libndp/issues/26
git cherry-pick -n 05e4ba7b0d126eea4c04387dcf40596059ee24af
./autogen.sh
}
build() {
local configure_options=(
--prefix=/usr
--sysconfdir=/etc
--localstatedir=/var
--libexecdir=/usr/lib
--disable-static
)
cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static --libexecdir=/usr/lib
./configure "${configure_options[@]}"
make
}
......@@ -43,3 +45,5 @@ package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}
# vim:set sw=2 sts=-1 et:
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