diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-21 10:46:16 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-08-23 08:43:16 +0000 |
commit | 034fce632813dd1111f4d96fd14ef525a434bae4 (patch) | |
tree | 10b36a289a0d661272f11020a8ce13185f91d58b /main/openrc | |
parent | 5b24faf08abeb2f6d7fcfa0610c6ae9fe9695733 (diff) | |
download | aports-034fce632813dd1111f4d96fd14ef525a434bae4.tar.bz2 aports-034fce632813dd1111f4d96fd14ef525a434bae4.tar.xz |
main/openrc: upgrade to 0.42.1
Diffstat (limited to 'main/openrc')
-rw-r--r-- | main/openrc/0010-Allow-0-respawn-max.patch | 32 | ||||
-rw-r--r-- | main/openrc/APKBUILD | 8 |
2 files changed, 3 insertions, 37 deletions
diff --git a/main/openrc/0010-Allow-0-respawn-max.patch b/main/openrc/0010-Allow-0-respawn-max.patch deleted file mode 100644 index 6316c50da4..0000000000 --- a/main/openrc/0010-Allow-0-respawn-max.patch +++ /dev/null @@ -1,32 +0,0 @@ -Source: gentoo: William Hubbs <w.d.hubbs@gmail.com> -Remove When: OpenRC >0.41.2 is released - -OpenRC docs contradict each other on the default values for respawn_max. -The real value is 10. -If infinite spawning is desired, it should be set -to 0. -However, setting it to 0 is impossible in 0.41.2. -This upstream patch fixes that. - -From 54780a45826f789f1291742eb2c99be369bfe64c Mon Sep 17 00:00:00 2001 -From: William Hubbs <w.d.hubbs@gmail.com> -Date: Fri, 29 Mar 2019 14:09:08 -0500 -Subject: [PATCH] supervise-daemon: allow --respawn-max to be zero - ---- - src/rc/supervise-daemon.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/rc/supervise-daemon.c b/src/rc/supervise-daemon.c -index aaa39397..b754a42b 100644 ---- a/src/rc/supervise-daemon.c -+++ b/src/rc/supervise-daemon.c -@@ -835,7 +835,7 @@ int main(int argc, char **argv) - - case 'm': /* --respawn-max count */ - n = sscanf(optarg, "%d", &respawn_max); -- if (n != 1 || respawn_max < 1) -+ if (n != 1 || respawn_max < 0) - eerrorx("Invalid respawn-max value '%s'", optarg); - break; - diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD index 5ed29f63be..610b906463 100644 --- a/main/openrc/APKBUILD +++ b/main/openrc/APKBUILD @@ -1,8 +1,8 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=openrc -pkgver=0.41.2 +pkgver=0.42.1 _ver=${pkgver/_git*/} -pkgrel=2 +pkgrel=0 pkgdesc="OpenRC manages the services, startup and shutdown of a host" url="https://github.com/OpenRC/openrc" arch="all" @@ -23,7 +23,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/OpenRC/openrc/archive/$pkgve 0001-fsck-don-t-add-C0-to-busybox-fsck.patch 0008-fix-undeclared-UT_LINESIZE.patch 0009-Support-early-loading-of-keymap-if-kdb-is-installed.patch - 0010-Allow-0-respawn-max.patch openrc.logrotate hostname.initd @@ -113,7 +112,7 @@ zshcomp() { rm -rf "$pkgdir"/usr/share/zsh } -sha512sums="ebfa691cae4704bb3023ea0508a712a45b8c20809828729dfa5292e96f3fd1b309813d80d7c286d0c09680bf5378aba40cfd994f27951f43a3ffb1fd0d69a58b openrc-0.41.2.tar.gz +sha512sums="579b9bfbb151b945a364a2c12b037d2e15991820ca99a07ac18e9bdc50074e67fbf0dcf9865aa4deabe2bf82092e4623be51c9e0b4014384951e0a92ac1e7646 openrc-0.42.1.tar.gz 71fce711adbcb411189a089f1d49567c50348e12c42b7a9c9b582dae5d18051f88ccf81c768337e87d6792d953e84d1e8b93d7978a1947d7d20ef3b1cd330875 0001-call-sbin-mkmntdirs-in-localmount-OpenRC-service.patch b1cedd38badda4fc308decdff06f9644b96fe35617792da8d6d62407409841705fd71b5b57d1804a6395095604a70898f80830c76395ec99f715038a0809d815 0002-force-root-be-rw-before-localmount.patch 9dea3fcdb90e3e8078a771beefeba3ca91b9966a1b8ee9ff96cf460e7dd21abbc4a46a501a960c3edf5a76c083c2cf60ccb06d9da7a4c6df2a50660745beb278 0003-sysctl-add-compatibility-for-busybox-sysctl.patch @@ -123,7 +122,6 @@ d54630d40a2d6b10a325cb012d4efcda997a60c008ca953ce5d60059d3f267308a59dabddf93a5fc dbe3f170440f0f357f31ac4d49c56a9a7ec22172df2701bf4a0afdee22aedda1f88b9fa5ffdbe19a5eea3c764ad0e4c802e19b95b7082a72d423d46d30c18edd 0001-fsck-don-t-add-C0-to-busybox-fsck.patch d2b8700f56b05579926352855de8fcee5cf78f0c13200643a5195f8c60e2b5082d476b42cc77b13246b9fb883aa002d723237b0fc7ae84ccd7ebe3b25690cf50 0008-fix-undeclared-UT_LINESIZE.patch 667085d89e194f7e2255d5c098c3d8de272f54cb925710cb98d5e7a6b58982d0acfe15f97b574cfc646b139cd7aa5b527ba700ef9b8048a6d6d9dee8cc74913c 0009-Support-early-loading-of-keymap-if-kdb-is-installed.patch -275d3e65fa84aaf06f908bf5c99c8e1243acb691fc931b28b2276b586b55b6198986ed9080c28fb2b598b7bdb2d577439031bea6d232eac0d8f9d8f5cb373fa3 0010-Allow-0-respawn-max.patch 12bb6354e808fbf47bbab963de55ee7901738b4a912659982c57ef2777fff9a670e867fcb8ec316a76b151032c92dc89a950d7d1d835ef53f753a8f3b41d2cec openrc.logrotate 493f27d588e64bb2bb542b32493ed05873f4724e8ad1751002982d7b4e07963cfb72f93603b2d678f305177cf9556d408a87b793744c6b7cd46cf9be4b744c02 hostname.initd c06eac7264f6cc6888563feeae5ca745aae538323077903de1b19102e4f16baa34c18b8c27af5dd5423e7670834e2261e9aa55f2b1ec8d8fdc2be105fe894d55 hwdrivers.initd |