Index: head/security/pkcs11-dump/Makefile =================================================================== --- head/security/pkcs11-dump/Makefile (revision 459739) +++ head/security/pkcs11-dump/Makefile (revision 459740) @@ -1,25 +1,27 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= pkcs11-dump PORTVERSION= 0.3.4 CATEGORIES= security MASTER_SITES= https://github.com/alonbl/pkcs11-dump/releases/download/pkcs11-dump-${PORTVERSION}/ MAINTAINER= ale@FreeBSD.org COMMENT= Allow dumping PKCS\#11 token content -USES= tar:bzip2 ssl +LICENSE= GPLv2 + +USES= tar:bzip2 ssl dos2unix GNU_CONFIGURE= yes CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" PLIST_FILES= bin/pkcs11-dump \ man/man1/pkcs11-dump.1.gz post-patch: @${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \ ${WRKSRC}/Makefile.in .include Index: head/security/pkcs11-dump/files/patch-Makefile.in =================================================================== --- head/security/pkcs11-dump/files/patch-Makefile.in (revision 459739) +++ head/security/pkcs11-dump/files/patch-Makefile.in (revision 459740) @@ -1,31 +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 @@ +--- Makefile.in.orig 2018-01-23 10:46:50 UTC ++++ Makefile.in +@@ -73,8 +73,7 @@ am__CONFIG_DISTCLEAN_FILES = config.stat 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 @@ +@@ -665,7 +664,7 @@ check-am: all-am 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 @@ +@@ -715,8 +714,7 @@ info: info-am info-am: -install-data-am: install-dist_docDATA install-man \ - install-nodist_htmlDATA +install-data-am: install-man install-dvi: install-dvi-am Index: head/security/pkcs11-dump/files/patch-pkcs11-dump.cpp =================================================================== --- head/security/pkcs11-dump/files/patch-pkcs11-dump.cpp (nonexistent) +++ head/security/pkcs11-dump/files/patch-pkcs11-dump.cpp (revision 459740) @@ -0,0 +1,11 @@ +--- pkcs11-dump.cpp.orig 2018-01-23 10:46:55 UTC ++++ pkcs11-dump.cpp +@@ -1136,7 +1136,7 @@ Dump ( + for (int j=0;attrdescAttributes[j].nId!=-1;j++) { + char Buffer[10*1024]; + CK_ATTRIBUTE t[] = { +- {attrdescAttributes[j].nId, Buffer, sizeof (Buffer)} ++ {(CK_ATTRIBUTE_TYPE)attrdescAttributes[j].nId, Buffer, sizeof (Buffer)} + }; + + if ( Property changes on: head/security/pkcs11-dump/files/patch-pkcs11-dump.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property