Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sysutils/e2fsprogs: 2/2 add a port for /sbin fsck'ing ext2/ext3/ext4
This is the second half of the e2fsprogs commit to permit having a big hier(7)-clean e2fsprogs port that does not ever reach into /sbin, now called e2fsprogs-core, and this new port that will copy from ${LOCALBASE} to /sbin so that /usr can reside on an ext2/ext3/ext4 file system and still be fsck'd at boot time.
- Loading branch information
Showing
4 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
PORTNAME= e2fsprogs | ||
CATEGORIES= sysutils | ||
PORTVERSION= 1.46.5 | ||
PORTREVISION= 5 | ||
BUILD_DEPENDS= e2fsprogs-core>=${PORTVERSION}:sysutils/e2fsprogs-core | ||
RUN_DEPENDS= ${BUILD_DEPENDS} | ||
DISTFILES= # empty | ||
NO_BUILD= yes | ||
LICENSE= GPLv2+ | ||
USES= cpe | ||
CPE_VENDOR= e2fsprogs_project | ||
|
||
MAINTAINER= mandree@FreeBSD.org | ||
COMMENT= Wrapper to install e2fsprogs into /sbin | ||
|
||
do-install: | ||
${MKDIR} ${STAGEDIR}/sbin | ||
${CP} -p ${LOCALBASE}/sbin/fsck_ext2fs ${STAGEDIR}/sbin | ||
${CP} -p ${LOCALBASE}/sbin/e2fsck ${STAGEDIR}/sbin | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This is a helper package that will copy and register the essential binaries | ||
from e2fsprogs-core to /sbin, so that it is possible to have /usr in an ext2, | ||
ext3, or ext4 file system, and still have a proper fsck in /sbin. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/sbin/e2fsck | ||
/sbin/fsck_ext2fs |