diff --git a/DEVELOPERS b/DEVELOPERS index 82776cc14d..5939361ba8 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -533,6 +533,7 @@ F: package/python-pylibftdi/ N: Christian Stewart F: package/batman-adv/ +F: package/catatonit/ F: package/containerd/ F: package/crun/ F: package/delve/ diff --git a/package/Config.in b/package/Config.in index 7ae354d6eb..cbdaed2279 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2531,6 +2531,7 @@ comment "Utilities" source "package/apg/Config.in" source "package/at/Config.in" source "package/bash-completion/Config.in" + source "package/catatonit/Config.in" source "package/ccrypt/Config.in" source "package/crudini/Config.in" source "package/dialog/Config.in" diff --git a/package/catatonit/0001-configure.ac-call-AM_INIT_AUTOMAKE-only-once.patch b/package/catatonit/0001-configure.ac-call-AM_INIT_AUTOMAKE-only-once.patch new file mode 100644 index 0000000000..b978a827a1 --- /dev/null +++ b/package/catatonit/0001-configure.ac-call-AM_INIT_AUTOMAKE-only-once.patch @@ -0,0 +1,41 @@ +From 99bb9048f532257f3a2c3856cfa19fe957ab6cec Mon Sep 17 00:00:00 2001 +From: Antonio Terceiro +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 +Upstream: https://github.com/openSUSE/catatonit/commit/99bb9048f532257f3a2c3856cfa19fe957ab6cec +Signed-off-by: Christian Stewart +--- + 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 +-- +2.37.2 + diff --git a/package/catatonit/Config.in b/package/catatonit/Config.in new file mode 100644 index 0000000000..2bd3ab6717 --- /dev/null +++ b/package/catatonit/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_CATATONIT + bool "catatonit" + depends on BR2_USE_MMU + help + catatonit is a simple but valid init binary to act as + PID 1 for containers. + + https://github.com/openSUSE/catatonit diff --git a/package/catatonit/catatonit.hash b/package/catatonit/catatonit.hash new file mode 100644 index 0000000000..9b7420cdb7 --- /dev/null +++ b/package/catatonit/catatonit.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 e22bc72ebc23762dad8f5d2ed9d5ab1aaad567bdd54422f1d1da775277a93296 catatonit-0.1.7.tar.gz +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/package/catatonit/catatonit.mk b/package/catatonit/catatonit.mk new file mode 100644 index 0000000000..3dd58eff1d --- /dev/null +++ b/package/catatonit/catatonit.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# catatonit +# +################################################################################ + +CATATONIT_VERSION = 0.1.7 +CATATONIT_SITE = $(call github,openSUSE,catatonit,v$(CATATONIT_VERSION)) +CATATONIT_LICENSE = GPL-3.0+ +CATATONIT_LICENSE_FILES = COPYING + +CATATONIT_AUTORECONF = YES + +$(eval $(autotools-package))