Page MenuHomeFreeBSD

new port: net-mgmt/p5-Thruk: Monitoring webinterface for Naemon, Nagios, Icinga and Shinken (need advice)
Needs ReviewPublic

Authored by dvl on Nov 14 2019, 4:25 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Trying to create a port for this and having trouble with sed in theirconfigure.They use 'sed -i' at https://github.com/sni/Thruk/blob/master/script/thruk_set_standard_header#L20sed -i $file.head -e 's/\ \&\&.*examples.*\]\]//g'sed -i $file.head -e 's%:[^:]*conf/lib%%g'

The errors are:

sed: rename(): No such file or directory
created cached js/css files
Can't exec "./script/thruk_set_standard_header": No such file or directory at ./Makefile.PL line 161.
failed to update standard headers at ./Makefile.PL line 163.

  • Error code 2

Running that script manually from within testport -i gives:

root@120R-dvl:/wrkdirs/usr/ports/net-mgmt/p5-Thruk/work/Thruk-d0fc90f # ./script/thruk_set_standard_header
sed: -I or -i may not be used with stdin
sed: -I or -i may not be used with stdin
sed: -I or -i may not be used with stdin
sed: -I or -i may not be used with stdin
sed: -I or -i may not be used with stdin
sed: -I or -i may not be used with stdin
sed: -I or -i may not be used with stdin
sed: -I or -i may not be used with stdin
sed: -I or -i may not be used with stdin
sed: -I or -i may not be used with stdin
sed: -I or -i may not be used with stdin
sed: -I or -i may not be used with stdin
sed: -I or -i may not be used with stdin
sed: -I or -i may not be used with stdin
sed: -I or -i may not be used with stdin

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 27515
Build 25745: arc lint + arc unit

Event Timeline

dvl created this revision.Nov 14 2019, 4:25 PM
linimon retitled this revision from Trying to create a port for this and having trouble with sed in their configure. They use 'sed -i' at https://github.com/sni/Thruk/blob/master/script/thruk_set_standard_header#L20 sed -i $file.head -e 's/\ \&\&.*examples.*\]\]//g' sed -i $file. to new port: net-mgmt/p5-Thruk: (need advice).Nov 15 2019, 2:31 AM
linimon edited the summary of this revision. (Show Details)
linimon retitled this revision from new port: net-mgmt/p5-Thruk: (need advice) to new port: net-mgmt/p5-Thruk: Monitoring webinterface for Naemon, Nagios, Icinga and Shinken (need advice).
linimon added a subscriber: linimon.

Fixed title. fwiw it should be 'thruk' all lowercase to fit in with existing practice.

linimon removed a subscriber: linimon.Nov 16 2019, 1:42 AM