diff options
Diffstat (limited to 'sys-block/parted')
-rw-r--r-- | sys-block/parted/Manifest | 10 | ||||
-rw-r--r-- | sys-block/parted/files/parted-2.4-no-gets.patch | 10 | ||||
-rw-r--r-- | sys-block/parted/files/parted-2.4-readline.patch | 11 | ||||
-rw-r--r-- | sys-block/parted/files/parted-3.1-readline.patch | 11 | ||||
-rw-r--r-- | sys-block/parted/files/parted-3.1-zfs.patch | 170 | ||||
-rw-r--r-- | sys-block/parted/parted-2.4-r1.ebuild | 54 | ||||
-rw-r--r-- | sys-block/parted/parted-2.4.ebuild | 55 | ||||
-rw-r--r-- | sys-block/parted/parted-3.1-r1.ebuild | 81 | ||||
-rw-r--r-- | sys-block/parted/parted-3.1-r2.ebuild | 85 |
9 files changed, 0 insertions, 487 deletions
diff --git a/sys-block/parted/Manifest b/sys-block/parted/Manifest index da641b59777c..5c4e187e5a55 100644 --- a/sys-block/parted/Manifest +++ b/sys-block/parted/Manifest @@ -1,20 +1,10 @@ -AUX parted-2.4-no-gets.patch 343 BLAKE2B e1eaf9b8524fc6402a756a95e2aa21005941af7ff198a3ec1b219ef5180bebe8a361a12ee1c95992e076ba9c6ca2b1378fdd6da95b66d489ba4669f895243d4d SHA512 9538ad4c6fcc26662395f1cc768c297db0e864b5912346819d71aa85affdede68e96e43d3d5c1249971d921c33595e8980b8298430510924b7bf6f6982dabf5c -AUX parted-2.4-readline.patch 340 BLAKE2B f85e47d803293366b2ec0e4b1350f9367bcdbd02ce4192588727615612cc335e96aa092f95d1969c35264211548b86c1acc16a038536c5b13f9c526c4010b723 SHA512 965a24fd7a9c21b65ce3b55618c127b102a6e0b3783b6ed020d032d3aa572d0323ff845b390e1cb6460ac089f308b7e18b875ada2aebb5e5e8726c4beb7a8da5 -AUX parted-3.1-readline.patch 340 BLAKE2B f6dcce555f655c2e714467e1f3ad48c2f79b24db0394d7a9577194b94b868694c9a51eb9810281eaf6b7eabbc90d7e9061aebdcdf8a41278afe1a6b1224678b5 SHA512 a32774fb51fee399a2d2248415efc3a9ebe948c342f42704b38b23abfa1067845e8dffd606cb24ed5f971ce7ec3e18b707f72c0d00cb20a4d0dc6350dbb12c29 -AUX parted-3.1-zfs.patch 4767 BLAKE2B c1f822901e021d6b1797bb511c7219b3b60f88bc71726a620d17518c1c594dc8d943c806d32a81253b154867d939fc7b8e7d376513951216471a9f5fe6cd792c SHA512 2970595d4d507b5fddc3506430c5fa5f4778c493733879289e1ae6314442a29930b97acf3cdf1b1b0ff26c3c5d3b5bf4b1300a3a4ba35daf2d654a8c0d75863d AUX parted-3.2-devmapper.patch 1972 BLAKE2B 10ceeec3f6af744dad642a9b1b8e8d30a85793415bac68c87463d459e4b1fb321c1d0e9017aa895334f2a2849c436f617581c5b4f3d1d0dbe5d1a97b9f3a278b SHA512 3baf2090ba86242df1633bb4b50deeb6e0226b0a56ad82466ddd76f028a859e29bd021f1f251047cd2a2a5ea1c77ed0129eca8be2e97ee48c21c1d186c07b8da AUX parted-3.2-fix-resizing-FAT16.patch 2383 BLAKE2B d680374c1949a1f4f118e67ad5f2b90cbde13475b0749cf580d25dc78b424ecc003a97c4607733b7bde833022c0ba76bdcae0853c8f205fb1fb4c873639ee928 SHA512 31a79f24de58fdbc77b50790372019083375acace66f9a9d3fc93c6ec22988b7198fda13c3790e00518f7a2878de1efb914658f517d275c6ecfd3e507bc4cd15 AUX parted-3.2-po4a-mandir.patch 275 BLAKE2B 5342cc776f557c9ef95604eb2c15ad484c4dbf102d4093dcb1d4005f2f6d4f90db2ff0fc3ceae59fd22c3442604b2abbdac48594f860ba810dc4d8dce89d6fc0 SHA512 5ef686f56d8c3939da3f24fdb6196d8858c2f980805f1cb06020d6f6996158f62b8372a233ec3ec98aae30b41034046d615e415b3abf2648db7be88e3b45a872 AUX parted-3.2-sysmacros.patch 804 BLAKE2B 294094fd79a799d577c2db00569f4be218713b71659654603a299f039939a7b3901ab80aab6cf969fd503712da8a7039e8fd7dac007b164a1f3b7ead4c5596ed SHA512 97c141d623bc52387b3726a164c5191c094cef1b2aa000dbd8e505aab418210d27ad07a59e0433faf001bf12ee1e3729838186fc2bae69ed7a66941364e3b468 -DIST parted-2.4.tar.xz 1516412 BLAKE2B fdc489ba9e0636b6f3e67d3863acf88ab3143e60aab2a75765502347e644954014530b7b1ad6dd625e6504abf936d367e65d418ba13379f57b4ba1c386583a23 SHA512 1f7ac11079981b176c1157bd6d858e67394bb4be9b622f91d4e78412a41c696809ed60912b8b94f3a2a924b2f43638dd5d6cb6f4c28e8dc63a2d421380cb5477 -DIST parted-3.1.tar.xz 1524344 BLAKE2B 51f6cb84fb0a08dc5c9f634e265e4ac7778cde9f5400771af897a8661bf6dcdcfac2b2dec817c7d0f61d3fd5f8408c065754ea756ed59491dff75595d4306a2d SHA512 f29a67a16cf79f08abbfc5eeb6ad0480d834aa50e715378626dc89e3b12ce71f19202e9f38429e5521ebe877c4e74ff1e08f0b0ecbdbe79ba1c51fdcbef6e852 DIST parted-3.2.tar.xz 1655244 BLAKE2B 56608590b26a9b5266dacf3698d990b730bdb35d9374d1da57103fbef3ef5037e40dd2fe0f523ca8e0e75401a3b25cf543e5ca5c94cf410bbaa62ea15d6f0ba3 SHA512 4e37dbdd6f5032c9ebfec43704f6882379597d038167b9c4d04053efa083c68a705196713864451fa9e11d32777e16c68982877945c5efd9ea5f8252cb20e1c4 DIST parted_3.2-19.debian.tar.xz 87288 BLAKE2B f0cef2978ead9edca3e952849deb36526eea0a050d45ab480b2aa62d02ba0a1750c28e93c28a714df6629f02ccf5a1e4fbb33a6e42b82bf6685c05aeaad1756c SHA512 de3e55545d7d94668eb608c8c31440f550baaf7b664836d199f73f7a8c75bba4ff59b4c06a23459c7d522250d7c03d29fa7f727f7d1a2b1e5a0366e83a2d871a DIST parted_3.2-20.debian.tar.xz 87496 BLAKE2B 4409826b35b42093f16f80b1ab2f41b4caf2264c9dcfe9572fa1ddf5f51eeffa2208fc187bd7a98290ee2df92604928eae84fd2fdee78d688ec19e81f8b9efac SHA512 83f14befdd7d048976572b3e2eebfaa42649458cbcfd659db704737dce991980ddb2bc65013c5b31b04a17fc17fb756da0dda76edbcba93708afca34c56e0d22 -EBUILD parted-2.4-r1.ebuild 1276 BLAKE2B 34f0d111529caeffbff7c3468c6b1d379eac58ef299b2c3a3f0b47cd05829028eecc41602aa714e673a4313b6d317979f9c274980272b0618c5b965776be9f6e SHA512 8d9e927273fb73fe4dddafc862b0cd7db994c21f016b367b6ecd083496207adbde9ad75b0a5d1c9a2e73c5f6035bf69dc95d9e73051e6fb7e298a9ae31ce79bb -EBUILD parted-2.4.ebuild 1287 BLAKE2B 51117072f46a58c62180776e3990b9036340c52e373e36d7d68ee9256b0a0617f78f69543a2371694176dc96a01e9f75d328c4fb733c2e6e2624a4ce4e6a9957 SHA512 71e30ebc780d6a2e5f15cdf61dfe600abbe832641a90690e5fe21ff12ea96e479f2c04a0930dcb869aa9b4f720d0efabca6ee88f3da9567f2e7630e0e7bc145a -EBUILD parted-3.1-r1.ebuild 2098 BLAKE2B 4d76bff9d1665e50112a00a8e01a31c8571e8b5efe004001815611d52b775a9f6b8c99bc35893fd524fa6e5625088189ace6395f72637a328b31628ff0bbf36b SHA512 f221964e4983f772915bc1b8ee89627ebcd6cc2e01c019c6dc446f00a2d3f2cbe06875037cee6a926418ac48e29c2fc48f14de45756482139c3c5534c675b434 -EBUILD parted-3.1-r2.ebuild 2065 BLAKE2B 0daa72d53699d46a8468409d02a0568f5340444021c341f7e645aed3cd1a6dfcae0a6c48d7b1d4838382ded81b6f7715e24d2183bb0926bdb3312a4dfd6c964e SHA512 d8e0e54bdc69d0879be4bfb5835b62039037b04f788c10d53c313ffee7265216fbe483d0f55ffc5acdc1f1aeead35ec8f169b046ab4ec8e372bf2914b065b3d5 EBUILD parted-3.2-r1.ebuild 1504 BLAKE2B abac92bef34ac1a73c137feca7b17e2d03e5d878f514d82e428cdd036c59cc6573a361f3edc48082207584acb018d5625e16c76d446fd2cde1bcdeee3fe17c5c SHA512 948e4e0df79ca6fbb587950dcee4ed429ddaedf0a7fe4a669515afd24477a8615c719920b498649646a310b1fccdddd2acdb24bbb107097111a8c8da4a68fc07 EBUILD parted-3.2-r2.ebuild 1514 BLAKE2B d7144fc4a68de8e12059a1dc3a771bb633af41c46dee8cb99b38b480fe90d144dd33f090d383b70b8956abf09b4de8fc5853d44ff74f17e8a883a4f22050152f SHA512 cf2898a4c373c4597cbb99cc511527af7382f548a0b7c8b8f3bc3cd6afea6ab3344cf58c37312d5d5eeacdcb937430f27bf20627aeb9e441950c055f0266eabd EBUILD parted-3.2.ebuild 1316 BLAKE2B 19cb105ba21badec2742d763633b0290ba474208bfb2818215c6551602074f75698e42e5cec75f52a9f90161c89bcdac9c8a5b104cee56ac4182a454d634b385 SHA512 f6836f813e348cc3d8836c22d36f38cb95bcb639e994b2ab61526c961edee9af4a3a72d513ab969ed60445ecc07b234246457d7552a20f1d51836a9b696de3ed diff --git a/sys-block/parted/files/parted-2.4-no-gets.patch b/sys-block/parted/files/parted-2.4-no-gets.patch deleted file mode 100644 index efa6e00b8d45..000000000000 --- a/sys-block/parted/files/parted-2.4-no-gets.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/lib/stdio.in.h -+++ b/lib/stdio.in.h -@@ -735,7 +735,6 @@ - /* It is very rare that the developer ever has full control of stdin, - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ --_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); - #endif - - diff --git a/sys-block/parted/files/parted-2.4-readline.patch b/sys-block/parted/files/parted-2.4-readline.patch deleted file mode 100644 index 5873ed1e5d43..000000000000 --- a/sys-block/parted/files/parted-2.4-readline.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/parted/ui.c -+++ b/parted/ui.c -@@ -1440,7 +1440,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 diff --git a/sys-block/parted/files/parted-3.1-readline.patch b/sys-block/parted/files/parted-3.1-readline.patch deleted file mode 100644 index 936ec00cbefc..000000000000 --- a/sys-block/parted/files/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 diff --git a/sys-block/parted/files/parted-3.1-zfs.patch b/sys-block/parted/files/parted-3.1-zfs.patch deleted file mode 100644 index a87d6d346551..000000000000 --- a/sys-block/parted/files/parted-3.1-zfs.patch +++ /dev/null @@ -1,170 +0,0 @@ -commit 65f838008107a688751dd5a2753c9073e9353daf -Author: root <root@desktop.(none)> -Date: Fri Jun 1 16:26:34 2012 -0400 - - Add ZFS Support - -diff --git a/libparted/fs/Makefile.am b/libparted/fs/Makefile.am -index 8d48ea1..51b4151 100644 ---- a/libparted/fs/Makefile.am -+++ b/libparted/fs/Makefile.am -@@ -49,7 +49,8 @@ libfs_la_SOURCES = \ - xfs/platform_defs.h \ - xfs/xfs.c \ - xfs/xfs_sb.h \ -- xfs/xfs_types.h -+ xfs/xfs_types.h \ -+ zfs/zfs.c - - lib_LTLIBRARIES = libparted-fs-resize.la - -diff --git a/libparted/fs/Makefile.in b/libparted/fs/Makefile.in -index 4335eb1..e3a134b 100644 ---- a/libparted/fs/Makefile.in -+++ b/libparted/fs/Makefile.in -@@ -1112,7 +1112,8 @@ libfs_la_SOURCES = \ - xfs/platform_defs.h \ - xfs/xfs.c \ - xfs/xfs_sb.h \ -- xfs/xfs_types.h -+ xfs/xfs_types.h \ -+ zfs/zfs.c - - lib_LTLIBRARIES = libparted-fs-resize.la - EXTRA_DIST = hfs/DOC hfs/HISTORY hfs/TODO fsresize.sym -diff --git a/libparted/fs/zfs/Makefile.am b/libparted/fs/zfs/Makefile.am -new file mode 100644 -index 0000000..3273c6a ---- /dev/null -+++ b/libparted/fs/zfs/zfs.c -@@ -0,0 +1,81 @@ -+/* -+ libparted - a library for manipulating disk partitions -+ Copyright (C) 2000, 2007, 2009-2010 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see <http://www.gnu.org/licenses/>. -+*/ -+ -+#include <config.h> -+ -+#include <parted/parted.h> -+#include <parted/endian.h> -+ -+#if ENABLE_NLS -+# include <libintl.h> -+# define _(String) dgettext (PACKAGE, String) -+#else -+# define _(String) (String) -+#endif /* ENABLE_NLS */ -+ -+#include <unistd.h> -+ -+#define ZFS_BLOCK_SIZES ((int[2]){512, 0}) -+ -+#define ZFS_SIGNATURE 0x00bab10c -+ -+struct zfs_uberblock -+{ -+ uint64_t signature; -+ uint64_t version; -+}; -+ -+static PedGeometry* -+zfs_probe (PedGeometry* geom) -+{ -+ uint8_t buf[512]; -+ struct zfs_uberblock *uber = (void *) buf; -+ -+ if (!ped_geometry_read (geom, buf, 256, 1)) -+ return 0; -+ -+ if ((le64toh (uber->signature) == ZFS_SIGNATURE -+ || be64toh (uber->signature) == ZFS_SIGNATURE) -+ && uber->version != 0) -+ return ped_geometry_new (geom->dev, geom->start, geom->length); -+ else -+ return NULL; -+} -+ -+static PedFileSystemOps zfs_ops = { -+ probe: zfs_probe, -+}; -+ -+static PedFileSystemType zfs_type = { -+ next: NULL, -+ ops: &zfs_ops, -+ name: "zfs", -+ block_sizes: ZFS_BLOCK_SIZES -+}; -+ -+void -+ped_file_system_zfs_init () -+{ -+ ped_file_system_type_register (&zfs_type); -+} -+ -+void -+ped_file_system_zfs_done () -+{ -+ ped_file_system_type_unregister (&zfs_type); -+} -diff --git a/libparted/libparted.c b/libparted/libparted.c -index a6d86f0..6545989 100644 ---- a/libparted/libparted.c -+++ b/libparted/libparted.c -@@ -109,6 +109,7 @@ extern void ped_file_system_hfs_init (void); - extern void ped_file_system_fat_init (void); - extern void ped_file_system_ext2_init (void); - extern void ped_file_system_nilfs2_init (void); -+extern void ped_file_system_zfs_init (void); - - static void - init_file_system_types () -@@ -124,6 +125,7 @@ init_file_system_types () - ped_file_system_fat_init (); - ped_file_system_ext2_init (); - ped_file_system_nilfs2_init (); -+ ped_file_system_zfs_init (); - } - - extern void ped_disk_aix_done (); -@@ -186,6 +188,7 @@ extern void ped_file_system_reiserfs_done (void); - extern void ped_file_system_ufs_done (void); - extern void ped_file_system_xfs_done (void); - extern void ped_file_system_amiga_done (void); -+extern void ped_file_system_zfs_done (void); - - static void - done_file_system_types () -@@ -201,6 +204,7 @@ done_file_system_types () - ped_file_system_ufs_done (); - ped_file_system_xfs_done (); - ped_file_system_amiga_done (); -+ ped_file_system_zfs_done (); - } - - static void _done() __attribute__ ((destructor)); -diff --git a/scripts/data/abi/baseline_symbols.txt b/scripts/data/abi/baseline_symbols.txt -index 9162f1a..8bb87e6 100644 ---- a/scripts/data/abi/baseline_symbols.txt -+++ b/scripts/data/abi/baseline_symbols.txt -@@ -344,6 +344,8 @@ FUNC:ped_file_system_ufs_done - FUNC:ped_file_system_ufs_init - FUNC:ped_file_system_xfs_done - FUNC:ped_file_system_xfs_init -+FUNC:ped_file_system_zfs_done -+FUNC:ped_file_system_zfs_init - FUNC:ped_geometry_check - FUNC:ped_geometry_destroy - FUNC:ped_geometry_duplicate diff --git a/sys-block/parted/parted-2.4-r1.ebuild b/sys-block/parted/parted-2.4-r1.ebuild deleted file mode 100644 index 2e24db5fe76f..000000000000 --- a/sys-block/parted/parted-2.4-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit eutils - -DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems" -HOMEPAGE="https://www.gnu.org/software/parted" -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="+debug device-mapper nls readline selinux static-libs" -RESTRICT="test" - -# specific version for gettext needed -# to fix bug 85999 -RDEPEND=" - >=sys-fs/e2fsprogs-1.27 - >=sys-libs/ncurses-5.2:0= - device-mapper? ( >=sys-fs/lvm2-2.02.45 ) - readline? ( >=sys-libs/readline-5.2:0= ) - selinux? ( sys-libs/libselinux ) -" -DEPEND=" - ${RDEPEND} - nls? ( >=sys-devel/gettext-0.12.1-r2 ) - virtual/pkgconfig -" -PATCHES=( - "${FILESDIR}"/${P}-no-gets.patch - "${FILESDIR}"/${P}-readline.patch -) -DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/{API,FAT,USER.jp} ) - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable device-mapper) \ - $(use_enable nls) \ - $(use_enable selinux) \ - $(use_enable static-libs static) \ - $(use_with readline) \ - --disable-Werror \ - --disable-rpath \ - --disable-silent-rules -} - -src_install() { - default - - prune_libtool_files -} diff --git a/sys-block/parted/parted-2.4.ebuild b/sys-block/parted/parted-2.4.ebuild deleted file mode 100644 index eb161766ad3e..000000000000 --- a/sys-block/parted/parted-2.4.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils - -DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems" -HOMEPAGE="https://www.gnu.org/software/parted" -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86" -IUSE="+debug device-mapper nls readline selinux static-libs" -RESTRICT="test" - -# specific version for gettext needed -# to fix bug 85999 -RDEPEND=" - >=sys-fs/e2fsprogs-1.27 - >=sys-libs/ncurses-5.2:0= - device-mapper? ( >=sys-fs/lvm2-2.02.45 ) - readline? ( >=sys-libs/readline-5.2:0= ) - selinux? ( sys-libs/libselinux ) -" -DEPEND=" - ${RDEPEND} - nls? ( >=sys-devel/gettext-0.12.1-r2 ) - virtual/pkgconfig -" - -src_prepare() { - epatch "${FILESDIR}"/${P}-no-gets.patch - epatch "${FILESDIR}"/${P}-readline.patch -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable device-mapper) \ - $(use_enable nls) \ - $(use_enable selinux) \ - $(use_enable static-libs static) \ - $(use_with readline) \ - --disable-Werror \ - --disable-rpath \ - --disable-silent-rules -} - -DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/{API,FAT,USER.jp} ) - -src_install() { - default - prune_libtool_files -} diff --git a/sys-block/parted/parted-3.1-r1.ebuild b/sys-block/parted/parted-3.1-r1.ebuild deleted file mode 100644 index 011ec68857d4..000000000000 --- a/sys-block/parted/parted-3.1-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit autotools eutils - -DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems" -HOMEPAGE="https://www.gnu.org/software/parted" -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86" -IUSE="+debug device-mapper nls readline selinux static-libs test" - -# specific version for gettext needed -# to fix bug 85999 -RDEPEND=" - >=sys-fs/e2fsprogs-1.27 - >=sys-libs/ncurses-5.7-r7 - device-mapper? ( >=sys-fs/lvm2-2.02.45 ) - readline? ( >=sys-libs/readline-5.2 ) - selinux? ( sys-libs/libselinux ) -" -DEPEND=" - ${RDEPEND} - nls? ( >=sys-devel/gettext-0.12.1-r2 ) - virtual/pkgconfig - test? ( - >=dev-libs/check-0.9.3 - dev-perl/Digest-CRC - ) -" - -src_prepare() { - # Remove tests known to FAIL instead of SKIP without OS/userland support - sed -i libparted/tests/Makefile.am \ - -e 's|t3000-symlink.sh||g' || die "sed failed" - sed -i tests/Makefile.am \ - -e '/t4100-msdos-partition-limits.sh/d' \ - -e '/t4100-dvh-partition-limits.sh/d' \ - -e '/t6000-dm.sh/d' || die "sed failed" - # there is no configure flag for controlling the dev-libs/check test - sed -i configure.ac \ - -e "s:have_check=[a-z]*:have_check=$(usex test):g" || die - - epatch "${FILESDIR}"/${PN}-3.1-zfs.patch - epatch "${FILESDIR}"/${PN}-3.1-readline.patch - - eautoreconf -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable device-mapper) \ - $(use_enable nls) \ - $(use_enable selinux) \ - $(use_enable static-libs static) \ - $(use_with readline) \ - --disable-rpath \ - --disable-silent-rules -} - -src_test() { - if use debug; then - # Do not die when tests fail - some requirements are not - # properly checked and should not lead to the ebuild failing. - emake check - else - ewarn "Skipping tests because USE=-debug is set." - fi -} - -src_install() { - emake install DESTDIR="${D}" - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - dodoc doc/{API,FAT,USER.jp} - find "${ED}" -name '*.la' -exec rm -f {} + -} diff --git a/sys-block/parted/parted-3.1-r2.ebuild b/sys-block/parted/parted-3.1-r2.ebuild deleted file mode 100644 index 92ce2da8bcbf..000000000000 --- a/sys-block/parted/parted-3.1-r2.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools eutils - -DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems" -HOMEPAGE="https://www.gnu.org/software/parted" -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="+debug device-mapper nls readline selinux static-libs test" - -# specific version for gettext needed -# to fix bug 85999 -RDEPEND=" - >=sys-fs/e2fsprogs-1.27 - >=sys-libs/ncurses-5.7-r7 - device-mapper? ( >=sys-fs/lvm2-2.02.45 ) - readline? ( >=sys-libs/readline-5.2 ) - selinux? ( sys-libs/libselinux ) -" -DEPEND=" - ${RDEPEND} - nls? ( >=sys-devel/gettext-0.12.1-r2 ) - virtual/pkgconfig - test? ( - >=dev-libs/check-0.9.3 - dev-perl/Digest-CRC - ) -" -PATCHES=( - "${FILESDIR}"/${PN}-3.1-zfs.patch - "${FILESDIR}"/${PN}-3.1-readline.patch -) -DOCS=( - AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/{API,FAT,USER.jp} -) - -src_prepare() { - default - - # Remove tests known to FAIL instead of SKIP without OS/userland support - sed -i libparted/tests/Makefile.am \ - -e 's|t3000-symlink.sh||g' || die "sed failed" - sed -i tests/Makefile.am \ - -e '/t4100-msdos-partition-limits.sh/d' \ - -e '/t4100-dvh-partition-limits.sh/d' \ - -e '/t6000-dm.sh/d' || die "sed failed" - # there is no configure flag for controlling the dev-libs/check test - sed -i configure.ac \ - -e "s:have_check=[a-z]*:have_check=$(usex test):g" || die - - eautoreconf -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable device-mapper) \ - $(use_enable nls) \ - $(use_enable selinux) \ - $(use_enable static-libs static) \ - $(use_with readline) \ - --disable-rpath \ - --disable-silent-rules -} - -src_test() { - if use debug; then - # Do not die when tests fail - some requirements are not - # properly checked and should not lead to the ebuild failing. - emake check - else - ewarn "Skipping tests because USE=-debug is set." - fi -} - -src_install() { - default - - prune_libtool_files -} |