summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2018-08-22 01:03:19 +0200
committerThomas Deutschmann <whissi@gentoo.org>2018-08-22 01:07:14 +0200
commit1b56b9f544fab137b25b8e745b3f8b068b57402a (patch)
treef803055165570614c0bcc2047984b91eca0a7a61 /sys-libs
parentnet-misc/owncloud-client: 2.4.3 bump (diff)
downloadgentoo-1b56b9f544fab137b25b8e745b3f8b068b57402a.tar.gz
gentoo-1b56b9f544fab137b25b8e745b3f8b068b57402a.tar.bz2
gentoo-1b56b9f544fab137b25b8e745b3f8b068b57402a.zip
sys-libs/e2fsprogs-libs: bump to v1.44.4
- USE=nls dropped because package only installs libss and libcom-err which don't have native language support. Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/e2fsprogs-libs/Manifest1
-rw-r--r--sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.44.4.ebuild94
2 files changed, 95 insertions, 0 deletions
diff --git a/sys-libs/e2fsprogs-libs/Manifest b/sys-libs/e2fsprogs-libs/Manifest
index a0728a4f87bd..fa404367b04d 100644
--- a/sys-libs/e2fsprogs-libs/Manifest
+++ b/sys-libs/e2fsprogs-libs/Manifest
@@ -1,3 +1,4 @@
+DIST e2fsprogs-1.44.4.tar.xz 5363496 BLAKE2B 8c7216bd63dbba0660c7383d6ed068be0a7016b50235d22f855283bb57d3355a3ea5bfa47294b71b67fcc5d4af28219abeb9cf4a6429595a43680d3d787bdf1a SHA512 52e39565dee30997b9c245b5d8791844067a903a570082f3a5ff9d9ef96624535322617bb21029056c88259fef46416eb1181bd7aec419e64fc021830887ec8f
DIST e2fsprogs-libs-1.43.6.tar.gz 595409 BLAKE2B a5edf65b637b7f3fab16174a695baa232b8aeab6e8d28140a3a68ed63eee309949ca85a28f33d15199068fffe9174ef76b28f403ec09118296a458611592a36e SHA512 80a643ba349aac79c88548e9692066f777c5f9e82e309b348606a8078de456171535e6e5df91f73ca3db9d03bb539b1a19883cf74615357bdf77f3bd20cc0b11
DIST e2fsprogs-libs-1.43.9.tar.gz 595452 BLAKE2B 2f4c8b07abe343f304f3217984ec03a38dca2d69765d7e9edef184c5b478fb0aa860fb0338a41e9d2d47c55780b0e44450efbe2528110403a77696af9e0c9d7c SHA512 c4b78000ace629a7e6f12d7c63f5ff36885bc7ba69a22654f95fd384bb347f0f28ba544644b40cdcbf14ec211e724901fbe44cc2b730f2dafba77632b3e2d0b1
DIST e2fsprogs-libs-1.44.2.tar.gz 715214 BLAKE2B 696702563e30f877f1ced23c116240b6f5314987858492908396a5190019df095165e3e2995bc00330a1a3c19052773c483928db93bb2f9f01dc73de69858edd SHA512 c133c779b7ad4f51977d5c5627810f3808b0e40559726e99eadaa7beaecf08d09c6da6041c376148e71f94c60c2be185c9ed0b1c3fbdeda5e113a32f10b1b6c3
diff --git a/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.44.4.ebuild b/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.44.4.ebuild
new file mode 100644
index 000000000000..9672861c7d49
--- /dev/null
+++ b/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.44.4.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit toolchain-funcs multilib-minimal
+
+MY_PN=${PN%-libs}
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="e2fsprogs libraries (common error and subsystem)"
+HOMEPAGE="http://e2fsprogs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/e2fsprogs/${MY_P}.tar.xz
+ mirror://kernel/linux/kernel/people/tytso/e2fsprogs/v${PV}/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~m68k-mint ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND="!sys-libs/com_err
+ !sys-libs/ss
+ !<sys-fs/e2fsprogs-1.41.8"
+DEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.42.13-fix-build-cflags.patch #516854
+)
+
+src_prepare() {
+ default
+
+ cp doc/RelNotes/v${PV}.txt ChangeLog || die "Failed to copy Release Notes"
+}
+
+multilib_src_configure() {
+ local myconf=(
+ --enable-elf-shlibs
+ $(tc-has-tls || echo --disable-tls)
+ --disable-e2initrd-helper
+ --disable-fsck
+ )
+
+ # we use blkid/uuid from util-linux now
+ if use kernel_linux ; then
+ export ac_cv_lib_{uuid_uuid_generate,blkid_blkid_get_cache}=yes
+ myconf+=( --disable-lib{blkid,uuid} )
+ fi
+
+ ac_cv_path_LDCONFIG=: \
+ ECONF_SOURCE="${S}" \
+ CC="$(tc-getCC)" \
+ BUILD_CC="$(tc-getBUILD_CC)" \
+ BUILD_LD="$(tc-getBUILD_LD)" \
+ econf "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ emake -C lib/et V=1 || die "Failed to build libcom"
+
+ emake -C lib/ss V=1 || die "Failed to build libss"
+}
+
+multilib_src_test() {
+ if multilib_is_native_abi; then
+ emake -C lib/et V=1 check || die "Failed to test libcom"
+
+ emake -C lib/ss V=1 check || die "Failed to test libss"
+ fi
+}
+
+multilib_src_install() {
+ emake -C lib/et V=1 DESTDIR="${D%/}" install || die "Failed to install libcom"
+
+ emake -C lib/ss V=1 DESTDIR="${D%/}" install || die "Failed to install libss"
+
+ # We call "gen_usr_ldscript -a" to ensure libs are present in /lib to support
+ # split /usr (e.g. "e2fsck" from sys-fs/e2fsprogs is installed in /sbin and
+ # links to libcom_err.so).
+ gen_usr_ldscript -a com_err ss $(usex kernel_linux '' 'uuid blkid')
+
+ if ! use static-libs ; then
+ find "${ED%/}" -name '*.a' -delete || die
+ fi
+}
+
+multilib_src_install_all() {
+ # Package installs same header twice -- use symlink instead
+ dosym et/com_err.h /usr/include/com_err.h
+
+ einstalldocs
+}