Skip to content

Commit

Permalink
Merge branch 'openSUSE:main' into killpg-env
Browse files Browse the repository at this point in the history
  • Loading branch information
f0rki authored Oct 5, 2023
2 parents 01c2a24 + 663ad16 commit ca611f6
Show file tree
Hide file tree
Showing 7 changed files with 315 additions and 642 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# catatonit: a container init so simple it's effectively brain-dead
# Copyright (C) 2018-2021 SUSE LLC
# Copyright (C) 2018-2023 SUSE LLC
#
# This program is free software: you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
Expand Down
899 changes: 282 additions & 617 deletions COPYING

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# catatonit: a container init so simple it's effectively brain-dead
# Copyright (C) 2018 SUSE LLC
# Copyright (C) 2018-2023 SUSE LLC
#
# This program is free software: you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ catatonit uses autotools for building, so building is a fairly standard:

### License ###

catatonit is licensed under the GNU General Public License version 3 or later.
catatonit is licensed under the GNU General Public License version 2 or later.

```
catatonit: a container init so simple it's effectively brain-dead
Copyright (C) 2018-2019 SUSE LLC
Copyright (C) 2018-2023 SUSE LLC
This program is free software: you can redistribute it and/or modify
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
Expand Down
9 changes: 5 additions & 4 deletions catatonit.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* catatonit: a container init so simple it's effectively brain-dead
* Copyright (C) 2018-2021 SUSE LLC
* Copyright (C) 2018-2023 SUSE LLC
*
* This program is free software: you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
Expand Down Expand Up @@ -35,7 +36,7 @@
#include <limits.h>
#include <dirent.h>

#ifdef HAVE_CLOSE_RANGE
#ifdef HAVE_LINUX_CLOSE_RANGE_H
# include <linux/close_range.h>
#else
# include <sys/syscall.h>
Expand Down
13 changes: 7 additions & 6 deletions config.h.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
// SPDX-License-Identifier: GPL-3.0-or-later
/*
* catatonit: a container init so simple it's effectively brain-dead
* Copyright (C) 2018 SUSE LLC
* Copyright (C) 2018-2023 SUSE LLC
*
* This program is free software: you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
Expand All @@ -25,11 +26,11 @@
#define PROGRAM_URL "@PACKAGE_URL@"
#define PROGRAM_LICENSE \
PROGRAM_NAME ": a container init so simple it's effectively brain-dead\n" \
"Copyright (C) 2018 SUSE LLC\n" \
"Copyright (C) 2018-2023 SUSE LLC\n" \
"\n" \
"This program is free software: you can redistribute it and/or modify\n" \
"This program is free software; you can redistribute it and/or modify\n" \
"it under the terms of the GNU General Public License as published by\n" \
"the Free Software Foundation, either version 3 of the License, or\n" \
"the Free Software Foundation, either version 2 of the License, or\n" \
"(at your option) any later version.\n" \
"\n" \
"This program is distributed in the hope that it will be useful,\n" \
Expand Down
12 changes: 7 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# catatonit: a container init so simple it's effectively brain-dead
# Copyright (C) 2018 SUSE LLC
# Copyright (C) 2018-2023 SUSE LLC
#
# This program is free software: you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
Expand All @@ -15,14 +17,14 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.

AC_PREREQ([2.69])
AC_INIT([catatonit], [0.1.7+dev], [https://bugs.opensuse.org/], [], [https://github.com/openSUSE/catatonit/])
AC_INIT([catatonit], [0.2.0+dev], [https://bugs.opensuse.org/], [], [https://github.com/openSUSE/catatonit/])
AM_INIT_AUTOMAKE([-Wall foreign])

LT_PREREQ([2.4.2])
LT_INIT([disable-shared])

AC_CHECK_HEADERS([errno.h fcntl.h signal.h stdarg.h stdio.h stdlib.h unistd.h])
AC_CHECK_HEADERS([sys/prctl.h sys/signalfd.h sys/stat.h sys/types.h sys/wait.h])
AC_CHECK_HEADERS([linux/close_range.h sys/prctl.h sys/signalfd.h sys/stat.h sys/types.h sys/wait.h])

AC_CHECK_FUNCS([close_range])

Expand Down

0 comments on commit ca611f6

Please sign in to comment.