forked from openzfs/zfs
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port libzfsacl and libsunacl from samba
- Add python packaging bits to build and install the extension - Package libzfsacl in python3-libzfsacl-VER-ARCH.deb for ALIEN converted Debian packaging - Package libzfsacl in openzfs-zfs-libzfsacl_VER_ARCH.deb for native Debian packaging - Fix all checkstyle warnings and errors - Builds on both FreeBSD and Linux Signed-off-by: Umer Saleem <[email protected]>
- Loading branch information
1 parent
8275c98
commit 57292a3
Showing
17 changed files
with
3,921 additions
and
4 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
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 @@ | ||
usr/lib/python3/dist-packages/libzfsacl-*.egg-info | ||
usr/lib/python3/dist-packages/libzfsacl.cpython-*.so |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
usr/lib/python3* | ||
usr/lib/python3/dist-packages/libzfs_core | ||
usr/lib/python3/dist-packages/pyzfs-*.egg-info |
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
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 @@ | ||
build | ||
libzfsacl.egg-info | ||
setup.py |
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 @@ | ||
dist_noinst_DATA += \ | ||
%D%/sunacl.h \ | ||
%D%/libzfsacl.h \ | ||
%D%/libpyzfsacl.c \ | ||
%D%/libsunacl.c \ | ||
%D%/libzfsacl_impl_freebsd.c \ | ||
%D%/libzfsacl_impl_linux.c | ||
|
||
SUBSTFILES += %D%/setup.py | ||
|
||
ALL_LOCAL += libzfsacl-all-local | ||
libzfsacl-all-local: %D%/setup.py | ||
cd %D% && $(PYTHON) setup.py egg_info -e . build | ||
|
||
INSTALL_DATA_HOOKS += libzfsacl-install-data-hook | ||
libzfsacl-install-data-hook: | ||
cd %D% && $(PYTHON) setup.py egg_info -e . install \ | ||
--prefix $(prefix) \ | ||
--root $(DESTDIR)/ \ | ||
--install-lib $(pythonsitedir) \ | ||
--verbose | ||
|
||
CLEAN_LOCAL += libzfsacl-clean-local | ||
libzfsacl-clean-local: | ||
-$(RM) -r %D%/build/ |
Oops, something went wrong.