Re: [NEW] p5-Net-Prometheus ( with p5-Struct-Dumb )
The updated versions of p5-Struct-Dumb-0.12 and p5-Net-Prometheus-0.11 are is still OK afresh1@ if someone has time to OK or import. Reattached here for convenience. On Tue, Oct 20, 2020 at 12:00:53PM -0400, Sven F. wrote: > On Thu, Oct 1, 2020 at 6:14 PM Sven F. wrote: > > > > > > > > On Fri, Sep 25, 2020 at 8:42 AM Sven F. wrote: > >> > >> On Thu, Sep 10, 2020 at 10:19 PM Andrew Hewus Fresh > >> wrote: > >> > > >> > p5-Struct-Dumb could use a TEST_DEPENDS on devel/p5-Data-Dump so tests > >> > are the same no matter what else is installed, other than that: > >> > > >> > OK afresh1@ > >> > > >> > p5-Net-Prometheus doesn't seem to need BUILD_DEPENDS=${RUN_DEPENDS}, but > >> > with that changed, it's also > >> > > >> > OK afresh1@ > >> > > >> > > >> > >> Updated Makefile and clean archive joined. > >> Make test works and make after modification. > >> > >> Thank you for the review @Andrew Fresh > >> > > > > Since 6.8 is out maybe someone else can OK this ? > > > > Tree is unlocked , is it possible to have a second OK and/or a commit of > those ? > > -- > -- > - > Knowing is not enough; we must apply. Willing is not enough; we must do > -- andrew - http://afresh1.com Hey, I think I see a barn up ahead. -- The American Astronaut p5-Struct-Dumb.tar.gz Description: application/tar-gz p5-Net-Prometheus.tar.gz Description: application/tar-gz
Re: [NEW] p5-Net-Prometheus ( with p5-Struct-Dumb )
On Thu, Oct 1, 2020 at 6:14 PM Sven F. wrote: > > > > On Fri, Sep 25, 2020 at 8:42 AM Sven F. wrote: >> >> On Thu, Sep 10, 2020 at 10:19 PM Andrew Hewus Fresh >> wrote: >> > >> > p5-Struct-Dumb could use a TEST_DEPENDS on devel/p5-Data-Dump so tests >> > are the same no matter what else is installed, other than that: >> > >> > OK afresh1@ >> > >> > p5-Net-Prometheus doesn't seem to need BUILD_DEPENDS=${RUN_DEPENDS}, but >> > with that changed, it's also >> > >> > OK afresh1@ >> > >> > >> >> Updated Makefile and clean archive joined. >> Make test works and make after modification. >> >> Thank you for the review @Andrew Fresh >> > > Since 6.8 is out maybe someone else can OK this ? > Tree is unlocked , is it possible to have a second OK and/or a commit of those ? -- -- - Knowing is not enough; we must apply. Willing is not enough; we must do
Re: [NEW] p5-Net-Prometheus ( with p5-Struct-Dumb )
On Fri, Sep 25, 2020 at 8:42 AM Sven F. wrote: > On Thu, Sep 10, 2020 at 10:19 PM Andrew Hewus Fresh > wrote: > > > > p5-Struct-Dumb could use a TEST_DEPENDS on devel/p5-Data-Dump so tests > > are the same no matter what else is installed, other than that: > > > > OK afresh1@ > > > > p5-Net-Prometheus doesn't seem to need BUILD_DEPENDS=${RUN_DEPENDS}, but > > with that changed, it's also > > > > OK afresh1@ > > > > > > Updated Makefile and clean archive joined. > Make test works and make after modification. > > Thank you for the review @Andrew Fresh > > Since 6.8 is out maybe someone else can OK this ? -- -- - Knowing is not enough; we must apply. Willing is not enough; we must do
Re: [NEW] p5-Net-Prometheus ( with p5-Struct-Dumb )
On Thu, Sep 10, 2020 at 10:19 PM Andrew Hewus Fresh wrote: > > p5-Struct-Dumb could use a TEST_DEPENDS on devel/p5-Data-Dump so tests > are the same no matter what else is installed, other than that: > > OK afresh1@ > > p5-Net-Prometheus doesn't seem to need BUILD_DEPENDS=${RUN_DEPENDS}, but > with that changed, it's also > > OK afresh1@ > > > Updated Makefile and clean archive joined. Make test works and make after modification. Thank you for the review @Andrew Fresh -- -- - Knowing is not enough; we must apply. Willing is not enough; we must do p5-Struct-Dumb.tar.gz Description: GNU Zip compressed data p5-Net-Prometheus.tar.gz Description: GNU Zip compressed data
Re: [NEW] p5-Net-Prometheus ( with p5-Struct-Dumb )
p5-Struct-Dumb could use a TEST_DEPENDS on devel/p5-Data-Dump so tests are the same no matter what else is installed, other than that: OK afresh1@ p5-Net-Prometheus doesn't seem to need BUILD_DEPENDS=${RUN_DEPENDS}, but with that changed, it's also OK afresh1@ On Sat, Aug 29, 2020 at 07:34:55PM -0400, Sven F. wrote: > On Tue, Aug 25, 2020 at 10:46 AM Sven F. wrote: > > > > On Sun, Aug 23, 2020 at 6:47 PM Andrew Hewus Fresh > > wrote: > > > > > > Comments inline. > > > > > > On Mon, Aug 17, 2020 at 07:04:12PM -0400, Sven F. wrote: > > > > Index: devel/p5-Struct-Dumb/Makefile > > > > === > > > > RCS file: devel/p5-Struct-Dumb/Makefile > > > > diff -N devel/p5-Struct-Dumb/Makefile > > > > --- /dev/null 1 Jan 1970 00:00:00 - > > > > +++ devel/p5-Struct-Dumb/Makefile 17 Aug 2020 22:54:51 - > > > > @@ -0,0 +1,23 @@ > > > > +# $OpenBSD$ > > > > + > > > > +COMMENT= make simple lightweight record-like structures > > > > > > I'm not sure if it's just the way this was submitted, but the proper > > > format here is optional space, operator (= or +=), tab. Specifically, > > > the character after the = (or +=) should be a tab, not a space. > > > > > > The optional space should be consistent in the file. > > > > > > > > > > + > > > > +MODULES= cpan > > > > +CPAN_AUTHOR= PEVANS > > > > +PKG_ARCH= * > > > > +DISTNAME= Struct-Dumb-0.12 > > > > +CATEGORIES= devel > > > > > > This is an odd order, The DISTNAME should be first and the others can > > > either go here or down by the CONFIGURE_STYLE. No real preference on > > > that, but I think it's more common for them to be down below. > > > > > > > > > > > > > +MAINTAINER= Sven > > > > + > > > > +# perl > > > > +PERMIT_PACKAGE= Yes > > > > + > > > > +CONFIGURE_STYLE= modbuild tiny > > > > > > This didn't work for me, it seems to want the full modbuild, not > > > the tiny version. > > > > > > > > > > + > > > > +BUILD_DEPENDS+= devel/p5-Test-Fatal > > > > +TEST_DEPENDS+= devel/p5-Test-Fatal > > > > > > These should not be "+=" and the BUILD_DEPENDS isn't necessary, but it > > > does need an additional TEST_DEPENDS on devel/p5-Data-Dump and > > > devel/p5-Test-Pod though, because otherwise the test run could be > > > different if that's installed. > > > > > > This particular module doesn't need the MAKE_ENV=TEST_POD=Yes since it > > > runs the pod tests if Test::Pod is installed. > > > > > > > > > > Hello, thanks for following up, > > > > OK, the tabs are present in the github diff, i will use a tarball, > > lets do Struct-Dumb first : > > I modified the makefile (ignore spacing here) : > > > > ``` > > # $OpenBSD$ > > > > COMMENT=make simple lightweight record-like structures > > > > DISTNAME= Struct-Dumb-0.12 > > CATEGORIES= devel > > CPAN_AUTHOR=PEVANS > > PKG_ARCH= * > > > > MAINTAINER= Sven > > > > # perl > > PERMIT_PACKAGE= Yes > > > > MODULES=cpan > > MAKE_ENV= TEST_POD=Yes > > CONFIGURE_STYLE=modbuild > > > > TEST_DEPENDS= devel/p5-Test-Fatal > > > > > > .include > > ``` > > > > Produce the package AND does not perform the testing > > > > ``` > > ===> Configuring for p5-Struct-Dumb-0.12 > > Checking prerequisites... > > test_requires: > > ! Test::Fatal is not installed > > ``` > > > > I do not know if i wrote MAKE_ENV= TEST_POD=Yes wrong , > > but that why i added in the line BUILD_DEPENDS with devel/p5-Test-Fatal > > > > Please advice :-) > > > > Ok, Test must be explicitly asked to work, hence it's alright. > > I hope this is more satisfactory > > > > -- > -- > - > Knowing is not enough; we must apply. Willing is not enough; we must do -- andrew - http://afresh1.com What are the unsurpassable real world weaknesses in OpenBSD, that you know of? -- Kevin Chadwick Lots of fake people attacking the project on the mailing lists makes them a poor resource for users. -- Theo de Raadt
Re: [NEW] p5-Net-Prometheus ( with p5-Struct-Dumb )
On Tue, Aug 25, 2020 at 10:46 AM Sven F. wrote: > > On Sun, Aug 23, 2020 at 6:47 PM Andrew Hewus Fresh wrote: > > > > Comments inline. > > > > On Mon, Aug 17, 2020 at 07:04:12PM -0400, Sven F. wrote: > > > Index: devel/p5-Struct-Dumb/Makefile > > > === > > > RCS file: devel/p5-Struct-Dumb/Makefile > > > diff -N devel/p5-Struct-Dumb/Makefile > > > --- /dev/null 1 Jan 1970 00:00:00 - > > > +++ devel/p5-Struct-Dumb/Makefile 17 Aug 2020 22:54:51 - > > > @@ -0,0 +1,23 @@ > > > +# $OpenBSD$ > > > + > > > +COMMENT= make simple lightweight record-like structures > > > > I'm not sure if it's just the way this was submitted, but the proper > > format here is optional space, operator (= or +=), tab. Specifically, > > the character after the = (or +=) should be a tab, not a space. > > > > The optional space should be consistent in the file. > > > > > > > + > > > +MODULES= cpan > > > +CPAN_AUTHOR= PEVANS > > > +PKG_ARCH= * > > > +DISTNAME= Struct-Dumb-0.12 > > > +CATEGORIES= devel > > > > This is an odd order, The DISTNAME should be first and the others can > > either go here or down by the CONFIGURE_STYLE. No real preference on > > that, but I think it's more common for them to be down below. > > > > > > > > > +MAINTAINER= Sven > > > + > > > +# perl > > > +PERMIT_PACKAGE= Yes > > > + > > > +CONFIGURE_STYLE= modbuild tiny > > > > This didn't work for me, it seems to want the full modbuild, not > > the tiny version. > > > > > > > + > > > +BUILD_DEPENDS+= devel/p5-Test-Fatal > > > +TEST_DEPENDS+= devel/p5-Test-Fatal > > > > These should not be "+=" and the BUILD_DEPENDS isn't necessary, but it > > does need an additional TEST_DEPENDS on devel/p5-Data-Dump and > > devel/p5-Test-Pod though, because otherwise the test run could be > > different if that's installed. > > > > This particular module doesn't need the MAKE_ENV=TEST_POD=Yes since it > > runs the pod tests if Test::Pod is installed. > > > > > > Hello, thanks for following up, > > OK, the tabs are present in the github diff, i will use a tarball, > lets do Struct-Dumb first : > I modified the makefile (ignore spacing here) : > > ``` > # $OpenBSD$ > > COMMENT=make simple lightweight record-like structures > > DISTNAME= Struct-Dumb-0.12 > CATEGORIES= devel > CPAN_AUTHOR=PEVANS > PKG_ARCH= * > > MAINTAINER= Sven > > # perl > PERMIT_PACKAGE= Yes > > MODULES=cpan > MAKE_ENV= TEST_POD=Yes > CONFIGURE_STYLE=modbuild > > TEST_DEPENDS= devel/p5-Test-Fatal > > > .include > ``` > > Produce the package AND does not perform the testing > > ``` > ===> Configuring for p5-Struct-Dumb-0.12 > Checking prerequisites... > test_requires: > ! Test::Fatal is not installed > ``` > > I do not know if i wrote MAKE_ENV= TEST_POD=Yes wrong , > but that why i added in the line BUILD_DEPENDS with devel/p5-Test-Fatal > > Please advice :-) > Ok, Test must be explicitly asked to work, hence it's alright. I hope this is more satisfactory -- -- - Knowing is not enough; we must apply. Willing is not enough; we must do p5-Struct-Dumb.tar.gz Description: GNU Zip compressed data p5-Net-Prometheus.tar.gz Description: GNU Zip compressed data
Re: [NEW] p5-Net-Prometheus ( with p5-Struct-Dumb )
On Sun, Aug 23, 2020 at 6:47 PM Andrew Hewus Fresh wrote: > > Comments inline. > > On Mon, Aug 17, 2020 at 07:04:12PM -0400, Sven F. wrote: > > Index: devel/p5-Struct-Dumb/Makefile > > === > > RCS file: devel/p5-Struct-Dumb/Makefile > > diff -N devel/p5-Struct-Dumb/Makefile > > --- /dev/null 1 Jan 1970 00:00:00 - > > +++ devel/p5-Struct-Dumb/Makefile 17 Aug 2020 22:54:51 - > > @@ -0,0 +1,23 @@ > > +# $OpenBSD$ > > + > > +COMMENT= make simple lightweight record-like structures > > I'm not sure if it's just the way this was submitted, but the proper > format here is optional space, operator (= or +=), tab. Specifically, > the character after the = (or +=) should be a tab, not a space. > > The optional space should be consistent in the file. > > > > + > > +MODULES= cpan > > +CPAN_AUTHOR= PEVANS > > +PKG_ARCH= * > > +DISTNAME= Struct-Dumb-0.12 > > +CATEGORIES= devel > > This is an odd order, The DISTNAME should be first and the others can > either go here or down by the CONFIGURE_STYLE. No real preference on > that, but I think it's more common for them to be down below. > > > > > +MAINTAINER= Sven > > + > > +# perl > > +PERMIT_PACKAGE= Yes > > + > > +CONFIGURE_STYLE= modbuild tiny > > This didn't work for me, it seems to want the full modbuild, not > the tiny version. > > > > + > > +BUILD_DEPENDS+= devel/p5-Test-Fatal > > +TEST_DEPENDS+= devel/p5-Test-Fatal > > These should not be "+=" and the BUILD_DEPENDS isn't necessary, but it > does need an additional TEST_DEPENDS on devel/p5-Data-Dump and > devel/p5-Test-Pod though, because otherwise the test run could be > different if that's installed. > > This particular module doesn't need the MAKE_ENV=TEST_POD=Yes since it > runs the pod tests if Test::Pod is installed. > > Hello, thanks for following up, OK, the tabs are present in the github diff, i will use a tarball, lets do Struct-Dumb first : I modified the makefile (ignore spacing here) : ``` # $OpenBSD$ COMMENT=make simple lightweight record-like structures DISTNAME= Struct-Dumb-0.12 CATEGORIES= devel CPAN_AUTHOR=PEVANS PKG_ARCH= * MAINTAINER= Sven # perl PERMIT_PACKAGE= Yes MODULES=cpan MAKE_ENV= TEST_POD=Yes CONFIGURE_STYLE=modbuild TEST_DEPENDS= devel/p5-Test-Fatal .include ``` Produce the package AND does not perform the testing ``` ===> Configuring for p5-Struct-Dumb-0.12 Checking prerequisites... test_requires: ! Test::Fatal is not installed ``` I do not know if i wrote MAKE_ENV= TEST_POD=Yes wrong , but that why i added in the line BUILD_DEPENDS with devel/p5-Test-Fatal Please advice :-) -- -- - Knowing is not enough; we must apply. Willing is not enough; we must do
Re: [NEW] p5-Net-Prometheus ( with p5-Struct-Dumb )
Comments inline. On Mon, Aug 17, 2020 at 07:04:12PM -0400, Sven F. wrote: > Index: devel/p5-Struct-Dumb/Makefile > === > RCS file: devel/p5-Struct-Dumb/Makefile > diff -N devel/p5-Struct-Dumb/Makefile > --- /dev/null 1 Jan 1970 00:00:00 - > +++ devel/p5-Struct-Dumb/Makefile 17 Aug 2020 22:54:51 - > @@ -0,0 +1,23 @@ > +# $OpenBSD$ > + > +COMMENT= make simple lightweight record-like structures I'm not sure if it's just the way this was submitted, but the proper format here is optional space, operator (= or +=), tab. Specifically, the character after the = (or +=) should be a tab, not a space. The optional space should be consistent in the file. > + > +MODULES= cpan > +CPAN_AUTHOR= PEVANS > +PKG_ARCH= * > +DISTNAME= Struct-Dumb-0.12 > +CATEGORIES= devel This is an odd order, The DISTNAME should be first and the others can either go here or down by the CONFIGURE_STYLE. No real preference on that, but I think it's more common for them to be down below. > +MAINTAINER= Sven > + > +# perl > +PERMIT_PACKAGE= Yes > + > +CONFIGURE_STYLE= modbuild tiny This didn't work for me, it seems to want the full modbuild, not the tiny version. > + > +BUILD_DEPENDS+= devel/p5-Test-Fatal > +TEST_DEPENDS+= devel/p5-Test-Fatal These should not be "+=" and the BUILD_DEPENDS isn't necessary, but it does need an additional TEST_DEPENDS on devel/p5-Data-Dump and devel/p5-Test-Pod though, because otherwise the test run could be different if that's installed. This particular module doesn't need the MAKE_ENV=TEST_POD=Yes since it runs the pod tests if Test::Pod is installed. > +.include > + > Index: devel/p5-Struct-Dumb/distinfo > === > RCS file: devel/p5-Struct-Dumb/distinfo > diff -N devel/p5-Struct-Dumb/distinfo > --- /dev/null 1 Jan 1970 00:00:00 - > +++ devel/p5-Struct-Dumb/distinfo 17 Aug 2020 22:54:51 - > @@ -0,0 +1,2 @@ > +SHA256 (Struct-Dumb-0.12.tar.gz) = > Us5wxDPmlirRwg6eKXpTkeC3SkRSD7zi5IL1RONlf3M= > +SIZE (Struct-Dumb-0.12.tar.gz) = 17513 > Index: devel/p5-Struct-Dumb/pkg/DESCR > === > RCS file: devel/p5-Struct-Dumb/pkg/DESCR > diff -N devel/p5-Struct-Dumb/pkg/DESCR > --- /dev/null 1 Jan 1970 00:00:00 - > +++ devel/p5-Struct-Dumb/pkg/DESCR 17 Aug 2020 22:54:51 - > @@ -0,0 +1,7 @@ > +Struct::Dumb creates record-like structure types, > +similar to the struct keyword in C, C++ or C#, > +or Record in Pascal. > +An invocation of this module will create a construction > +function which returns new object references with the > +given field values. These references all respond to > +lvalue methods that access or modify the values stored. The DESCR is generally considered normal text broken at 80 columns, not any sort of markup so semantic line breaks are not commonly used. I don't know if there are specific guidelines on that, but the porting guide does suggest running it through fmt(1). > Index: devel/p5-Struct-Dumb/pkg/PLIST > === > RCS file: devel/p5-Struct-Dumb/pkg/PLIST > diff -N devel/p5-Struct-Dumb/pkg/PLIST > --- /dev/null 1 Jan 1970 00:00:00 - > +++ devel/p5-Struct-Dumb/pkg/PLIST 17 Aug 2020 22:54:51 - > @@ -0,0 +1,4 @@ > +@comment $OpenBSD$ > +${P5SITE}/Struct/ > +${P5SITE}/Struct/Dumb.pm > +@man man/man3p/Struct::Dumb.3p > Index: databases/p5-Net-Prometheus/Makefile > === > RCS file: databases/p5-Net-Prometheus/Makefile > diff -N databases/p5-Net-Prometheus/Makefile > --- /dev/null 1 Jan 1970 00:00:00 - > +++ databases/p5-Net-Prometheus/Makefile 13 Aug 2020 00:12:44 - > @@ -0,0 +1,25 @@ > +# $OpenBSD$ > + > +COMMENT = export monitoring metrics for prometheus > + > +DISTNAME = Net-Prometheus-0.11 > +CATEGORIES = databases > + > +MAINTAINER = Sven > + > +# Perl > +PERMIT_PACKAGE = Yes > + > +MODULES = cpan > + > +CONFIGURE_STYLE = modbuild tiny Like the other, this wants modbuild, not modbuild tiny for me. > + > +BUILD_DEPENDS+= devel/p5-Test-Fatal \ > + devel/p5-Ref-Util \ > + devel/p5-Struct-Dumb Again, =, not += and tabs after not spaces. Also, consistency is nice. Either use the space before the operator or not. These BUILD_DEPENDS are not necessary as they duplicate what is in the RUN_DEPENDS and TEST_DEPENDS and none of the dependencies are required during the BUILD phase. > +TEST_DEPENDS += devel/p5-Test-Fatal TEST_DEPENDS also needs www/p5-HTTP-Message I would also like to see adding devel/p5-Test-Pod to TEST_DEPENDS here so that test runs are consistent no matter what modules are installed when you start. > +RUN_DEPENDS += devel/p5-Ref-Util \ > + devel/p5-Struct-Dumb RUN_DEPENDS needs www/p5-URI Also, RUN_DEPENDS should come before TEST_DEPENDS as it is in Makefile.template. > + > +.include > Index:
[NEW] p5-Net-Prometheus ( with p5-Struct-Dumb )
Dear reader, Net::Prometheus is the official connector to Prometheus server from perl code. It is Available from CPAN, thanks to Paul E. I packaged it with the Struct-Dumb dependency and posted the CVS diff here : https://github.com/dohnuts/wip/tree/master/ports portcheck is happy , and packages were tested (6.7-stable), It is a perl package so no fancy patch here, the XS version compiles fine on AMD64. I hope those packages can be added in the port tree. Best. - - Index: devel/p5-Struct-Dumb/Makefile === RCS file: devel/p5-Struct-Dumb/Makefile diff -N devel/p5-Struct-Dumb/Makefile --- /dev/null 1 Jan 1970 00:00:00 - +++ devel/p5-Struct-Dumb/Makefile 17 Aug 2020 22:54:51 - @@ -0,0 +1,23 @@ +# $OpenBSD$ + +COMMENT= make simple lightweight record-like structures + +MODULES= cpan +CPAN_AUTHOR= PEVANS +PKG_ARCH= * +DISTNAME= Struct-Dumb-0.12 +CATEGORIES= devel + +MAINTAINER= Sven + +# perl +PERMIT_PACKAGE= Yes + +CONFIGURE_STYLE= modbuild tiny + +BUILD_DEPENDS+= devel/p5-Test-Fatal +TEST_DEPENDS+= devel/p5-Test-Fatal + + +.include + Index: devel/p5-Struct-Dumb/distinfo === RCS file: devel/p5-Struct-Dumb/distinfo diff -N devel/p5-Struct-Dumb/distinfo --- /dev/null 1 Jan 1970 00:00:00 - +++ devel/p5-Struct-Dumb/distinfo 17 Aug 2020 22:54:51 - @@ -0,0 +1,2 @@ +SHA256 (Struct-Dumb-0.12.tar.gz) = Us5wxDPmlirRwg6eKXpTkeC3SkRSD7zi5IL1RONlf3M= +SIZE (Struct-Dumb-0.12.tar.gz) = 17513 Index: devel/p5-Struct-Dumb/pkg/DESCR === RCS file: devel/p5-Struct-Dumb/pkg/DESCR diff -N devel/p5-Struct-Dumb/pkg/DESCR --- /dev/null 1 Jan 1970 00:00:00 - +++ devel/p5-Struct-Dumb/pkg/DESCR 17 Aug 2020 22:54:51 - @@ -0,0 +1,7 @@ +Struct::Dumb creates record-like structure types, +similar to the struct keyword in C, C++ or C#, +or Record in Pascal. +An invocation of this module will create a construction +function which returns new object references with the +given field values. These references all respond to +lvalue methods that access or modify the values stored. Index: devel/p5-Struct-Dumb/pkg/PLIST === RCS file: devel/p5-Struct-Dumb/pkg/PLIST diff -N devel/p5-Struct-Dumb/pkg/PLIST --- /dev/null 1 Jan 1970 00:00:00 - +++ devel/p5-Struct-Dumb/pkg/PLIST 17 Aug 2020 22:54:51 - @@ -0,0 +1,4 @@ +@comment $OpenBSD$ +${P5SITE}/Struct/ +${P5SITE}/Struct/Dumb.pm +@man man/man3p/Struct::Dumb.3p Index: databases/p5-Net-Prometheus/Makefile === RCS file: databases/p5-Net-Prometheus/Makefile diff -N databases/p5-Net-Prometheus/Makefile --- /dev/null 1 Jan 1970 00:00:00 - +++ databases/p5-Net-Prometheus/Makefile 13 Aug 2020 00:12:44 - @@ -0,0 +1,25 @@ +# $OpenBSD$ + +COMMENT = export monitoring metrics for prometheus + +DISTNAME = Net-Prometheus-0.11 +CATEGORIES = databases + +MAINTAINER = Sven + +# Perl +PERMIT_PACKAGE = Yes + +MODULES = cpan + +CONFIGURE_STYLE = modbuild tiny + +BUILD_DEPENDS+= devel/p5-Test-Fatal \ + devel/p5-Ref-Util \ + devel/p5-Struct-Dumb +TEST_DEPENDS += devel/p5-Test-Fatal + +RUN_DEPENDS += devel/p5-Ref-Util \ + devel/p5-Struct-Dumb + +.include Index: databases/p5-Net-Prometheus/distinfo === RCS file: databases/p5-Net-Prometheus/distinfo diff -N databases/p5-Net-Prometheus/distinfo --- /dev/null 1 Jan 1970 00:00:00 - +++ databases/p5-Net-Prometheus/distinfo 13 Aug 2020 00:12:44 - @@ -0,0 +1,2 @@ +SHA256 (Net-Prometheus-0.11.tar.gz) = IvgJ4njq1Rk2rVOVgGUbTOXLyRwgnkpXesgjg82fcmo= +SIZE (Net-Prometheus-0.11.tar.gz) = 39243 Index: databases/p5-Net-Prometheus/pkg/DESCR === RCS file: databases/p5-Net-Prometheus/pkg/DESCR diff -N databases/p5-Net-Prometheus/pkg/DESCR --- /dev/null 1 Jan 1970 00:00:00 - +++ databases/p5-Net-Prometheus/pkg/DESCR 13 Aug 2020 00:12:44 - @@ -0,0 +1,3 @@ +This module provides the ability for a program to +collect monitoring metrics and export them to the +prometheus.io monitoring server. Index: databases/p5-Net-Prometheus/pkg/PLIST === RCS file: databases/p5-Net-Prometheus/pkg/PLIST diff -N databases/p5-Net-Prometheus/pkg/PLIST --- /dev/null 1 Jan 1970 00:00:00 - +++ databases/p5-Net-Prometheus/pkg/PLIST 13 Aug 2020 00:12:44 - @@ -0,0 +1,32 @@ +@comment $OpenBSD$ +${P5ARCH}/ +${P5ARCH}/auto/ +${P5ARCH}/auto/Net/ +${P5ARCH}/auto/Net/Prometheus/ +${P5ARCH}/auto/Net/Prometheus/PerlCollector/ +${P5ARCH}/auto/Net/Prometheus/PerlCollector/PerlCollector.bs +${P5ARCH}/auto/Net/Prometheus/PerlCollector/PerlCollector.so +${P5ARCH}/Net/ +${P5ARCH}/Net/Prometheus.pm +${P5ARCH}/Net/Prometheus/ +${P5ARCH}/Net/Prometheus/Counter.pm