File pax-utils.spec of Package pax-utils
#
# spec file for package pax-utils (Version 0.1.16)
#
# Copyright (c) 2009 SUSE LINUX Products 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/
#
# norootforbuild
# icecream 0
Name: pax-utils
BuildRequires: libcap-devel
Url: http://www.gentoo.org/proj/en/hardened/pax-utils.xml
Summary: Tools to Check ELF Files for Security Relevant Properties
Version: 0.1.16
Release: 42
License: GPL v2 or later
Group: Productivity/Security
Source: http://dev.gentoo.org/~solar/pax/pax-utils-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Tools to check ELF files for security relevant properties such as
non-executable stack.
Authors:
--------
Ned Ludd <solar@gentoo.org>
Mike Frysinger <vapier@gentoo.org>
%prep
%setup
%build
# This package failed when testing with -Wl,-as-needed being default.
# So we disable it here, if you want to retest, just delete this comment and the line below.
export SUSE_ASNEEDED=0
make pspax CFLAGS="%{optflags} -g -D_GNU_SOURCE -DWANT_SYSCAP" LDFLAGS="-lcap"
make CFLAGS="%{optflags} -g -D_GNU_SOURCE"
%install
make DESTDIR="%{buildroot}" S=0 install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc README TODO BUGS
%{_bindir}/*
%{_mandir}/man1/*
%changelog
* Fri Jun 19 2009 coolo@novell.com
- disable as-needed for this package as it fails to build with it
* Tue Apr 01 2008 lnussel@suse.de
- new version 0.1.16
* mostly manpage and portability improvements
* Fri Jan 26 2007 lnussel@suse.de
- new version 0.1.15
* Support added for displaying em_machine via %%a format flag in scanelf
* Make scanelf_file_bind() not output anything if quiet mode and the ELF is
static or not setuid.
* pspax: new options -u and -g
* Tue Nov 14 2006 lnussel@suse.de
- new version 0.1.13
* supports scanning archives and searching for specific sections
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 09 2006 lnussel@suse.de
- new package pax-utils