p11-kit: update to 0.23.13.
This commit is contained in:
parent
29eccd3ca7
commit
23afc3e7c0
2 changed files with 2 additions and 38 deletions
|
@ -1,36 +0,0 @@
|
|||
build: Ease issetugid() check when cross-compiling
|
||||
|
||||
When cross-compiling, the configure check for issetugid() aborts,
|
||||
because of the pessimistic default of AC_RUN_IFELSE. This patch
|
||||
provides the non-pessimistic default to AC_RUN_IFELSE and wrap the
|
||||
macro invocation with AC_CACHE_CHECK so that the user can override the
|
||||
check by setting ac_cv_issetugid_openbsd=yes, as suggested in:
|
||||
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Runtime.html#Runtime
|
||||
|
||||
--- configure.ac 2018-05-30 16:10:47.000000000 +0200
|
||||
+++ configure.ac 2018-05-31 15:43:06.099988369 +0200
|
||||
@@ -115,15 +115,17 @@
|
||||
|
||||
# Check if issetugid() is available and has compatible behavior with OpenBSD
|
||||
AC_CHECK_FUNCS([issetugid], [
|
||||
- AC_MSG_CHECKING([whether issetugid() can detect setuid/setgid])
|
||||
- issetugid_openbsd=no
|
||||
- AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]],
|
||||
- [[return issetugid ();]])],
|
||||
- [chmod 02777 ./conftest$EXEEXT; ./conftest$EXEEXT || issetugid_openbsd=yes])
|
||||
- if test "$issetugid_openbsd" = yes; then
|
||||
+ AC_CACHE_CHECK([whether issetugid() can detect setuid/setgid],
|
||||
+ [ac_cv_issetugid_openbsd],
|
||||
+ [ac_cv_issetugid_openbsd=no
|
||||
+ AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]],
|
||||
+ [[return issetugid ();]])],
|
||||
+ [chmod 02777 ./conftest$EXEEXT; ./conftest$EXEEXT || ac_cv_issetugid_openbsd=yes],
|
||||
+ [ac_cv_issetugid_openbsd=no],
|
||||
+ [ac_cv_issetugid_openbsd="guessing no"])])
|
||||
+ if test "$ac_cv_issetugid_openbsd" = yes; then
|
||||
AC_DEFINE([HAVE_ISSETUGID_OPENBSD], [1], [Whether issetugid() has compatible behavior with OpenBSD])
|
||||
fi
|
||||
- AC_MSG_RESULT([$issetugid_openbsd])
|
||||
])
|
||||
|
||||
# Required functions
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'p11-kit'
|
||||
pkgname=p11-kit
|
||||
version=0.23.12
|
||||
version=0.23.13
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-module-path=/usr/lib/pkcs11 --without-trust-paths"
|
||||
|
@ -11,7 +11,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|||
license="BSD-3-Clause"
|
||||
homepage="https://github.com/p11-glue/p11-kit"
|
||||
distfiles="${homepage}/releases/download/${version}/p11-kit-${version}.tar.gz"
|
||||
checksum=58bae22f19db1de1a1103e7ca4149eed6e303e727878c2cd5ea9e6fe445fd403
|
||||
checksum=aa65403e3ac7c3aba17ca60f28db17b9c76d988b66b91789b8e8c145ae9922f1
|
||||
conf_files="/etc/pkcs11/pkcs11.conf"
|
||||
|
||||
case "$XBPS_TARGET_MACHIN" in
|
||||
|
|
Loading…
Reference in a new issue