libcap-pam: update to 2.26.
This commit is contained in:
parent
f3247f7a87
commit
b6758f6627
2 changed files with 6 additions and 16 deletions
|
@ -1,11 +0,0 @@
|
|||
--- libcap/Makefile.orig
|
||||
+++ libcap/Makefile
|
||||
@@ -41,7 +41,7 @@
|
||||
./_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 --readonly --includes --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"
|
|
@ -1,21 +1,22 @@
|
|||
# Template file for 'libcap-pam'
|
||||
pkgname=libcap-pam
|
||||
version=2.25
|
||||
revision=2
|
||||
version=2.26
|
||||
revision=1
|
||||
wrksrc="libcap-${version}"
|
||||
hostmakedepends="gperf perl pam-devel"
|
||||
makedepends="pam-devel attr-devel"
|
||||
conf_files="/etc/security/capability.conf"
|
||||
short_desc="POSIX.1e capabilities suite - PAM module"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="http://sites.google.com/site/fullycapable/"
|
||||
license="GPL-2"
|
||||
distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/libcap-$version.tar.xz"
|
||||
checksum=693c8ac51e983ee678205571ef272439d83afe62dd8e424ea14ad9790bc35162
|
||||
distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/libcap-${version}.tar.xz"
|
||||
checksum=b630b7c484271b3ba867680d6a14b10a86cfa67247a14631b14c06731d5a458b
|
||||
|
||||
do_build() {
|
||||
make CC="$CC" BUILD_CC=cc
|
||||
}
|
||||
|
||||
do_install() {
|
||||
_destdir=${wrksrc}/temp_install
|
||||
|
||||
|
|
Loading…
Reference in a new issue