pcp
[Top] [All Lists]

pcp updates: OpenBSD port

To: pcp@xxxxxxxxxxx
Subject: pcp updates: OpenBSD port
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu, 18 Feb 2016 18:13:37 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
With changes the build runs to completion and a tarball is created by Makepkgs 
on OpenBSD.  RPM and Debian builds seem to have survived these changes.

For OpenBSD here is a problem with the Perl and Python packaging ... none of 
these artefacts make it into the tarball.

The openbsd PMDA is rudimentary and untested.

But this is a small step along the path ... checking all this in so I can move 
on without tree divergence becoming a problem.

Changes committed to git://git.pcp.io/kenj/pcp master

Ken McDonell (11):
      qa/admin/check-vm: initial changes for OpenBSD
      configure: changes for OpenBSD
      src/nclude/pcp: header changes for OpenBSD
      src/include/build*: build infrastructure changes for OpenBSD
      src/libpcp: changes for OpenBSD
      openbsd PMDA: new
      miscellaneous OpenBSD porting changes
      OpenBSD: forlorn attempts to get Perl and Python packaging to work
      OpenBSD: Makepkgs, pcp-daily, etc changes
      src/perl/LogSummary/GNUmakefile: fix botch from OpenBSD changes
      Fix Perl buld for rpm packaging ... collateral damage from OpenBSD port

 Makepkgs                        |   10 
 configure                       |   23 
 configure.ac                    |   19 
 qa/admin/check-vm               |  117 +++-
 qa/admin/pcp-daily              |    7 
 src/autofsd-probe/GNUmakefile   |    2 
 src/include/builddefs.in        |   64 +-
 src/include/buildrules          |    2 
 src/include/pcp/config.h.in     |    8 
 src/include/pcp/impl.h          |    3 
 src/libpcp/src/auxserver.c      |    4 
 src/libpcp/src/check-statics    |    4 
 src/libpcp/src/pdubuf.c         |    1 
 src/libpcp/src/stuffvalue.c     |    1 
 src/libpcp/src/util.c           |    2 
 src/libpcp_gui/src/timeclient.c |    4 
 src/perl/LogImport/GNUmakefile  |   10 
 src/perl/LogSummary/GNUmakefile |   10 
 src/perl/MMV/GNUmakefile        |   10 
 src/perl/PMDA/GNUmakefile       |   10 
 src/pmcd/rc-proc.sh             |    8 
 src/pmdas/GNUmakefile           |    2 
 src/pmdas/openbsd/.gitignore    |    7 
 src/pmdas/openbsd/GNUmakefile   |   72 ++
 src/pmdas/openbsd/disk.c        |  206 ++++++++
 src/pmdas/openbsd/filesys.c     |  204 ++++++++
 src/pmdas/openbsd/freebsd.c     |   90 +++
 src/pmdas/openbsd/help          |  144 +++++
 src/pmdas/openbsd/netif.c       |  323 ++++++++++++
 src/pmdas/openbsd/openbsd.c     |  995 ++++++++++++++++++++++++++++++++++++++++
 src/pmdas/openbsd/openbsd.h     |   66 ++
 src/pmdas/openbsd/percpu.c      |  126 +++++
 src/pmdas/openbsd/root_openbsd  |  204 ++++++++
 src/pmdas/openbsd/swap.c        |  123 ++++
 src/pmdas/openbsd/vm_uvmexp.c   |  167 ++++++
 src/pmdas/pmcd/src/pmcd.c       |    2 
 src/pmdas/root/root.c           |    4 
 src/pmdas/shping/shping.c       |    2 
 src/pmie/pmie2col.sh            |    2 
 src/pmlogger/pmlogger_daily.sh  |   14 
 src/pmns/stdpmid.pcp            |    1 
 41 files changed, 2989 insertions(+), 84 deletions(-)

Details ...

commit 14fe9fc17c85b051a7fff515253bbf6ffe66d15d
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Feb 18 17:38:47 2016 +1100

    Fix Perl buld for rpm packaging ... collateral damage from OpenBSD port
    
    Real problem was a lurking typo (mixed syntax usage) in builddefs.in
    ... $1 (not changed) instead of $(1) (that would have been changed).

commit 7e023370a64a6fcb05be28beaa55a2f073370269
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Feb 18 14:32:14 2016 +1100

    src/perl/LogSummary/GNUmakefile: fix botch from OpenBSD changes

commit 98eb783055df637a64eaa1e8c506209e620bee8b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Feb 18 12:38:23 2016 +1100

    OpenBSD: Makepkgs, pcp-daily, etc changes

commit 5da14a792743047356234ffe83e7c933a8efabad
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Feb 18 12:27:40 2016 +1100

    OpenBSD: forlorn attempts to get Perl and Python packaging to work
    
    With these changes, Makepkgs finishes without "error", but there
    are no Perl or Python artefacts in the tarball, despite them being
    creating in $DIST_ROOT.

commit c1d886e494d5fb651a29aadce96507c93fb02db1
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Feb 16 17:18:26 2016 +1100

    miscellaneous OpenBSD porting changes

commit 80e02f7e27775e8ab1134db6000d64c4f8a12e4d
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Feb 16 17:17:26 2016 +1100

    openbsd PMDA: new
    
    This is untested, but compiles ... enough to clear the Makepkgs hurdle.

commit e61eb0eb01ba5e82fefc0d82e4defdcfa6e3bc6d
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Feb 16 17:16:19 2016 +1100

    src/libpcp: changes for OpenBSD

commit 258a360c8ad551ce9d7d6af0fd9022492bf76ecb
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Feb 16 17:15:26 2016 +1100

    src/include/build*: build infrastructure changes for OpenBSD

commit 413ed6c4bf045eb0ead93d55cbd7844ca98419bf
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Feb 16 17:14:54 2016 +1100

    src/nclude/pcp: header changes for OpenBSD

commit 386d8974fbd4d07d410caf92811f21dbdcde5b0f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Feb 16 17:14:18 2016 +1100

    configure: changes for OpenBSD

commit a51109a092239a68f3ba716f88515ce544f382c4
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Feb 16 17:12:57 2016 +1100

    qa/admin/check-vm: initial changes for OpenBSD
    
    Lots of Perl stuff would appear to be only available from cpan,
    otherwise pkg_add seems to be able to deliver most of the required
    build and qa prereqs.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: OpenBSD port, Ken McDonell <=