Compare commits

..

No commits in common. 'c9' and 'i10cs' have entirely different histories.
c9 ... i10cs

@ -1 +1 @@
363375538ea675fe6128b4235d20a77956da44aa SOURCES/v0.2.0.tar.gz 0efd7357b4a8dbf09a25987515660255eb5b5395 SOURCES/v0.2.1.tar.gz

2
.gitignore vendored

@ -1 +1 @@
SOURCES/v0.2.0.tar.gz SOURCES/v0.2.1.tar.gz

@ -1,21 +1,31 @@
Name: catatonit Name: catatonit
Epoch: 3 Version: 0.2.1
Version: 0.2.0
Release: 1%{?dist}
Summary: A signal-forwarding process manager for containers Summary: A signal-forwarding process manager for containers
License: GPLv3+ License: GPL-3.0-or-later
URL: https://github.com/openSUSE/catatonit Release: 1%{?dist}
Source0: https://github.com/openSUSE/catatonit/archive/v%{version}.tar.gz # Bump epoch to 5 for RHEL
# Ref: https://bugzilla.redhat.com/show_bug.cgi?id=2257446
Epoch: 5
%if %{defined golang_arches_future}
ExclusiveArch: %{golang_arches_future}
%else
ExclusiveArch: aarch64 ppc64le s390x x86_64
%endif
URL: https://github.com/openSUSE/%{name}
# Tarball fetched from upstream
Source0: %{url}/archive/v%{version}.tar.gz
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: file BuildRequires: file
BuildRequires: libtool
Provides: podman-%{name} = %{version}-%{release}
BuildRequires: gcc BuildRequires: gcc
BuildRequires: git BuildRequires: git-core
BuildRequires: glibc-static BuildRequires: glibc-static
BuildRequires: libtool BuildRequires: make
%description %description
Catatonit is a /sbin/init program for use within containers. It Catatonit is a %{_sbindir}/init program for use within containers. It
forwards (almost) all signals to the spawned child, tears down forwards (almost) all signals to the spawned child, tears down
the container when the spawned child exits, and otherwise the container when the spawned child exits, and otherwise
cleans up other exited processes (zombies). cleans up other exited processes (zombies).
@ -25,12 +35,13 @@ This is a reimplementation of other container init programs (such as
signalfd(2)) and has no additional features. signalfd(2)) and has no additional features.
%prep %prep
%autosetup -Sgit -n %{name}-%{version} %autosetup -Sgit %{name}-%{version}
sed -i '/^AM_INIT_AUTOMAKE$/d' configure.ac sed -i '/^AM_INIT_AUTOMAKE$/d' configure.ac
%build %build
autoreconf -fi autoreconf -fi
%configure %configure
CFLAGS="%{optflags} -fPIE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
# Make sure we *always* build a static binary. Otherwise we'll break containers # Make sure we *always* build a static binary. Otherwise we'll break containers
@ -44,65 +55,26 @@ fi
%install %install
install -dp %{buildroot}%{_libexecdir}/%{name} install -dp %{buildroot}%{_libexecdir}/%{name}
install -p %{name} %{buildroot}%{_libexecdir}/%{name} install -p %{name} %{buildroot}%{_libexecdir}/%{name}
install -dp %{buildroot}%{_libexecdir}/podman
ln -s %{_libexecdir}/%{name}/%{name} %{buildroot}%{_libexecdir}/podman/%{name}
%files %files
%license COPYING %license COPYING
%doc README.md %doc README.md
%dir %{_libexecdir}/%{name} %dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/%{name} %{_libexecdir}/%{name}/%{name}
%dir %{_libexecdir}/podman
%{_libexecdir}/podman/%{name}
%changelog %changelog
* Wed Oct 04 2023 Jindrich Novy <jnovy@redhat.com> - 3:0.2.0-1 * Mon Dec 16 2024 Jindrich Novy <jnovy@redhat.com> - 5:0.2.1-1
- update to https://github.com/openSUSE/catatonit/releases/tag/v0.2.0 - update to https://github.com/openSUSE/catatonit/releases/tag/v0.2.1
- Related: Jira:RHEL-2112 - Related: RHEL-58990
* Wed Jun 21 2023 Jindrich Novy <jnovy@redhat.com> - 3:0.1.7-10
- bump release to preserve upgrade path from 9.2
- Resolves: #2209677
* Mon May 29 2023 Jindrich Novy <jnovy@redhat.com> - 3:0.1.7-9
- rebuild for 9.3
- Resolves: #2209677
* Wed Jan 11 2023 Jindrich Novy <jnovy@redhat.com> - 3:0.1.7-8
- remove any relation to podman-catatonit
- Related: #2151322
* Tue Jul 26 2022 Jindrich Novy <jnovy@redhat.com> - 3:0.1.7-7
- make sure podman-catatonit is always obsoleted
- Related: #2061316
* Fri Jul 22 2022 Lokesh Mandvekar <lsm5@redhat.com> - 3:0.1.7-6 * Fri Dec 13 2024 Jindrich Novy <jnovy@redhat.com> - 5:0.2.0-2
- Rebuild for combined gating with podman - Add missing symlink and rebuild
- Related: #2061316 - Resolves: RHEL-71134
* Fri Jul 22 2022 Lokesh Mandvekar <lsm5@redhat.com> - 3:0.1.7-5 * Tue Dec 10 2024 Jindrich Novy <jnovy@redhat.com> - 5:0.2.0-1
- Empty ruleset in gating.yaml - update to https://github.com/openSUSE/catatonit/releases/tag/v0.2.0
- Related: #2061316 - Resolves: RHEL-70589
* Wed Jul 20 2022 Lokesh Mandvekar <lsm5@redhat.com> - 3:0.1.7-4
- Remove osci.brew-build.tier0.functional from gating.yaml
- Related: #2061316
* Tue Jul 19 2022 Lokesh Mandvekar <lsm5@redhat.com> - 3:0.1.7-3
- Add gating.yaml to dist-git
- Related: #2061316
* Tue Jul 19 2022 Lokesh Mandvekar <lsm5@redhat.com> - 3:0.1.7-2
- Obsolete and provides podman-catatonit
- Related: #2061316
* Tue Jun 28 2022 Jindrich Novy <jnovy@redhat.com> - 0.1.7-1
- update to 0.1.7
- Related: #2061316
* Wed Apr 29 2020 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.5-2
- complain if not statically linked, patch from Jindrich Novy <jnovy@redhat.com>
* Wed Apr 29 2020 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.5-1
- bump to v0.1.5
- static binary to not break containers that don't have necessary shared libs
* Wed Feb 19 2020 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.4-1
- first build for review
- source copied from openSUSE @ https://build.opensuse.org/package/show/openSUSE:Factory/catatonit

Loading…
Cancel
Save