removed outdated solaris files
This commit is contained in:
parent
2190bb927c
commit
11aaf15776
|
@ -17,8 +17,6 @@ SUBDIRS = etc src win32 doc MacOSX
|
|||
|
||||
dist_noinst_SCRIPTS = bootstrap bootstrap.ci
|
||||
dist_noinst_DATA = README \
|
||||
solaris/Makefile solaris/README solaris/checkinstall.in \
|
||||
solaris/opensc.conf-dist solaris/pkginfo.in solaris/proto \
|
||||
packaging/debian.templates/changelog \
|
||||
packaging/debian.templates/compat \
|
||||
packaging/debian.templates/control \
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
PACKAGE=OSCopensc
|
||||
PACKAGE_NAME=opensc
|
||||
VERSION=CVS
|
||||
PWD=pwd
|
||||
CONFIGURE_PREFIX=$(PWD:sh)/..
|
||||
CONFIGURE=${CONFIGURE_PREFIX}/configure
|
||||
CONFIGURE_ARGS=--prefix=/usr --sysconfdir=/etc/opensc --mandir=/usr/share/man --enable-pcsc --enable-openct
|
||||
CONFIG_GUESS=${CONFIGURE_PREFIX}/config.guess
|
||||
UNAME_ARCH=/usr/bin/uname -p
|
||||
PLATFORM = $(CONFIG_GUESS:sh)
|
||||
ARCH = $(UNAME_ARCH:sh)
|
||||
|
||||
build:
|
||||
@echo "Setup platform specific build directory build-${PLATFORM}"
|
||||
mkdir -p build-${PLATFORM}
|
||||
( cd build-${PLATFORM}; CC=cc PCSC_CFLAGS=-I/usr/include/smartcard ${CONFIGURE} ${CONFIGURE_ARGS}; make )
|
||||
|
||||
dist:
|
||||
@echo "Setup platform specific dist directory dist-${PLATFORM}"
|
||||
mkdir -p dist-${PLATFORM}
|
||||
@echo "Performing Installing in dist directory"
|
||||
( cd build-${PLATFORM}; make DESTDIR=`pwd`/../dist-${PLATFORM} install )
|
||||
package:
|
||||
@echo "Setup package meta files"
|
||||
-cp proto dist-${PLATFORM}
|
||||
-sed "s|@ARCH@|${ARCH}|" <checkinstall.in >dist-${PLATFORM}/checkinstall
|
||||
-sed -e "s|@ARCH@|${ARCH}|" \
|
||||
-e "s|@VERSION@|${VERSION}|" \
|
||||
-e "s|@PACKAGE@|${PACKAGE}|" \
|
||||
-e "s|@PACKAGE_NAME@|${PACKAGE_NAME}|" \
|
||||
<pkginfo.in >dist-${PLATFORM}/pkginfo
|
||||
mkdir -p dist-${PLATFORM}/etc/opensc
|
||||
-cp opensc.conf-dist dist-${PLATFORM}/etc/opensc/opensc.conf
|
||||
@echo "Creating package"
|
||||
( \
|
||||
cd dist-${PLATFORM}; \
|
||||
pkgmk -o -r . -d . -f proto; \
|
||||
pkgtrans -s . ../OSCopensc-${VERSION}-${PLATFORM}.pkg ${PACKAGE} \
|
||||
)
|
|
@ -1,13 +0,0 @@
|
|||
Creating an installable package for Solaris 10
|
||||
==============================================
|
||||
|
||||
The files in this directory are an attempt to ease
|
||||
the building of opensc packages for Solaris 10.
|
||||
|
||||
The basic steps to create a Solaris 10 package are:
|
||||
# make build
|
||||
# make dist
|
||||
# make package
|
||||
|
||||
NOTE: If you are using the GNU compiler you will
|
||||
need to adjust the Makefile accordingly.
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
expected_platform="@ARCH@"
|
||||
platform=`uname -p`
|
||||
if [ ${platform} != ${expected_platform} ]; then
|
||||
echo "This package must be installed on ${expected_platform}"
|
||||
exit 1
|
||||
fi
|
||||
exit 0
|
|
@ -1,277 +0,0 @@
|
|||
# Configuration file for OpenSC
|
||||
# Example configuration file
|
||||
|
||||
# NOTE: All key-value pairs must be terminated by a semicolon.
|
||||
|
||||
# Default values for any application
|
||||
# These can be overrided by an application
|
||||
# specific configuration block.
|
||||
app default {
|
||||
# Amount of debug info to print
|
||||
#
|
||||
# A greater value means more debug info.
|
||||
# Default: 0
|
||||
#
|
||||
debug = 0;
|
||||
|
||||
# The file to which debug output will be written
|
||||
#
|
||||
# A special value of 'stdout' is recognized.
|
||||
# Default: stdout
|
||||
#
|
||||
# debug_file = /tmp/opensc-debug.log;
|
||||
|
||||
# The file to which errors will be written
|
||||
#
|
||||
# A special value of 'stderr' is recognized.
|
||||
# Default: stderr
|
||||
#
|
||||
# error_file = /tmp/opensc-errors.log;
|
||||
|
||||
# Where to find the *.profile files for pkcs15init;
|
||||
|
||||
profile_dir = /usr/share/opensc;
|
||||
|
||||
# What reader drivers to load at start-up
|
||||
#
|
||||
# A special value of 'internal' will load all
|
||||
# statically linked drivers. If an unknown (i.e. not
|
||||
# internal) driver is supplied, a separate configuration
|
||||
# configuration block has to be written for the driver.
|
||||
# Default: internal
|
||||
# NOTE: if "internal" keyword is used, must be the
|
||||
# last entry in reader_drivers list
|
||||
#
|
||||
reader_drivers = openct, pcsc, ctapi;
|
||||
|
||||
reader_driver ctapi {
|
||||
# module /usr/local/towitoko/lib/libtowitoko.so {
|
||||
# CT-API ports:
|
||||
# 0..3 COM1..4
|
||||
# 4 Printer
|
||||
# 5 Modem
|
||||
# 6..7 LPT1..2
|
||||
# ports = 0;
|
||||
# }
|
||||
}
|
||||
|
||||
# Define parameters specific to your readers.
|
||||
# The following section shows definitions for PC/SC readers,
|
||||
# but the same set of variables are applicatable to ctapi and
|
||||
# openct readers, simply by using "reader_driver ctapi" and
|
||||
# "reader_driver openct", respectively.
|
||||
reader_driver pcsc {
|
||||
# Whether to transform some APDU's from one case to another
|
||||
# Possible values:
|
||||
# none: Don't transform any APDU's
|
||||
# case4as3: For T=0, send a case 4 APDU as case 3,
|
||||
# (no Lc byte) the card will send back
|
||||
# a 61xx SW, and we will follow up with a
|
||||
# GetResponse command
|
||||
# The SCM SCR111, Sun SCF, and e-gate readers
|
||||
# seem to require this.
|
||||
# case1as2: For T=0, send a case 1 APDU as case 2.
|
||||
# (append an Le byte of 0)
|
||||
# The Sun SCF and e-gate readers seem to
|
||||
# require this
|
||||
# case1as2_always: for any T=0/1, send a case 1 APDU as
|
||||
# case 2.
|
||||
# The Sun SCF reader may require this
|
||||
# Default: none
|
||||
#
|
||||
apdu_masquerade = none;
|
||||
#
|
||||
# This sets the maximum send and receive sizes.
|
||||
# Some IFD handlers do not properly handle APDUs with
|
||||
# large lc or le bytes.
|
||||
#
|
||||
max_send_size = 252;
|
||||
max_recv_size = 252;
|
||||
#
|
||||
# EXPERIMENTAL: Enable CCID pinpad support
|
||||
# implemented (at least) in the libccid driver.
|
||||
#use_ccid_pin_cmd = true;
|
||||
}
|
||||
|
||||
# What card drivers to load at start-up
|
||||
#
|
||||
# A special value of 'internal' will load all
|
||||
# statically linked drivers. If an unknown (i.e. not
|
||||
# internal) driver is supplied, a separate configuration
|
||||
# configuration block has to be written for the driver.
|
||||
# Default: internal
|
||||
# NOTE: When "internal" keyword is used, must be last entry
|
||||
#
|
||||
# card_drivers = customcos, internal;
|
||||
|
||||
# Card driver configuration blocks.
|
||||
|
||||
# For all drivers, you can specify ATRs of cards that
|
||||
# should be handled by this driver (in addition to the
|
||||
# list of compiled-in ATRs).
|
||||
#
|
||||
# The supported internal card driver names are
|
||||
# flex Cryptoflex/Multiflex
|
||||
# setcos Setec
|
||||
# etoken Aladdin eToken and other CardOS based cards
|
||||
# gpk GPK 4K/8K/16K
|
||||
# mcrd MICARDO 2.1
|
||||
# miocos MioCOS 1.1
|
||||
# openpgp OpenPGP card
|
||||
# tcos TCOS 2.0
|
||||
# emv EMV compatible cards
|
||||
|
||||
# GPK card driver additional ATR entry:
|
||||
card_driver gpk {
|
||||
# atr = 00:11:22;
|
||||
}
|
||||
|
||||
# For card drivers loaded from an external shared library/DLL,
|
||||
# you need to specify the path name of the module
|
||||
#
|
||||
# card_driver customcos {
|
||||
# The location of the driver library
|
||||
# module = /usr/lib/opensc/drivers/card_customcos.so;
|
||||
# atr = 00:11:22:33:44;
|
||||
# atr = 55:66:77:88:99:aa:bb;
|
||||
# }
|
||||
|
||||
# Below are the framework specific configuration blocks.
|
||||
|
||||
# PKCS #15
|
||||
framework pkcs15 {
|
||||
# Whether to use the cache files in the user's
|
||||
# home directory.
|
||||
#
|
||||
# At the moment you have to 'teach' the card to the
|
||||
# system by:
|
||||
# pkcs15-tool -L
|
||||
#
|
||||
# WARNING: Caching shouldn't be used in setuid root
|
||||
# applications.
|
||||
# Default: false
|
||||
#
|
||||
use_caching = true;
|
||||
# Enable pkcs15 emulation
|
||||
# Default: yes
|
||||
enable_pkcs15_emulation = yes;
|
||||
# Try pkcs15 emulation code first (before the normal
|
||||
# pkcs15 processing).
|
||||
# Default: no
|
||||
try_emulation_first = no;
|
||||
# Enable builtin emulators
|
||||
# Default: yes
|
||||
enable_builtin_emulation = yes;
|
||||
# list of the builtin pkcs15 emulators to test
|
||||
# possible values: esteid, openpgp, netkey, netkey,
|
||||
# starcert, infocamere, postecert
|
||||
builtin_emulators = esteid, openpgp, netkey, netkey, starcert, infocamere, postecert;
|
||||
|
||||
# additional pkcs15 emulators (dynamic or builtin with
|
||||
# a different atr etc.)
|
||||
# emulate foo {
|
||||
# module = builtin;
|
||||
# atr = 11:22:33:44;
|
||||
#}
|
||||
}
|
||||
|
||||
# Estonian ID card and Micardo driver currently play together with T=0 only.
|
||||
# In theory only the 'cold' ATR should be specified, as T=0 will be the preferred
|
||||
# protocol once you boot it up with T=0, but be paranoid.
|
||||
|
||||
# Generic format: card_atr <hex encoded ATR (case-sensitive!)>
|
||||
# Only parameter currently understood is force_protocol
|
||||
card_atr 3b:6e:00:ff:45:73:74:45:49:44:20:76:65:72:20:31:2e:30 {
|
||||
force_protocol = t0;
|
||||
}
|
||||
card_atr 3b:fe:94:00:ff:80:b1:fa:45:1f:03:45:73:74:45:49:44:20:76:65:72:20:31:2e:30:43 {
|
||||
force_protocol = t0;
|
||||
}
|
||||
}
|
||||
|
||||
# For applications that use SCAM (pam_opensc, sia_opensc)
|
||||
app scam {
|
||||
framework pkcs15 {
|
||||
use_caching = false;
|
||||
}
|
||||
}
|
||||
|
||||
# Parameters for the OpenSC PKCS11 module
|
||||
app opensc-pkcs11 {
|
||||
pkcs11 {
|
||||
# Maxmimum number of slots per smart card.
|
||||
# If the card has fewer keys than defined here,
|
||||
# the remaining number of slots will be empty.
|
||||
#
|
||||
# Note that there is currently a compile time
|
||||
# maximum on the overall number of slots
|
||||
# the pkcs11 module is able to handle.
|
||||
num_slots = 4;
|
||||
|
||||
# Normally, the pkcs11 module will create
|
||||
# the full number of slots defined above by
|
||||
# num_slots. If there are fewer pins/keys on
|
||||
# the card, the remaining keys will be empty
|
||||
# (and you will be able to create new objects
|
||||
# within them).
|
||||
#
|
||||
# Set this option to true to hide these empty
|
||||
# slots.
|
||||
hide_empty_tokens = true;
|
||||
|
||||
# By default, the OpenSC PKCS#11 module will
|
||||
# try to lock this card once you have authenticated
|
||||
# to the card via C_Login. This is done so that no
|
||||
# other user can connect to the card and perform
|
||||
# crypto operations (which may be possible because
|
||||
# you have already authenticated with the card).
|
||||
#
|
||||
# However, this also means that no other application
|
||||
# that _you_ run can use the card until your application
|
||||
# has done a C_Logout or C_Finalize. In the case of
|
||||
# Netscape or Mozilla, this does not happen until
|
||||
# you exit the browser.
|
||||
lock_login = true;
|
||||
|
||||
# Normally, the pkcs11 module will not cache PINs
|
||||
# presented via C_Login. However, some cards
|
||||
# may not work properly with OpenSC; for instance
|
||||
# when you have two keys on your card that get
|
||||
# stored in two different directories.
|
||||
#
|
||||
# In this case, you can turn on PIN caching by setting
|
||||
# cache_pins = true
|
||||
#
|
||||
# Default: false
|
||||
cache_pins = false;
|
||||
|
||||
# Set this value to false if you want to enfore on-card
|
||||
# keypair generation
|
||||
#
|
||||
# Default: true
|
||||
soft_keygen_allowed = true;
|
||||
}
|
||||
}
|
||||
|
||||
# Parameters for the OpenSC PKCS11-Spy module, that logs all the
|
||||
# communication between a pkcs11 module and it's calling application:
|
||||
# app <--> pkcs11-spy <--> pkcs11 module
|
||||
app pkcs11-spy {
|
||||
spy {
|
||||
# Where to log to.
|
||||
#
|
||||
# By default, the value of the PKCS11SPY_OUTPUT environment
|
||||
# variable is used. And if that one isn't defined: stderr
|
||||
# is used.
|
||||
#
|
||||
#output = /tmp/pkcs11-spy.log;
|
||||
|
||||
# Which PKCS11 module to load.
|
||||
#
|
||||
# By default, the value of the PKCS11SPY environment
|
||||
# variable is used. And if that one isn't defined,
|
||||
# opensc-pkcs11.so is used.
|
||||
#
|
||||
#module = opensc-pkcs11.so;
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
PKG="OSCopensc"
|
||||
NAME="opensc"
|
||||
VERSION="@VERSION@"
|
||||
ARCH="@ARCH@"
|
||||
CLASSES="none"
|
||||
CATEGORY="drivers"
|
||||
VENDOR="WW"
|
||||
PSTAMP="26thFeb2005"
|
||||
EMAIL="william@wanders.org"
|
||||
ISTATES="S s 1 2 3"
|
||||
RSTATES="S s 1 2 3"
|
||||
BASEDIR="/"
|
118
solaris/proto
118
solaris/proto
|
@ -1,118 +0,0 @@
|
|||
d none usr 0755 root sys
|
||||
d none usr/share 0755 root other
|
||||
d none usr/share/man 0755 root other
|
||||
d none usr/share/man/man1 0755 root other
|
||||
f none usr/share/man/man1/pkcs15-crypt.1 0644 root other
|
||||
f none usr/share/man/man1/pkcs15-init.1 0644 root other
|
||||
f none usr/share/man/man1/cryptoflex-tool.1 0644 root other
|
||||
f none usr/share/man/man1/opensc-config.1 0644 root other
|
||||
f none usr/share/man/man1/opensc-explorer.1 0644 root other
|
||||
f none usr/share/man/man1/opensc-tool.1 0644 root other
|
||||
f none usr/share/man/man1/pkcs15-tool.1 0644 root other
|
||||
f none usr/share/man/man1/pkcs11-tool.1 0644 root other
|
||||
f none usr/share/man/man1/cardos-info.1 0644 root other
|
||||
d none usr/share/man/man3 0755 root other
|
||||
f none usr/share/man/man3/sc_connect_card.3 0644 root other
|
||||
f none usr/share/man/man3/sc_detect_card_presence.3 0644 root other
|
||||
f none usr/share/man/man3/sc_disconnect_card.3 0644 root other
|
||||
f none usr/share/man/man3/sc_establish_context.3 0644 root other
|
||||
f none usr/share/man/man3/sc_file.3 0644 root other
|
||||
f none usr/share/man/man3/sc_file_free.3 0644 root other
|
||||
f none usr/share/man/man3/sc_file_new.3 0644 root other
|
||||
f none usr/share/man/man3/sc_list_files.3 0644 root other
|
||||
f none usr/share/man/man3/sc_lock.3 0644 root other
|
||||
f none usr/share/man/man3/sc_read_binary.3 0644 root other
|
||||
f none usr/share/man/man3/sc_read_record.3 0644 root other
|
||||
f none usr/share/man/man3/sc_release_context.3 0644 root other
|
||||
f none usr/share/man/man3/sc_select_file.3 0644 root other
|
||||
f none usr/share/man/man3/sc_pkcs15_compute_signature.3 0644 root other
|
||||
d none usr/share/man/man5 0755 root other
|
||||
f none usr/share/man/man5/pkcs15-profile.5 0644 root other
|
||||
d none usr/share/man/man7 0755 root other
|
||||
f none usr/share/man/man7/opensc.7 0644 root other
|
||||
f none usr/share/man/man7/pkcs15.7 0644 root other
|
||||
d none usr/share/opensc 0755 root other
|
||||
f none usr/share/opensc/opensc.conf.example 0644 root other
|
||||
f none usr/share/opensc/cyberflex.profile 0644 root other
|
||||
f none usr/share/opensc/flex.profile 0644 root other
|
||||
f none usr/share/opensc/gpk.profile 0644 root other
|
||||
f none usr/share/opensc/miocos.profile 0644 root other
|
||||
f none usr/share/opensc/etoken.profile 0644 root other
|
||||
f none usr/share/opensc/jcop.profile 0644 root other
|
||||
f none usr/share/opensc/oberthur.profile 0644 root other
|
||||
f none usr/share/opensc/starcos.profile 0644 root other
|
||||
f none usr/share/opensc/pkcs15.profile 0644 root other
|
||||
d none usr/lib 0755 root bin
|
||||
s none usr/lib/libscconf.so.0=libscconf.so.0.0.9
|
||||
f none usr/lib/libscconf.so.0.0.9 0755 root bin
|
||||
s none usr/lib/libscconf.so=libscconf.so.0.0.9
|
||||
f none usr/lib/libscconf.la 0755 root bin
|
||||
f none usr/lib/libscconf.a 0644 root bin
|
||||
s none usr/lib/libopensc.so.0=libopensc.so.0.0.9
|
||||
f none usr/lib/libopensc.so.0.0.9 0755 root bin
|
||||
s none usr/lib/libopensc.so=libopensc.so.0.0.9
|
||||
d none usr/lib/pkgconfig 0755 root bin
|
||||
f none usr/lib/pkgconfig/libopensc.pc 0644 root bin
|
||||
f none usr/lib/pkgconfig/libpkcs15init.pc 0644 root bin
|
||||
f none usr/lib/pkgconfig/libscconf.pc 0644 root bin
|
||||
f none usr/lib/libopensc.la 0755 root bin
|
||||
f none usr/lib/libopensc.a 0644 root bin
|
||||
d none usr/lib/pkcs11 0755 root bin
|
||||
s none usr/lib/pkcs11/libpkcs11.so.0=libpkcs11.so.0.0.9
|
||||
f none usr/lib/pkcs11/opensc-pkcs11.so 0755 root bin
|
||||
f none usr/lib/pkcs11/opensc-pkcs11.la 0755 root bin
|
||||
f none usr/lib/pkcs11/opensc-pkcs11.a 0644 root bin
|
||||
f none usr/lib/pkcs11/libpkcs11.so.0.0.9 0755 root bin
|
||||
s none usr/lib/pkcs11/libpkcs11.so=libpkcs11.so.0.0.9
|
||||
f none usr/lib/pkcs11/libpkcs11.la 0755 root bin
|
||||
f none usr/lib/pkcs11/libpkcs11.a 0644 root bin
|
||||
f none usr/lib/pkcs11/pkcs11-spy.so 0755 root bin
|
||||
f none usr/lib/pkcs11/pkcs11-spy.la 0755 root bin
|
||||
f none usr/lib/pkcs11/pkcs11-spy.a 0644 root bin
|
||||
f none usr/lib/libpkcs15init.so.0.0.9 0755 root bin
|
||||
s none usr/lib/libpkcs15init.so.0=libpkcs15init.so.0.0.9
|
||||
s none usr/lib/libpkcs15init.so=libpkcs15init.so.0.0.9
|
||||
f none usr/lib/libpkcs15init.la 0755 root bin
|
||||
f none usr/lib/libpkcs15init.a 0644 root bin
|
||||
d none usr/lib/opensc 0755 root bin
|
||||
f none usr/lib/opensc/engine_opensc.so 0755 root bin
|
||||
f none usr/lib/opensc/engine_opensc.la 0755 root bin
|
||||
f none usr/lib/opensc/engine_opensc.a 0644 root bin
|
||||
f none usr/lib/opensc/engine_pkcs11.so 0755 root bin
|
||||
f none usr/lib/opensc/engine_pkcs11.la 0755 root bin
|
||||
f none usr/lib/opensc/engine_pkcs11.a 0644 root bin
|
||||
d none usr/include 0755 root bin
|
||||
d none usr/include/opensc 0755 root bin
|
||||
d none usr/include/opensc/rsaref 0755 root bin
|
||||
f none usr/include/opensc/rsaref/pkcs11.h 0644 root bin
|
||||
f none usr/include/opensc/rsaref/pkcs11f.h 0644 root bin
|
||||
f none usr/include/opensc/rsaref/pkcs11t.h 0644 root bin
|
||||
f none usr/include/opensc/rsaref/unix.h 0644 root bin
|
||||
f none usr/include/opensc/rsaref/win32.h 0644 root bin
|
||||
f none usr/include/opensc/scconf.h 0644 root bin
|
||||
f none usr/include/opensc/opensc.h 0644 root bin
|
||||
f none usr/include/opensc/pkcs15.h 0644 root bin
|
||||
f none usr/include/opensc/cardctl.h 0644 root bin
|
||||
f none usr/include/opensc/asn1.h 0644 root bin
|
||||
f none usr/include/opensc/log.h 0644 root bin
|
||||
f none usr/include/opensc/ui.h 0644 root bin
|
||||
f none usr/include/opensc/errors.h 0644 root bin
|
||||
f none usr/include/opensc/types.h 0644 root bin
|
||||
f none usr/include/opensc/pkcs15-init.h 0644 root bin
|
||||
f none usr/include/opensc/pkcs11.h 0644 root bin
|
||||
d none usr/bin 0755 root bin
|
||||
f none usr/bin/opensc-config 0755 root bin
|
||||
f none usr/bin/opensc-tool 0755 root bin
|
||||
f none usr/bin/opensc-explorer 0755 root bin
|
||||
f none usr/bin/pkcs15-tool 0755 root bin
|
||||
f none usr/bin/pkcs15-crypt 0755 root bin
|
||||
f none usr/bin/pkcs11-tool 0755 root bin
|
||||
f none usr/bin/cardos-info 0755 root bin
|
||||
f none usr/bin/eidenv 0755 root bin
|
||||
f none usr/bin/cryptoflex-tool 0755 root bin
|
||||
f none usr/bin/pkcs15-init 0755 root bin
|
||||
d none etc 0755 root sys
|
||||
d none etc/opensc 0755 root sys
|
||||
f none etc/opensc/opensc.conf 0644 root sys
|
||||
i checkinstall=checkinstall
|
||||
i pkginfo=pkginfo
|
Loading…
Reference in New Issue