iputils: enable build_pie/relro; move to bin.
This commit is contained in:
parent
42d59c00ca
commit
efc00f29ac
1 changed files with 5 additions and 4 deletions
|
@ -1,7 +1,8 @@
|
|||
# Template file for 'iputils'
|
||||
pkgname=iputils
|
||||
version=20121221
|
||||
revision=8
|
||||
revision=9
|
||||
build_pie=yes
|
||||
patch_args="-Np1"
|
||||
wrksrc="${pkgname}-s${version}"
|
||||
makedepends="libressl-devel>=2.1.4 libcap-devel"
|
||||
|
@ -13,17 +14,17 @@ distfiles="http://www.skbuff.net/iputils/${pkgname}-s${version}.tar.bz2"
|
|||
checksum=450f549fc5b620c23c5929aa6d54b7ddfc7ee1cb1e8efdc5e8bb21d8d0c5319f
|
||||
|
||||
do_build() {
|
||||
make CC="$CC" LD="$LD" CCOPTOPT="$CFLAGS -fPIE" LDFLAGS="$LDFLAGS -pie" \
|
||||
make CC="$CC" LD="$LD" CCOPTOPT="$CFLAGS" LDFLAGS="$LDFLAGS" \
|
||||
USE_GNUTLS=no ${makejobs} \
|
||||
arping clockdiff ping ping6 rdisc tracepath tracepath6
|
||||
}
|
||||
|
||||
do_install() {
|
||||
for f in ping ping6; do
|
||||
vinstall ${f} 4755 usr/sbin
|
||||
vinstall ${f} 4755 usr/bin
|
||||
done
|
||||
for f in clockdiff arping rdisc tracepath tracepath6; do
|
||||
vinstall ${f} 755 usr/sbin
|
||||
vinstall ${f} 755 usr/bin
|
||||
done
|
||||
for f in clockdiff arping ping rdisc tracepath; do
|
||||
vinstall doc/${f}.8 644 usr/share/man/man8
|
||||
|
|
Loading…
Reference in a new issue