ccdcbf6ede
PR: 217098 Submitted by: Gleb Kurtsou <gleb.kurtsou@gmail.com>
46 lines
915 B
Makefile
46 lines
915 B
Makefile
# Created by: Gleb Kurtsou <gleb@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pefs
|
|
DISTVERSION= 2017-02-19
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= LOCAL/gleb
|
|
PKGNAMESUFFIX= -kmod
|
|
|
|
MAINTAINER= gleb@FreeBSD.org
|
|
COMMENT= PEFS kernel level stacked cryptographic filesystem
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
MAKE_JOBS_UNSAFE=yes
|
|
MAKE_ENV= BINDIR="${PREFIX}/sbin" MANDIR="${MANPREFIX}/man/man" \
|
|
NO_MANCOMPRESS=
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64 armv6
|
|
ONLY_FOR_ARCHS_REASON= Untested on any other arch.
|
|
|
|
USES= kmod uidfix
|
|
|
|
OPTIONS_DEFINE= AESNI
|
|
OPTIONS_DEFAULT=
|
|
AESNI_DESC= Enable AES-NI hardware acceleration
|
|
|
|
PLIST_FILES= sbin/pefs \
|
|
lib/pam_pefs.so \
|
|
man/man8/pam_pefs.8.gz \
|
|
man/man8/pefs.8.gz \
|
|
${KMODDIR}/pefs.ko
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MAESNI}
|
|
MAKE_ENV+= PEFS_AESNI=yes
|
|
.endif
|
|
|
|
.if ${OSVERSION} >= 1100117
|
|
PLIST_FILES+= lib/pam_pefs.so.6
|
|
.else
|
|
PLIST_FILES+= lib/pam_pefs.so.5
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|