From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 14 11:50:03 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0604106564A for ; Thu, 14 Apr 2011 11:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 88AF78FC0A for ; Thu, 14 Apr 2011 11:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3EBo3BO004963 for ; Thu, 14 Apr 2011 11:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3EBo3aJ004962; Thu, 14 Apr 2011 11:50:03 GMT (envelope-from gnats) Date: Thu, 14 Apr 2011 11:50:03 GMT Message-Id: <201104141150.p3EBo3aJ004962@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Gleb Kurtsou Cc: Subject: Re: ports/156002: New port: sysutils/pefs-kmod kernel level stacked cryptographic filesystem X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gleb Kurtsou List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 11:50:03 -0000 The following reply was made to PR ports/156002; it has been noted by GNATS. From: Gleb Kurtsou To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/156002: New port: sysutils/pefs-kmod kernel level stacked cryptographic filesystem Date: Thu, 14 Apr 2011 14:46:47 +0300 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Please ignore previous patch. During review flow in implementation was found and decision was made not to preserve backward compatibility. There was no port so number of people affected should be low. Original distfiles were deleted. Commit log: https://github.com/glk/pefs/commits/master New port attached. Thanks, Gleb. --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="pefs-kmod.shar.txt" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pefs-kmod # pefs-kmod/pkg-descr # pefs-kmod/pkg-plist # pefs-kmod/distinfo # pefs-kmod/files # pefs-kmod/files/patch-Makefile # pefs-kmod/files/patch-pefs_aesni.h # pefs-kmod/Makefile # echo c - pefs-kmod mkdir -p pefs-kmod > /dev/null 2>&1 echo x - pefs-kmod/pkg-descr sed 's/^X//' >pefs-kmod/pkg-descr << '6b6f90dc12fb3f8310b003a49f27e346' XPEFS is a kernel level stacked cryptographic filesystem for FreeBSD. X XKey features: X* Transparently runs on top of existing file systems X* Random per file tweak value for encryption X* Stores metadata only in encrypted file name X* Arbitrary number of keys per file system, mixing keys in same X directory and key chains X* Modern cryptographic algorithms: AES and Camellia in XTS mode, X PKCS#5v2 and HKDF for key generation. X XWWW: http://github.com/glk/pefs XWWW: http://wiki.freebsd.org/PEFS 6b6f90dc12fb3f8310b003a49f27e346 echo x - pefs-kmod/pkg-plist sed 's/^X//' >pefs-kmod/pkg-plist << '4be45292eb782e8f747f3b21c16d2f1f' Xsbin/pefs X@cwd %%KMODDIR%% Xpefs.ko X@exec kldxref %%KMODDIR%% X@unexec kldxref %%KMODDIR%% 4be45292eb782e8f747f3b21c16d2f1f echo x - pefs-kmod/distinfo sed 's/^X//' >pefs-kmod/distinfo << '2b55b17d92cf5425f3364ca3afd3307d' XSHA256 (pefs-2011-04-14.tar.gz) = b0ce87a39a7adf54e8c8bc803ac0e2d799f5d8e3f873d10143da5aab4a4d87ae XSIZE (pefs-2011-04-14.tar.gz) = 87193 2b55b17d92cf5425f3364ca3afd3307d echo c - pefs-kmod/files mkdir -p pefs-kmod/files > /dev/null 2>&1 echo x - pefs-kmod/files/patch-Makefile sed 's/^X//' >pefs-kmod/files/patch-Makefile << '7ffac2a1cc1a1f7799b68f51157d90ea' X--- sys/modules/pefs/Makefile.orig X+++ sys/modules/pefs/Makefile X@@ -8,12 +8,12 @@ X pefs_dircache.c \ X pefs_xts.c vmac.c X X-.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" X+.if defined(PEFS_AESNI) X SRCS+= pefs_aesni.c X CFLAGS+= -DPEFS_AESNI X .endif X X-DEBUG_FLAGS+= -g X+#DEBUG_FLAGS+= -g X #DEBUG_FLAGS+= -DPEFS_DEBUG X #DEBUG_FLAGS+= -DPEFS_DEBUG_EXTRA X 7ffac2a1cc1a1f7799b68f51157d90ea echo x - pefs-kmod/files/patch-pefs_aesni.h sed 's/^X//' >pefs-kmod/files/patch-pefs_aesni.h << 'af52e2322794c713d19af3de7843808a' X--- sys/fs/pefs/pefs_aesni.h.orig X+++ sys/fs/pefs/pefs_aesni.h X@@ -26,6 +26,8 @@ X * $FreeBSD$ X */ X X+#ifdef PEFS_AESNI X+ X #include X X struct pefs_aesni_ctx { X@@ -41,3 +43,5 @@ struct pefs_aesni_ses { X }; X X algop_init_t pefs_aesni_init; X+ X+#endif af52e2322794c713d19af3de7843808a echo x - pefs-kmod/Makefile sed 's/^X//' >pefs-kmod/Makefile << '2f1117b77e2aef46ec7a80c1c2199314' X# New ports collection makefile for: pefs-kmod X# Date created: 26 January 2011 X# Whom: Gleb Kurtsou X# X# $FreeBSD$ X# X XPORTNAME= pefs XDISTVERSION= 2011-04-14 XCATEGORIES= sysutils kld XMASTER_SITES= https://github.com/downloads/glk/pefs/ XPKGNAMESUFFIX= -kmod X XMAINTAINER= gk@freebsd.org XCOMMENT= PEFS kernel level stacked cryptographic filesystem X XLICENSE= BSD X XFETCH_ARGS= -Fpr # work around 302 redirect at guthub X XKMODDIR?= /boot/modules XPLIST_SUB= KMODDIR=${KMODDIR} XMAKE_ENV= BINDIR="${PREFIX}/sbin" MANDIR="${MANPREFIX}/man/man" \ X NO_MANCOMPRESS= \ X KMODDIR="${KMODDIR}" SYSDIR="${SRC_BASE}/sys" \ X XMAN8= pefs.8 X XONLY_FOR_ARCHS= i386 amd64 # not tested on other archs X X.include X X.if ${OSVERSION} < 800000 XBROKEN= requires fairly recent FreeBSD-STABLE, or FreeBSD-CURRENT X.endif X X.include 2f1117b77e2aef46ec7a80c1c2199314 exit --ReaqsoxgOBHFXBhH--