Package Details: hardening-check 2.8+nmu2-1

Git Clone URL: https://aur.archlinux.org/hardening-check.git (read-only)
Package Base: hardening-check
Description: Check binaries for security hardening features
Upstream URL: http://wiki.debian.org/Hardening
Licenses: GPL2
Submitter: sverdj
Maintainer: colundrum
Last Packager: colundrum
Votes: 3
Popularity: 0.000000
First Submitted: 2012-01-10 11:35
Last Updated: 2015-12-20 19:53

Latest Comments

hcb commented on 2016-11-02 13:53

# Maintainer : Florent H. CARRÉ <colundrum@gmail.com>

pkgname=hardening-check
_pkgname=hardening-wrapper
pkgver=2.6
pkgrel=1
pkgdesc="Check binaries for security hardening features"
arch=('any')
url="http://wiki.debian.org/Hardening"
license=('GPL2')
depends=('bash' 'perl')
source=("http://ftp.de.debian.org/debian/pool/main/h/hardening-wrapper/hardening-wrapper_$pkgver"{.tar.xz,.dsc})
sha256sums=('c5fc46439646d0929a0605e4f3db67e57eefbbf5ceec5a2888440dbdf4450224'
'5fc4e3a3905703c2044798edeb8a754c54b05f4179bfff9abd40deb2333dedfb')

build() {
cd "$srcdir/$_pkgname"

# Irrelevant, we don't ship the wrappers.
make DEB_HOST_ARCH_OS=amd64 DEB_HOST_ARCH=amd64
}

package() {
cd "$srcdir/$_pkgname/build-tree"
install -Dm0755 'hardening-check' "$pkgdir/usr/bin/hardening-check"
install -Dm0755 '../hardening-check.sh' "$pkgdir/usr/bin/hardening-check.sh"
install -Dm0755 'hardening-check.1' "$pkgdir/usr/share/man/man1/hardening-check.1" \
&& chmod -c 0444 "$pkgdir/usr/share/man/man1/hardening-check.1"
}

# vim:set ts=2 sw=2 et:

kang commented on 2012-07-11 21:17

needed to remove "make install.." for the current version to work