Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sysutils/ntfs2btrfs: new port had been added (+)
Ntfs2btrfs is a tool for in-place conversion of Microsoft's NTFS file system to the open-source file system Btrfs.
- Loading branch information
Alexey Dokuchaev
authored and
Alexey Dokuchaev
committed
Apr 25, 2023
1 parent
002017b
commit 00c9f36
Showing
4 changed files
with
34 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,25 @@ | ||
PORTNAME= ntfs2btrfs | ||
PORTVERSION= 20220812 | ||
CATEGORIES= sysutils | ||
|
||
MAINTAINER= danfe@FreeBSD.org | ||
COMMENT= NTFS to Btrfs in-place conversion utility | ||
WWW= https://github.com/maharmstone/ntfs2btrfs | ||
|
||
LICENSE= GPLv2+ | ||
|
||
BUILD_DEPENDS= ${LOCALBASE}/include/fmt/format.h:devel/libfmt | ||
LIB_DEPENDS= liblzo2.so:archivers/lzo2 libzstd.so:archivers/zstd | ||
|
||
USES= cmake pkgconfig | ||
USE_GITHUB= yes | ||
GH_ACCOUNT= maharmstone | ||
|
||
PLIST_FILES= sbin/${PORTNAME} share/man/man8/${PORTNAME}.8.gz | ||
|
||
post-patch: | ||
# One should not try to mmap(2) disk devices on FreeBSD, it won't work | ||
@${REINPLACE_CMD} -e '3390s,WIN32,_${OPSYS}__,' \ | ||
${WRKSRC}/src/ntfs2btrfs.cpp | ||
|
||
.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 @@ | ||
TIMESTAMP = 1660262820 | ||
SHA256 (maharmstone-ntfs2btrfs-20220812_GH0.tar.gz) = 9ce07535e6191ab45f204a4dd281be4768d7917df4426ee7c71aa9c308a2fe93 | ||
SIZE (maharmstone-ntfs2btrfs-20220812_GH0.tar.gz) = 98059 |
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,5 @@ | ||
Ntfs2btrfs is a tool which does in-place conversion of Microsoft's NTFS | ||
file system to the open-source file system Btrfs, much as btrfs-convert | ||
does for ext2. The original image is saved as a reflink copy at | ||
``image/ntfs.img'', and if you want to keep the conversion you can delete | ||
this to free up space. |