From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 1 06:20:03 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D762316A4CF for ; Mon, 1 Mar 2004 06:20:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD1F643D31 for ; Mon, 1 Mar 2004 06:20:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i21EK3bv073257 for ; Mon, 1 Mar 2004 06:20:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i21EK3jM073250; Mon, 1 Mar 2004 06:20:03 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 1 Mar 2004 06:20:03 -0800 (PST) Resent-Message-Id: <200403011420.i21EK3jM073250@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Andree Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 823BA16A4CE for ; Mon, 1 Mar 2004 06:17:14 -0800 (PST) Received: from mail.dt.e-technik.uni-dortmund.de (mail.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1682543D1D for ; Mon, 1 Mar 2004 06:17:14 -0800 (PST) (envelope-from matthias.andree@gmx.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])3486220CBF for ; Mon, 1 Mar 2004 15:17:12 +0100 (CET) Received: from libertas.emma.line.org (libertas.emma.line.org [192.168.0.2]) by merlin.emma.line.org (Postfix) with ESMTP id 04D86AC31C; Mon, 1 Mar 2004 15:17:09 +0100 (CET) Received: from emma by libertas.emma.line.org with local (Exim 4.30; FreeBSD) id 1AxoEG-000DjG-Gs; Mon, 01 Mar 2004 15:17:08 +0100 Message-Id: Date: Mon, 01 Mar 2004 15:17:08 +0100 From: Matthias Andree Sender: Matthias Andree To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/63586: [MAINTAINER] sysutils/e2fsprogs: avoid double packaging of large file X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 14:20:04 -0000 >Number: 63586 >Category: ports >Synopsis: [MAINTAINER] sysutils/e2fsprogs: avoid double packaging of large file >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: Mon Mar 01 06:20:03 PST 2004 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD libertas.emma.line.org 4.9-STABLE FreeBSD 4.9-STABLE #85: Sun Feb 29 18:27:00 CET 2004 >Description: This patch stops the post-install phase from breaking a hard link that led to a double packaging of the static e2fsck executable under different names and caused waste of space (read: bloat) in the binary package. The shared e2fsck executable is no longer installed or packaged, saving another 100+ kByte (uncompressed). User-visible change: e2fsck.static is gone, e2fsck is now the static version, the pkg-message has tracked this change and been adjusted accordingly. The patch cuts the FreeBSD-4 i386 binary package size from 2,200 to 1,316 kB without any loss in functionality. Savings on other architectures or versions have not been researched. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- e2fsprogs-1.35_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/sysutils/e2fsprogs/Makefile /root/e2fsprogs/Makefile --- /usr/ports/sysutils/e2fsprogs/Makefile Mon Mar 1 13:16:23 2004 +++ /root/e2fsprogs/Makefile Mon Mar 1 14:07:03 2004 @@ -7,6 +7,7 @@ PORTNAME= e2fsprogs PORTVERSION= 1.35 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -88,8 +89,6 @@ ${RM} ${PREFIX}/sbin/filefrag ${RM} ${PREFIX}/man/man8/filefrag.8 ${INSTALL_PROGRAM} ${WRKSRC}/fsck_ext2fs ${PREFIX}/sbin/ - ${INSTALL_PROGRAM} ${WRKSRC}/e2fsck/e2fsck.shared ${PREFIX}/sbin/e2fsck - ${INSTALL_PROGRAM} ${WRKSRC}/e2fsck/e2fsck.static ${PREFIX}/sbin/e2fsck.static @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} diff -ruN --exclude=CVS /usr/ports/sysutils/e2fsprogs/files/pkg-message.in /root/e2fsprogs/files/pkg-message.in --- /usr/ports/sysutils/e2fsprogs/files/pkg-message.in Sat Feb 28 17:57:09 2004 +++ /root/e2fsprogs/files/pkg-message.in Mon Mar 1 14:07:12 2004 @@ -8,7 +8,7 @@ ln -f %%PREFIX%%/sbin/fsck_ext2fs /sbin/ 2>/dev/null \ || install -m755 %%PREFIX%%/sbin/fsck_ext2fs /sbin/ -ln -f %%PREFIX%%/sbin/e2fsck.static /sbin/e2fsck 2>/dev/null \ - || install -m755 %%PREFIX%%/sbin/e2fsck.static /sbin/e2fsck +ln -f %%PREFIX%%/sbin/e2fsck /sbin/e2fsck 2>/dev/null \ + || install -m755 %%PREFIX%%/sbin/e2fsck /sbin/e2fsck IMPORTANT: you also need to repeat the above steps after a port upgrade! diff -ruN --exclude=CVS /usr/ports/sysutils/e2fsprogs/pkg-plist /root/e2fsprogs/pkg-plist --- /usr/ports/sysutils/e2fsprogs/pkg-plist Sat Feb 28 17:57:09 2004 +++ /root/e2fsprogs/pkg-plist Mon Mar 1 14:58:30 2004 @@ -48,7 +48,6 @@ sbin/debugfs sbin/dumpe2fs sbin/e2fsck -sbin/e2fsck.static sbin/e2image sbin/e2label sbin/findfs --- e2fsprogs-1.35_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: