diff options
author | ale <ale@FreeBSD.org> | 2006-06-13 00:58:38 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2006-06-13 00:58:38 +0800 |
commit | 221d3e23bdbb623a9c6ebe5fe29bb8a10eac5a00 (patch) | |
tree | 272857ccad594913b42b4ac518aabcb5022dfd8a | |
parent | cebdd46dbba073cd677c3fe05ec731b368c9621e (diff) | |
download | freebsd-ports-gnome-221d3e23bdbb623a9c6ebe5fe29bb8a10eac5a00.tar.gz freebsd-ports-gnome-221d3e23bdbb623a9c6ebe5fe29bb8a10eac5a00.tar.zst freebsd-ports-gnome-221d3e23bdbb623a9c6ebe5fe29bb8a10eac5a00.zip |
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/
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/libp11/Makefile | 42 | ||||
-rw-r--r-- | security/libp11/distinfo | 3 | ||||
-rw-r--r-- | security/libp11/pkg-descr | 8 | ||||
-rw-r--r-- | security/libp11/pkg-plist | 12 |
5 files changed, 66 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 982d629605a1..571b034f432f 100644 --- a/security/Makefile +++ b/security/Makefile @@ -218,6 +218,7 @@ SUBDIR += libmcrypt SUBDIR += libntlm SUBDIR += libotr + SUBDIR += libp11 SUBDIR += libparanoia SUBDIR += libprelude SUBDIR += libpreludedb diff --git a/security/libp11/Makefile b/security/libp11/Makefile new file mode 100644 index 000000000000..884de860daf0 --- /dev/null +++ b/security/libp11/Makefile @@ -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> diff --git a/security/libp11/distinfo b/security/libp11/distinfo new file mode 100644 index 000000000000..77184602633d --- /dev/null +++ b/security/libp11/distinfo @@ -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 diff --git a/security/libp11/pkg-descr b/security/libp11/pkg-descr new file mode 100644 index 000000000000..37400869a51f --- /dev/null +++ b/security/libp11/pkg-descr @@ -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 diff --git a/security/libp11/pkg-plist b/security/libp11/pkg-plist new file mode 100644 index 000000000000..c00d5cfa9b6e --- /dev/null +++ b/security/libp11/pkg-plist @@ -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%% |