File pax-utils.spec of Package pax-utils
#
# spec file for package pax-utils
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: pax-utils
Version: 1.2.2
Release: 0
Summary: Tools to Check ELF Files for Security Relevant Properties
License: GPL-2.0+
Group: Productivity/Security
Url: http://www.gentoo.org/proj/en/hardened/pax-utils.xml
Source: http://dev.gentoo.org/~vapier/dist/pax-utils-%{version}.tar.xz
# backports
Patch0: 0001-dumpelf-check-for-invalid-section-entry-sizes.patch
Patch1: 0002-dumpelf-check-for-invalid-program-headers.patch
Patch2: 0003-dumpelf-check-for-invalid-notes.patch
Patch3: 0004-scanelf-check-range-of-hash-bucket.patch
# openSUSE patches
Patch20: pax-utils-handle-lib64.patch
BuildRequires: libcap-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Tools to check ELF files for security relevant properties such as
non-executable stack.
%prep
%autosetup -q -p1
%build
%configure
make %{?_smp_mflags} V=1
%install
%make_install
%files
%defattr(-,root,root)
%doc README.md TODO BUGS
%{_bindir}/*
%{_mandir}/man1/*
%changelog