aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-baselayout
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-05-17 09:26:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-05-17 09:26:05 +0000
commit8b2da88e8e533e78dfec86f9d1ed4e5cadfa4ca8 (patch)
tree167a3f1fa46cc1e7d1e425b67f971382b67def25 /main/alpine-baselayout
parent8259dc7fc4d8d5cb08626d2ec0782aa0ad6d0b1b (diff)
downloadaports-8b2da88e8e533e78dfec86f9d1ed4e5cadfa4ca8.tar.bz2
aports-8b2da88e8e533e78dfec86f9d1ed4e5cadfa4ca8.tar.xz
main/alpine-baselayout: improve utf8 experience
set LANG to utf8. it makes some busybox apps work with utf8. Thanks to StarWarsFan for pointing this out.
Diffstat (limited to 'main/alpine-baselayout')
-rw-r--r--main/alpine-baselayout/0001-profile-set-LANG-en.utf8.patch23
-rw-r--r--main/alpine-baselayout/APKBUILD12
2 files changed, 33 insertions, 2 deletions
diff --git a/main/alpine-baselayout/0001-profile-set-LANG-en.utf8.patch b/main/alpine-baselayout/0001-profile-set-LANG-en.utf8.patch
new file mode 100644
index 0000000000..45a48aca36
--- /dev/null
+++ b/main/alpine-baselayout/0001-profile-set-LANG-en.utf8.patch
@@ -0,0 +1,23 @@
+From 9cb5ad198d4ebb1d51441ee81db0bdc63e22bf1c Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Fri, 17 May 2013 09:18:52 +0000
+Subject: [PATCH] profile: set LANG=en.utf8
+
+fixes utf8 in busybox
+---
+ profile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/profile b/profile
+index bb99d29..5144f7d 100644
+--- a/profile
++++ b/profile
+@@ -1,4 +1,5 @@
+ export CHARSET=UTF-8
++export LANG=en.utf8
+ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PAGER=less
+ export PS1='\h:\w\$ '
+--
+1.8.2.3
+
diff --git a/main/alpine-baselayout/APKBUILD b/main/alpine-baselayout/APKBUILD
index a0e78d5323..08cddf3d4d 100644
--- a/main/alpine-baselayout/APKBUILD
+++ b/main/alpine-baselayout/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-baselayout
pkgver=2.2.0
-pkgrel=5
+pkgrel=6
pkgdesc="Alpine base dir structure and init scripts"
url=http://git.alpinelinux.org/cgit/alpine-baselayout
depends=
@@ -9,6 +9,7 @@ options="!fhs"
install="$pkgname.pre-upgrade $pkgname.post-upgrade"
source="http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2
0001-mount-media-usb-as-ro-by-default.patch
+ 0001-profile-set-LANG-en.utf8.patch
"
arch="all"
license=GPL-2
@@ -39,4 +40,11 @@ package() {
echo "blacklist microcode" > "$pkgdir"/etc/modprobe.d/microcode.conf
}
md5sums="225dbf5b50ae6d3d188ff92c5746bc36 alpine-baselayout-2.2.0.tar.bz2
-0619f806d91a5293a95debe9fb0124b5 0001-mount-media-usb-as-ro-by-default.patch"
+0619f806d91a5293a95debe9fb0124b5 0001-mount-media-usb-as-ro-by-default.patch
+d53f5b40ed84866fde4a14906ff6658c 0001-profile-set-LANG-en.utf8.patch"
+sha256sums="aaa124e12c70c63772f374b0e041a5a1e8db2776cedc453bd04626edfacd22aa alpine-baselayout-2.2.0.tar.bz2
+da88b6415da532aa89bbfadcb671d8dbba65ceb232ee49aee179062c15320574 0001-mount-media-usb-as-ro-by-default.patch
+b94791e6ec326816859c20d60543c30e360a7ba27c8ea45440fab5b0091cd830 0001-profile-set-LANG-en.utf8.patch"
+sha512sums="9a327c15b779d794623c8e4cecc82f0a014d15a8ffeb1de6eadf8ccde1e65593d2d14665bd95c6d9da4e15fe9db2f8342af7bdf834af7378007f8eaecbb7d6b4 alpine-baselayout-2.2.0.tar.bz2
+41c4d671d3263d1b08a04021a2da7aec867807ba05afb3926eb6953a609fbf6e0728bf8f75a08853a2258a763beb6845f80d7ee97256cfa1792e6cf57557615e 0001-mount-media-usb-as-ro-by-default.patch
+d09330579eaabf698b05ea36b13bd21dba2d7ff969fb11ab7549b6ed2e2e331525aa171d5f4a7e9bf4cd5b7883d004d8c23bdc0da8c59b0993a0bb69ec497014 0001-profile-set-LANG-en.utf8.patch"