=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-bulktest/net/netdisco", "stage-package-create", "BATCH=1", "DEPENDS_TARGET=/nonexistent", "PKG_APACHE=apache24"] => Creating binary package /tmp/work/net/netdisco/work/.packages/netdisco-1.3.3nb9.tgz => "/opt/pkg/sbin/pkg_add" ["-K", "/var/opt/pkg/.pkgdb", "/tmp/work/net/netdisco/work/.packages/netdisco-1.3.3nb9.tgz"] netdisco-1.3.3nb9: Creating group ``netdisco'' netdisco-1.3.3nb9: Creating user ``netdisco'' netdisco-1.3.3nb9: copying /opt/pkg/share/examples/netdisco/netdisco-topology.txt to /opt/pkg/netdisco/netdisco-topology.txt netdisco-1.3.3nb9: copying /opt/pkg/share/examples/netdisco/netdisco.conf to /opt/pkg/netdisco/netdisco.conf netdisco-1.3.3nb9: /opt/pkg/netdisco/netdisco.conf already exists =========================================================================== The following files are used by netdisco-1.3.3nb9 and have the wrong ownership and/or permissions: /opt/pkg/netdisco/netdisco.conf (m=0660, o=netdisco, g=netdisco) =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.3 2015/09/09 08:35:51 hauke Exp $ Here is a summary of the steps needed to complete the netdisco setup. Please look at the documentation in /opt/pkg/doc/ for details. - add the netdisco administrator(s) account(s) to the netdisco group - edit /opt/pkg/netdisco/netdisco.conf to suit your needs. You have to set the database password here and in netdisco_apache.conf. - cd to /opt/pkg/netdisco/sql/ and run ./pg --init to create the netdisco database in postgresql. - Add a user to the netdisco system: /opt/pkg/netdisco/netdisco -u joebob Give this user administration privileges, so that it will be able to create other users though the web interface. - Import the OUI database http://standards.ieee.org/regauth/oui/oui.txt with /opt/pkg/netdisco/netdisco -O - Add an appropriate crontab to user netdisco. ${EGDIR} contains an example. - Include netdisco in your apache config. ${EGDIR} contains two config fragments: netdisco_apache.conf and netdisco_apache_dir.conf which can be included in the httpd.conf to make netdisco available though http://your.host.name/netdisco/ - Make netdisco discover one of your devices: /opt/pkg/netdisco/netdisco -d devicename - Make netdisco discover your network topology, if supported by your devices: /opt/pkg/netdisco/netdisco -r devicename If not supported by your devices, you'll have to fill in /opt/pkg/netdisco/netdisco-topology.txt. - start the admin daemon: /etc/rc.d/netdisco start ===========================================================================