summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-03-01 15:13:28 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-03-01 15:13:28 +0000
commit191a89c3667e5357b070db0799597bef58b53b64 (patch)
tree21e7e18645cd4590b11dd88edfeff8a268d57ee3
parent- Update to version 1.3.0 (diff)
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