From owner-svn-ports-head@freebsd.org Sun Oct 29 09:10:58 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CB4CE5E52E; Sun, 29 Oct 2017 09:10:58 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D9FE672516; Sun, 29 Oct 2017 09:10:57 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9T9AuWx066520; Sun, 29 Oct 2017 09:10:56 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9T9AuBR066514; Sun, 29 Oct 2017 09:10:56 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <201710290910.v9T9AuBR066514@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Sun, 29 Oct 2017 09:10:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453102 - in head: misc/e2fsprogs-libblkid misc/e2fsprogs-libuuid sysutils/e2fsprogs X-SVN-Group: ports-head X-SVN-Commit-Author: mandree X-SVN-Commit-Paths: in head: misc/e2fsprogs-libblkid misc/e2fsprogs-libuuid sysutils/e2fsprogs X-SVN-Commit-Revision: 453102 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 09:10:58 -0000 Author: mandree Date: Sun Oct 29 09:10:56 2017 New Revision: 453102 URL: https://svnweb.freebsd.org/changeset/ports/453102 Log: Update to new upstream 1.43.7, install libext2fs.so [1]. Install shared libraries, and use them (except for e2fsck, which links it statically so it can be used from /sbin), requested by pgf@ and fsu@. To that end, we need to add LIB_DEPENDS and tweak CONFIGURE_ARGS (notably LDFLAGS need to be passed there already, not in MAKE_ARGS, so that we can find libuuid/libblkid). Use @comment trick in pkg-plist to ignore not-to-install libraries (libss, libblkid - these have their own ports) while shutting up make check-plist and poudriere checks at the same time. Reported by: pgf@, fsu@ [1] Modified: head/misc/e2fsprogs-libblkid/Makefile head/misc/e2fsprogs-libuuid/Makefile head/sysutils/e2fsprogs/Makefile head/sysutils/e2fsprogs/distinfo head/sysutils/e2fsprogs/pkg-plist Modified: head/misc/e2fsprogs-libblkid/Makefile ============================================================================== --- head/misc/e2fsprogs-libblkid/Makefile Sun Oct 29 09:04:27 2017 (r453101) +++ head/misc/e2fsprogs-libblkid/Makefile Sun Oct 29 09:10:56 2017 (r453102) @@ -12,12 +12,13 @@ _no_license_file= sorry LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid -CONFIGURE_ARGS= --enable-elf-shlibs +CONFIGURE_ARGS= --enable-elf-shlibs --disable-libuuid --enable-libblkid MASTERDIR= ${.CURDIR}/../../sysutils/e2fsprogs MAKE_ARGS= LIB_SUBDIRS=lib/blkid LDFLAGS_SHLIB=-L${LOCALBASE}/lib USE_LDCONFIG= yes ALL_TARGET= libs +LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install install-shlibs INSTALL_WRKSRC= ${WRKSRC}/lib/blkid @@ -28,7 +29,6 @@ pre-build: cd ${WRKSRC}/util && ${MAKE_CMD} subst post-build: - cd ${WRKSRC}/lib/uuid && ${MAKE_CMD} cd ${INSTALL_WRKSRC} && ${MAKE_CMD} check .include "${MASTERDIR}/Makefile" Modified: head/misc/e2fsprogs-libuuid/Makefile ============================================================================== --- head/misc/e2fsprogs-libuuid/Makefile Sun Oct 29 09:04:27 2017 (r453101) +++ head/misc/e2fsprogs-libuuid/Makefile Sun Oct 29 09:10:56 2017 (r453102) @@ -10,7 +10,7 @@ COMMENT= UUID library from e2fsprogs package LICENSE= BSD3CLAUSE LICENSE_FILE= ${INSTALL_WRKSRC}/COPYING -CONFIGURE_ARGS= --enable-elf-shlibs +CONFIGURE_ARGS= --enable-elf-shlibs --enable-libuuid OPTIONS_EXCLUDE= NLS MASTERDIR= ${.CURDIR}/../../sysutils/e2fsprogs Modified: head/sysutils/e2fsprogs/Makefile ============================================================================== --- head/sysutils/e2fsprogs/Makefile Sun Oct 29 09:04:27 2017 (r453101) +++ head/sysutils/e2fsprogs/Makefile Sun Oct 29 09:10:56 2017 (r453102) @@ -2,8 +2,8 @@ # $FreeBSD$ PORTNAME= e2fsprogs -PORTVERSION= 1.43.6 -PORTREVISION?= 1 +PORTVERSION= 1.43.7 +PORTREVISION?= 0 CATEGORIES?= sysutils MASTER_SITES= KERNEL_ORG/linux/kernel/people/tytso/${PORTNAME}/v${PORTVERSION} @@ -22,17 +22,21 @@ PORTSCOUT= ignore # cannot handle the version in the d BROKEN_aarch64= fails to link: missing sbrk .endif -USES= cpe gmake pkgconfig tar:xz +USES= cpe gmake makeinfo pkgconfig tar:xz CPE_VENDOR= e2fsprogs_project USE_CSTD= gnu99 USE_LDCONFIG= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--disable-fsck \ +CONFIGURE_ARGS?=--disable-fsck \ --disable-e2initrd-helper \ - --enable-libuuid \ - --with-root-prefix='${PREFIX}' + --disable-libuuid \ + --disable-uuidd \ + --enable-libblkid \ + --enable-elf-shlibs \ + --with-root-prefix='${PREFIX}' \ + LDFLAGS='${LDFLAGS} -L${LOCALBASE}/lib' CPPFLAGS+= -I${WRKSRC}/lib -I${LOCALBASE}/include # -D_EXT2_USE_C_VERSIONS -MAKE_ARGS+= LDFLAGS='${LDFLAGS} -L${LOCALBASE}/lib' pkgconfigdir='${PREFIX}/libdata/pkgconfig' +MAKE_ARGS+= pkgconfigdir='${PREFIX}/libdata/pkgconfig' MAKE_ENV+= CHECK_CMD=@true .if !defined(MASTERDIR) @@ -52,6 +56,10 @@ PARALLELTESTS_DESC= Parallelize self-tests (needs more BUILD_DEPENDS+= gdd:sysutils/coreutils +LIB_DEPENDS+= libblkid.so:misc/e2fsprogs-libblkid +LIB_DEPENDS+= libss.so:devel/e2fsprogs-libss +LIB_DEPENDS+= libuuid.so:misc/e2fsprogs-libuuid + PORTDOCS= NOTICE README RELEASE-NOTES SUBMITTING-PATCHES .endif @@ -80,9 +88,9 @@ USE_PERL5= build .if ${PORT_OPTIONS:MNLS} . if empty(ICONV_LIB) -libintl= "${LOCALBASE}/lib/libintl.a" +libintl= ${LOCALBASE}/lib/libintl.a . else -libintl= "${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a" +libintl= ${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a . endif .else CONFIGURE_ARGS+=--disable-nls @@ -166,11 +174,11 @@ post-build: # system are statically linked against anything that is outside the root fs, # else we're in trouble if e2fsck is needed for boot: # (we don't use e2fsck.static, since we can link libc.so dynamically) - cd ${WRKSRC}/e2fsck && ${RM} e2fsck \ + cd ${WRKSRC}/e2fsck && ${RM} -f e2fsck \ && ${MAKE_CMD} e2fsck V=1 \ - STATIC_LIBS="../lib/libext2fs.a ../lib/libcom_err.a \ - ../lib/libblkid.a ../lib/libuuid.a" \ - LIBINTL=${libintl} LIBMAGIC=/usr/lib/libmagic.a\ -lz + LIBS="../lib/libsupport.a ../lib/libext2fs.a ../lib/libcom_err.a \ + ${LOCALBASE}/lib/libblkid.a ${LOCALBASE}/lib/libuuid.a ${libintl} ../lib/libe2p.a" \ + LIBMAGIC=/usr/lib/libmagic.a\ -lz # Regression check: avoid a port (not upstream!) regression from 1.40.5, # check that e2fsck isn't dynalinked against anything but libc.so: @${ECHO_CMD} -n "===> checking that e2fsck depends on no shared objects outside /lib: " @@ -206,7 +214,6 @@ post-build: .endif post-install: - ${RM} ${STAGEDIR}${PREFIX}/sbin/uuidd ${INSTALL_PROGRAM} ${WRKSRC}/fsck_ext2fs ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_MAN} ${FILESDIR}/fsck_ext2fs.8 ${STAGEDIR}${PREFIX}/man/man8/ .if ${PORT_OPTIONS:MDOCS} Modified: head/sysutils/e2fsprogs/distinfo ============================================================================== --- head/sysutils/e2fsprogs/distinfo Sun Oct 29 09:04:27 2017 (r453101) +++ head/sysutils/e2fsprogs/distinfo Sun Oct 29 09:10:56 2017 (r453102) @@ -1,3 +1,3 @@ -TIMESTAMP = 1505057223 -SHA256 (e2fsprogs-1.43.6.tar.xz) = c9b226234ee878a8d89951f3b155cec7416dd0ec09c932c855f1b1df8ad93402 -SIZE (e2fsprogs-1.43.6.tar.xz) = 5288388 +TIMESTAMP = 1508879954 +SHA256 (e2fsprogs-1.43.7.tar.xz) = 2a6367289047d68d9ba6a46cf89ab9a1efd0556cde02a51ebaf414ff51edded9 +SIZE (e2fsprogs-1.43.7.tar.xz) = 5286684 Modified: head/sysutils/e2fsprogs/pkg-plist ============================================================================== --- head/sysutils/e2fsprogs/pkg-plist Sun Oct 29 09:04:27 2017 (r453101) +++ head/sysutils/e2fsprogs/pkg-plist Sun Oct 29 09:10:56 2017 (r453102) @@ -74,3 +74,18 @@ sbin/tune2fs %%NLS%%share/locale/uk/LC_MESSAGES/e2fsprogs.mo %%NLS%%share/locale/vi/LC_MESSAGES/e2fsprogs.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/e2fsprogs.mo +@comment lib/libblkid.so +@comment lib/libblkid.so.1 +@comment lib/libblkid.so.1.0 +lib/libcom_err.so +lib/libcom_err.so.2 +lib/libcom_err.so.2.1 +lib/libe2p.so +lib/libe2p.so.2 +lib/libe2p.so.2.3 +lib/libext2fs.so +lib/libext2fs.so.2 +lib/libext2fs.so.2.4 +@comment lib/libss.so +@comment lib/libss.so.2 +@comment lib/libss.so.2.0