From 2d62ff8f1333da64e262b0afaa6a2273fae3e2eb Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 18 Nov 2018 22:02:31 -0200 Subject: [PATCH] libcap: update to 2.26. --- srcpkgs/libcap/patches/gperf-3.1-fix.patch | 13 ------------- srcpkgs/libcap/template | 10 +++++----- 2 files changed, 5 insertions(+), 18 deletions(-) delete mode 100644 srcpkgs/libcap/patches/gperf-3.1-fix.patch diff --git a/srcpkgs/libcap/patches/gperf-3.1-fix.patch b/srcpkgs/libcap/patches/gperf-3.1-fix.patch deleted file mode 100644 index f21cc15ae6..0000000000 --- a/srcpkgs/libcap/patches/gperf-3.1-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -# Source: https://604802.bugs.gentoo.org/attachment.cgi?id=460354 - ---- libcap/Makefile -+++ libcap/Makefile -@@ -41,7 +41,7 @@ cap_names.h: _makenames - ./_makenames > cap_names.h - - $(GPERF_OUTPUT): cap_names.list.h -- perl -e 'print "struct __cap_token_s { const char *name; int index; };\n%{\nconst struct __cap_token_s *__cap_lookup_name(const char *, unsigned int);\n%}\n%%\n"; while ($$l = <>) { $$l =~ s/[\{\"]//g; $$l =~ s/\}.*// ; print $$l; }' < $< | gperf --ignore-case --language=ANSI-C --readonly --null-strings --global-table --hash-function-name=__cap_hash_name --lookup-function-name="__cap_lookup_name" -c -t -m20 $(INDENT) > $@ -+ perl -e 'print "struct __cap_token_s { const char *name; int index; };\n%%\n"; while ($$l = <>) { $$l =~ s/[\{\"]//g; $$l =~ s/\}.*// ; print $$l; }' < $< | gperf --ignore-case --language=ANSI-C --includes --readonly --null-strings --global-table --hash-function-name=__cap_hash_name --lookup-function-name="__cap_lookup_name" -c -t -m20 $(INDENT) > $@ - - cap_names.list.h: Makefile $(KERNEL_HEADERS)/linux/capability.h - @echo "=> making $@ from $(KERNEL_HEADERS)/linux/capability.h" diff --git a/srcpkgs/libcap/template b/srcpkgs/libcap/template index 1d6cea6ff4..29217a9b65 100644 --- a/srcpkgs/libcap/template +++ b/srcpkgs/libcap/template @@ -1,15 +1,15 @@ # Template file for 'libcap' pkgname=libcap -version=2.25 -revision=2 +version=2.26 +revision=1 bootstrap=yes makedepends="attr-devel" short_desc="POSIX.1e capabilities suite" maintainer="Juan RP " +license="GPL-2.0-only" homepage="http://sites.google.com/site/fullycapable/" -license="GPL-2" -distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/$pkgname-$version.tar.xz" -checksum=693c8ac51e983ee678205571ef272439d83afe62dd8e424ea14ad9790bc35162 +distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/${pkgname}-${version}.tar.xz" +checksum=b630b7c484271b3ba867680d6a14b10a86cfa67247a14631b14c06731d5a458b if [ "$CHROOT_READY" ]; then hostmakedepends="perl"