mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
pam_zfscrypt: patch for newer zfs
This commit is contained in:
parent
0fb7e2528e
commit
980a8300cc
1 changed files with 23 additions and 0 deletions
23
srcpkgs/pam_zfscrypt/zfs-encrypt-enum.patch
Normal file
23
srcpkgs/pam_zfscrypt/zfs-encrypt-enum.patch
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
Index: pam_zfscrypt-0.2.0/include/zfscrypt_dataset.h
|
||||||
|
===================================================================
|
||||||
|
--- pam_zfscrypt-0.2.0.orig/include/zfscrypt_dataset.h
|
||||||
|
+++ pam_zfscrypt-0.2.0/include/zfscrypt_dataset.h
|
||||||
|
@@ -71,18 +71,3 @@ zfscrypt_err_t zfscrypt_dataset_iter(zfs
|
||||||
|
// private constants
|
||||||
|
|
||||||
|
extern const char ZFSCRYPT_USER_PROPERTY[];
|
||||||
|
-
|
||||||
|
-// FIXME Copied from /usr/include/libzfs/sys/zio.h because including <sys/zio.h> results in
|
||||||
|
-// compiler error about unknown type rlim64_t.
|
||||||
|
-enum zio_encrypt {
|
||||||
|
- ZIO_CRYPT_INHERIT = 0,
|
||||||
|
- ZIO_CRYPT_ON,
|
||||||
|
- ZIO_CRYPT_OFF,
|
||||||
|
- ZIO_CRYPT_AES_128_CCM,
|
||||||
|
- ZIO_CRYPT_AES_192_CCM,
|
||||||
|
- ZIO_CRYPT_AES_256_CCM,
|
||||||
|
- ZIO_CRYPT_AES_128_GCM,
|
||||||
|
- ZIO_CRYPT_AES_192_GCM,
|
||||||
|
- ZIO_CRYPT_AES_256_GCM,
|
||||||
|
- ZIO_CRYPT_FUNCTIONS
|
||||||
|
-};
|
Loading…
Add table
Reference in a new issue