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

Daniel Micay thestinger at archlinux.org
Fri Dec 26 00:53:32 UTC 2014


    Date: Friday, December 26, 2014 @ 01:53:32
  Author: thestinger
Revision: 124586

migrate to a github repository

Modified:
  hardening-wrapper/trunk/PKGBUILD

----------+
 PKGBUILD |   32 +++++++-------------------------
 1 file changed, 7 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-12-25 22:40:04 UTC (rev 124585)
+++ PKGBUILD	2014-12-26 00:53:32 UTC (rev 124586)
@@ -5,15 +5,13 @@
 pkgrel=1
 pkgdesc='Wrapper scripts for building hardened executables by default'
 arch=(i686 x86_64)
-url='https://archlinux.org/'
-license=('GPL')
+url='https://github.com/thestinger/hardening-wrapper'
+license=('MIT')
 depends=(bash)
 backup=(etc/hardening-wrapper.conf)
-source=(cc-wrapper.sh ld-wrapper.sh common.sh path.sh
-        hardening-wrapper-i686.conf hardening-wrapper-x86_64.conf)
-sha1sums=('683aefa825cdc070262e7e605e8b33907e92cd2a'
-          'e8c1fc067c15631fee3ba6282b1c2aa90f25c12b'
-          '517afb3bd75a9f9e13aedb19079d26cd76d52bd2'
+source=('https://github.com/thestinger/hardening-wrapper/archive/7.tar.gz'
+        path.sh hardening-wrapper-i686.conf hardening-wrapper-x86_64.conf)
+sha1sums=('94dac3da2c6779ba45aeb007e240a3fda2526af5'
           '1e5f6d9931f01b26bb4b6fbb839e21d34d534cdc'
           '4d7a8f4818c531ce7002e860e0654b42b6147037'
           '50db33c08439393b673c23d542e274beef44fbdd')
@@ -22,22 +20,6 @@
   install -Dm644 hardening-wrapper-${CARCH}.conf "$pkgdir/etc/hardening-wrapper.conf"
   install -Dm644 path.sh "$pkgdir/etc/profile.d/hardening-wrapper.sh"
 
-  base="$pkgdir/usr/lib/hardening-wrapper"
-
-  mkdir -p "$base/bin"
-  install -m755 {cc,ld}-wrapper.sh "$base"
-  install -m644 common.sh "$base"
-
-  ln "$base/cc-wrapper.sh" "$base/bin/c89"
-  ln "$base/cc-wrapper.sh" "$base/bin/c99"
-  ln "$base/cc-wrapper.sh" "$base/bin/cc"
-  ln "$base/cc-wrapper.sh" "$base/bin/c++"
-  ln "$base/cc-wrapper.sh" "$base/bin/clang"
-  ln "$base/cc-wrapper.sh" "$base/bin/clang++"
-  ln "$base/cc-wrapper.sh" "$base/bin/gcc"
-  ln "$base/cc-wrapper.sh" "$base/bin/g++"
-
-  ln "$base/ld-wrapper.sh" "$base/bin/ld"
-  ln "$base/ld-wrapper.sh" "$base/bin/ld.bfd"
-  ln "$base/ld-wrapper.sh" "$base/bin/ld.gold"
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir" PREFIX=/usr
 }



More information about the arch-commits mailing list