import libbde: access the BitLocker Drive Encryption encrypted volumes.

ok benoit@.
This commit is contained in:
rpointel 2017-02-21 10:38:42 +00:00
parent 5a0d4a9380
commit 74d20977a2
4 changed files with 69 additions and 0 deletions

44
security/libbde/Makefile Normal file
View File

@ -0,0 +1,44 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/02/21 10:38:42 rpointel Exp $
COMMENT = access the BitLocker Drive Encryption encrypted volumes
VERSION = 20160731
DISTNAME = libbde-alpha-${VERSION}
PKGNAME = libbde-${VERSION}
SHARED_LIBS += bde 0.0 # 1.0
CATEGORIES = security
HOMEPAGE = https://github.com/libyal/libbde/
MASTER_SITES = https://github.com/libyal/libbde/releases/download/${VERSION}/
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# LGPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += bfio c crypto fuse m pthread util ${MODPY_WANTLIB}
CONFIGURE_STYLE = simple
CONFIGURE_ARGS += --mandir=${PREFIX}/man \
--enable-python \
--with-pyprefix=${LOCALBASE}
WRKDIST = ${WRKDIR}/${PKGNAME}
MODULES = devel/gettext \
lang/python
LIB_DEPENDS += devel/libbfio
TEST_DEPENDS += shells/bash
pre-test:
sed -i s,#!/bin/bash,#!/${LOCALBASE}/bin/bash, ${WRKSRC}/tests/test_*.sh
do-test:
cd ${WRKSRC}/tests/ && make check-TESTS
.include <bsd.port.mk>

2
security/libbde/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (libbde-alpha-20160731.tar.gz) = fX3NF635lB6ciuVsp7a5OND/K1xnKya0QeY6sAhKzJU=
SIZE (libbde-alpha-20160731.tar.gz) = 1653822

View File

@ -0,0 +1,2 @@
Library and tools to access the BitLocker Drive Encryption (BDE) encrypted
volumes.

21
security/libbde/pkg/PLIST Normal file
View File

@ -0,0 +1,21 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/02/21 10:38:42 rpointel Exp $
@bin bin/bdeinfo
@bin bin/bdemount
include/libbde/
include/libbde.h
include/libbde/codepage.h
include/libbde/definitions.h
include/libbde/error.h
include/libbde/extern.h
include/libbde/features.h
include/libbde/types.h
lib/libbde.a
lib/libbde.la
@lib lib/libbde.so.${LIBbde_VERSION}
lib/pkgconfig/libbde.pc
lib/python${MODPY_VERSION}/site-packages/pybde.a
lib/python${MODPY_VERSION}/site-packages/pybde.la
lib/python${MODPY_VERSION}/site-packages/pybde.so
@man man/man1/bdeinfo.1
@man man/man1/bdemount.1
@man man/man3/libbde.3