svn commit: r477319 - head/security/beid/files

Tijl Coosemans tijl at FreeBSD.org
Thu Aug 16 09:52:32 UTC 2018


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 < $^ > $@


More information about the svn-ports-head mailing list