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

4
security/softhsm/DESCR Normal file
View File

@@ -0,0 +1,4 @@
SoftHSM is an implementation of a cryptographic store accessible through a
PKCS#11 interface. You can use it to explore PKCS#11 without having a
Hardware Security Module. It is being developed as a part of the OpenDNSSEC
project. SoftHSM uses Botan for its cryptographic operations.

42
security/softhsm/Makefile Normal file
View File

@@ -0,0 +1,42 @@
# $NetBSD: Makefile,v 1.19 2013/05/09 07:39:19 adam Exp $
#
DISTNAME= softhsm-1.3.4
PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.opendnssec.org/files/source/
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://www.opendnssec.org/softhsm/
COMMENT= Cryptographic store accessible through a PKCS\#11 interface
LICENSE= 2-clause-bsd
BUILD_DEFS+= VARBASE
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
EGDIR= ${PREFIX}/share/examples/softhsm
SUBST_CLASSES+= paths
SUBST_FILES.paths= ${WRKSRC}/Makefile.in
SUBST_STAGE.paths= post-patch
SUBST_SED.paths= -e 's,@EGDIR@,${EGDIR},'
CXXFLAGS.NetBSD+= -D_NETBSD_SOURCE
CONF_FILES= ${EGDIR}/softhsm.conf ${PKG_SYSCONFDIR}/softhsm.conf
INSTALLATION_DIRS= ${EGDIR} etc bin lib
OWN_DIRS= ${VARBASE}/softhsm
pre-install:
${INSTALL_DATA} ${WRKSRC}/softhsm.conf ${DESTDIR}${EGDIR}
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../security/botan/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

9
security/softhsm/PLIST Normal file
View File

@@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.2 2012/01/23 11:12:47 pettai Exp $
bin/softhsm
bin/softhsm-keyconv
lib/softhsm/libsofthsm.la
man/man1/softhsm-keyconv.1
man/man1/softhsm.1
man/man5/softhsm.conf.5
share/examples/softhsm/softhsm.conf
share/examples/softhsm/softhsm.conf.sample

View File

@@ -0,0 +1,16 @@
# $NetBSD: buildlink3.mk,v 1.6 2013/01/26 21:36:47 adam Exp $
BUILDLINK_TREE+= softhsm
.if !defined(SOFTHSM_BUILDLINK3_MK)
SOFTHSM_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.softhsm+= softhsm>=1.1.3
BUILDLINK_ABI_DEPENDS.softhsm+= softhsm>=1.3.4nb1
BUILDLINK_PKGSRCDIR.softhsm?= ../../security/softhsm
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../security/botan/buildlink3.mk"
.endif # SOFTHSM_BUILDLINK3_MK
BUILDLINK_TREE+= -softhsm

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.9 2012/11/26 11:29:01 pettai Exp $
SHA1 (softhsm-1.3.4.tar.gz) = f09b6828776bcf9fef1dd46cfa7a495da01c7747
RMD160 (softhsm-1.3.4.tar.gz) = 55f0dd20f515e669c78ddb054bcde1adf9d6b424
Size (softhsm-1.3.4.tar.gz) = 440004 bytes
SHA1 (patch-aa) = 480865e0a50759d582380573c0254bcdb517ddfe

View File

@@ -0,0 +1,29 @@
$NetBSD: patch-aa,v 1.3 2012/05/23 10:05:44 pettai Exp $
--- Makefile.in.orig 2012-05-09 18:41:49.000000000 +0000
+++ Makefile.in
@@ -271,6 +271,7 @@ sharedstatedir = @sharedstatedir@
softhsmdbdir = @softhsmdbdir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
+EGDIR = @EGDIR@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
@@ -869,11 +870,11 @@ uninstall-man: uninstall-man5
install-data-hook:
- test -d ${DESTDIR}${sysconfdir} || \
- ${INSTALL} -d ${DESTDIR}${sysconfdir}
- test -f ${DESTDIR}${sysconfdir}/softhsm.conf || \
- ${INSTALL_DATA} ${top_builddir}/softhsm.conf ${DESTDIR}${sysconfdir}
- ${INSTALL_DATA} ${top_builddir}/softhsm.conf ${DESTDIR}${sysconfdir}/softhsm.conf.sample
+ test -d ${DESTDIR}${EGDIR} || \
+ ${INSTALL} -d ${DESTDIR}${EGDIR}
+ test -f ${DESTDIR}${EGDIR}/softhsm.conf || \
+ ${INSTALL_DATA} ${top_builddir}/softhsm.conf ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${top_builddir}/softhsm.conf ${DESTDIR}${EGDIR}/softhsm.conf.sample
test -d ${DESTDIR}${softhsmdbdir} || \
${INSTALL} -d -m 700 ${DESTDIR}${softhsmdbdir}