aboutsummaryrefslogtreecommitdiffstats
path: root/main/xkeyboard-config/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-01-20 12:37:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-20 12:38:43 +0000
commit17e3c86874ce718f6dbfb28f98befe46098b5f5a (patch)
treeb068055a12a67cf4eafbfa6b980d866f61b342a0 /main/xkeyboard-config/APKBUILD
parenta5f23a46463a6ec41f5403a9e0cf8e17e2a1ac9d (diff)
downloadaports-17e3c86874ce718f6dbfb28f98befe46098b5f5a.tar.bz2
aports-17e3c86874ce718f6dbfb28f98befe46098b5f5a.tar.xz
main/xkeyboard-config: security fix (CVE-2012-0064)
Fixes issue that allows user to unlock screensaver lock with Ctrl-alt-* fixes #953
Diffstat (limited to 'main/xkeyboard-config/APKBUILD')
-rw-r--r--main/xkeyboard-config/APKBUILD18
1 files changed, 15 insertions, 3 deletions
diff --git a/main/xkeyboard-config/APKBUILD b/main/xkeyboard-config/APKBUILD
index f4eaa5949f..ae367faecf 100644
--- a/main/xkeyboard-config/APKBUILD
+++ b/main/xkeyboard-config/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xkeyboard-config
pkgver=2.4.1
-pkgrel=0
+pkgrel=1
pkgdesc="X keyboard configuration files"
url="http://www.freedesktop.org/wiki/Software/XKeyboardConfig"
arch="noarch"
@@ -9,7 +9,18 @@ license="custom"
depends=
subpackages=
makedepends="xkbcomp intltool libx11-dev"
-source="http://xorg.freedesktop.org/archive/individual/data/xkeyboard-config-$pkgver.tar.bz2"
+source="http://xorg.freedesktop.org/archive/individual/data/xkeyboard-config-$pkgver.tar.bz2
+ 0001-Hide-ClearGrab-CloseGrabs-actions-behind-an-option.patch
+ "
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
build () {
cd "$srcdir"/$pkgname-$pkgver
@@ -28,4 +39,5 @@ package() {
install -m755 -d "$pkgdir"/var/lib/xkb
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="9f6d7a37fd192264a3ca07ede5d183c3 xkeyboard-config-2.4.1.tar.bz2"
+md5sums="9f6d7a37fd192264a3ca07ede5d183c3 xkeyboard-config-2.4.1.tar.bz2
+6033b73a3864e301e6e916fec89b2e3c 0001-Hide-ClearGrab-CloseGrabs-actions-behind-an-option.patch"