Bug 198309 - [MAINTAINER] upgrade net-mgmt/netdisco to v2
Summary: [MAINTAINER] upgrade net-mgmt/netdisco to v2
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: freebsd-ports-bugs (Nobody)
Depends on: 198308
  Show dependency treegraph
Reported: 2015-03-05 12:56 UTC by geoffroy desvernay
Modified: 2015-03-16 12:45 UTC (History)
2 users (show)

See Also:
dgeo: maintainer-feedback+

Upgrade netdisco to v2 (69.34 KB, patch)
2015-03-05 12:56 UTC, geoffroy desvernay
dgeo: maintainer-approval+
Details | Diff
poudriere testport log (178.52 KB, text/plain)
2015-03-09 11:51 UTC, geoffroy desvernay
no flags Details
Upgrade netdisco to v2 (69.36 KB, patch)
2015-03-09 13:24 UTC, geoffroy desvernay
no flags Details | Diff
Upgrade netdisco to v2 (67.86 KB, patch)
2015-03-09 14:29 UTC, geoffroy desvernay
no flags Details | Diff
patch netdisco2 with all files/ (68.51 KB, patch)
2015-03-16 08:39 UTC, geoffroy desvernay
dgeo: maintainer-approval+
Details | Diff
testport log (173.34 KB, text/plain)
2015-03-16 08:40 UTC, geoffroy desvernay
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description geoffroy desvernay 2015-03-05 12:56:25 UTC
Created attachment 153829 [details]
Upgrade netdisco to v2

Upgrade netdisco from 1.3.3 to last 2.0x

Added a note in UPDATING, since this will require special attention.

This update requires some new ports added in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198308

port test has been run, and poudriere builds it on 9.x and 10.x (for some months now) - using it in production here.

poudriere testport log coming…
Comment 1 geoffroy desvernay 2015-03-09 11:51:08 UTC
Created attachment 154053 [details]
poudriere testport log
Comment 2 geoffroy desvernay 2015-03-09 13:24:32 UTC
Created attachment 154073 [details]
Upgrade netdisco to v2
Comment 3 geoffroy desvernay 2015-03-09 14:29:35 UTC
Created attachment 154080 [details]
Upgrade netdisco to v2

Correct PLIST for newsyslog sample config
Comment 4 Vanilla I. Shu freebsd_committer 2015-03-16 02:11:23 UTC
I got following error, please help to check.

===>   netdisco-2.031012 depends on package: p5-Graph>=0 - found
===>   netdisco-2.031012 depends on package: p5-GraphViz>=0 - found
===>   netdisco-2.031012 depends on package: p5-Net-OpenSSH>=0 - found
===>   netdisco-2.031012 depends on file: /usr/local/bin/perl5.18.4 - found
** Missing /usr/ports/net-mgmt/netdisco/files/netdiscologs.conf.sample.in for netdisco-2.031012.
*** Error code 1

make: stopped in /usr/ports/net-mgmt/netdisco
build of net-mgmt/netdisco ended at Mon Mar 16 10:08:51 CST 2015
build time: 00:00:39
!!! build failure encountered !!!
[00:08:02] ====>> Error: Build failed in phase: stage
[00:08:02] ====>> Cleaning up
[00:08:02] ====>> Umounting file systems
799.592u 253.753s 8:03.09 218.0%        7316+360k 386745+1292445io 75114pf+0w
Comment 5 geoffroy desvernay 2015-03-16 07:29:16 UTC
Oups ! two missing files …

now double-checking with new port tree…
Comment 6 geoffroy desvernay 2015-03-16 08:39:12 UTC
Created attachment 154410 [details]
patch netdisco2 with all files/

Added the two missing files/ in the patch

UPDATING entry moved out as date won't be the right one…

I propose this entry:

  AFFECTS: users of net-mgmt/netdisco
  AUTHOR: dgeo@centrale-marseille.fr

  netdisco version has been upgraded to netdisco2

  After upgrading, you will need to review all your configuration, as
  this new version won't read old config files.
  You'll be able to keep your data though netdisco-deploy command
Comment 7 geoffroy desvernay 2015-03-16 08:40:36 UTC
Created attachment 154411 [details]
testport log

tested with new port tree and only attached patch

Sorry for not having done this before :-/
Comment 8 commit-hook freebsd_committer 2015-03-16 12:40:49 UTC
A commit references this bug:

Author: vanilla
Date: Mon Mar 16 12:40:10 UTC 2015
New revision: 381383
URL: https://svnweb.freebsd.org/changeset/ports/381383

  Upgrade to 2.031012.

  PR:		198309
  Submitted by:	maintainer

Comment 9 geoffroy desvernay 2015-03-16 12:45:48 UTC
Thank you Vanilla !