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…
Created attachment 154053 [details] poudriere testport log
Created attachment 154073 [details] Upgrade netdisco to v2
Created attachment 154080 [details] Upgrade netdisco to v2 Correct PLIST for newsyslog sample config
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
Oups ! two missing files … now double-checking with new port tree…
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
Created attachment 154411 [details] testport log tested with new port tree and only attached patch Sorry for not having done this before :-/
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
Thank you Vanilla !