Bug 209811

Summary: sysutils/bareos-server: Need perl to to run make_catalog_backup.pl
Product: Ports & Packages Reporter: Douglas K. Rand <doug.rand>
Component: Individual Port(s)Assignee: Jose Alonso Cardenas Marquez <acm>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: patch
Priority: --- Flags: bugzilla: maintainer-feedback? (acm)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to fix hash-bang and add perl5 to USES none

Description Douglas K. Rand 2016-05-28 15:03:23 UTC
Created attachment 170755 [details]
Patch to fix hash-bang and add perl5 to USES

The make_catalog_backup.pl script uses this trick:

  #!/usr/bin/env perl

to try to invoke pearl. But the Bareos install doesn't add /usr/local/bin to the PATH. So I patched that script to use

  #!/usr/local/bin/perl

And added perl5 to the USES in the Makefile.

Thanks for the Bareos port.
Comment 1 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2017-04-21 18:25:38 UTC
Fix on latest commit of sysutils/bareos-dir. Thanks!!
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-04-21 18:26:37 UTC
A commit references this bug:

Author: acm
Date: Fri Apr 21 18:25:01 UTC 2017
New revision: 439118
URL: https://svnweb.freebsd.org/changeset/ports/439118

Log:
  - Fix Shebang

  PR:		209811

Changes:
  head/sysutils/bareos-server/Makefile