diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-05-17 09:26:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-05-17 09:26:05 +0000 |
commit | 8b2da88e8e533e78dfec86f9d1ed4e5cadfa4ca8 (patch) | |
tree | 167a3f1fa46cc1e7d1e425b67f971382b67def25 | |
parent | 8259dc7fc4d8d5cb08626d2ec0782aa0ad6d0b1b (diff) | |
download | alpine_aports-8b2da88e8e533e78dfec86f9d1ed4e5cadfa4ca8.tar.bz2 alpine_aports-8b2da88e8e533e78dfec86f9d1ed4e5cadfa4ca8.tar.xz alpine_aports-8b2da88e8e533e78dfec86f9d1ed4e5cadfa4ca8.zip |
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.
-rw-r--r-- | main/alpine-baselayout/0001-profile-set-LANG-en.utf8.patch | 23 | ||||
-rw-r--r-- | main/alpine-baselayout/APKBUILD | 12 |
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 @@ | |||
1 | From 9cb5ad198d4ebb1d51441ee81db0bdc63e22bf1c Mon Sep 17 00:00:00 2001 | ||
2 | From: Natanael Copa <ncopa@alpinelinux.org> | ||
3 | Date: Fri, 17 May 2013 09:18:52 +0000 | ||
4 | Subject: [PATCH] profile: set LANG=en.utf8 | ||
5 | |||
6 | fixes utf8 in busybox | ||
7 | --- | ||
8 | profile | 1 + | ||
9 | 1 file changed, 1 insertion(+) | ||
10 | |||
11 | diff --git a/profile b/profile | ||
12 | index bb99d29..5144f7d 100644 | ||
13 | --- a/profile | ||
14 | +++ b/profile | ||
15 | @@ -1,4 +1,5 @@ | ||
16 | export CHARSET=UTF-8 | ||
17 | +export LANG=en.utf8 | ||
18 | export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | ||
19 | export PAGER=less | ||
20 | export PS1='\h:\w\$ ' | ||
21 | -- | ||
22 | 1.8.2.3 | ||
23 | |||
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 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=alpine-baselayout | 2 | pkgname=alpine-baselayout |
3 | pkgver=2.2.0 | 3 | pkgver=2.2.0 |
4 | pkgrel=5 | 4 | pkgrel=6 |
5 | pkgdesc="Alpine base dir structure and init scripts" | 5 | pkgdesc="Alpine base dir structure and init scripts" |
6 | url=http://git.alpinelinux.org/cgit/alpine-baselayout | 6 | url=http://git.alpinelinux.org/cgit/alpine-baselayout |
7 | depends= | 7 | depends= |
@@ -9,6 +9,7 @@ options="!fhs" | |||
9 | install="$pkgname.pre-upgrade $pkgname.post-upgrade" | 9 | install="$pkgname.pre-upgrade $pkgname.post-upgrade" |
10 | source="http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2 | 10 | source="http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2 |
11 | 0001-mount-media-usb-as-ro-by-default.patch | 11 | 0001-mount-media-usb-as-ro-by-default.patch |
12 | 0001-profile-set-LANG-en.utf8.patch | ||
12 | " | 13 | " |
13 | arch="all" | 14 | arch="all" |
14 | license=GPL-2 | 15 | license=GPL-2 |
@@ -39,4 +40,11 @@ package() { | |||
39 | echo "blacklist microcode" > "$pkgdir"/etc/modprobe.d/microcode.conf | 40 | echo "blacklist microcode" > "$pkgdir"/etc/modprobe.d/microcode.conf |
40 | } | 41 | } |
41 | md5sums="225dbf5b50ae6d3d188ff92c5746bc36 alpine-baselayout-2.2.0.tar.bz2 | 42 | md5sums="225dbf5b50ae6d3d188ff92c5746bc36 alpine-baselayout-2.2.0.tar.bz2 |
42 | 0619f806d91a5293a95debe9fb0124b5 0001-mount-media-usb-as-ro-by-default.patch" | 43 | 0619f806d91a5293a95debe9fb0124b5 0001-mount-media-usb-as-ro-by-default.patch |
44 | d53f5b40ed84866fde4a14906ff6658c 0001-profile-set-LANG-en.utf8.patch" | ||
45 | sha256sums="aaa124e12c70c63772f374b0e041a5a1e8db2776cedc453bd04626edfacd22aa alpine-baselayout-2.2.0.tar.bz2 | ||
46 | da88b6415da532aa89bbfadcb671d8dbba65ceb232ee49aee179062c15320574 0001-mount-media-usb-as-ro-by-default.patch | ||
47 | b94791e6ec326816859c20d60543c30e360a7ba27c8ea45440fab5b0091cd830 0001-profile-set-LANG-en.utf8.patch" | ||
48 | sha512sums="9a327c15b779d794623c8e4cecc82f0a014d15a8ffeb1de6eadf8ccde1e65593d2d14665bd95c6d9da4e15fe9db2f8342af7bdf834af7378007f8eaecbb7d6b4 alpine-baselayout-2.2.0.tar.bz2 | ||
49 | 41c4d671d3263d1b08a04021a2da7aec867807ba05afb3926eb6953a609fbf6e0728bf8f75a08853a2258a763beb6845f80d7ee97256cfa1792e6cf57557615e 0001-mount-media-usb-as-ro-by-default.patch | ||
50 | d09330579eaabf698b05ea36b13bd21dba2d7ff969fb11ab7549b6ed2e2e331525aa171d5f4a7e9bf4cd5b7883d004d8c23bdc0da8c59b0993a0bb69ec497014 0001-profile-set-LANG-en.utf8.patch" | ||