Bug 249977 - security/racoon2: Misconfigured perl5 dependency?
Summary: security/racoon2: Misconfigured perl5 dependency?
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-29 03:58 UTC by Archit Shah
Modified: 2020-10-02 15:58 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (cy)


Attachments
Point to correct perl5 (678 bytes, patch)
2020-09-29 04:18 UTC, Cy Schubert
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Archit Shah 2020-09-29 03:58:47 UTC
On a relatively clean install (12.1-RELEASE-p10), the racoon2 POST-INSTALL script failed when existing pskgen because /usr/local/bin/perl5 did not exist (though /usr/local/bin/perl5.30.3 did exist).

# sudo pkg install racoon2
[...]    
Checking integrity... done (0 conflicting)
[1/1] Installing racoon2-202000801...
[1/1] Extracting racoon2-202000801: 100%
/bin/sh: /usr/local/sbin/pskgen: not found
pkg: POST-INSTALL script failed

# pskgen
bash: /usr/local/sbin/pskgen: /usr/local/bin/perl5: bad interpreter: No such file or directory
Comment 1 Cy Schubert freebsd_committer freebsd_triage 2020-09-29 04:18:26 UTC
Created attachment 218396 [details]
Point to correct perl5

Can you give this a spin?
Comment 2 Archit Shah 2020-09-29 16:47:51 UTC
Works for me.
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-09-29 17:06:04 UTC
A commit references this bug:

Author: cy
Date: Tue Sep 29 17:05:43 UTC 2020
New revision: 550538
URL: https://svnweb.freebsd.org/changeset/ports/550538

Log:
  Point to the correct perl.

  PR:		249977
  Reported by:	Archit Shah <archit.shah@gmail.com>

Changes:
  head/security/racoon2/Makefile