void-packages/srcpkgs/libsass/template
maxice8 aeb0a3e1d3 libsass: apply security fixes from upstream
fixes:
    - CVE-2018-11693
    - CVE-2018-11696
    - CVE-2018-11697
    - CVE-2018-11698

Remain unfixed upstream:

( CVE prefix removed to not confuse tools that grep for those values )

CVE: 2018-11499 SEVERITY: 7.5
CVE: 2018-11694 SEVERITY: 6.8
2018-10-02 12:05:13 -03:00

32 lines
773 B
Bash

# Template file for 'libsass'
pkgname=libsass
version=3.5.4
revision=2
patch_args="-Np1"
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="C implementation of Sass CSS preprocessor"
maintainer="Gerardo Di Iorio <arete74@gmail.com>"
license="MIT"
homepage="http://www.sass-lang.com/libsass"
distfiles="https://github.com/sass/${pkgname}/archive/${version}.tar.gz"
checksum=5f61cbcddaf8e6ef7a725fcfa5d05297becd7843960f245197ebb655ff868770
pre_configure() {
NOCONFIGURE=1 autoreconf -fi
}
post_install() {
vlicense LICENSE
}
libsass-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}