Paul Schmehl wrote:
--On January 1, 2015 at 3:32:19 PM -0500 "A.J. Kehoe IV (Nanoman)" <nano...@nanoman.ca> wrote:Paul Schmehl wrote:I got my monthly report and noticed that a number of ports were corrupt. pkg_info: the package info for package 'OpenSP-1.5.2_2' is corrupt pkg_info: the package info for package 'apache22-2.2.27_2' is corrupt pkg_info: the package info for package 'autoconf-2.69' is corrupt My ports are fine according to %pkg info. Why is bsdstats still using the old ports utilities? Is it going to be updated?pkg support was added to the FreeBSD BSDstats port in 2012: http://svnweb.freebsd.org/ports/head/sysutils/bsdstats/files/300.statisti cs.in?r1=300897&r2=301654&pathrev=301654 If the file /var/db/pkg/local.sqlite exists on your system, BSDstats should try to use pkg as expected.It does. # ls -lsa /var/db/pkg/local.sqlite 15696 -rw-r--r-- 1 root wheel 16044032 Jan 1 19:13 /var/db/pkg/local.sqlite Maybe there's a logic flaw?
That's possible, but it seems pretty simple: -----BEGIN SUMMARY----- if [ -e /var/db/pkg/local.sqlite ]; then echo "pkg" else echo "pkg_* tools" fi -----END SUMMARY----- Are you using bsdstats-5.3_3 or later? bsdstats-5.5_5 is the current port version. $ pkg info -E bsdstats bsdstats-5.5_5 Was it /usr/local/etc/periodic/monthly/300.statistics that gave the package corruption errors? # /usr/local/etc/periodic/monthly/300.statistics -nodelay Posting monthly OS statistics to rpt.bsdstats.org -- A.J. Kehoe IV (Nanoman) | /"\ ASCII Ribbon Campaign Nanoman's Company | \ / - No HTML/RTF in E-mail E-mail: nano...@nanoman.ca | X - No proprietary attachments WWW: http://www.nanoman.ca/ | / \ - Respect for open standards
smime.p7s
Description: S/MIME cryptographic signature