Re: collectd added

matthew sporleder <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
On Fri, Aug 7, 2009 at 7:06 PM, Thomas
Klausner<[email protected]> wrote:
> On Sat, Jul 18, 2009 at 09:56:35AM -0400, matthew sporleder wrote:
>> I've just added a pkg for collectd.  I got its perl stuff worked out
>> but I'm still not totally sure how to handle the config file.
>
> You don't need to include ${MAKE_FLAGS} in INSTALL_MAKE_FLAGS, that's
> automatic.
>

Removed.

> bsd.prefs.mk before options.mk is not necessary.
> I've seen this more often lately, I wonder why?
>

I think I remember having issues when the order was different.

> pkglint is unhappy about options.mk.

I fixed the ERROR from pkglint about missing the # $NetBSD$, but I
really don't understand the warnings:
WARN: options.mk:5: Unknown option "rrdtool".
WARN: options.mk:5: Unknown option "libstatgrab".
WARN: options.mk:6: Unknown option "rrdtool".
WARN: options.mk:6: Unknown option "libstatgrab".

Why doesn't it warn about curl or snmp?  I think they're all defined the same.

>
> Why does the package need libltdl?
>

I think url2pkg put it there.

> I have PLIST trouble on 5.99.15/amd64:
> => Checking file-check results for collectd-4.7.2
> ERROR: ************************************************************
> ERROR: The following files are in /usr/pkg but not in the PLIST:
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/apache.a
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/apache.la
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/apache.so
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/ascent.a
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/ascent.la
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/ascent.so
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/bind.a
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/bind.la
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/bind.so
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/curl.a
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/curl.la
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/curl.so
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/disk.a
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/disk.la
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/disk.so
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/nginx.a
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/nginx.la
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/nginx.so
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/rrdtool.a
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/rrdtool.la
> ERROR:         /scratch/wip/collectd/work/.destdir/usr/pkg/lib/collectd/rrdtool.so
> *** Error code 1
>

Some of those files come from the options.  Is there a good way to
append to the PLIST from an option?

> What is the question you have about config files?
>

I think I got that taken care of.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.