diff --git a/NEWS b/NEWS index 9f2d213..1cb5781 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +0.53 2021-03-01 + + * Really fix FreeBSD capabilities/capsicum build. + 0.52 2021-02-28 * Fix GCC-10 build when used with `-Werror=format-overflow` diff --git a/config.h.in b/config.h.in index dfff307..b9f83f9 100644 --- a/config.h.in +++ b/config.h.in @@ -69,6 +69,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_CAPABILITY_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_CAPSICUM_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H diff --git a/configure b/configure index b29c70c..877b9db 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for procenv 0.52. +# Generated by GNU Autoconf 2.69 for procenv 0.53. # # Report bugs to . # @@ -582,8 +582,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='procenv' PACKAGE_TARNAME='procenv' -PACKAGE_VERSION='0.52' -PACKAGE_STRING='procenv 0.52' +PACKAGE_VERSION='0.53' +PACKAGE_STRING='procenv 0.53' PACKAGE_BUGREPORT='jamesodhunt@gmail.com' PACKAGE_URL='https://github.com/jamesodhunt/procenv' @@ -1326,7 +1326,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures procenv 0.52 to adapt to many kinds of systems. +\`configure' configures procenv 0.53 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1397,7 +1397,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of procenv 0.52:";; + short | recursive ) echo "Configuration of procenv 0.53:";; esac cat <<\_ACEOF @@ -1514,7 +1514,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -procenv configure 0.52 +procenv configure 0.53 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1939,7 +1939,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by procenv $as_me 0.52, which was +It was created by procenv $as_me 0.53, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2324,7 +2324,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. -PROCENV_VERSION=0.52 +PROCENV_VERSION=0.53 # Expand $ac_aux_dir to an absolute path. @@ -5170,12 +5170,13 @@ if test "$ac_res" != no; then : fi -for ac_header in sys/capability.h +for ac_header in sys/capability.h sys/capsicum.h do : - ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_capability_h" = xyes; then : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SYS_CAPABILITY_H 1 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi @@ -6012,7 +6013,7 @@ fi # Define the identity of the package. PACKAGE='procenv' - VERSION='0.52' + VERSION='0.53' cat >>confdefs.h <<_ACEOF @@ -7015,7 +7016,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by procenv $as_me 0.52, which was +This file was extended by procenv $as_me 0.53, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -7082,7 +7083,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -procenv config.status 0.52 +procenv config.status 0.53 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index b5e7aeb..2bc38aa 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -m4_define([procenv_version], [0.52]) +m4_define([procenv_version], [0.53]) AC_INIT(procenv,[procenv_version],[jamesodhunt@gmail.com],,[https://github.com/jamesodhunt/procenv]) diff --git a/procenv.spec b/procenv.spec index 7a131c8..573d8b7 100644 --- a/procenv.spec +++ b/procenv.spec @@ -1,12 +1,12 @@ Name: procenv -Version: 0.52 +Version: 0.53 Release: 1%{?dist} Summary: Utility to show process environment Group: Applications/System License: GPLv3+ URL: https://github.com/jamesodhunt/procenv -Source0: https://github.com/jamesodhunt/procenv/archive/0.52.tar.gz +Source0: https://github.com/jamesodhunt/procenv/archive/0.53.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fixme: should be autoconf >= 2.68, but Fedora packages or alien'ed dpkg