ports/187620: [patch] sysutils/pefs-kmod: AESNI support is missing

Lawrence The Dreamer Chen beastie at tardisi.com
Sat Mar 15 21:40:01 UTC 2014


>Number:         187620
>Category:       ports
>Synopsis:       [patch] sysutils/pefs-kmod: AESNI support is missing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 15 21:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Lawrence "The Dreamer" Chen
>Release:        FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD zen.lhaven.homeip.net 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

	FreeBSD mew.cns.ksu.edu 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	
	AESNI support is missing from pefs-kmod.  Examining the source there's
	is is controlled by PEFS_AESNI, but there's no option to turn it on.
>How-To-Repeat:
	
>Fix:

	
	Add option to turn on AESNI support.

	I built this port on machine with AESNI and one without AESNI, both
	run the same release of FreeBSD.  No problems using it on both,
	just get different kernel messages when it loads.

--- patch begins here ---
--- Makefile.orig	2014-03-13 12:36:48.957873074 -0500
+++ Makefile	2014-03-13 12:35:21.828874302 -0500
@@ -17,6 +17,11 @@
 
 ONLY_FOR_ARCHS=	i386 amd64	# not tested on other archs
 
+OPTIONS_DEFINE=	AESNI
+AESNI_DESC=	Use AES accelerator on (some) Intel CPUs
+
+AESNI_MAKE_ENV=	PEFS_AESNI=yes
+
 USES=		kmod uidfix
 
 .include <bsd.port.mk>
--- patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list