Amit Kulkarni <[email protected]> writes:
> On Fri, 14 Jun 2013 15:52:40 +0300
> Paul Irofti <[email protected]> wrote:
>
>> Here's a first revision of ntfs-3g. Read write works for me (tm).
>>
>> There are a plethora of things you'll need to do before being able to
>> use it thought. Here goes:
>>
>> 1. In /usr/src/sys/conf/GENERIC add
>> option FUSE
>> pseduo-device fuse 10
>>
>> 2. Build a new kernel and boot with it.
>>
>> 3. In /usr/src/lib/libfuse:
>> - patch with:
>> http://www.pmbsd.org/patch-default-values
>> http://www.pmbsd.org/patch-fuse-get-context
>> http://www.pmbsd.org/patch-fuse-version
>>
>> - run make depend && make includes && make && make install
>>
>> 4. Build and install the port
>>
>> 5. # ntfs-3g /dev/sdXi /mnt
>>
>> 6. ...
>>
>> 7. Profit!
>>
>>
>> Now the patches for libfuse should go in pretty soon.
>> The kernel enabling bits, I don't know when.
>>
>> There are probably a lot of bugs that will destroy your ntfs
>> disk/partition/data. So don't come running back in tears.
>>
>> Test reports, patches and constructive comments welcomed!
>>
>> Thanks to syl@ for making all of this possible!
>
> When i removed e2fs-uuid from WANTLIB then only the port compiles. The
> problem is that WANTLIB is checked first before the pre-configure line
> executes... Is this deliberately not included in the package builds
> because it is new?
It depends on fuse, which hasn't been hooked yet - not for 5.4 it seems.
I guess that's the reason why it doesn't appear when searching for
e2fs-uuid in sqlports.
> thanks
Fixup for this port, while here.
ok?
/me reboots to test that shiny fuse stuff.
Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/ntfs-3g/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile 15 Jun 2013 14:25:28 -0000 1.2
+++ Makefile 15 Jul 2013 00:30:34 -0000
@@ -7,7 +7,7 @@ DISTNAME = ntfs-3g_ntfsprogs-${V}
PKGNAME = ntfs_3g-${V}
SHARED_LIBS += ntfs-3g 0.0 # .84
CATEGORIES = sysutils
-REVISION = 0
+REVISION = 1
HOMEPAGE = http://www.tuxera.com/
@@ -16,7 +16,7 @@ MAINTAINER = Paul Irofti <pirofti@openbs
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
-WANTLIB += c e2fs-uuid fuse
+WANTLIB += c uuid fuse
MASTER_SITES = ${HOMEPAGE}/opensource/
EXTRACT_SUFX = .tgz
@@ -29,10 +29,6 @@ CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
--disable-mtab \
--disable-ldconfig
-
-# uuid_generate(): properly pick up uuid from e2fsprogs instead of ossp-uuid
-pre-configure:
- perl -pi -e "s,-luuid,-le2fs-uuid,g" ${WRKSRC}/configure \
post-install:
rmdir ${WRKINST}/lib