aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-03-01 23:13:28 +0800
committerpav <pav@FreeBSD.org>2004-03-01 23:13:28 +0800
commit9e354c854c2228608a1a0962fcb06dc7b0f73d32 (patch)
treebab17b9576c961f1acb69796c0828626fb41bfb6
parent91604e14f6e93e27c13c5d75e61ef2344698d577 (diff)
downloadfreebsd-ports-gnome-9e354c854c2228608a1a0962fcb06dc7b0f73d32.tar.gz
freebsd-ports-gnome-9e354c854c2228608a1a0962fcb06dc7b0f73d32.tar.zst
freebsd-ports-gnome-9e354c854c2228608a1a0962fcb06dc7b0f73d32.zip
Stop breaking a hard link that led to a double packaging of the static e2fsck
executable under different names and caused waste of space 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. PR: ports/63586 Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
-rw-r--r--sysutils/e2fsprogs/Makefile3
-rw-r--r--sysutils/e2fsprogs/files/pkg-message.in4
-rw-r--r--sysutils/e2fsprogs/pkg-plist1
3 files changed, 3 insertions, 5 deletions
diff --git a/sysutils/e2fsprogs/Makefile b/sysutils/e2fsprogs/Makefile
index db11ae25712e..3f95793254d1 100644
--- a/sysutils/e2fsprogs/Makefile
+++ b/sysutils/e2fsprogs/Makefile
@@ -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 @@ post-install:
${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 --git a/sysutils/e2fsprogs/files/pkg-message.in b/sysutils/e2fsprogs/files/pkg-message.in
index dcec05fb99e1..47aa66282add 100644
--- a/sysutils/e2fsprogs/files/pkg-message.in
+++ b/sysutils/e2fsprogs/files/pkg-message.in
@@ -8,7 +8,7 @@ create links for the fsck utilities installed by this port in /sbin, e.g.
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 --git a/sysutils/e2fsprogs/pkg-plist b/sysutils/e2fsprogs/pkg-plist
index 7afd187ed40e..492e41e0f064 100644
--- a/sysutils/e2fsprogs/pkg-plist
+++ b/sysutils/e2fsprogs/pkg-plist
@@ -48,7 +48,6 @@ sbin/blkid
sbin/debugfs
sbin/dumpe2fs
sbin/e2fsck
-sbin/e2fsck.static
sbin/e2image
sbin/e2label
sbin/findfs