aboutsummaryrefslogtreecommitdiffstats
path: root/main/parted
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-29 07:14:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-29 07:27:14 +0000
commitb43990bd7890bf9193c87e2715c0a5fe025aacb2 (patch)
treef667c850f96e08153cad369d380488b472a54d8c /main/parted
parent1b96cb1054ea357cf2172c6f62713f084351692f (diff)
downloadaports-b43990bd7890bf9193c87e2715c0a5fe025aacb2.tar.bz2
aports-b43990bd7890bf9193c87e2715c0a5fe025aacb2.tar.xz
main/parted: upgrade to 3.2
Diffstat (limited to 'main/parted')
-rw-r--r--main/parted/APKBUILD25
-rw-r--r--main/parted/parted-3.1-readline.patch11
2 files changed, 11 insertions, 25 deletions
diff --git a/main/parted/APKBUILD b/main/parted/APKBUILD
index 3956840b0f..8a4f8e4797 100644
--- a/main/parted/APKBUILD
+++ b/main/parted/APKBUILD
@@ -1,24 +1,22 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=parted
-pkgver=3.1
-pkgrel=2
+pkgver=3.2
+pkgrel=0
pkgdesc="Utility to create, destroy, resize, check and copy partitions"
url="http://www.gnu.org/software/parted/parted.html"
arch="all"
license="GPL3"
subpackages="$pkgname-dev $pkgname-doc"
depends=
-makedepends="pkgconfig e2fsprogs-dev readline-dev ncurses-dev lvm2-dev bash"
+makedepends="readline-dev ncurses-dev lvm2-dev bash util-linux-dev"
source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz
fix-includes.patch
- parted-3.1-readline.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
@@ -34,6 +32,8 @@ build() {
--prefix=/usr \
--disable-debug \
--disable-nls \
+ --disable-static \
+ --enable-shared \
|| return 1
make || return 1
}
@@ -46,12 +46,9 @@ package() {
rmdir -p "$pkgdir"/usr/lib 2>/dev/null
return 0
}
-md5sums="5d89d64d94bcfefa9ce8f59f4b81bdcb parted-3.1.tar.xz
-e87ffa1171acbebfa9d2475a093e7e64 fix-includes.patch
-7f3c0f9d2fa2569054734149c1bf9d0c parted-3.1-readline.patch"
-sha256sums="5e9cc1f91eaf016e5033d85b9b893fd6d3ffaca532a48de1082df9b94225ca15 parted-3.1.tar.xz
-f87c9290e861b969f4520a1af84ebf4b8f5f1437c1d78ee235d5ffcda3bffe84 fix-includes.patch
-a6ee5fd919a2a035309b70decce60514587a27d1603f361a48dbaf2757b8a8cc parted-3.1-readline.patch"
-sha512sums="f29a67a16cf79f08abbfc5eeb6ad0480d834aa50e715378626dc89e3b12ce71f19202e9f38429e5521ebe877c4e74ff1e08f0b0ecbdbe79ba1c51fdcbef6e852 parted-3.1.tar.xz
-55ee63c218d1867c0f2c596e7c3eec5c42af160181456cc551fe3d432eabed0ac2dd3a3955ff0c375f76aeec8071e7f55a32834b87a0d39b8ef30361f671bfdd fix-includes.patch
-a32774fb51fee399a2d2248415efc3a9ebe948c342f42704b38b23abfa1067845e8dffd606cb24ed5f971ce7ec3e18b707f72c0d00cb20a4d0dc6350dbb12c29 parted-3.1-readline.patch"
+md5sums="0247b6a7b314f8edeb618159fa95f9cb parted-3.2.tar.xz
+e87ffa1171acbebfa9d2475a093e7e64 fix-includes.patch"
+sha256sums="858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4 parted-3.2.tar.xz
+f87c9290e861b969f4520a1af84ebf4b8f5f1437c1d78ee235d5ffcda3bffe84 fix-includes.patch"
+sha512sums="4e37dbdd6f5032c9ebfec43704f6882379597d038167b9c4d04053efa083c68a705196713864451fa9e11d32777e16c68982877945c5efd9ea5f8252cb20e1c4 parted-3.2.tar.xz
+55ee63c218d1867c0f2c596e7c3eec5c42af160181456cc551fe3d432eabed0ac2dd3a3955ff0c375f76aeec8071e7f55a32834b87a0d39b8ef30361f671bfdd fix-includes.patch"
diff --git a/main/parted/parted-3.1-readline.patch b/main/parted/parted-3.1-readline.patch
deleted file mode 100644
index 936ec00cbe..0000000000
--- a/main/parted/parted-3.1-readline.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/parted/ui.c
-+++ b/parted/ui.c
-@@ -1474,7 +1474,7 @@
- #ifdef HAVE_LIBREADLINE
- if (!opt_script_mode) {
- rl_initialize ();
-- rl_attempted_completion_function = (CPPFunction*) complete_function;
-+ rl_attempted_completion_function = (rl_completion_func_t*) complete_function;
- readline_state.in_readline = 0;
- }
- #endif