Sync from SUSE:SLFO:Main catatonit revision 4a96d8c6cb74340bd365b347e1bc9ffd
This commit is contained in:
commit
8941785418
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
36
99bb9048f.patch
Normal file
36
99bb9048f.patch
Normal file
@ -0,0 +1,36 @@
|
||||
From 99bb9048f532257f3a2c3856cfa19fe957ab6cec Mon Sep 17 00:00:00 2001
|
||||
From: Antonio Terceiro <terceiro@debian.org>
|
||||
Date: Thu, 4 Nov 2021 07:37:13 -0300
|
||||
Subject: [PATCH] configure.ac: call AM_INIT_AUTOMAKE only once
|
||||
|
||||
That second call seems to be there since the beginning, and autoconf
|
||||
2.69 was fine with it. autoconf 2.71 doesn't allow it anymore:
|
||||
|
||||
$ ./autogen.sh
|
||||
autoreconf: export WARNINGS=
|
||||
autoreconf: Entering directory '.'
|
||||
autoreconf: configure.ac: not using Gettext
|
||||
autoreconf: running: aclocal --force
|
||||
configure.ac:34: error: AM_INIT_AUTOMAKE expanded multiple times
|
||||
/usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
|
||||
configure.ac:19: the top level
|
||||
/usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
|
||||
configure.ac:34: the top level
|
||||
autom4te: error: /usr/bin/m4 failed with exit status: 1
|
||||
aclocal: error: /usr/bin/autom4te failed with exit status: 1
|
||||
autoreconf: error: aclocal failed with exit status: 1
|
||||
|
||||
Signed-off-by: Antonio Terceiro <terceiro@debian.org>
|
||||
---
|
||||
configure.ac | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 12c9186..94c5c84 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -31,4 +31,3 @@ AC_FUNC_FORK
|
||||
|
||||
AC_CONFIG_FILES([Makefile config.h])
|
||||
AC_OUTPUT
|
||||
-AM_INIT_AUTOMAKE
|
BIN
catatonit-0.1.7.tar.xz
(Stored with Git LFS)
Normal file
BIN
catatonit-0.1.7.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
17
catatonit-0.1.7.tar.xz.asc
Normal file
17
catatonit-0.1.7.tar.xz.asc
Normal file
@ -0,0 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQJDBAABCAAtFiEEXzbGxhtUYBJKdfWmnhiqJn3bjbQFAmF/daIPHGFzYXJhaUBz
|
||||
dXNlLmRlAAoJEJ4YqiZ92420N4QP/i47N53mZku98HPqzZxgq7wpCPWsWIv0Fyxv
|
||||
jkqsWsI1wwnLZoP3Q5RmR6Qqtv5bRpmOIN0p8qpXGHjZD4cGK1gsP4s5szVl3ecb
|
||||
VnSDwtdFK+b76amgKWsgLe/3m4xwSNWONGPOy66MSmZIYWTEGpnEN7qsz4QQ2ORW
|
||||
f6dYa2kjO+bY9Fg3nqO18iXAXYWZw2t5lIiUSG8fG5QFt676EyGnPuMnpXR+XiSk
|
||||
pCbA+4v4l/Ix4OlJZgmS96dqvPc91OAMlX4xhfPjJhyR/j+YSrTm63Fd3NxlXCIa
|
||||
x0AIU9WO4DK/cYVthq33ZaM56xcqMSAh7iTh2kkUvCRJZxyhOG+/0eEaTtLWpt/O
|
||||
Hg5W1Mk4tzk+F2fNHTazcWc6aaRNvAZUnl0IveJkyjlDshi1r7vMKz7wRTZ2ZrBe
|
||||
P83Z0y8HjjWu6Ij9W3xRLUpgZ2IsF+e3EEt1JUapvH/6U2R5D+fIXltb0HS1vhVC
|
||||
XQiZQO5nQJ3r0E5r1V4UtwiprtdRpr+3rIDa7HemHPutClGmkW1w5+KmxDFu3Sms
|
||||
YVW1aDWjhYXFvY1A8UKs5UtX3p1QNmFPh5+NWFUIK6yuFV39cLmRNWLcXCYuaz6W
|
||||
siADqcAiMVWbt6yVEwrQ4yyv6v/pW8sMdBC+MqQs97RwEmN5lxHz6sdMkv5oVR/7
|
||||
U5xkovR3
|
||||
=05Kh
|
||||
-----END PGP SIGNATURE-----
|
3
catatonit-rpmlintrc
Normal file
3
catatonit-rpmlintrc
Normal file
@ -0,0 +1,3 @@
|
||||
# We need catatonit to be statically linked.
|
||||
addFilter ("^catatonit.*: [EW]: statically-linked-binary /usr/bin/catatonit")
|
||||
addFilter ("^catatonit.*: W: position-independent-executable-suggested /usr/bin/catatonit")
|
70
catatonit.changes
Normal file
70
catatonit.changes
Normal file
@ -0,0 +1,70 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 11 09:57:33 UTC 2022 - Richard Brown <rbrown@suse.com>
|
||||
|
||||
- Update to catatont v0.1.7
|
||||
- This release adds the ability for catatonit to be used as the only
|
||||
process in a pause container, by passing the -P flag (in this mode no
|
||||
subprocess is spawned and thus no signal forwarding is done).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 25 14:28:41 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Add 99bb9048f.patch: configure.ac: call AM_INIT_AUTOMAKE only
|
||||
once. Fix build with autocnf 2.71 / automake 1.16.5.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 16 05:16:12 UTC 2021 - Aleksa Sarai <asarai@suse.com>
|
||||
|
||||
- Update to catatonit v0.1.6, which fixes a few bugs -- mainly ones related to
|
||||
socket activation or features somewhat adjacent to socket activation (such as
|
||||
passing file descriptors).
|
||||
- Update catatonit-rpmlintrc in order to cover that static binaries are now an
|
||||
error not a warning.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 2 16:20:29 UTC 2020 - Aleksa Sarai <asarai@suse.com>
|
||||
|
||||
- Update to catatonit v0.1.5, which fixes two bugs where catatonit would hang
|
||||
endlessly when pid1 died in very specific ways. bsc#1176155
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 29 07:35:13 UTC 2019 - Aleksa Sarai <asarai@suse.com>
|
||||
|
||||
- Update to catatonit v0.1.4, which includes support for "-g".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 18 13:06:13 UTC 2018 - asarai@suse.com
|
||||
|
||||
- Update to catatonit v0.1.3, which includes a fix for docker compatiblity so
|
||||
that dockerd doesn't give spurrious warnings.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 6 18:31:08 UTC 2018 - asarai@suse.com
|
||||
|
||||
- Fix build to correctly build a static binary (which will allow it to work in
|
||||
all containers). This was caused by forgetting to include
|
||||
'glibc-devel-static'. I've added a check to ensure it doesn't happen by
|
||||
accident again.
|
||||
- Add catatonit-rpmlintrc to include filters for "static binary" warnings,
|
||||
since this is intentional.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 23:27:27 UTC 2018 - jengelh@inai.de
|
||||
|
||||
- Update package descriptions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 29 09:13:58 UTC 2018 - asarai@suse.com
|
||||
|
||||
- Update to catatonit v0.1.2 and update links to point to openSUSE repo.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 27 09:27:17 UTC 2018 - asarai@suse.com
|
||||
|
||||
- Update to catatonit v0.1.1, which includes a fix for the libtool requirement.
|
||||
This lets us build on much older distributions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 27 08:39:07 UTC 2018 - asarai@suse.com
|
||||
|
||||
- Initial import of catatonit v0.1.0.
|
69
catatonit.keyring
Normal file
69
catatonit.keyring
Normal file
@ -0,0 +1,69 @@
|
||||
pub rsa4096 2016-06-21 [SC] [expires: 2031-06-18]
|
||||
5F36C6C61B5460124A75F5A69E18AA267DDB8DB4
|
||||
uid [ultimate] Aleksa Sarai <asarai@suse.com>
|
||||
uid [ultimate] Aleksa Sarai <asarai@suse.de>
|
||||
sub rsa4096 2016-06-21 [E] [expires: 2031-06-18]
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBFdpGN0BEADMEmLpnUel7OI2SM8f88i7w0iRgJd4kOvF1z673+zWCgaw9QW8
|
||||
ha7wAm/+3isas9IqlvGx61i6hbO7TFwcYi472VHhs4HP8jMtWytHHkjc3O9xlMc0
|
||||
CfekjIpoR1CffYtCvkLr8/f74jHNRfqsmZ1Oxa9GjbhgDnbw4Baztp6WctzMXyOJ
|
||||
j5bJuSfQTcgFbIeQ27zx7gNjbnHyEP5TEm1/CeoWpGPpZLJPiKHdI/TBCyFexHJ0
|
||||
IlabKc4DC43RZyh0Btuf+FiX9K2NkoCC7l5nQdde8B6YG7SA6xEhwhQ73bSs7A56
|
||||
rlZxfIFmLCB/81FyXk5eH0Eu9Lbwj69YQ81EdkLnLAyP3ZB+MRGu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W1nMf7cxDkNLQqX6sWvs62Tv
|
||||
Lsx2jApPKD2PyTyyxItJKc6NXFVM+Uww323ZYVWMkz+VKalHRiv6xzGqArhpAIH6
|
||||
fn+1WjjqkrrLU4I7smjlulZCy/NZLOKqQYaqM+7BgC2mOPMb5CM99cg4SrK86dFr
|
||||
3Cf22+OTmC6/Wb5Gu4PzTzkYIJDnt3BJQYjJlp4zyOHluN6notrWagLIB06oX+jQ
|
||||
pxGySHW++Cha/JCUb0mfeHIJKvRor3v7YaSJoFIo//rz6XJ9WVZfsKnOte/3s9m7
|
||||
qkEvLArbe2o7pUJ2mxZZw/nAk/Y39FYAMvgMA9f+uv18O7u+ojYjS6DlrmNuIEg/
|
||||
mp8FqVxVNdIS2capSF4+eOn3a4kcF0018xbTLA2AwQ2o9eF5G9qTdSVrN865VPCd
|
||||
KWr9ByCKAwVHsaSgVSJE/dse4f1toqeEHHbWk682U4RqOWZR4bA0
|
||||
=3/jE
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
75
catatonit.spec
Normal file
75
catatonit.spec
Normal file
@ -0,0 +1,75 @@
|
||||
#
|
||||
# spec file for package catatonit
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: catatonit
|
||||
Version: 0.1.7
|
||||
Release: 0
|
||||
Summary: A signal-forwarding process manager for containers
|
||||
License: GPL-3.0-or-later
|
||||
Group: System/Management
|
||||
URL: https://github.com/openSUSE/catatonit
|
||||
Source0: https://github.com/openSUSE/catatonit/releases/download/v%{version}/%{name}.tar.xz#/%{name}-%{version}.tar.xz
|
||||
Source1: https://github.com/openSUSE/catatonit/releases/download/v%{version}/%{name}.tar.xz.asc#/%{name}-%{version}.tar.xz.asc
|
||||
Source2: %{name}.keyring
|
||||
Source3: %{name}-rpmlintrc
|
||||
Patch0: https://github.com/openSUSE/catatonit/commit/99bb9048f.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: file
|
||||
BuildRequires: gcc
|
||||
BuildRequires: glibc-devel-static
|
||||
BuildRequires: libtool
|
||||
|
||||
%description
|
||||
Catatonit is a /sbin/init program for use within containers. It
|
||||
forwards (almost) all signals to the spawned child, tears down
|
||||
the container when the spawned child exits, and otherwise
|
||||
cleans up other exited processes (zombies).
|
||||
|
||||
This is a reimplementation of other container init programs (such as
|
||||
"tini" or "dumb-init"), but uses modern Linux facilities (such as
|
||||
signalfd(2)) and has no additional features.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
# Make sure we *always* build a static binary. Otherwise we'll break containers
|
||||
# that don't have the necessary shared libs.
|
||||
file ./%{name} | grep 'statically linked'
|
||||
|
||||
%install
|
||||
%make_install
|
||||
ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/docker-init
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.md
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%license COPYING
|
||||
%else
|
||||
%doc COPYING
|
||||
%endif
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/docker-init
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user