From matthias.andree@gmx.de  Sat Feb  9 10:10:12 2008
Return-Path: <matthias.andree@gmx.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9ED7316A421
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  9 Feb 2008 10:10:12 +0000 (UTC)
	(envelope-from matthias.andree@gmx.de)
Received: from m2a2.dyndns.org (f048234037.adsl.alicedsl.de [78.48.234.37])
	by mx1.freebsd.org (Postfix) with ESMTP id 4F74813C45E
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  9 Feb 2008 10:10:11 +0000 (UTC)
	(envelope-from matthias.andree@gmx.de)
Received: by merlin.emma.line.org (Postfix, from userid 500)
	id 52C1CC6BD; Sat,  9 Feb 2008 11:10:10 +0100 (CET)
Message-Id: <20080209101010.52C1CC6BD@merlin.emma.line.org>
Date: Sat,  9 Feb 2008 11:10:10 +0100 (CET)
From: Matthias Andree <matthias.andree@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] sysutils/e2fsprogs: fix e2fsck+NLS for early boot
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         120460
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/e2fsprogs: fix e2fsck+NLS for early boot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 09 10:20:00 UTC 2008
>Closed-Date:    Sun Feb 10 13:56:48 UTC 2008
>Last-Modified:  Sun Feb 10 13:56:48 UTC 2008
>Originator:     Matthias Andree
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD merlin.emma.line.org 6.3-STABLE FreeBSD 6.3-STABLE #21: Mon Feb  4 16:36:03 CET
>Description:
- if NLS is enabled, link libintl/libiconv dependencies statically from
  $LOCALBASE so that e2fsck can be used again for /etc/fstab-based file system
  checking, i. e. before /usr (or other) are mounted.
- link /sbin/fsck_ext2fs dynamically against libc.so

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

--- e2fsprogs-1.40.5_2.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-02-05 19:40:51.000000000 +0100
+++ /usr/home/emma/ports/sysutils/e2fsprogs/Makefile	2008-02-09 10:58:06.000000000 +0100
@@ -7,7 +7,7 @@
 
 PORTNAME=	e2fsprogs
 PORTVERSION=	1.40.5
-PORTREVISION?=	1
+PORTREVISION?=	2
 CATEGORIES?=	sysutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -52,8 +52,8 @@
 .else
 USE_GETTEXT=	yes
 MAKE_ARGS+=	STATIC_LIBS="../lib/libext2fs.a ../lib/libcom_err.a \
-		../lib/libblkid.a  ../lib/libuuid.a \
-		${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a"
+		../lib/libblkid.a  ../lib/libuuid.a" \
+		LIBINTL="${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a"
 PLIST_SUB=	NLS=""
 .endif
 
@@ -69,7 +69,7 @@
 .if !defined(WITHOUT_NLS)
 	cd ${WRKSRC}/po && ${MAKE} update-gmo
 .endif
-	${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -s -static ${LIBS} \
+	${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -s ${LIBS} \
 		-o ${WRKSRC}/fsck_ext2fs ${FILESDIR}/fsck_ext2fs.c
 	cd ${WRKSRC}/tests && ${MAKE} check
 # While the ${MAKE} check can take a minute on an end user's system, the
--- e2fsprogs-1.40.5_2.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sat Feb 9 10:36:16 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120460 

From: matthias.andree@gmx.de (Matthias Andree)
To: bug-followup@FreeBSD.org,matthias.andree@gmx.de
Cc:  
Subject: Re: ports/120460: [MAINTAINER] sysutils/e2fsprogs: fix e2fsck NLS for early boot
Date: Sun, 10 Feb 2008 14:46:16 +0100 (CET)

 please close - superseded by ports/120500
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Feb 10 13:56:47 UTC 2008 
State-Changed-Why:  
new version is out. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120460 
>Unformatted:
