aboutsummaryrefslogtreecommitdiff
path: root/security/tpm-tools/Makefile
blob: 696b4608ba5440ea7deb993609553fbdad351b3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:	tpm-tools
# Date created:				18 Sep 2007
# Whom:					Sebastian Schuetz <sschuetz@fhm.edu>
#
# $FreeBSD$
#

PORTNAME=	tpm-tools
PORTVERSION=	1.3.5
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	SF/trousers/${PORTNAME}/${PORTVERSION}

MAINTAINER=	nork@freebsd.org
COMMENT=	Provides a basic set of TPM tools

LIB_DEPENDS=	tspi.2:${PORTSDIR}/security/trousers
BUILD_DEPENDS=	pkcsconf:${PORTSDIR}/security/opencryptoki
RUN_DEPENDS=	${LOCALBASE}/sbin/tcsd:${PORTSDIR}/security/trousers
RUN_DEPENDS+=	${LOCALBASE}/lib/pkcs11/libopencryptoki.so:${PORTSDIR}/security/opencryptoki

USE_GMAKE=	YES
USE_ICONV=	YES
USE_GETTEXT=	YES
USE_LDCONFIG=	YES
USE_AUTOTOOLS=	autoconf:268
GNU_CONFIGURE=	YES
CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib -lintl -liconv"
MAKE_JOBS_SAFE=	YES

LICENSE=	CPL
LICENSE_NAME=	Common Public License
LICENSE_FILE=	${WRKSRC}/LICENSE
LICENSE_PERMS=	${_LICENSE_PERMS_DEFAULT}

MAN1=		tpm_sealdata.1 tpm_version.1				\
		tpmtoken_import.1 tpmtoken_init.1 tpmtoken_objects.1	\
		tpmtoken_protect.1 tpmtoken_setpasswd.1

MAN3=		tpmUnsealFile.3 tpmUnsealShred.3 tpmUnsealStrerror.3

MAN8=		tpm_changeownerauth.8 tpm_clear.8 tpm_createek.8	\
		tpm_getpubek.8 tpm_resetdalock.8 tpm_restrictpubek.8	\
		tpm_revokeek.8 tpm_selftest.8 tpm_setactive.8		\
		tpm_setclearable.8 tpm_setenable.8 tpm_setoperatorauth.8 \
		tpm_setownable.8 tpm_setpresence.8 tpm_takeownership.8

.include <bsd.port.mk>