Skip to content

Commit c83c499

Browse files
andy-vmandy.peng
andauthored
update runc (#802)
Co-authored-by: andy.peng <andypeng@pglgull002.png.intel.com>
1 parent 3cbacc1 commit c83c499

File tree

6 files changed

+129
-12
lines changed

6 files changed

+129
-12
lines changed

SPECS/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,6 @@ libreswan
485485
librsvg2
486486
librsync
487487
libsafec
488-
libseccomp
489488
libselinux
490489
libsemanage
491490
libsepol
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"Signatures": {
3+
"libseccomp-2.5.6.tar.gz": "04c37d72965dce218a0c94519b056e1775cf786b5260ee2b7992956c4ee38633"
4+
}
5+
}

SPECS/libseccomp/libseccomp.spec

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
Summary: Enhanced seccomp library
2+
Name: libseccomp
3+
Version: 2.5.6
4+
Release: 1%{?dist}
5+
License: LGPLv2
6+
Vendor: Microsoft Corporation
7+
Distribution: Azure Linux
8+
Group: System Environment/Libraries
9+
URL: https://github.com/seccomp/libseccomp/wiki
10+
Source0: https://github.com/seccomp/libseccomp/releases/download/v%{version}/%{name}-%{version}.tar.gz
11+
BuildRequires: gperf
12+
%if 0%{?with_check}
13+
BuildRequires: which
14+
%endif
15+
16+
%description
17+
The libseccomp library provides an easy to use, platform independent, interface
18+
to the Linux Kernel syscall filtering mechanism: seccomp. The libseccomp API
19+
is designed to abstract away the underlying BPF based syscall filter language
20+
and present a more conventional function-call based filtering interface that
21+
should be familiar to, and easily adopted by application developers.
22+
23+
%package devel
24+
Summary: Development files used to build applications with libseccomp support
25+
Group: Development/Libraries
26+
Requires: %{name} = %{version}-%{release}
27+
Provides: %{name}-static = %{version}-%{release}
28+
29+
%description devel
30+
The libseccomp-devel package contains the libraries and header files
31+
needed for developing secure applications.
32+
33+
%prep
34+
%autosetup
35+
36+
%build
37+
%configure
38+
%make_build
39+
40+
%install
41+
%make_install
42+
find %{buildroot} -type f -name "*.la" -delete -print
43+
44+
%check
45+
%make_build check
46+
47+
%ldconfig_scriptlets
48+
49+
%files
50+
%license LICENSE
51+
%doc CREDITS README.md
52+
%{_libdir}/libseccomp.so.2*
53+
54+
%files devel
55+
%{_includedir}/seccomp.h
56+
%{_includedir}/seccomp-syscalls.h
57+
%{_libdir}/libseccomp.so
58+
%{_libdir}/libseccomp.a
59+
%{_libdir}/pkgconfig/libseccomp.pc
60+
%{_bindir}/scmp_sys_resolver
61+
%{_mandir}/man1/*
62+
%{_mandir}/man3/*
63+
64+
%changelog
65+
* Fri Oct 31 2025 Nan Liu <liunan@microsoft.com> - 2.5.6-1
66+
- Upgrade to 2.5.6
67+
68+
* Tue Nov 05 2024 Nan Liu <liunan@microsoft.com> - 2.5.5-1
69+
- Upgrade to 2.5.5 as other older version is no longer supported upstream
70+
71+
* Fri Oct 27 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 2.5.4-1
72+
- Auto-upgrade to 2.5.4 - Azure Linux 3.0 - package upgrades
73+
74+
* Thu Jan 13 2022 Henry Li <lihl@microsoft.com> - 2.5.3-1
75+
- Upgrade to version 2.5.3
76+
- Add gperf as BR
77+
- Add /usr/include/seccomp-syscalls.h to libseccomp-devel package
78+
79+
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 2.4.1-4
80+
- Remove pkgconfig provides (no longer necessary)
81+
- Require base package from devel subpackage
82+
- Include libseccomp soname version in %%file section
83+
84+
* Tue Jun 29 2021 Thomas Crain <thcrain@microsoft.com> - 2.4.1-3
85+
- Provide libseccomp-static from devel subpackage
86+
- Version the pkgconfig provides
87+
- Modernize spec with macros
88+
- Remove libtool archive files
89+
90+
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com>
91+
- Added %%license line automatically
92+
93+
* Tue Mar 17 2020 Henry Beberman <henry.beberman@microsoft.com> - 2.4.1-1
94+
- Update to 2.4.1. License verified.
95+
96+
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 2.3.3-3
97+
- Initial CBL-Mariner import from Photon (license: Apache2).
98+
99+
* Wed Jan 9 2019 Michelle Wang <michellew@vmware.com> - 2.3.3-2
100+
- Fix make check for libseccomp.
101+
102+
* Mon Sep 10 2018 Bo Gan <ganb@vmware.com> - 2.3.3-1
103+
- Updated to version 2.3.3.
104+
105+
* Tue Apr 11 2017 Harish Udaiya KUmar <hudaiyakumar@vmware.com> - 2.3.2-1
106+
- Updated to version 2.3.2.
107+
108+
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 2.2.3-2
109+
- GA - Bump release of all rpms.
110+
111+
* Sat Jan 16 2016 Fabio Rapposelli <fabio@vmware.com> - 2.2.3-1
112+
- First release of the package.

SPECS/runc/runc.signatures.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"runc-1.2.2.tar.gz": "0eabc936d481d123be92c429588f9d1de7cafd36b37a8a5085b1412e758796a1"
3+
"runc-1.3.3.tar.gz": "3da010af5c2c1c3d12d460255e4a7dc049c223ebc629c80fbbe4c10720997ffe"
44
}
55
}

SPECS/runc/runc.spec

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
%define commit_hash 7cb363254b69e10320360b63fb73e0ffb5da7bf2
1+
%define commit_hash d842d7719497cc3b774fd71620278ac9e17710e0
22
Summary: CLI tool for spawning and running containers per OCI spec.
33
Name: runc
44
# update "commit_hash" above when upgrading version
5-
Version: 1.2.2
6-
Release: 2%{?dist}
5+
Version: 1.3.3
6+
Release: 1%{?dist}
77
License: ASL 2.0
88
Vendor: Microsoft Corporation
99
Distribution: Azure Linux
@@ -12,7 +12,7 @@ URL: https://github.com/opencontainers/runc
1212
Source0: https://github.com/opencontainers/runc/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
1313
BuildRequires: git
1414
BuildRequires: go-md2man
15-
BuildRequires: golang
15+
BuildRequires: golang < 1.25
1616
BuildRequires: libseccomp-devel
1717
BuildRequires: make
1818
Requires: glibc
@@ -43,8 +43,9 @@ make install-man DESTDIR=%{buildroot} PREFIX=%{_prefix}
4343
%{_mandir}/*
4444

4545
%changelog
46-
* Fri Mar 21 2025 Anuj Mittal <anuj.mittal@intel.com> - 1.2.2-2
47-
- Bump Release to rebuild
46+
* Wed Nov 05 2025 Nan Liu <liunan@microsoft.com> - 1.3.3-1
47+
- Upgrade to 1.3.3
48+
- BR golang < 1.25
4849

4950
* Mon Nov 25 2024 Nan Liu <liunan@microsoft.com> - 1.2.2-1
5051
- Bump version to 1.2.2

cgmanifest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11271,8 +11271,8 @@
1127111271
"type": "other",
1127211272
"other": {
1127311273
"name": "libseccomp",
11274-
"version": "2.5.5",
11275-
"downloadUrl": "https://github.com/seccomp/libseccomp/releases/download/v2.5.5/libseccomp-2.5.5.tar.gz"
11274+
"version": "2.5.6",
11275+
"downloadUrl": "https://github.com/seccomp/libseccomp/releases/download/v2.5.6/libseccomp-2.5.6.tar.gz"
1127611276
}
1127711277
}
1127811278
},
@@ -27974,8 +27974,8 @@
2797427974
"type": "other",
2797527975
"other": {
2797627976
"name": "runc",
27977-
"version": "1.2.2",
27978-
"downloadUrl": "https://github.com/opencontainers/runc/archive/v1.2.2.tar.gz"
27977+
"version": "1.3.3",
27978+
"downloadUrl": "https://github.com/opencontainers/runc/archive/v1.3.3.tar.gz"
2797927979
}
2798027980
}
2798127981
},

0 commit comments

Comments
 (0)