kea.spec: minor fixes
rpminspect.yaml added for Keama's gethostbyname() conditionals for libpq-devel and postgresql-server-devel
This commit is contained in:
parent
278ca3de9e
commit
f44576ea8e
21
kea.spec
21
kea.spec
@ -14,7 +14,7 @@ URL: http://kea.isc.org
|
||||
# Bundled version of Bind libraries linked into Keama
|
||||
%global bind_version 9.11.36
|
||||
|
||||
# Conflict with different package name
|
||||
# Conflict with kea-next
|
||||
%global upstream_name kea
|
||||
%define upstream_name_compat() \
|
||||
%if "%{name}" != "%{upstream_name}" \
|
||||
@ -42,14 +42,19 @@ BuildRequires: boost-devel
|
||||
BuildRequires: gcc-c++
|
||||
# %%configure --with-openssl
|
||||
BuildRequires: openssl-devel
|
||||
# %%configure --with-dhcp-mysql
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
# %%configure --with-mysql
|
||||
BuildRequires: mariadb-connector-c-devel
|
||||
# %%configure --with-pgsql
|
||||
%if 0%{?fedora} > 40 || 0%{?rhel} > 9
|
||||
BuildRequires: libpq-devel
|
||||
%else
|
||||
# %%configure --with-dhcp-mysql
|
||||
BuildRequires: postgresql-server-devel
|
||||
%endif
|
||||
%else
|
||||
# %%configure --with-mysql
|
||||
BuildRequires: mariadb-devel
|
||||
# %%configure --with-dhcp-pgsql
|
||||
# %%configure --with-pgsql
|
||||
BuildRequires: postgresql-devel
|
||||
%endif
|
||||
BuildRequires: log4cplus-devel
|
||||
@ -61,11 +66,11 @@ BuildRequires: sysrepo-devel
|
||||
%ifarch %{valgrind_arches}
|
||||
BuildRequires: valgrind-devel
|
||||
%endif
|
||||
# src/lib/testutils/dhcp_test_lib.sh
|
||||
BuildRequires: procps-ng
|
||||
%if %{with gtest}
|
||||
# %%configure --enable-gtest
|
||||
BuildRequires: gtest-devel
|
||||
# src/lib/testutils/dhcp_test_lib.sh
|
||||
BuildRequires: procps-ng
|
||||
%endif
|
||||
# %%configure --enable-generate-parser
|
||||
BuildRequires: bison
|
||||
@ -167,10 +172,10 @@ autoreconf --verbose --force --install
|
||||
--disable-rpath \
|
||||
--disable-silent-rules \
|
||||
--disable-static \
|
||||
--enable-generate-parser \
|
||||
--enable-shell \
|
||||
--enable-generate-docs \
|
||||
--enable-generate-messages \
|
||||
--enable-generate-parser \
|
||||
--enable-shell \
|
||||
--enable-perfdhcp \
|
||||
%if %{with gtest}
|
||||
--with-gtest \
|
||||
|
8
rpminspect.yaml
Normal file
8
rpminspect.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
badfuncs:
|
||||
# Keama converts old ISC dhcpd configuration to a new Kea format.
|
||||
# It is not multi-threaded so it is safe to use.
|
||||
allowed:
|
||||
/usr/bin/keama:
|
||||
- gethostbyname
|
||||
|
Loading…
x
Reference in New Issue
Block a user