[arch-commits] Commit in hardening-wrapper/trunk (PKGBUILD hardening-wrapper.install)

Daniel Micay thestinger at archlinux.org
Sat Jul 15 18:37:23 UTC 2017


    Date: Saturday, July 15, 2017 @ 18:37:22
  Author: thestinger
Revision: 245249

deprecate hardening-wrapper

Added:
  hardening-wrapper/trunk/hardening-wrapper.install
Modified:
  hardening-wrapper/trunk/PKGBUILD

---------------------------+
 PKGBUILD                  |    3 ++-
 hardening-wrapper.install |   13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-15 18:19:12 UTC (rev 245248)
+++ PKGBUILD	2017-07-15 18:37:22 UTC (rev 245249)
@@ -2,7 +2,7 @@
 # Maintainer: Daniel Micay <danielmicay at gmail.com>
 pkgname=hardening-wrapper
 pkgver=10
-pkgrel=1
+pkgrel=2
 pkgdesc='Wrapper scripts for building hardened executables by default'
 arch=(i686 x86_64)
 url='https://github.com/thestinger/hardening-wrapper'
@@ -15,6 +15,7 @@
           '1e5f6d9931f01b26bb4b6fbb839e21d34d534cdc'
           '6729f0a6d2af72b6def9383e8104d0f763d3f01d'
           '9453d7984a4a90aa884a51a7bf1bd2c72cbddc9f')
+install=$pkgname.install
 
 package() {
   install -Dm644 hardening-wrapper-${CARCH}.conf "$pkgdir/etc/hardening-wrapper.conf"

Added: hardening-wrapper.install
===================================================================
--- hardening-wrapper.install	                        (rev 0)
+++ hardening-wrapper.install	2017-07-15 18:37:22 UTC (rev 245249)
@@ -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
+}



More information about the arch-commits mailing list