Bug 209811 - sysutils/bareos-server: Need perl to to run make_catalog_backup.pl
Summary: sysutils/bareos-server: Need perl to to run make_catalog_backup.pl
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jose Alonso Cardenas Marquez
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-05-28 15:03 UTC by Douglas K. Rand
Modified: 2017-04-21 18:26 UTC (History)
0 users

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


Attachments
Patch to fix hash-bang and add perl5 to USES (1018 bytes, patch)
2016-05-28 15:03 UTC, Douglas K. Rand
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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