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

David Runge dvzrv at archlinux.org
Mon Oct 15 13:19:09 UTC 2018


    Date: Monday, October 15, 2018 @ 13:19:09
  Author: dvzrv
Revision: 394126

upgpkg: apparmor 2.13.1-3

Reintroducing the stripping of the perl library.

Modified:
  apparmor/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-15 13:17:44 UTC (rev 394125)
+++ PKGBUILD	2018-10-15 13:19:09 UTC (rev 394126)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge <dave at sleepmap.de>
 pkgname=apparmor
 pkgver=2.13.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Mandatory Access Control (MAC) using Linux Security Module (LSM)"
 arch=('x86_64')
 url="https://gitlab.com/apparmor/apparmor"
@@ -97,6 +97,10 @@
   make -C parser DESTDIR="${pkgdir}" install-systemd
   make -C profiles DESTDIR="${pkgdir}" install
   make -C utils DESTDIR="${pkgdir}" BINDIR="${pkgdir}/usr/bin" install
+  # strip perl library
+  find "${pkgdir}/usr/lib/perl5/" \
+    -type f -iname "*.so" \
+    -exec strip --strip-unneeded {} \;
   # removing empty core_perl directory
   rm -rv "${pkgdir}"/usr/lib/perl5/*/core_perl
   # move ruby bindings to vendor_ruby



More information about the arch-commits mailing list