summaryrefslogtreecommitdiff
path: root/main/openrc
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2023-03-07 04:10:49 +0000
committerpsykose <alice@ayaya.dev>2023-03-07 05:10:50 +0100
commitb9ec014adb21fa8e63faca538b0bd904b2bea9ff (patch)
treebad414f7dc47be35dce929f13d49d9a78fc05fdf /main/openrc
parent319e9588d5f95596a6f99829a60f448eb29bc6f6 (diff)
downloadaports-b9ec014adb21fa8e63faca538b0bd904b2bea9ff.zip
main/openrc: set default configuration to utf-8
Diffstat (limited to 'main/openrc')
-rw-r--r--main/openrc/APKBUILD4
-rw-r--r--main/openrc/default-unicode.patch28
2 files changed, 31 insertions, 1 deletions
diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD
index 7ed7b9b749b..727bba1607e 100644
--- a/main/openrc/APKBUILD
+++ b/main/openrc/APKBUILD
@@ -2,7 +2,7 @@
pkgname=openrc
pkgver=0.46
_ver=${pkgver/_git*/}
-pkgrel=1
+pkgrel=2
pkgdesc="OpenRC manages the services, startup and shutdown of a host"
url="https://github.com/OpenRC/openrc"
arch="all"
@@ -31,6 +31,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/OpenRC/openrc/archive/$pkgve
0007-Clean-up-staticroute-config-remove-irrelevant-parts-.patch
0008-bootmisc-switch-wipe_tmp-setting-to-no-by-default.patch
+ default-unicode.patch
supervise-daemon-defaults.patch
sysctl-readme.patch
@@ -162,6 +163,7 @@ sha512sums="
8bf00b82d7fc0eb1b529ec735009f91d277141ba7e5c04e23d10bbcf36eb453f0b31d48aec45e50b5be4c14f611acc4454933f3cefdf8beab07d851328223464 0006-Add-support-for-starting-services-in-a-specified-VRF.patch
431ac28808e684bea5511386bf5f06efe7f509f1dbe7e15ae6309563d813deae8f3edd872a0943ef8088e3cf778d7bc5ebd15a893dc4a08f4022b7a56bbafc63 0007-Clean-up-staticroute-config-remove-irrelevant-parts-.patch
475f4ea63b9b5d7eb9c623e96b6cc3d3072abcb7194d0045b84e0688836c8514fccfc68b0eae0b4bee60878cdea8042c3ce7e48406ee7a2f0e4a3e128a153468 0008-bootmisc-switch-wipe_tmp-setting-to-no-by-default.patch
+244e1cbc2d3b59fe7f0176f5808674a660549056f01670ea273a445667fdc098ab49b435c441f6e9e92f5874df98f8a6bc1ee81ad618d81115e8c9a9da7f5d00 default-unicode.patch
1323a8476580f7b56a9cf1b24b26b10da76c5916cf23d7dab01f08a3261751341dfe01d1ed884df8e6ea17ff6a52021cc40fb3101e99b77d4ae7f3f61ee330e8 supervise-daemon-defaults.patch
903ff555275a67ff08da91badb55d9fa6c6a2901e8ef09ca8366bd74d69757491c8336347f04551268ecf053c8ae974f50decd869926894dd94e382008e3e925 sysctl-readme.patch
12bb6354e808fbf47bbab963de55ee7901738b4a912659982c57ef2777fff9a670e867fcb8ec316a76b151032c92dc89a950d7d1d835ef53f753a8f3b41d2cec openrc.logrotate
diff --git a/main/openrc/default-unicode.patch b/main/openrc/default-unicode.patch
new file mode 100644
index 00000000000..121a8e41e10
--- /dev/null
+++ b/main/openrc/default-unicode.patch
@@ -0,0 +1,28 @@
+Patch-Source: https://github.com/OpenRC/openrc/commit/5ae4d4edb55aa9d928e70557a70d024302495804
+From 5ae4d4edb55aa9d928e70557a70d024302495804 Mon Sep 17 00:00:00 2001
+From: psykose <alice@ayaya.dev>
+Date: Mon, 6 Mar 2023 23:15:24 +0000
+Subject: [PATCH] rc.conf: default to unicode console
+
+it's the high year of 2023, after all.
+
+closes #607
+---
+ etc/rc.conf | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/etc/rc.conf b/etc/rc.conf
+index e00534eb2..7140469d8 100644
+--- a/etc/rc.conf
++++ b/etc/rc.conf
+@@ -88,8 +88,8 @@
+ # MISC CONFIGURATION VARIABLES
+ # There variables are shared between many init scripts
+
+-# Set unicode to YES to turn on unicode support for keyboards and screens.
+-#unicode="NO"
++# Set unicode to NO to turn off unicode support for keyboards and screens.
++unicode="YES"
+
+ # This is how long fuser should wait for a remote server to respond. The
+ # default is 60 seconds, but it can be adjusted here.