Import opensc 0.9.6

OpenSC provides a set of libraries and utilities to access smart cards.
Its main focus is on cards that support cryptographic operations, and
facilitate their use in security applications such as mail encryption,
authentication, and digital signature. OpenSC implements the PKCS#11 API
so applications supporting this API such as Mozilla Firefox and
Thunderbird can use it. OpenSC implements the PKCS#15 standard and aims
to be compatible with every software that does so, too.

From Douglas Santos <dsantos@hydroxyl.org>
This commit is contained in:
alek 2005-11-27 11:01:14 +00:00
parent 7a0adabfe4
commit 276ab97d7a
6 changed files with 173 additions and 0 deletions

40
security/opensc/Makefile Normal file
View File

@ -0,0 +1,40 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/11/27 11:01:14 alek Exp $
COMMENT= "set of libraries and utilities to access smart cards"
DISTNAME= opensc-0.9.6
CATEGORIES= security
HOMEPAGE= http://www.opensc.org
MAINTAINER= Douglas Santos <dsantos@hydroxyl.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/files/
WANTLIB= readline crypto termcap c pthread
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
LIB_DEPENDS= openct.1::security/openct
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu old
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-static \
--sysconfdir=${SYSCONFDIR} \
--disable-ldap
CONFIGURE_ENV= PTHREAD_LIBS=-pthread
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/opensc
${INSTALL_DATA} ${WRKSRC}/etc/opensc.conf \
${PREFIX}/share/examples/opensc
.include <bsd.port.mk>

4
security/opensc/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (opensc-0.9.6.tar.gz) = 38fdd64566cc6fc83338d659e816b4fb
RMD160 (opensc-0.9.6.tar.gz) = 7282f304b1334e6adcd4b8946d6fb97c9e6af344
SHA1 (opensc-0.9.6.tar.gz) = a42de2abc931379c80aed7604ff528146be85170
SIZE (opensc-0.9.6.tar.gz) = 1002151

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-configure,v 1.1.1.1 2005/11/27 11:01:14 alek Exp $
--- configure.orig Sat Nov 26 19:09:05 2005
+++ configure Sat Nov 26 19:09:10 2005
@@ -20282,9 +20282,6 @@ fi
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-
# Prevent multiple expansion

View File

@ -0,0 +1,7 @@
OpenSC provides a set of libraries and utilities to access smart cards.
Its main focus is on cards that support cryptographic operations, and
facilitate their use in security applications such as mail encryption,
authentication, and digital signature. OpenSC implements the PKCS#11 API
so applications supporting this API such as Mozilla Firefox and
Thunderbird can use it. OpenSC implements the PKCS#15 standard and aims
to be compatible with every software that does so, too.

View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/11/27 11:01:14 alek Exp $
@lib lib/libopensc.so.1.0
@lib lib/libpkcs15init.so.1.0
@lib lib/libscam.so.1.0
@lib lib/libscconf.so.1.0
lib/opensc/engine_opensc.so
lib/opensc/engine_pkcs11.so
@lib lib/pkcs11/libpkcs11.so.1.0
lib/pkcs11/opensc-pkcs11.so
lib/pkcs11/pkcs11-spy.so

99
security/opensc/pkg/PLIST Normal file
View File

@ -0,0 +1,99 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/11/27 11:01:14 alek Exp $
%%SHARED%%
bin/cardos-info
bin/cryptoflex-tool
bin/opensc-config
bin/opensc-explorer
bin/opensc-tool
bin/pkcs11-tool
bin/pkcs15-crypt
bin/pkcs15-init
bin/pkcs15-tool
include/opensc/
include/opensc/asn1.h
include/opensc/cardctl.h
include/opensc/emv.h
include/opensc/errors.h
include/opensc/log.h
include/opensc/opensc.h
include/opensc/pkcs11.h
include/opensc/pkcs15-init.h
include/opensc/pkcs15.h
include/opensc/rsaref/
include/opensc/rsaref/pkcs11.h
include/opensc/rsaref/pkcs11f.h
include/opensc/rsaref/pkcs11t.h
include/opensc/rsaref/unix.h
include/opensc/rsaref/win32.h
include/opensc/scconf.h
include/opensc/scldap.h
include/opensc/types.h
include/opensc/ui.h
lib/libopensc.a
lib/libopensc.la
lib/libpkcs15init.a
lib/libpkcs15init.la
lib/libscam.a
lib/libscam.la
lib/libscconf.a
lib/libscconf.la
lib/opensc/
lib/opensc/engine_opensc.a
lib/opensc/engine_opensc.la
lib/opensc/engine_pkcs11.a
lib/opensc/engine_pkcs11.la
lib/pkcs11/
lib/pkcs11/libpkcs11.a
lib/pkcs11/libpkcs11.la
lib/pkcs11/opensc-pkcs11.a
lib/pkcs11/opensc-pkcs11.la
lib/pkcs11/pkcs11-spy.a
lib/pkcs11/pkcs11-spy.la
lib/pkgconfig/
lib/pkgconfig/libopensc.pc
lib/pkgconfig/libpkcs15init.pc
lib/pkgconfig/libscam.pc
lib/pkgconfig/libscconf.pc
lib/pkgconfig/libscldap.pc
lib/security/
@man man/man1/cardos-info.1
@man man/man1/cryptoflex-tool.1
@man man/man1/opensc-config.1
@man man/man1/opensc-explorer.1
@man man/man1/opensc-tool.1
@man man/man1/pkcs11-tool.1
@man man/man1/pkcs15-crypt.1
@man man/man1/pkcs15-init.1
@man man/man1/pkcs15-tool.1
@man man/man3/sc_connect_card.3
@man man/man3/sc_detect_card_presence.3
@man man/man3/sc_disconnect_card.3
@man man/man3/sc_establish_context.3
@man man/man3/sc_file.3
@man man/man3/sc_file_free.3
@man man/man3/sc_file_new.3
@man man/man3/sc_list_files.3
@man man/man3/sc_lock.3
@man man/man3/sc_pkcs15_compute_signature.3
@man man/man3/sc_read_binary.3
@man man/man3/sc_read_record.3
@man man/man3/sc_release_context.3
@man man/man3/sc_select_file.3
@man man/man5/pkcs15-profile.5
@man man/man7/opensc.7
@man man/man7/pkcs15.7
share/examples/opensc/
share/examples/opensc/opensc.conf
@mode 644
@sample ${SYSCONFDIR}/opensc.conf
@mode
share/opensc/
share/opensc/cyberflex.profile
share/opensc/etoken.profile
share/opensc/flex.profile
share/opensc/gpk.profile
share/opensc/jcop.profile
share/opensc/miocos.profile
share/opensc/oberthur.profile
share/opensc/pkcs15.profile
share/opensc/starcos.profile