Bug 198309

Summary: [MAINTAINER] upgrade net-mgmt/netdisco to v2
Product: Ports & Packages Reporter: geoffroy desvernay <dgeo>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: drs-freebsd, vanilla
Priority: --- Flags: dgeo: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 198308    
Bug Blocks:    
Attachments:
Description Flags
Upgrade netdisco to v2
dgeo: maintainer-approval+
poudriere testport log
none
Upgrade netdisco to v2
none
Upgrade netdisco to v2
none
patch netdisco2 with all files/
dgeo: maintainer-approval+
testport log none

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 freebsd_triage 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

Stop.
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 freebsd_triage 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

Log:
  Upgrade to 2.031012.

  PR:		198309
  Submitted by:	maintainer

Changes:
  head/net-mgmt/netdisco/Makefile
  head/net-mgmt/netdisco/distinfo
  head/net-mgmt/netdisco/files/localenv.in
  head/net-mgmt/netdisco/files/netdisco.in
  head/net-mgmt/netdisco/files/netdiscologs.conf.sample.in
  head/net-mgmt/netdisco/files/patch-netdisco
  head/net-mgmt/netdisco/files/patch-netdisco.conf
  head/net-mgmt/netdisco/files/patch-netdisco.crontab
  head/net-mgmt/netdisco/files/patch-netdisco_apache.conf
  head/net-mgmt/netdisco/files/patch-netdisco_apache_dir.conf
  head/net-mgmt/netdisco/files/patch-sql__pg
  head/net-mgmt/netdisco/files/pkg-message.in
  head/net-mgmt/netdisco/pkg-deinstall
  head/net-mgmt/netdisco/pkg-descr
  head/net-mgmt/netdisco/pkg-plist
Comment 9 geoffroy desvernay 2015-03-16 12:45:48 UTC
Thank you Vanilla !