LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pax-utils.spec of Package pax-utils (Project security)

# spec file for package pax-utils
# Copyright (c) 2013 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/
# 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
License:        GPL-2.0+
Group:          Productivity/Security
Version:        0.1.16
Release:        0
Source:         http://dev.gentoo.org/~solar/pax/pax-utils-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch:          pax-utils-lib64.patch

Tools to check ELF files for security relevant properties such as
non-executable stack.

    Ned Ludd <solar@gentoo.org>
    Mike Frysinger <vapier@gentoo.org>

%setup -q

# 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.
make pspax CFLAGS="%{optflags} -g -D_GNU_SOURCE -DWANT_SYSCAP" LDFLAGS="-lcap"
make CFLAGS="%{optflags} -g -D_GNU_SOURCE"

make DESTDIR="%{buildroot}" S=0 install

rm -rf %{buildroot}