With these changes I'm almost back to being able to build packages on all my QA
platforms and starting some QA runs.
It would be really good if someone with Python expertise reviewed the Python
changes.
And I suspect Frank may want to have a discussion about the mode 1777
directories change.
Changes committed to git://oss.sgi.com/kenj/pcp.git dev
GNUmakefile | 1
build/rpm/GNUmakefile | 1
build/rpm/pcp.spec.in | 11 +++--
configure | 2
configure.in | 6 ++
debian/pcp.postinst.tail | 4 -
debian/pcp.postrm | 2
debian/pcp.prerm | 4 -
qa/.gitignore | 1
qa/374 | 15 +++++--
qa/374.out | 94 ---------------------------------------------
qa/374.out.1 | 97 +++++++++++++++++++++++++++++++++++++++++++++++
qa/374.out.2 | 97 +++++++++++++++++++++++++++++++++++++++++++++++
qa/375.linux.3 | 3 +
qa/common.check | 2
src/include/builddefs.in | 2
src/pmcd/rc_pmcd | 7 +++
src/pmdas/oracle/Install | 1
src/pmdas/simple/Install | 15 +++++++
src/python/setup.py | 2
20 files changed, 258 insertions(+), 109 deletions(-)
commit 072ec12436accab00331754f08a6670a9a0c06ca
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu May 9 06:48:56 2013 +1000
fix python builds for mandrivia
The python build was broken in two ways:
- if PCP is not already installed, then the -L options passed
through via SETUP_PY_BUILD_OPTIONS += --library-dirs... named
one directory that did not exist, rather than all the library
directorties
- to build pmda.c you need to link with -lpcp_pmda _and_ -lpcp
commit 9dc0c7d08fc3265ccd7c0aa073939452b3907045
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed May 8 17:09:30 2013 +1000
qa/374 - pmcd.pdu_in.user_auth mentioned in one more place
commit ea63c2b4c92ac2047bde71f6409489fe72c26e08
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed May 8 17:06:23 2013 +1000
qa/375 - pmcd.pdu_in.user_auth mentioned in one more place
commit ee643add7df495cd7bb834fb993d78faf3130fe0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed May 8 16:59:09 2013 +1000
qa/common.check - another $quiet problem in _check_agent()
[ (aka test(1)) should be using = not == here.
This was causing qa/578 failures.
commit ba9904e69067ded451e632938a4f27cdf76fbcfc
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed May 8 16:29:21 2013 +1000
Non-root PMDA access control changes
PMDAs may run as root, or the user pcp, or some other user and/or
group (e.g. the dbms PMDAs).
There are two places an arbitrary PMDA needs to be able to write
1) $PCP_LOG_DIR/pmcd to create its log file, and
2) (optionally) $PCP_VAR_DIR/config/pmda to manage any persistant
instance domain cache files
Both directories need to be mode 1777, but because packaging
restrictions may get in the way, we uncoditionally set the mode
on these two directories in the pmcd start up script.
Some PMDAs may need to take additional care with ownership of
their indom cache files, as the simple PMDA's Install script
demonstrates.
commit 6dae1ff43b697d7becc3038277a43d87cbd8bd69
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed May 8 09:49:57 2013 +1000
dpkg builds for missing libmicrohttpd package
Need some pre/post script changes for the case where the
libmicrohttpd package is not installed in the build
environment.
commit c8c9420c5a943922e008509a1cf6521667b90898
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed May 8 09:08:53 2013 +1000
configure.in - more CFLAGS tweaks
When I move the optimization flags out from $CFLAGS to $CFLAGS_OPT
in the build infrastructure (so I can build/debug code with no
optimization in place), there is a messy cross-dependency between
$CFLAGS use in configure.in and in builddefs.
I missed the fact that -D_FORTIFY_SOURCE=2 _requires_ -O (at least
for some toolchains), and this was causing some malconfiguration
in the cc tests run from configure, specifically the test for the
const (or not) struct dirent parameter to scandir().
This commit fixes that.
commit 7bb73a6a73c6d03177080b4036e95574331d4ebb
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed May 8 08:09:11 2013 +1000
rpm builds for missing libmicrohttpd package
Make RPM packaging (specifically the package dependencies) work
again if the libmicrohttpd package is not installed in the build
environment.
Thanks Nathan.
|