ports/sysutils/pefs-kmod/files/patch-Makefile
Sofian Brabez 48135da34d PEFS is a kernel level stacked cryptographic filesystem for FreeBSD.
Key features:
* Transparently runs on top of existing file systems
* Random per file tweak value for encryption
* Stores metadata only in encrypted file name
* Arbitrary number of keys per file system, mixing keys in same
  directory and key chains
* Modern cryptographic algorithms: AES and Camellia in XTS mode,
  PKCS#5v2 and HKDF for key generation.

WWW: http://github.com/glk/pefs
WWW: http://wiki.freebsd.org/PEFS

PR:		ports/156002
Submitted by:	Gleb Kurtsou <gk@freebsd.org>
Approved by:	jadawin@ (mentor)
2011-09-01 14:21:11 +00:00

17 lines
374 B
Text

--- sys/modules/pefs/Makefile.orig
+++ sys/modules/pefs/Makefile
@@ -8,12 +8,12 @@
pefs_dircache.c \
pefs_xts.c vmac.c
-.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
+.if defined(PEFS_AESNI)
SRCS+= pefs_aesni.c
CFLAGS+= -DPEFS_AESNI
.endif
-DEBUG_FLAGS+= -g
+#DEBUG_FLAGS+= -g
#DEBUG_FLAGS+= -DPEFS_DEBUG
#DEBUG_FLAGS+= -DPEFS_DEBUG_EXTRA