Bug 209992

Summary: security/opencryptoki: build fails if OpenLDAP library is installed
Product: Ports & Packages Reporter: luca.pizzamiglio
Component: Individual Port(s)Assignee: Hiroki Sato <hrs>
Status: Closed FIXED    
Severity: Affects Only Me CC: hrs, luca.pizzamiglio
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (hrs)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
The patch to disable the icsf token support vlad-fbsd: maintainer-approval? (hrs)

Description luca.pizzamiglio 2016-06-03 10:56:38 UTC
Created attachment 170976 [details]
The patch to disable the icsf token support

If OpenLDAP is installed, the icsf token (Integrated Cryptographic Service Facility) is built, adding a subdirectory in ${STAGEDIR}/var/run/opencryptoki.

The post-install target fails, because ${STAGEDIR}/var/run/opencryptoki is not empty.

The attached patch disables the icsf token support, as possible solution.
Comment 1 luca.pizzamiglio 2016-06-03 11:04:23 UTC
I did a mess with the maintainer-approval flags, sorry.
Obviously, the requestee is hrs@, but I cannot delete the wrong flags.
Comment 2 VK 2016-06-06 23:42:11 UTC
Comment on attachment 170976 [details]
The patch to disable the icsf token support

Fixed. :)
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-06-10 18:24:21 UTC
A commit references this bug:

Author: hrs
Date: Fri Jun 10 18:24:09 UTC 2016
New revision: 416685
URL: https://svnweb.freebsd.org/changeset/ports/416685

Log:
  Fix dependency and build of ICSF token support.  The configure script
  enabled the build when libldap was found.

  Spotted by:	luca.pizzamiglio@gmail.com
  PR:		209992

Changes:
  head/security/opencryptoki/Makefile
  head/security/opencryptoki/files/pkcsslotd.in
  head/security/opencryptoki/pkg-plist
Comment 4 Hiroki Sato freebsd_committer freebsd_triage 2016-06-10 18:46:22 UTC
Fixed, thanks!