[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DPKGPackageCheck() implementation.
From: |
Nate Campi |
Subject: |
Re: DPKGPackageCheck() implementation. |
Date: |
Thu, 11 Mar 2004 16:31:24 -0800 |
User-agent: |
Mutt/1.3.28i |
On Tue, Mar 09, 2004 at 08:18:32PM +0100, Morten Werner Olsen wrote:
>
> Cfengine was choosen as the configuration management tool, and one of
> the first things I missed when using APT from Cfengine, was package
> support for DPKG (this is already implemented for RPM). I have made a
> draft implementation [1] of the function DPKGPackageCheck() in
> src/package.c based on the already existing RPMPackageCheck().
I didn't have the same older cfengine version you had, but I had
cfengine-2.1.0p1 which was pretty close. It patches fine but doesn't
build on sid ("gcc (GCC) 3.3.3 (Debian)").
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -pthread -g -O2
-Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -g -O2
-pthread -g -O2 -c `test -f 'misc.c' || echo './'`misc.c
misc.c: In function `ChecksumChanged':
misc.c:274: warning: passing arg 2 of pointer to function from
incompatible pointer type
misc.c:274: warning: passing arg 4 of pointer to function makes pointer
from integer without a cast
misc.c:274: error: too few arguments to function
misc.c: In function `ChecksumPurge':
misc.c:442: warning: passing arg 2 of pointer to function from
incompatible pointer type
misc.c:442: warning: passing arg 4 of pointer to function makes pointer
from integer without a cast
misc.c:442: error: too few arguments to function
make[2]: *** [misc.o] Error 1
make[2]: Leaving directory `/usr/src/cfengine-2.1.0p1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/cfengine-2.1.0p1/src'
make: *** [all-recursive] Error 1
--
Nate
He may look like an idiot and talk like an idiot but don't let that fool
you. He really is an idiot. - Groucho Marx
- DPKGPackageCheck() implementation., Morten Werner Olsen, 2004/03/10
- Re: DPKGPackageCheck() implementation., Mark . Burgess, 2004/03/13
- Re: DPKGPackageCheck() implementation., Russell Adams, 2004/03/13
- Re: DPKGPackageCheck() implementation., Morten Werner Olsen, 2004/03/15
- Re: DPKGPackageCheck() implementation., Russell Adams, 2004/03/15
- Re: DPKGPackageCheck() implementation., John Sechrest, 2004/03/15
- Re: DPKGPackageCheck() implementation., Russell Adams, 2004/03/15
- Re: DPKGPackageCheck() implementation., John Sechrest, 2004/03/15
Re: DPKGPackageCheck() implementation.,
Nate Campi <=
Message not available