Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2008 12:41:21 +0100 (CET)
From:      Matthias Andree <matthias.andree@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/122154: [MAINTAINER] sysutils/e2fsprogs: update to 1.40.8
Message-ID:  <20080327114121.8E894C88D@merlin.emma.line.org>
Resent-Message-ID: <200803271210.m2RCA1G9061386@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122154
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/e2fsprogs: update to 1.40.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 12:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD merlin.emma.line.org 6.3-STABLE FreeBSD 6.3-STABLE #25: Wed Mar 19 11:25:16 CET 2008
>Description:
- Update to 1.40.8
- Reduce bloat by making sure that only e2fsck is linked statically against
  libintl/libiconv, but not the other tools are installed in /usr/local.
  e2fsck may be needed before /usr is mounted, so we need to link those
  libraries statically.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- e2fsprogs-1.40.8.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/e2fsprogs/Makefile /usr/home/emma/ports/sysutils/e2fsprogs/Makefile
--- /usr/ports/sysutils/e2fsprogs/Makefile	2008-03-06 20:30:15.000000000 +0100
+++ /usr/home/emma/ports/sysutils/e2fsprogs/Makefile	2008-03-27 12:34:39.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	e2fsprogs
-PORTVERSION=	1.40.7
+PORTVERSION=	1.40.8
 PORTREVISION?=	0
 CATEGORIES?=	sysutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
@@ -51,12 +51,6 @@
 PLIST_SUB=	NLS="@comment "
 .else
 USE_GETTEXT=	yes
-# We need to make sure that anything that is outside the root file
-# system is statically linked, else we're in trouble if e2fsck is needed
-# for boot:
-MAKE_ARGS+=	STATIC_LIBS="../lib/libext2fs.a ../lib/libcom_err.a \
-		../lib/libblkid.a  ../lib/libuuid.a" \
-		LIBINTL="${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a"
 PLIST_SUB=	NLS=""
 .endif
 
@@ -69,7 +63,16 @@
 
 .if ${MASTERDIR} == ${.CURDIR}
 post-build:
-# Avoid a regression from 1.40.5,
+# Relink e2fsck statically - We need to make sure that tools for the root file
+# 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} -f e2fsck \
+		&& ${MAKE} e2fsck \
+		STATIC_LIBS="../lib/libext2fs.a ../lib/libcom_err.a \
+		../lib/libblkid.a  ../lib/libuuid.a" \
+		LIBINTL="${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a"
+# 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 beyond libc.so: "
 	@a="$$(ldd ${WRKSRC}/e2fsck/e2fsck 2>/dev/null \
diff -ruN --exclude=CVS /usr/ports/sysutils/e2fsprogs/distinfo /usr/home/emma/ports/sysutils/e2fsprogs/distinfo
--- /usr/ports/sysutils/e2fsprogs/distinfo	2008-03-06 20:30:15.000000000 +0100
+++ /usr/home/emma/ports/sysutils/e2fsprogs/distinfo	2008-03-27 11:54:44.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (e2fsprogs-1.40.7.tar.gz) = e24f9d517a2d7ba3cff29337ae73c10a
-SHA256 (e2fsprogs-1.40.7.tar.gz) = 59765723709db286abbaf6418a06b047455919593959d219b5c29ddf72ff2c05
-SIZE (e2fsprogs-1.40.7.tar.gz) = 4087067
+MD5 (e2fsprogs-1.40.8.tar.gz) = 450e2fb2461b2296fec770ff8fc147ed
+SHA256 (e2fsprogs-1.40.8.tar.gz) = 38df70f8b5ba121b11b02101cc399306a199d3c66c8185d8a2c0d07f5688eead
+SIZE (e2fsprogs-1.40.8.tar.gz) = 4102707
--- e2fsprogs-1.40.8.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080327114121.8E894C88D>