diff options
author | ale <ale@FreeBSD.org> | 2011-04-06 15:58:19 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2011-04-06 15:58:19 +0800 |
commit | 8c5da1e581d77033eacdcec9920130af5155e4a8 (patch) | |
tree | f60369eeaf07339d0fbf05b69c65b8274bff2105 /security | |
parent | 5a276fab2594b6e205d5068994cba63ecfed482f (diff) | |
download | freebsd-ports-gnome-8c5da1e581d77033eacdcec9920130af5155e4a8.tar.gz freebsd-ports-gnome-8c5da1e581d77033eacdcec9920130af5155e4a8.tar.zst freebsd-ports-gnome-8c5da1e581d77033eacdcec9920130af5155e4a8.zip |
pkcs11-dump is a small utility to dump PKCS#11 token contents.
WWW: http://sites.google.com/site/alonbarlev/pkcs11-utilities
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/pkcs11-dump/Makefile | 33 | ||||
-rw-r--r-- | security/pkcs11-dump/distinfo | 2 | ||||
-rw-r--r-- | security/pkcs11-dump/files/patch-Makefile.in | 31 | ||||
-rw-r--r-- | security/pkcs11-dump/pkg-descr | 6 |
5 files changed, 73 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index d4961eed239e..620d528093d9 100644 --- a/security/Makefile +++ b/security/Makefile @@ -660,6 +660,7 @@ SUBDIR += pinentry-qt SUBDIR += pinentry-qt4 SUBDIR += pkcrack + SUBDIR += pkcs11-dump SUBDIR += pkcs11-helper SUBDIR += pks SUBDIR += pktsuckers diff --git a/security/pkcs11-dump/Makefile b/security/pkcs11-dump/Makefile new file mode 100644 index 000000000000..18e48dbfadcf --- /dev/null +++ b/security/pkcs11-dump/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: pkcs11-dump +# Date created: 4 Apr 2011 +# Whom: Alex Dupre <ale@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= pkcs11-dump +PORTVERSION= 0.3.4 +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} + +MAINTAINER= ale@FreeBSD.org +COMMENT= Allow dumping PKCS\#11 token content + +PROJECTHOST= pkcs11-tools + +USE_BZIP2= yes +USE_OPENSSL= yes +GNU_CONFIGURE= yes + +CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ + OPENSSL_LIBS="-L${OPENSSLLIB} -lssl" + +PLIST_FILES= bin/pkcs11-dump + +MAN1= pkcs11-dump.1 + +post-patch: + @${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \ + ${WRKSRC}/Makefile.in + +.include <bsd.port.mk> diff --git a/security/pkcs11-dump/distinfo b/security/pkcs11-dump/distinfo new file mode 100644 index 000000000000..e894c1827794 --- /dev/null +++ b/security/pkcs11-dump/distinfo @@ -0,0 +1,2 @@ +SHA256 (pkcs11-dump-0.3.4.tar.bz2) = 3c19d412350109423b12bfde196b5bd51e9b23552406bc82735c5ca5e7bcdda8 +SIZE (pkcs11-dump-0.3.4.tar.bz2) = 255715 diff --git a/security/pkcs11-dump/files/patch-Makefile.in b/security/pkcs11-dump/files/patch-Makefile.in new file mode 100644 index 000000000000..039376d3edd1 --- /dev/null +++ b/security/pkcs11-dump/files/patch-Makefile.in @@ -0,0 +1,31 @@ +--- Makefile.in.orig 2011-04-04 12:52:22.000000000 +0200 ++++ Makefile.in 2011-04-04 12:54:09.000000000 +0200 +@@ -73,8 +73,7 @@ + mkinstalldirs = $(install_sh) -d + CONFIG_HEADER = config.h + CONFIG_CLEAN_FILES = versioninfo.rc +-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \ +- "$(DESTDIR)$(docdir)" "$(DESTDIR)$(htmldir)" ++am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" + binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) + PROGRAMS = $(bin_PROGRAMS) + am_pkcs11_dump_OBJECTS = pkcs11-dump.$(OBJEXT) +@@ -665,7 +664,7 @@ + check: check-am + all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) config.h + installdirs: +- for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(htmldir)"; do \ ++ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done + install: install-am +@@ -715,8 +714,7 @@ + + info-am: + +-install-data-am: install-dist_docDATA install-man \ +- install-nodist_htmlDATA ++install-data-am: install-man + + install-dvi: install-dvi-am + diff --git a/security/pkcs11-dump/pkg-descr b/security/pkcs11-dump/pkg-descr new file mode 100644 index 000000000000..70bab069c3ec --- /dev/null +++ b/security/pkcs11-dump/pkg-descr @@ -0,0 +1,6 @@ +pkcs11-dump is a small utility to dump PKCS#11 token contents. + +WWW: http://sites.google.com/site/alonbarlev/pkcs11-utilities + +- Alex Dupre +ale@FreeBSD.org |