Commit 17d343d5 authored by Milan P. Stanić's avatar Milan P. Stanić
Browse files

main/gptfdisk: security upgrade to 1.0.6

secfix: CVE-2021-0308
refactor fix-wrong-include.patch to apply with current version
parent 02d386b0
Pipeline #68483 passed with stages
in 1 minute and 37 seconds
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gptfdisk
pkgver=1.0.5
pkgver=1.0.6
pkgrel=0
pkgdesc="Text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks"
arch="all"
......@@ -12,6 +12,9 @@ subpackages="$pkgname-doc sgdisk"
source="https://downloads.sourceforge.net/project/gptfdisk/gptfdisk/$pkgver/gptfdisk-$pkgver.tar.gz
fix-wrong-include.patch
"
# secfixes:
# 1.0.6-r0:
# - CVE-2021-0308
build() {
make CXX="${CXX:-g++}" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
......@@ -31,5 +34,5 @@ sgdisk() {
mv "$pkgdir"/usr/bin/sgdisk "$subpkgdir"/usr/bin/
}
sha512sums="3d3a59e3488dd3d6bda5d103b9ad8b7936752210346b9787ddc936681498fba90577b6ae950c471d09a01bf6405fce32038ff1777c52db0b21e5277737fe3703 gptfdisk-1.0.5.tar.gz
7bb67d132e53cd66a4ae954b4a78f6841c3cdb60bee7cbbecbe1667b95292513fc1561261861607d79164e592faf2045ae51b08ff74ebb5097ad760280307995 fix-wrong-include.patch"
sha512sums="a3bf95c813f707d9d41513295c3419916301a0e88b4c6ade70ad7d9422a507d519e092e68a3868d53092428d159bdbb248817c4f40d8ac88b0175d5afbd79dbc gptfdisk-1.0.6.tar.gz
9b64c0e565137b4d4275bd6e8b050f98a73ff5593093b54d43736e6aabd24abf6e35d88ea27be17c5fee70aada4ad05a70fe5af3523212aad114f05aaf82356f fix-wrong-include.patch"
......@@ -6,7 +6,7 @@ index 1b18cf2..4ebfde1 100644
#include <iostream>
#include <string>
#include <sstream>
-#ifdef __APPLE__
-#if defined (__APPLE__) || (__FreeBSD__)
#include <ncurses.h>
-#else
-#include <ncursesw/ncurses.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment