community/hardening-wrapper to 10-2

This commit is contained in:
Kevin Mihelich 2017-07-15 18:49:44 +00:00
parent eb4c9b3c81
commit aa4beb1e7d
2 changed files with 15 additions and 1 deletions

View file

@ -6,7 +6,7 @@
pkgname=hardening-wrapper pkgname=hardening-wrapper
pkgver=10 pkgver=10
pkgrel=1 pkgrel=2
pkgdesc='Wrapper scripts for building hardened executables by default' pkgdesc='Wrapper scripts for building hardened executables by default'
arch=(i686 x86_64) arch=(i686 x86_64)
url='https://github.com/thestinger/hardening-wrapper' url='https://github.com/thestinger/hardening-wrapper'
@ -25,6 +25,7 @@ sha1sums=('61e8c7e3062e6830cd7b190aa6b81834138a7137'
'9453d7984a4a90aa884a51a7bf1bd2c72cbddc9f' '9453d7984a4a90aa884a51a7bf1bd2c72cbddc9f'
'9453d7984a4a90aa884a51a7bf1bd2c72cbddc9f' '9453d7984a4a90aa884a51a7bf1bd2c72cbddc9f'
'9453d7984a4a90aa884a51a7bf1bd2c72cbddc9f') '9453d7984a4a90aa884a51a7bf1bd2c72cbddc9f')
install=$pkgname.install
package() { package() {
install -Dm644 hardening-wrapper-${CARCH}.conf "$pkgdir/etc/hardening-wrapper.conf" install -Dm644 hardening-wrapper-${CARCH}.conf "$pkgdir/etc/hardening-wrapper.conf"

View file

@ -0,0 +1,13 @@
post_install () {
echo ">>> hardening-wrapper is deprecated and will be dropped from the repositories"
echo ">>>"
echo ">>> The standard Arch Linux Clang / GCC have adopted PIE / SSP by default"
echo ">>>"
echo ">>> RELRO and BIND_NOW are defaults in makepkg LDFLAGS and will become linker defaults soon"
echo ">>>"
echo ">>> -fstack-check will be enabled by default once GCC ships their new implementation"
}
post_upgrade() {
post_install
}