2012-06-26 19:56:30 +00:00
|
|
|
Summary: Enhanced seccomp library
|
|
|
|
Name: libseccomp
|
2017-03-01 18:52:22 +00:00
|
|
|
Version: 2.3.2
|
2017-08-03 02:14:42 +00:00
|
|
|
Release: 5%{?dist}
|
2016-02-29 20:37:14 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mipsel mips64el ppc64 ppc64le s390 s390x
|
2012-06-26 19:56:30 +00:00
|
|
|
License: LGPLv2
|
|
|
|
Group: System Environment/Libraries
|
2015-02-12 23:06:10 +00:00
|
|
|
Source: https://github.com/seccomp/libseccomp/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
URL: https://github.com/seccomp/libseccomp
|
2017-06-29 20:24:23 +00:00
|
|
|
%ifnarch riscv64 s390
|
|
|
|
# Versions prior to 3.13.0-4 do not work on ARM with newer glibc 2.25.0-6
|
|
|
|
# See https://bugzilla.redhat.com/show_bug.cgi?id=1466017
|
|
|
|
BuildRequires: valgrind >= 1:3.13.0-4
|
2016-03-01 12:00:18 +00:00
|
|
|
%endif
|
2012-06-26 19:56:30 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The libseccomp library provides an easy to use interface to the Linux Kernel's
|
|
|
|
syscall filtering mechanism, seccomp. The libseccomp API allows an application
|
|
|
|
to specify which syscalls, and optionally which syscall arguments, the
|
|
|
|
application is allowed to execute, all of which are enforced by the Linux
|
|
|
|
Kernel.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files used to build applications with libseccomp support
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release} pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The libseccomp library provides an easy to use interface to the Linux Kernel's
|
|
|
|
syscall filtering mechanism, seccomp. The libseccomp API allows an application
|
|
|
|
to specify which syscalls, and optionally which syscall arguments, the
|
|
|
|
application is allowed to execute, all of which are enforced by the Linux
|
|
|
|
Kernel.
|
|
|
|
|
2015-02-12 23:06:10 +00:00
|
|
|
%package static
|
|
|
|
Summary: Enhanced seccomp static library
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release} pkgconfig
|
|
|
|
|
|
|
|
%description static
|
|
|
|
The libseccomp library provides an easy to use interface to the Linux Kernel's
|
|
|
|
syscall filtering mechanism, seccomp. The libseccomp API allows an application
|
|
|
|
to specify which syscalls, and optionally which syscall arguments, the
|
|
|
|
application is allowed to execute, all of which are enforced by the Linux
|
|
|
|
Kernel.
|
|
|
|
|
2012-06-26 19:56:30 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2015-02-12 23:06:10 +00:00
|
|
|
%configure
|
|
|
|
make V=1 %{?_smp_mflags}
|
2012-06-26 19:56:30 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf "%{buildroot}"
|
|
|
|
mkdir -p "%{buildroot}/%{_libdir}"
|
|
|
|
mkdir -p "%{buildroot}/%{_includedir}"
|
|
|
|
mkdir -p "%{buildroot}/%{_mandir}"
|
2012-07-30 19:53:24 +00:00
|
|
|
make V=1 DESTDIR="%{buildroot}" install
|
2015-02-12 23:06:10 +00:00
|
|
|
rm -f "%{buildroot}/%{_libdir}/libseccomp.la"
|
2012-06-26 19:56:30 +00:00
|
|
|
|
2013-10-31 17:38:55 +00:00
|
|
|
%check
|
2015-02-12 23:06:10 +00:00
|
|
|
make V=1 check
|
2013-10-31 17:38:55 +00:00
|
|
|
|
2012-06-26 19:56:30 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2014-07-18 19:14:41 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license LICENSE
|
2012-06-26 19:56:30 +00:00
|
|
|
%doc CREDITS
|
2017-03-01 18:52:22 +00:00
|
|
|
%doc README.md
|
2015-02-12 23:06:10 +00:00
|
|
|
%doc CHANGELOG
|
|
|
|
%doc SUBMITTING_PATCHES
|
2012-06-26 19:56:30 +00:00
|
|
|
%{_libdir}/libseccomp.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/seccomp.h
|
|
|
|
%{_libdir}/libseccomp.so
|
|
|
|
%{_libdir}/pkgconfig/libseccomp.pc
|
2013-06-10 21:09:00 +00:00
|
|
|
%{_bindir}/scmp_sys_resolver
|
|
|
|
%{_mandir}/man1/*
|
2012-06-26 19:56:30 +00:00
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
2015-02-12 23:06:10 +00:00
|
|
|
%files static
|
|
|
|
%{_libdir}/libseccomp.a
|
|
|
|
|
2012-06-26 19:56:30 +00:00
|
|
|
%changelog
|
2017-08-03 02:14:42 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 19:41:31 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-29 20:24:23 +00:00
|
|
|
* Thu Jun 29 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.3.2-3
|
|
|
|
- Re-enable valgrind-based tests on ARMv7
|
|
|
|
|
2017-06-29 14:03:56 +00:00
|
|
|
* Thu Jun 29 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.3.2-2
|
|
|
|
- Disable running valgrind-based tests on ARMv7 due to glibc/valgrind bug (RHBZ #1466017)
|
|
|
|
|
2017-03-01 18:52:22 +00:00
|
|
|
* Wed Mar 01 2017 Paul Moore <pmoore@redhat.com> -2.3.2-1
|
|
|
|
- New upstream version
|
|
|
|
|
2017-02-10 19:25:50 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-04-21 15:02:46 +00:00
|
|
|
* Wed Apr 20 2016 Paul Moore <pmoore@redhat.com> - 2.3.1-1
|
|
|
|
- Cleanup the changelog whitespace and escape the macros to make rpmlint happy
|
|
|
|
|
2016-04-20 20:30:58 +00:00
|
|
|
* Wed Apr 20 2016 Paul Moore <pmoore@redhat.com> - 2.3.1-0
|
|
|
|
- New upstream version
|
|
|
|
|
2016-03-01 12:00:18 +00:00
|
|
|
* Tue Mar 1 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.3.0-1
|
|
|
|
- No valgrind on s390
|
|
|
|
|
2016-04-20 20:30:58 +00:00
|
|
|
* Mon Feb 29 2016 Paul Moore <pmoore@redhat.com> - 2.3.0-0
|
2016-02-29 20:37:14 +00:00
|
|
|
- New upstream version
|
|
|
|
|
2016-02-04 03:53:29 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.3-1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-07-08 19:50:48 +00:00
|
|
|
* Wed Jul 08 2015 Paul Moore <pmoore@redhat.com> - 2.2.3-0
|
|
|
|
- New upstream version
|
|
|
|
|
2015-06-17 17:14:25 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-13 15:15:10 +00:00
|
|
|
* Wed May 13 2015 Paul Moore <pmoore@redhat.com> - 2.2.1-0
|
|
|
|
- New upstream version
|
|
|
|
|
2015-02-12 23:06:10 +00:00
|
|
|
* Thu Feb 12 2015 Paul Moore <pmoore@redhat.com> - 2.2.0-0
|
|
|
|
- New upstream version
|
|
|
|
- Added aarch64 support
|
|
|
|
- Added a static build
|
|
|
|
|
2014-09-18 21:19:20 +00:00
|
|
|
* Thu Sep 18 2014 Paul Moore <pmoore@redhat.com> - 2.1.1-6
|
2014-09-18 21:17:02 +00:00
|
|
|
- Fully builds on i686, x86_64, and armv7hl (RHBZ #1106071)
|
|
|
|
|
2014-08-17 05:54:42 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-18 19:14:41 +00:00
|
|
|
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 2.1.1-4
|
|
|
|
- fix license handling
|
|
|
|
|
2014-06-07 05:23:02 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-02-27 19:46:55 +00:00
|
|
|
* Thu Feb 27 2014 Paul Moore <pmoore@redhat.com> - 2.1.1-2
|
|
|
|
- Build with CFLAGS="${optflags}"
|
2016-04-21 15:02:46 +00:00
|
|
|
|
2014-02-17 20:18:11 +00:00
|
|
|
* Mon Feb 17 2014 Paul Moore <pmoore@redhat.com> - 2.1.1-1
|
|
|
|
- Removed the kernel dependency (RHBZ #1065572)
|
2016-04-21 15:02:46 +00:00
|
|
|
|
2013-10-31 17:38:55 +00:00
|
|
|
* Thu Oct 31 2013 Paul Moore <pmoore@redhat.com> - 2.1.1-0
|
|
|
|
- New upstream version
|
2016-04-21 15:02:46 +00:00
|
|
|
- Added a %%check procedure for self-test during build
|
2013-10-31 17:38:55 +00:00
|
|
|
|
2013-08-03 06:56:59 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-10 21:09:00 +00:00
|
|
|
* Tue Jun 11 2013 Paul Moore <pmoore@redhat.com> - 2.1.0-0
|
|
|
|
- New upstream version
|
|
|
|
- Added support for the ARM architecture
|
|
|
|
- Added the scmp_sys_resolver tool
|
2016-04-21 15:02:46 +00:00
|
|
|
|
2013-01-23 19:50:38 +00:00
|
|
|
* Mon Jan 28 2013 Paul Moore <pmoore@redhat.com> - 2.0.0-0
|
|
|
|
- New upstream version
|
2016-04-21 15:02:46 +00:00
|
|
|
|
2012-11-13 14:51:43 +00:00
|
|
|
* Tue Nov 13 2012 Paul Moore <pmoore@redhat.com> - 1.0.1-0
|
|
|
|
- New upstream version with several important fixes
|
2016-04-21 15:02:46 +00:00
|
|
|
|
2012-07-30 19:53:24 +00:00
|
|
|
* Tue Jul 31 2012 Paul Moore <pmoore@redhat.com> - 1.0.0-0
|
|
|
|
- New upstream version
|
|
|
|
- Remove verbose build patch as it is no longer needed
|
|
|
|
- Enable _smp_mflags during build stage
|
2016-04-21 15:02:46 +00:00
|
|
|
|
2012-07-19 21:08:06 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
2016-04-21 15:02:46 +00:00
|
|
|
|
2012-07-10 19:38:47 +00:00
|
|
|
* Tue Jul 10 2012 Paul Moore <pmoore@redhat.com> - 0.1.0-1
|
|
|
|
- Limit package to x86/x86_64 platforms (RHBZ #837888)
|
2016-04-21 15:02:46 +00:00
|
|
|
|
2012-06-26 19:56:30 +00:00
|
|
|
* Tue Jun 12 2012 Paul Moore <pmoore@redhat.com> - 0.1.0-0
|
|
|
|
- Initial version
|
|
|
|
|