diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/screen/APKBUILD | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/main/screen/APKBUILD b/main/screen/APKBUILD index 1bb59b96a1..8bb5ef53b7 100644 --- a/main/screen/APKBUILD +++ b/main/screen/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=screen -pkgver=4.3.1 -pkgrel=4 +pkgver=4.4.0 +pkgrel=0 pkgdesc="A window manager that multiplexes a physical terminal" url="http://ftp.gnu.org/gnu/screen/" arch="all" @@ -11,21 +11,11 @@ depends="" makedepends="ncurses-dev ncurses" install="" subpackages="$pkgname-doc" -source="http://ftp.gnu.org/gnu/screen/$pkgname-$pkgver.tar.gz - CVE-2015-6806.patch" - -_builddir="$srcdir"/screen-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -36,8 +26,9 @@ build() { || return 1 make || return 1 } + package() { - cd "$_builddir" + cd "$builddir" make -j1 DESTDIR="$pkgdir" install || return 1 # remove suid root @@ -48,9 +39,6 @@ package() { install -Dm644 etc/screenrc "$pkgdir"/etc/skel/.screenrc || return 1 } -md5sums="5bb3b0ff2674e29378c31ad3411170ad screen-4.3.1.tar.gz -5fb8b0a58ef4a2a75d7dddb453994cce CVE-2015-6806.patch" -sha256sums="fa4049f8aee283de62e283d427f2cfd35d6c369b40f7f45f947dbfd915699d63 screen-4.3.1.tar.gz -9383316bce6ce479dfd3eca238956e321b80885bd0e720d47f1f37693334b9cd CVE-2015-6806.patch" -sha512sums="8e8a25b23330a7d8e00fc9e6cc430f0eb3937ccf4183efbd6fd24e4dc04cc09b3acae45bfc24892faee433b18fa79b1cfe0211fd75c0d74ecf908f916bf774aa screen-4.3.1.tar.gz -7ee87aaf5e10a60b37558f5bea85718703b2b95a4a3c43c0cd4c6f48ddd7bf1c5c582017a41681d8f9243049009c9f43678f37b826c188add501168e289ce2f1 CVE-2015-6806.patch" +md5sums="d26e11a3648c2b11aaefa215a55dfd39 screen-4.4.0.tar.gz" +sha256sums="ef722a54759a3bf23aad272bbf33c414c1078cad6bcd982fada93c0d7917218b screen-4.4.0.tar.gz" +sha512sums="6e43f85c419f778822ec85e4340c95769e981a3d51abdeb5f26c6ebb840da9ab11b351ecc7f380ceea39bcfaa87f1124cfebd6af4ecb62b886eb189e7b79981b screen-4.4.0.tar.gz" |