summaryrefslogtreecommitdiff
path: root/community/fish/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fish/PKGBUILD')
-rw-r--r--community/fish/PKGBUILD22
1 files changed, 16 insertions, 6 deletions
diff --git a/community/fish/PKGBUILD b/community/fish/PKGBUILD
index a538a3ca0..ff829d644 100644
--- a/community/fish/PKGBUILD
+++ b/community/fish/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 106894 2014-03-09 17:38:13Z bpiotrowski $
+# $Id: PKGBUILD 110716 2014-05-05 14:15:56Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
@@ -7,7 +7,7 @@
pkgname=fish
pkgver=2.1.0
-pkgrel=2
+pkgrel=3
pkgdesc='Smart and user friendly shell intended mostly for interactive use'
arch=('i686' 'x86_64')
url='http://fishshell.com/'
@@ -15,14 +15,24 @@ license=('GPL2')
depends=('bc' 'gcc-libs' 'inetutils' 'ncurses')
optdepends=('python: for manual page completion parser and web configuration tool')
install=fish.install
-source=(http://fishshell.com/files/$pkgver/fish-$pkgver.tar.gz)
-md5sums=('3a29aebde522b8f52d9975d7423db99e')
+source=(http://fishshell.com/files/$pkgver/fish-$pkgver.tar.gz
+ CVE-2014-2905.patch
+ CVE-2014-2906.patch)
+md5sums=('3a29aebde522b8f52d9975d7423db99e'
+ '1e194b61bb7ec49e2e005383724037b7'
+ 'cf0c216f528c9d9adac2aa5f8e9b716b')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../CVE-2014-2905.patch
+ patch -p1 -i ../CVE-2014-2906.patch
+ autoconf -f
+}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
- --sysconfdir=/etc \
- --without-xsel
+ --sysconfdir=/etc
make
}