|
|
0f0182 |
Summary: Enhanced seccomp library
|
|
|
0f0182 |
Name: libseccomp
|
|
|
0f0182 |
Version: 2.1.1
|
|
|
ce44df |
Release: 2%{?dist}
|
|
|
0f0182 |
ExclusiveArch: %{ix86} x86_64 %{arm}
|
|
|
0f0182 |
License: LGPLv2
|
|
|
0f0182 |
Group: System Environment/Libraries
|
|
|
0f0182 |
Source: http://downloads.sf.net/project/libseccomp/%{name}-%{version}.tar.gz
|
|
|
0f0182 |
URL: http://libseccomp.sourceforge.net
|
|
|
0f0182 |
BuildRequires: valgrind
|
|
|
0f0182 |
%ifarch %{ix86} x86_64
|
|
|
0f0182 |
Requires: kernel >= 3.5
|
|
|
0f0182 |
%endif
|
|
|
0f0182 |
%ifarch %{arm}
|
|
|
0f0182 |
Requires: kernel >= 3.8
|
|
|
0f0182 |
%endif
|
|
|
0f0182 |
|
|
|
0f0182 |
%description
|
|
|
0f0182 |
The libseccomp library provides an easy to use interface to the Linux Kernel's
|
|
|
0f0182 |
syscall filtering mechanism, seccomp. The libseccomp API allows an application
|
|
|
0f0182 |
to specify which syscalls, and optionally which syscall arguments, the
|
|
|
0f0182 |
application is allowed to execute, all of which are enforced by the Linux
|
|
|
0f0182 |
Kernel.
|
|
|
0f0182 |
|
|
|
0f0182 |
%package devel
|
|
|
0f0182 |
Summary: Development files used to build applications with libseccomp support
|
|
|
0f0182 |
Group: Development/Libraries
|
|
|
0f0182 |
Requires: %{name}%{?_isa} = %{version}-%{release} pkgconfig
|
|
|
0f0182 |
|
|
|
0f0182 |
%description devel
|
|
|
0f0182 |
The libseccomp library provides an easy to use interface to the Linux Kernel's
|
|
|
0f0182 |
syscall filtering mechanism, seccomp. The libseccomp API allows an application
|
|
|
0f0182 |
to specify which syscalls, and optionally which syscall arguments, the
|
|
|
0f0182 |
application is allowed to execute, all of which are enforced by the Linux
|
|
|
0f0182 |
Kernel.
|
|
|
0f0182 |
|
|
|
0f0182 |
%prep
|
|
|
0f0182 |
%setup -q
|
|
|
0f0182 |
|
|
|
0f0182 |
%build
|
|
|
0f0182 |
./configure --prefix="%{_prefix}" --libdir="%{_libdir}"
|
|
|
ce44df |
CFLAGS="%{optflags}" make V=1 %{?_smp_mflags}
|
|
|
0f0182 |
|
|
|
0f0182 |
%install
|
|
|
0f0182 |
rm -rf "%{buildroot}"
|
|
|
0f0182 |
mkdir -p "%{buildroot}/%{_libdir}"
|
|
|
0f0182 |
mkdir -p "%{buildroot}/%{_includedir}"
|
|
|
0f0182 |
mkdir -p "%{buildroot}/%{_mandir}"
|
|
|
0f0182 |
make V=1 DESTDIR="%{buildroot}" install
|
|
|
0f0182 |
|
|
|
0f0182 |
%check
|
|
|
0f0182 |
make check
|
|
|
0f0182 |
|
|
|
0f0182 |
%post -p /sbin/ldconfig
|
|
|
0f0182 |
|
|
|
0f0182 |
%postun -p /sbin/ldconfig
|
|
|
0f0182 |
|
|
|
0f0182 |
%files
|
|
|
0f0182 |
%doc LICENSE
|
|
|
0f0182 |
%doc CREDITS
|
|
|
0f0182 |
%doc README
|
|
|
0f0182 |
%{_libdir}/libseccomp.so.*
|
|
|
0f0182 |
|
|
|
0f0182 |
%files devel
|
|
|
0f0182 |
%{_includedir}/seccomp.h
|
|
|
0f0182 |
%{_libdir}/libseccomp.so
|
|
|
0f0182 |
%{_libdir}/pkgconfig/libseccomp.pc
|
|
|
0f0182 |
%{_bindir}/scmp_sys_resolver
|
|
|
0f0182 |
%{_mandir}/man1/*
|
|
|
0f0182 |
%{_mandir}/man3/*
|
|
|
0f0182 |
|
|
|
0f0182 |
%changelog
|
|
|
ce44df |
* Thu Feb 27 2014 Paul Moore <pmoore@redhat.com> - 2.1.1-2
|
|
|
ce44df |
- Build with CFLAGS="${optflags}" (RHBZ #1070774)
|
|
|
ce44df |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.1.1-1
|
|
|
ce44df |
- Mass rebuild 2013-12-27
|
|
|
ce44df |
|
|
|
0f0182 |
* Tue Nov 5 2013 Paul Moore <pmoore@redhat.com> - 2.1.1-0
|
|
|
0f0182 |
- New upstream version
|
|
|
0f0182 |
- Added a %check procedure for self-test during build
|
|
|
0f0182 |
* Tue Jun 11 2013 Paul Moore <pmoore@redhat.com> - 2.1.0-0
|
|
|
0f0182 |
- New upstream version
|
|
|
0f0182 |
- Added support for the ARM architecture
|
|
|
0f0182 |
- Added the scmp_sys_resolver tool
|
|
|
0f0182 |
* Mon Jan 28 2013 Paul Moore <pmoore@redhat.com> - 2.0.0-0
|
|
|
0f0182 |
- New upstream version
|
|
|
0f0182 |
* Tue Nov 13 2012 Paul Moore <pmoore@redhat.com> - 1.0.1-0
|
|
|
0f0182 |
- New upstream version with several important fixes
|
|
|
0f0182 |
* Tue Jul 31 2012 Paul Moore <pmoore@redhat.com> - 1.0.0-0
|
|
|
0f0182 |
- New upstream version
|
|
|
0f0182 |
- Remove verbose build patch as it is no longer needed
|
|
|
0f0182 |
- Enable _smp_mflags during build stage
|
|
|
0f0182 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
|
|
|
0f0182 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
0f0182 |
* Tue Jul 10 2012 Paul Moore <pmoore@redhat.com> - 0.1.0-1
|
|
|
0f0182 |
- Limit package to x86/x86_64 platforms (RHBZ #837888)
|
|
|
0f0182 |
* Tue Jun 12 2012 Paul Moore <pmoore@redhat.com> - 0.1.0-0
|
|
|
0f0182 |
- Initial version
|
|
|
0f0182 |
|