Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
# $NetBSD: DEINSTALL,v 1.1 2009/10/02 12:38:44 hasso Exp $
case ${STAGE} in
POST-DEINSTALL)
if [ -x ${PREFIX}/sbin/update-reader.conf ]; then
${PREFIX}/sbin/update-reader.conf
fi
;;
esac
+4
View File
@@ -0,0 +1,4 @@
Drivers for several smart card readers. OpenCT comes as driver in ifdhandler
format for PC/SC-Lite, as CT-API driver, or as a small and lean middleware,
so applications can use it with minimal overhead. OpenCT also has a primitive
mechanism to export smart card readers to remote machines via TCP/IP.
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
# $NetBSD: INSTALL,v 1.1 2009/10/02 12:38:44 hasso Exp $
case ${STAGE} in
POST-INSTALL)
if [ -x ${PREFIX}/sbin/update-reader.conf ]; then
${PREFIX}/sbin/update-reader.conf
fi
;;
esac
+38
View File
@@ -0,0 +1,38 @@
# $NetBSD: Makefile,v 1.11 2012/12/15 01:19:07 pettai Exp $
DISTNAME= openct-0.6.20
PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.opensc-project.org/files/openct/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.opensc-project.org/openct/
COMMENT= Smart Card Reader drivers and middleware
LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_TOOLS+= gmake pkg-config
.include "options.mk"
CONFIGURE_ARGS+= --localstatedir=${VARBASE}/openct
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
RCD_SCRIPTS= openct
MAKE_DIRS+= ${VARBASE}/openct
MAKE_DIRS+= ${VARBASE}/openct/run
MAKE_DIRS+= ${VARBASE}/openct/run/openct
MAKE_DIRS+= ${PKG_SYSCONFDIR}/reader.conf.d
EGDIR= ${PREFIX}/share/examples/openct
CONF_FILES+= ${EGDIR}/openct.conf ${PKG_SYSCONFDIR}/openct.conf
CONF_FILES+= ${EGDIR}/reader.conf ${PKG_SYSCONFDIR}/reader.conf.d/openct-reader.conf
BUILD_DEFS+= VARBASE
INSTALLATION_DIRS= ${EGDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/etc/openct.conf ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/etc/reader.conf ${DESTDIR}${EGDIR}
.include "../../devel/libltdl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+31
View File
@@ -0,0 +1,31 @@
@comment $NetBSD: PLIST,v 1.4 2009/08/03 18:44:23 hasso Exp $
bin/openct-tool
include/openct/apdu.h
include/openct/buffer.h
include/openct/conf.h
include/openct/ctapi.h
include/openct/device.h
include/openct/driver.h
include/openct/error.h
include/openct/ifd.h
include/openct/logging.h
include/openct/openct.h
include/openct/path.h
include/openct/protocol.h
include/openct/server.h
include/openct/socket.h
include/openct/tlv.h
include/openct/types.h
lib/libopenct.la
lib/libopenctapi.la
${PLIST.pcsc-lite}lib/openct-ifd.la
lib/pkgconfig/libopenct.pc
man/man1/openct-tool.1
sbin/ifdhandler
sbin/ifdproxy
sbin/openct-control
share/doc/openct/NEWS
share/doc/openct/README
share/examples/openct/openct.conf
share/examples/openct/reader.conf
share/examples/rc.d/openct
+25
View File
@@ -0,0 +1,25 @@
# $NetBSD: buildlink3.mk,v 1.3 2009/12/15 22:10:39 joerg Exp $
BUILDLINK_TREE+= openct
.if !defined(OPENCT_BUILDLINK3_MK)
OPENCT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.openct+= openct>=0.6.15
BUILDLINK_ABI_DEPENDS.openct+= openct>=0.6.18nb2
BUILDLINK_PKGSRCDIR.openct?= ../../security/openct
pkgbase := openct
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.openct:Mpcsc-lite)
.include "../../security/pcsc-lite/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.openct:Mlibusb)
.include "../../devel/libusb/buildlink3.mk"
.endif
.include "../../devel/libltdl/buildlink3.mk"
.endif # OPENCT_BUILDLINK3_MK
BUILDLINK_TREE+= -openct
+7
View File
@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.6 2012/12/03 21:12:48 gdt Exp $
SHA1 (openct-0.6.20.tar.gz) = 3ae3f8b32dc12fb2b29493224573b10e4bfa6fb4
RMD160 (openct-0.6.20.tar.gz) = 06059e052293649fe695c335c1418c024147f538
Size (openct-0.6.20.tar.gz) = 702818 bytes
SHA1 (patch-aa) = d44e8daa9cc402c8276bf385a5fbbe5a498b37bb
SHA1 (patch-ab) = 117d4a1636620f65feb130deb295a31c4cb90d5a
+22
View File
@@ -0,0 +1,22 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: openct.sh,v 1.1.1.1 2009/02/26 10:07:49 hasso Exp $
#
# PROVIDE: openct
# REQUIRE: DAEMON
# KEYWORD: shutdown
. /etc/rc.subr
name="openct"
rcvar=$name
command="@PREFIX@/sbin/openct-control"
required_files="@PKG_SYSCONFDIR@/openct.conf"
start_cmd="${command} init"
stop_cmd="${command} shutdown"
status_cmd="${command} status"
load_rc_config $name
run_rc_command $1
+23
View File
@@ -0,0 +1,23 @@
# $NetBSD: options.mk,v 1.1.1.1 2009/02/26 10:07:49 hasso Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openct
PKG_SUPPORTED_OPTIONS= pcsc-lite libusb
PKG_SUGGESTED_OPTIONS= pcsc-lite
PLIST_VARS+= pcsc-lite
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mpcsc-lite)
.include "../../security/pcsc-lite/buildlink3.mk"
CONFIGURE_ARGS+= --enable-pcsc
PLIST.pcsc-lite= yes
.else
CONFIGURE_ARGS+= --disable-pcsc
.endif
.if !empty(PKG_OPTIONS:Mlibusb)
.include "../../devel/libusb/buildlink3.mk"
CONFIGURE_ARGS+= --enable-usb
.else
CONFIGURE_ARGS+= --disable-usb
.endif
+18
View File
@@ -0,0 +1,18 @@
$NetBSD: patch-aa,v 1.1.1.1 2009/02/26 10:07:49 hasso Exp $
--- etc/Makefile.in.orig 2008-08-06 00:53:45 +0300
+++ etc/Makefile.in 2008-08-06 00:54:01 +0300
@@ -458,12 +458,7 @@ uninstall-am: uninstall-hotplugDATA unin
ps ps-am uninstall uninstall-am uninstall-hotplugDATA \
uninstall-nodist_udevSCRIPTS uninstall-sysconfDATA
-install-exec-hook: install-sysconfDATA openct.conf
- if [ -f "$(DESTDIR)$(sysconfdir)/openct.conf" ]; then \
- $(INSTALL_DATA) openct.conf "$(DESTDIR)$(sysconfdir)/openct.conf.new"; \
- else \
- $(INSTALL_DATA) openct.conf "$(DESTDIR)$(sysconfdir)/openct.conf"; \
- fi
+install-exec-hook:
.in:
sed \
+20
View File
@@ -0,0 +1,20 @@
$NetBSD: patch-ab,v 1.1 2009/10/02 12:38:44 hasso Exp $
--- etc/reader.conf.in.orig 2009-10-02 15:25:50 +0300
+++ etc/reader.conf.in 2009-10-02 15:26:17 +0300
@@ -1,9 +1,9 @@
# OpenCT configuration file for pcsc-lite
# http://www.opensc.org/openct/
-
-FRIENDLYNAME "OpenCT"
-DEVICENAME /dev/null
-LIBPATH @libdir@/openct-ifd.so
-CHANNELID 0
-
+#
+# FRIENDLYNAME "OpenCT"
+# DEVICENAME /dev/null
+# LIBPATH @libdir@/openct-ifd.so
+# CHANNELID 0
+#
# End of file