Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2018 09:52:32 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477319 - head/security/beid/files
Message-ID:  <201808160952.w7G9qWXG073140@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Thu Aug 16 09:52:31 2018
New Revision: 477319
URL: https://svnweb.freebsd.org/changeset/ports/477319

Log:
  Add patch to replace c_rehash.  The base system OpenSSL does not have this
  because it's a Perl script.

Modified:
  head/security/beid/files/patch-plugins_tools_eid-viewer_Makefile.am

Modified: head/security/beid/files/patch-plugins_tools_eid-viewer_Makefile.am
==============================================================================
--- head/security/beid/files/patch-plugins_tools_eid-viewer_Makefile.am	Thu Aug 16 09:38:04 2018	(r477318)
+++ head/security/beid/files/patch-plugins_tools_eid-viewer_Makefile.am	Thu Aug 16 09:52:31 2018	(r477319)
@@ -18,3 +18,14 @@
  	conversions/valdate.h \
  	conversions/valdate.cpp \
  	conversions/workpermitconv.h \
+@@ -193,7 +197,9 @@ dist_trust_DATA = \
+ 	certs/belgiumrca4.pem
+ 
+ install-data-hook:
+-	$(SSL_PREFIX)/bin/c_rehash $(DESTDIR)/$(trustdir)
++	(cd $(DESTDIR)/$(trustdir) && for i in *.pem; do \
++	ln -sfh $$i $$($(SSL_PREFIX)/bin/openssl x509 -hash -noout -in $$i).0; \
++	done)
+ 
+ gtk/viewer_glade.h: gtk/viewer.glade
+ 	$(top_srcdir)/plugins_tools/aboutmw/gtk/gen.sh VIEWER_GLADE_H VIEWER_GLADE_STRING < $^ > $@



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808160952.w7G9qWXG073140>