haveged: disable pie/relro for i686.

This commit is contained in:
Andrea Brancaleoni 2015-07-26 02:10:12 +02:00
parent d37844c0e1
commit 38d6420e9d

View file

@ -1,7 +1,7 @@
# Template file for 'haveged' # Template file for 'haveged'
pkgname=haveged pkgname=haveged
version=1.9.1 version=1.9.1
revision=4 revision=5
build_style=gnu-configure build_style=gnu-configure
short_desc="Entropy harvesting daemon using CPU timings" short_desc="Entropy harvesting daemon using CPU timings"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -11,7 +11,11 @@ homepage="http://www.issihosts.com/haveged"
distfiles="https://pkgs.fedoraproject.org/repo/pkgs/haveged/haveged-${version}.tar.gz/015ff58cd10607db0e0de60aeca2f5f8/haveged-${version}.tar.gz" distfiles="https://pkgs.fedoraproject.org/repo/pkgs/haveged/haveged-${version}.tar.gz/015ff58cd10607db0e0de60aeca2f5f8/haveged-${version}.tar.gz"
checksum=9c2363ed9542a6784ff08e247182137e71f2ddb79e8e6c1ac4ad50d21ced3715 checksum=9c2363ed9542a6784ff08e247182137e71f2ddb79e8e6c1ac4ad50d21ced3715
configure_args="--sbindir=/usr/bin" configure_args="--sbindir=/usr/bin"
build_pie=yes
case "$XBPS_TARGET_MACHINE" in
i686*) ;;
*) build_pie=yes ;;
esac
post_install() { post_install() {
vsv $pkgname vsv $pkgname