filesystems/libfsntfs e.20231125_1 MidnightBSD
Library and tools to access the New Technology File System (NTFS)
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
9acba374f4- License
- lgpl3+
- Categories
- filesystems, devel
Description
Library and tools to access the New Technology File System (NTFS)
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | filesystems/libfsntfs | e.20231125_1 |
| FreeBSD | filesystems/libfsntfs | e.20251028 |
| OpenBSD | sysutils/libyal/libfsntfs | 20260727 |
| DragonFly | filesystems/libfsntfs | e.20240501 |
| HardenedBSD | filesystems/libfsntfs | e.20251028 |
| GhostBSD | filesystems/libfsntfs | e.20251028 |
Install
Binary package:
mport install libfsntfs
From mports:
cd /usr/mports/filesystems/libfsntfs && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libfsntfs>0:filesystems/libfsntfs
LIB_DEPENDS= libfsntfs.so:filesystems/libfsntfs
Dependencies
As this port's Makefile names them.
Library 1
libfwnt.so: devel/libfwnt
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
Options name: filesystems_libfsntfs
| Option | Default | Description |
|---|---|---|
| NLS | off |
- USES
- cpe libtool fuse pathfix pkgconfig python
- Service scripts
- none
Files
Manual pages 2
- fsntfsinfo(1)
- libfsntfs(3)
pkg-plist 18
- bin/fsntfsinfo
- bin/fsntfsmount
- include/libfsntfs.h
- include/libfsntfs/codepage.h
- include/libfsntfs/definitions.h
- include/libfsntfs/error.h
- include/libfsntfs/extern.h
- include/libfsntfs/features.h
- include/libfsntfs/types.h
- lib/libfsntfs.a
- lib/libfsntfs.so
- lib/libfsntfs.so.1
- lib/libfsntfs.so.1.0.0
- %%PYTHON_SITELIBDIR%%/pyfsntfs.a
- %%PYTHON_SITELIBDIR%%/pyfsntfs.so
- libdata/pkgconfig/libfsntfs.pc
- share/man/man1/fsntfsinfo.1.gz
- share/man/man3/libfsntfs.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libfsntfs-experimental-20231125.tar.gz | 2.104151e+06 | c180863cc7aaacf950251e4758a0c4c8a30c100b6b96b63884b9d6717f3975a6 |
Master sites 2
- https://github.com/libyal/libfsntfs/releases/download/${PORTVERSION:E}/
- FREEBSD_LOCAL/antoine
Commit history 2
| Date | Commit | Credits | Log message |
|---|---|---|---|
9acba374f4 |
Lucas Holt | filesystems/libfsntfs: set pyexecdir for Python 3.12 (#1603) Fixes the Magus failure in run 648, port ID 2265666:
`libtool: error: cannot install 'pyfsntfs.la' to a directory not ending
in /usr/local/`
## Cause
Upstream's `m4/python.m4` works out `pyexecdir` by running `import
distutils.sysconfig`. Python 3.12 removed `distutils`, and the error is
thrown away. On a builder without setuptools' distutils stand-in
(Magus), `pyexecdir` becomes `${exec_prefix}/`. `pyfsntfs.la` is a
`pyexec_LTLIBRARIES`, so the earlier `--with-pythondir` fix (#1550)
didn't cover it. That fix passed locally only because setuptools was
installed.
## Fix
`MAKE_ARGS= pyexecdir=${PYTHON_SITELIBDIR}`. Fake also passes
`MAKE_ARGS`, so this works whatever configure detected.
## Testing
- I set the generated `pyfsntfs/Makefile` to Magus's broken `pyexecdir =
… |
|
c4ff73d959 |
Lucas Holt | filesystems/libfsntfs: set Python install directory (#1550) Fix Magus run 648 port ID 2265666. Pass PYTHON_SITELIBDIR explicitly so
pyfsntfs installs under site-packages rather than the prefix root.
Validation: patch, build, fake, and package completed; git diff --check
and portlint passed without fatal errors. Analyzer assessment:
supported.
## Summary by Sourcery
Configure libfsntfs to install its Python bindings in the standard
Python site-packages directory.
Bug Fixes:
- Install the pyfsntfs Python module under the configured site-packages
directory instead of the prefix root.
Build:
- Pass the Python site-library directory to the libfsntfs configure
step.
Signed-off-by: Lucas Holt <[email protected]> |