1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Libp11 is a library implementing a small layer

on top of PKCS#11 API to make using PKCS#11
implementations easier.

WWW:	http://www.opensc-project.org/libp11/
This commit is contained in:
Alex Dupre 2006-06-12 16:58:38 +00:00
parent 7fdb2af1ba
commit a8e121cb3c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165244
5 changed files with 66 additions and 0 deletions

View File

@ -218,6 +218,7 @@
SUBDIR += libmcrypt SUBDIR += libmcrypt
SUBDIR += libntlm SUBDIR += libntlm
SUBDIR += libotr SUBDIR += libotr
SUBDIR += libp11
SUBDIR += libparanoia SUBDIR += libparanoia
SUBDIR += libprelude SUBDIR += libprelude
SUBDIR += libpreludedb SUBDIR += libpreludedb

42
security/libp11/Makefile Normal file
View File

@ -0,0 +1,42 @@
# New ports collection makefile for: libp11
# Date created: 1 Jun 2006
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libp11
PORTVERSION= 0.2.2
CATEGORIES= security devel
MASTER_SITES= http://www.opensc-project.org/files/${PORTNAME}/
MAINTAINER= ale@FreeBSD.org
COMMENT= A small layer on top of PKCS#11 API
USE_AUTOTOOLS= libltdl:15
USE_OPENSSL= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack pkgconfig
INSTALLS_SHLIB= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}" \
OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lssl"
DOC_FILES= README *.sh *.xsl *.css *.html api
PORTDOCS= *
post-install:
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/doc && ${CP} -R ${DOC_FILES} ${DOCSDIR})
.endif
.include <bsd.port.mk>

3
security/libp11/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (libp11-0.2.2.tar.gz) = b8655b2065575eb1b96a9c924c234c63
SHA256 (libp11-0.2.2.tar.gz) = 6593e76b815393f2a3896e163d1c23a7e0bd3eb1fabaf9795ba1bbbc4c500630
SIZE (libp11-0.2.2.tar.gz) = 420870

View File

@ -0,0 +1,8 @@
Libp11 is a library implementing a small layer
on top of PKCS#11 API to make using PKCS#11
implementations easier.
WWW: http://www.opensc-project.org/libp11/
- Alex Dupre
ale@FreeBSD.org

12
security/libp11/pkg-plist Normal file
View File

@ -0,0 +1,12 @@
include/libp11.h
lib/libp11.a
lib/libp11.la
lib/libp11.so
lib/libp11.so.1
libdata/pkgconfig/libp11.pc
%%EXAMPLESDIR%%/Makefile
%%EXAMPLESDIR%%/README
%%EXAMPLESDIR%%/auth.c
%%EXAMPLESDIR%%/decrypt.c
%%EXAMPLESDIR%%/getrandom.c
@dirrm %%EXAMPLESDIR%%