void-packages/srcpkgs/libevent/template
Duncaen 15feb9e144 libevent: add patches for recent CVEs
- CVE-2016-10195
- CVE-2016-10196
- CVE-2016-10197

Fixes #5825
2017-02-25 19:51:17 +01:00

25 lines
733 B
Bash

# Template file for 'libevent'
pkgname=libevent
version=2.0.22
revision=8
wrksrc="$pkgname-$version-stable"
build_style=gnu-configure
makedepends="libressl-devel"
short_desc="Abstract asynchronous event notification library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.monkey.org/~provos/libevent/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/levent/$pkgname-$version-stable.tar.gz"
checksum=71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3
libevent-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}