diff --git a/package/stefanp/openct/openct.conf b/package/stefanp/openct/openct.conf new file mode 100644 index 000000000..aff52d7db --- /dev/null +++ b/package/stefanp/openct/openct.conf @@ -0,0 +1,30 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/stefanp/openct/openct.conf +# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +pm_openct () { + cp -v etc/openct.conf $sysconfdir + mkdir -p $root/var/run/openct + install_init openct $confdir/openct.init +} + +hook_add postmake 20 pm_openct + diff --git a/package/stefanp/openct/openct.desc b/package/stefanp/openct/openct.desc new file mode 100644 index 000000000..cd9b7d636 --- /dev/null +++ b/package/stefanp/openct/openct.desc @@ -0,0 +1,44 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/stefanp/openct/openct.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] a framework for smart card readers + +[T] OpenCT is a framework for smart card readers - it implements +[T] drivers for several readers and usb crypto tokens, as well as a +[T] middleware for accessing smart card readers, a library for using +[T] openct, tools, the reader process, management programs. + +[U] http://www.opensc.org/ + +[A] Olaf Kirch +[A] Andreas Jellinghaus +[M] Stefan Paletta + +[C] base/system + +[L] BSD +[S] Stable +[V] 0.6.2 +[P] X -----5---9 691.000 + +[D] 3993112650 openct-0.6.2.tar.gz http://www.opensc.org/files/ diff --git a/package/stefanp/openct/openct.init b/package/stefanp/openct/openct.init new file mode 100644 index 000000000..edc1b1f75 --- /dev/null +++ b/package/stefanp/openct/openct.init @@ -0,0 +1,39 @@ +#!/bin/sh +# +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/stefanp/openct/openct.init +# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- +# +# Desc: driver for smart card readers +# Runlevel: 50 rcX +# + +main_begin + + block_begin(start, `Setting up OpenCT.') + check(`D_prefix/sbin/openct-control init') + block_end + + block_begin(stop, `Shutting down OpenCT.') + check(`D_prefix/sbin/openct-control shutdown') + block_end + +main_end diff --git a/package/stefanp/opensc/opensc.conf b/package/stefanp/opensc/opensc.conf new file mode 100644 index 000000000..f8217f388 --- /dev/null +++ b/package/stefanp/opensc/opensc.conf @@ -0,0 +1,31 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/stefanp/opensc/opensc.conf +# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + + +var_append confopt ' ' '--enable-usbtoken' + +[ -n "${pkg_openldap_prefix}" ] && \ + var_append confopt ' ' "--with-ldap-dir=${pkg_openldap_prefix}" + +[ -n "${MOZILLA_FIVE_HOME}" ] && \ + var_append confopt ' ' "--with-plugin-dir=${MOZILLA_FIVE_HOME}/plugins" + diff --git a/package/stefanp/opensc/opensc.desc b/package/stefanp/opensc/opensc.desc new file mode 100644 index 000000000..c3a0ba0df --- /dev/null +++ b/package/stefanp/opensc/opensc.desc @@ -0,0 +1,45 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/stefanp/opensc/opensc.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] access to crypto smart cards + +[T] OpenSC implements access to crypto smart cards. +[T] A PKCS#11 module offers access via a standard interface, +[T] and libopensc has a simple interface. Lots of tools can +[T] manage smart cards (erase, format, browse, create keys, +[T] import and export keys, files, certificates, export etc.). + +[U] http://www.opensc.org/ + +[A] The OpenSC Development Team +[M] Stefan Paletta + +[C] base/system + +[L] LGPL +[S] Stable +[V] 0.9.4 +[P] X -----5---9 767.500 + +[D] 4241120298 opensc-0.9.4.tar.gz http://www.opensc.org/files/ +