CVS: cvs.openbsd.org: ports

2024-05-15 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2024/05/15 05:30:54

Modified files:
net/bgpq4  : Makefile distinfo 

Log message:
Bump bgpq4 to 1.15

OK tb@



CVS: cvs.openbsd.org: ports

2024-05-14 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2024/05/14 08:38:21

Modified files:
net/bgpq4  : Makefile distinfo 

Log message:
Update bgpq4 to 1.14

OK tb@



CVS: cvs.openbsd.org: ports

2024-05-02 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2024/05/02 12:24:34

Modified files:
net/bgpq4  : Makefile distinfo 

Log message:
Update bgpq4 to 1.13

OK tb@



update bgpq4 1.13

2024-05-02 Thread Job Snijders
OK?

Index: Makefile
===
RCS file: /cvs/ports/net/bgpq4/Makefile,v
diff -u -p -r1.15 Makefile
--- Makefile14 Feb 2024 09:19:39 -  1.15
+++ Makefile2 May 2024 18:11:21 -
@@ -1,6 +1,6 @@
 COMMENT=   generate access/prefix lists for BGP config
 
-DIST_TUPLE=github bgp bgpq4 1.12 .
+DIST_TUPLE=github bgp bgpq4 1.13 .
 
 CATEGORIES=net
 
Index: distinfo
===
RCS file: /cvs/ports/net/bgpq4/distinfo,v
diff -u -p -r1.12 distinfo
--- distinfo14 Feb 2024 09:19:39 -  1.12
+++ distinfo2 May 2024 18:11:21 -
@@ -1,2 +1,2 @@
-SHA256 (bgp-bgpq4-1.12.tar.gz) = 9uj0bgu5ICymSQ86ydmj22HivauYFuaeX9j0n15qsPM=
-SIZE (bgp-bgpq4-1.12.tar.gz) = 61223
+SHA256 (bgp-bgpq4-1.13.tar.gz) = fDhEf788a2hWiZv6zCQzAYyTA2zDaQBksVGFEWdpZqw=
+SIZE (bgp-bgpq4-1.13.tar.gz) = 60811



CVS: cvs.openbsd.org: ports

2024-04-17 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2024/04/17 06:23:26

Modified files:
devel  : Makefile 

Log message:
+py-derange



CVS: cvs.openbsd.org: ports

2024-04-17 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2024/04/17 06:19:22

Log message:
Import derange

Derange is a Python library to compose range objects from lists of
integers.

OK sthen@

Status:

Vendor Tag: job
Release Tags:   job_20240417

N ports/devel/py-derange/Makefile
N ports/devel/py-derange/distinfo
N ports/devel/py-derange/pkg/DESCR
N ports/devel/py-derange/pkg/PLIST

No conflicts created by this import



[NEW] devel/py-derange

2024-04-17 Thread Job Snijders
Derange is a handy Python library to compose range objects from lists of
integers:

>>> import derange
>>> derange.derange([1,2,3,20,21,22])
[range(1, 4), range(20, 23)]

Read more here https://pypi.org/project/derange/

OK?

Kind regards,

Job


py-derange.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2024-02-29 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2024/02/29 01:21:07

Modified files:
net/rpkitouch  : Makefile distinfo 

Log message:
Bump rpkitouch to 1.3

OK tb@



CVS: cvs.openbsd.org: ports

2024-01-23 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2024/01/23 08:38:55

Modified files:
net/rpkitouch  : Makefile distinfo 

Log message:
Update rpkitouch 1.2

OK tb@



CVS: cvs.openbsd.org: ports

2024-01-23 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2024/01/23 08:04:42

Modified files:
net/rpkitouch  : Makefile distinfo 

Log message:
Update rpkitouch

Also add missing WANTLIB

OK tb@



CVS: cvs.openbsd.org: ports

2023-12-05 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2023/12/05 08:06:11

Modified files:
net: Makefile 

Log message:
Add rpkitouch



CVS: cvs.openbsd.org: ports

2023-12-05 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2023/12/05 08:04:25

Log message:
Import rpkitouch

The rpkitouch utility sets the last data modification time of file to
the timestamp internal to the contained RPKI object.

OK sthen@

Status:

Vendor Tag: job
Release Tags:   job_20231205

N ports/net/rpkitouch/Makefile
N ports/net/rpkitouch/distinfo
N ports/net/rpkitouch/pkg/DESCR
N ports/net/rpkitouch/pkg/PLIST

No conflicts created by this import



Re: [new] net/rpkitouch 1.0

2023-12-04 Thread Job Snijders
Dear all,

The rpkitouch utility sets the last data modification time of file to
the timestamp internal to the contained RPKI object. See this article
for more information:
https://blog.apnic.net/2023/12/04/using-timestamps-inside-rpki-objects-to-optimize-rrdp-rsync-transport-switchovers/

$ /usr/ports/infrastructure/bin/portcheck
net/rpkitouch

$ pkg_info rpkitouch
Information for inst:rpkitouch-1.0

Comment:
set file modification times to internal RPKI timestamps

Description:
The rpkitouch utility sets the last data modification time of file to
the timestamp internal to the contained RPKI object. Deterministic
timestamps help minimize RP synchronisation times.

This utility is useful for RPKI Publication Point operators who
serialize RPKI objects from data sources lacking file modification
times (like RRDP) to a disk hierachy for public consumption via RSYNC.

Maintainer: The OpenBSD ports mailing-list 

WWW: https://github.com/job/rpkitouch

Tarball attached. OK to import?

Kind regards,

Job


rpkitouch.tar.gz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2023-08-03 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2023/08/03 09:53:05

Modified files:
net/rpki-data  : Makefile distinfo 
net/rpki-data/pkg: PLIST 

Log message:
Update net/rpki-data to pull in new-format ASPA objects

OK tb@ (but he didn't read the whole diff line by line)



CVS: cvs.openbsd.org: ports

2023-05-02 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2023/05/02 08:27:29

Modified files:
net: Makefile 

Log message:
Hook net/rpki-data up to build



CVS: cvs.openbsd.org: ports

2023-05-02 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2023/05/02 08:24:29

Log message:
Import rpki-data

A body of RPKI data file samples to be used for rpki-client(8) regress.

Many thanks to kn@ for helping create this port.

OK kn@

Status:

Vendor Tag: job
Release Tags:   job_20230502

N ports/net/rpki-data/Makefile
N ports/net/rpki-data/distinfo
N ports/net/rpki-data/pkg/DESCR
N ports/net/rpki-data/pkg/PLIST

No conflicts created by this import



net/rpki-sample-data - question about EXTRACT_ONLY=

2023-04-28 Thread Job Snijders
Hi porters,

kn@ and I are trying to make a port that installs a ton of RPKI sample
data which will be used to improve rpki-client regress (if the pkg is
installed)

For some reason the below yields the following error, and we don't know
why:

feather$ make
===>  Checking files for rpki-20230428 
`/usr/ports/distfiles/rpki-20230428T000152Z.tgz' is up to date.
>> (SHA256) rpki-20230428T000152Z.tgz: OK
===>  Extracting for rpki-20230428
make: don't know how to make do-extract
Stop in .
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2699 
'/usr/ports/pobj/rpki-20230428/.extract_done': @cd /usr/ports/net/rpki-sampl...)
*** Error 2 in /usr/ports/net/rpki-sample-data 
(/usr/ports/infrastructure/mk/bsd.port.mk:2600 'all': @lock=rpki-20230428;  
export _LOCKS_HEL...)

Does one of you know? :-)

Kind regards,

Job

-

COMMENT =   Samples of RPKI data
CATEGORIES =net
HOMEPAGE =  https://www.rpkiviews.org
MAINTAINER =    Job Snijders 

# public domain
PERMIT_PACKAGE =Yes

VDATE = 2023/04/28
VTIME = T000152Z
VERSION =   ${VDATE:S/\///g}
DISTNAME =  rpki-${VERSION}${VTIME}
PKGNAME =   rpki-${VERSION}
DISTFILES = ${DISTNAME}.tgz

MASTER_SITES =  https://dango.attn.jp/rpkidata/${VDATE}/ \

http://josephine.sobornost.net/josephine.sobornost.net/rpkidata/${VDATE}/

EXTRACT_ONLY =  # empty
PKG_ARCH =  *
NO_BUILD =  Yes
NO_TEST =   Yes

SAMPLE_DATA =   ${PREFIX}/rpki-sample-data-${VERSION}

do-install:
${INSTALL_DATA_DIR} ${SAMPLE_DATA}
${TAR} -xzf ${FULLDISTDIR}/${DISTNAME}.tgz -C ${SAMPLE_DATA} \
-s /${DISTNAME}//

.include 



CVS: cvs.openbsd.org: ports

2023-03-05 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2023/03/05 06:47:33

Modified files:
net/bgpq4  : Makefile distinfo 

Log message:
Update net/bgpq4 1.9



CVS: cvs.openbsd.org: ports

2023-03-02 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2023/03/02 12:47:07

Modified files:
net/stayrtr: Makefile distinfo modules.inc 

Log message:
Update net/stayrtr 0.5.1



CVS: cvs.openbsd.org: ports

2023-02-20 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2023/02/20 11:27:15

Modified files:
net/syncthing  : Makefile distinfo 
net/syncthing/patches: patch-build_go 
Added files:
net/syncthing/patches: patch-lib_build_build_go 

Log message:
Unbreak syncthing, update to 1.23.2rc1, disable phone-home

With help from kn@



[update] (unbreak) syncthing 1.23.2rc1

2023-02-20 Thread Job Snijders
People did the needful

https://github.com/syncthing/syncthing/issues/8768

OK?

Kind regards,

Job

Index: net/syncthing/Makefile
===
RCS file: /cvs/ports/net/syncthing/Makefile,v
retrieving revision 1.46
diff -u -p -r1.46 Makefile
--- net/syncthing/Makefile  15 Feb 2023 17:18:09 -  1.46
+++ net/syncthing/Makefile  20 Feb 2023 10:55:26 -
@@ -1,7 +1,7 @@
-BROKEN =   needs update - vendored quic-go does not support Go 1.20
 COMMENT =  open decentralized synchronization utility
 
-V =1.23.0
+PKGNAME =  syncthing-1.23.2rc1
+V =1.23.2-rc.1
 DISTNAME = syncthing-${V}
 DISTFILES =syncthing-source-v${V}${EXTRACT_SUFX}
 
Index: net/syncthing/distinfo
===
RCS file: /cvs/ports/net/syncthing/distinfo,v
retrieving revision 1.31
diff -u -p -r1.31 distinfo
--- net/syncthing/distinfo  18 Jan 2023 14:11:38 -  1.31
+++ net/syncthing/distinfo  20 Feb 2023 10:55:26 -
@@ -1,2 +1,2 @@
-SHA256 (syncthing-source-v1.23.0.tar.gz) = 
D2bT3Sp5FabzymdzwdwCNFREsmRKUzIRzh7lezca5Fg=
-SIZE (syncthing-source-v1.23.0.tar.gz) = 13936173
+SHA256 (syncthing-source-v1.23.2-rc.1.tar.gz) = 
0EFtYwoh1pGmkJLCeQA/9PX32pvc107Egq9lZqfDPgA=
+SIZE (syncthing-source-v1.23.2-rc.1.tar.gz) = 14447129



CVS: cvs.openbsd.org: ports

2023-01-30 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2023/01/30 11:00:38

Modified files:
net/stayrtr: Makefile 
net/stayrtr/pkg: README 

Log message:
Make readme more informative

OK sthen@



CVS: cvs.openbsd.org: ports

2023-01-26 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2023/01/26 06:51:53

Modified files:
infrastructure/db: user.list 

Log message:
Remove duplicate stayrtr entry



CVS: cvs.openbsd.org: ports

2023-01-26 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2023/01/26 06:40:54

Modified files:
infrastructure/db: user.list 
net: Makefile 

Log message:
+stayrtr



CVS: cvs.openbsd.org: ports

2023-01-26 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2023/01/26 06:38:49

Log message:
Import net/stayrtr 0.4.0

OK kn@

Status:

Vendor Tag: job
Release Tags:   job_20230126

N ports/net/stayrtr/Makefile
N ports/net/stayrtr/distinfo
N ports/net/stayrtr/modules.inc
N ports/net/stayrtr/pkg/stayrtr.rc
N ports/net/stayrtr/pkg/DESCR
N ports/net/stayrtr/pkg/PLIST
N ports/net/stayrtr/pkg/README

No conflicts created by this import



[new] net/stayrtr 0.4.0

2023-01-26 Thread Job Snijders
Dear all,

StayRTR is a RPKI-To-Router implementation in Go.

Next available uid for user _stayrtr is 888 in
/usr/ports/infrastructure/db/user.list

$ /usr/ports/infrastructure/bin/portcheck
net/stayrtr

$ pkg_info stayrtr
Information for inst:stayrtr-0.4.0

Comment:
RPKI-To-Router implementation in Go

Description:
StayRTR is a versatile RPKI-To-Router implementation in Go.

Maintainer: The OpenBSD ports mailing-list 

WWW: https://www.github.com/bgp/stayrtr

Tarball attached. OK to import?

Kind regards,

Job


stayrtr.tar.gz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2023-01-24 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2023/01/24 12:37:25

Modified files:
textproc   : Makefile 

Log message:
+grepcidr3



CVS: cvs.openbsd.org: ports

2023-01-24 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2023/01/24 12:25:37

Log message:
Import textproc/grepcidr3

OK sthen@ op@

Status:

Vendor Tag: job
Release Tags:   job_2023014

N ports/textproc/grepcidr3/Makefile
N ports/textproc/grepcidr3/distinfo
N ports/textproc/grepcidr3/patches/patch-grepcidr_1
N ports/textproc/grepcidr3/patches/patch-grepcidr_c
N ports/textproc/grepcidr3/pkg/DESCR
N ports/textproc/grepcidr3/pkg/PLIST

No conflicts created by this import



[new] textproc/grepcidr3 3.0

2023-01-24 Thread Job Snijders
Hi all,

Attached is a port of textproc/grepcidr3, this fork of grepcidr has a
few command line options that the original lacks, such as -D:

$ echo 10.1.1.0/24 | grepcidr3 -D 10.1.1.1
10.1.1.0/24

I added 2 patches:
   * rename the utility to 'grepcidr3' (in order to avoid naming collisions)
   * add pledge("stdio rpath", NULL) in main().

OK?

Kind regards,

Job


grepcidr3.tar.gz
Description: application/tar-gz


Re: xml2rfc broken?

2022-09-21 Thread Job Snijders
On Wed, Sep 21, 2022 at 06:50:02PM +, Klemens Nanni wrote:
> On Wed, Sep 21, 2022 at 08:41:08PM +0200, Rafael Sadowski wrote:
> > Works here with up-to-date packages and snapshot:
> 
> No problem on arm64, either.

it appears to be a problem between my keyboard and the chair, I had an
older version of lxml in my path

Sorry for the noise, and thank you for providing xml2rfc!

Kind regards,

Job



xml2rfc broken?

2022-09-21 Thread Job Snijders
Hi all,

I ran into an issue with xml2rfc, and its not clear to me what the issue
is. On -current:

$ pkg_info xml2rfc | head -1
Information for inst:xml2rfc-3.13.0

$ xml2rfc
Traceback (most recent call last):
  File "/usr/local/bin/xml2rfc", line 33, in 
sys.exit(load_entry_point('xml2rfc==3.13.0', 'console_scripts', 
'xml2rfc')())
  File "/usr/local/bin/xml2rfc", line 25, in importlib_load_entry_point
return next(matches).load()
  File "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in load
module = import_module(match.group('module'))
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in 
import_module
return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 1030, in _gcd_import
  File "", line 1007, in _find_and_load
  File "", line 972, in _find_and_load_unlocked
  File "", line 228, in _call_with_frames_removed
  File "", line 1030, in _gcd_import
  File "", line 1007, in _find_and_load
  File "", line 986, in _find_and_load_unlocked
  File "", line 680, in _load_unlocked
  File "", line 850, in exec_module
  File "", line 228, in _call_with_frames_removed
  File "/usr/local/lib/python3.9/site-packages/xml2rfc/__init__.py", line 14, 
in 
from xml2rfc.parser import  XmlRfcError, CachingResolver, XmlRfcParser, 
XmlRfc
  File "/usr/local/lib/python3.9/site-packages/xml2rfc/parser.py", line 10, in 

import lxml.etree
ImportError: Cannot load specified object

Any pointers?

Kind regards,

Job



CVS: cvs.openbsd.org: ports

2022-08-05 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2022/08/05 10:25:39

Modified files:
math   : Makefile 

Log message:
Add datamash



CVS: cvs.openbsd.org: ports

2022-08-05 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2022/08/05 10:24:03

Log message:
Import datamash

GNU datamash is a command-line program which performs basic numeric, textual
and statistical operations on input textual data files.

OK sthen@

Status:

Vendor Tag: job
Release Tags:   job_20220805

N ports/math/datamash/Makefile
N ports/math/datamash/distinfo
N ports/math/datamash/pkg/DESCR
N ports/math/datamash/pkg/PLIST

No conflicts created by this import



[NEW] math/datamash

2022-08-05 Thread Job Snijders
$ pkg_info datamash
Information for inst:datamash-1.8p0

Comment:
perform basic numeric, textual and statistical operations

Description:
GNU datamash is a command-line program which performs basic numeric, textual
and statistical operations on input textual data files.

Maintainer: The OpenBSD ports mailing-list 

WWW: https://www.gnu.org/software/datamash/


datamash.tar.gz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2020-01-05 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2020/01/05 16:51:03

Modified files:
net: Makefile 

Log message:
Add bgpq4 to net/Makefile



CVS: cvs.openbsd.org: ports

2020-01-05 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2020/01/05 16:49:13

Added files:
net/bgpq4  : Makefile distinfo 
net/bgpq4/pkg  : DESCR PLIST 

Log message:
Add bgpq4 - a BGP filter generation utlity

OK sthen@



CVS: cvs.openbsd.org: ports

2020-01-05 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2020/01/05 16:47:54

ports/net/bgpq4/pkg

Update of /cvs/ports/net/bgpq4/pkg
In directory cvs.openbsd.org:/tmp/cvs-serv77311/pkg

Log Message:
Directory /cvs/ports/net/bgpq4/pkg added to the repository



CVS: cvs.openbsd.org: ports

2020-01-05 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2020/01/05 16:47:20

ports/net/bgpq4

Update of /cvs/ports/net/bgpq4
In directory cvs.openbsd.org:/tmp/cvs-serv13446/bgpq4

Log Message:
Directory /cvs/ports/net/bgpq4 added to the repository



NEW: net/bgpq4

2020-01-05 Thread Job Snijders
Hi,

Attached is a port for the bgpq4 utility, a fork of bgpq3. It supports
more target platforms, uses pledge(), and is faster in a number of
use cases.

OK?

Kind regards,

Job


bgpq4.tar.gz
Description: application/tar-gz


Re: Firefox default DoH

2019-09-09 Thread Job Snijders
On Mon, Sep 09, 2019 at 10:22:53AM +0200, Otto Moerbeek wrote:
> So I tested that the setting below works:
> 
> 1. New profile gets new default
> 2. Existing profile gets new default if user did not set it previously
> 3. Existing profile is not overriden if user set it previously.
> 
> A user mailed me privately and confirmed this,
> 
> So I think that is what we want,

Elegant solution. I suspect you'll need to keep monitoring whether '5'
does today what it'll do tomorrow.

> OK?

OK job@



CVS: cvs.openbsd.org: ports

2019-07-15 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2019/07/15 05:05:09

Modified files:
net/bgpq3  : Makefile 
net/bgpq3/pkg  : DESCR 

Log message:
Update description

OK sthen@



Re: The eternal great desktop thread

2019-05-10 Thread Job Snijders
On Sat, 11 May 2019 at 05:36,  wrote:

> [including ports@]
>
> Theo de Raadt writes:
> > cho...@jtan.com wrote:
> >
> > > I recently posted a new CPAN module to ports@ which wraps pledge and
> > > unveil. There was a bit of a balls up because as a sysadmin I'm not
> > > really used to group development and what I've done has usually been in
> > > a corporate environment but in the end a complete tarball was posted.
> >
> > Well -- I do not make decisions in the ports environment.
> >
> > Other people lead that effort, and make decisions after weighing the
> > benefits and potential costs.
>
> The question ultimately is how to I know if I'm completely finished with
> providing this port?
>
> If I need to do something more or promise on-going maintenance to get
> this minor port included in the big picture, that is to say: in
> OpenBSD's public CVS repository, then I'm happy to get it done. If it's
> enough to send in a tarball (as I've done already) and let the current
> ports maintainers take over then I'm (more than) happy to do that.
>
> Is "send a tarball to ports@ and forget about it" enough?



You should consider becoming part of the process, one of the most valuable
currencies you can give to the project is a degree of continuity.

To phrase it differently, “fire and forget” is rarely a sustainable
approach.

Kind regards,

Job


Re: take 2 - NEW: net/ripe-rpki-validator

2018-10-03 Thread Job Snijders
Looks good to me!

On Wed, 3 Oct 2018 at 14:43, Stuart Henderson  wrote:

> So here's a second attempt, this time with 3.0-324. Works for me with
> AfriNIC, APNIC, LACNIC and RIPE. I tried squinting at the tshirt photo
> for ARIN's trust anchor but couldn't quite make it out.
>
>


Re: NEW: net/ripe-rpki-validator

2018-10-03 Thread Job Snijders
V2 is sort of end of life, I’d only invest time in its actively maintained
successor v3:
https://github.com/RIPE-NCC/rpki-validator-3

Kind regards,

Job

On Wed, 3 Oct 2018 at 10:43, Stuart Henderson  wrote:

> OK to import this?
>
> (DESCR is rather wide, there's no good way around it.. at least it copies
> correctly in most terminals if it's not split!)
>
>
> $ pkg_info ripe-rpki-validator
> Information for inst:ripe-rpki-validator-2.25
>
> Comment:
> RIPE NCC RPKI Validator
>
> Description:
> The RIPE NCC rpki-validator application allows operators to download and
> validate the global Resource Public Key Infrastructure (RPKI) data set
> for use in their BGP decision making process and router configuration.
>
> To learn more about RPKI and BGP Origin Validation, please visit:
>
> https://www.ripe.net/manage-ips-and-asns/resource-management/certification
>
> Use of this tool to fetch objects from RIPE's repository is subject to
> terms and conditions, see:
>
>
> https://www.ripe.net/manage-ips-and-asns/resource-management/certification/legal/ripe-ncc-certification-repository-terms-and-conditions
>
> Maintainer: Stuart Henderson 
>
> WWW:
> https://www.ripe.net/manage-ips-and-asns/resource-management/certification/tools-and-resources
>
>
>


CVS: cvs.openbsd.org: ports

2018-01-24 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2018/01/24 14:22:58

Modified files:
net/pmacct : Makefile distinfo 
net/pmacct/patches: patch-configure_in 
net/pmacct/pkg : PFRAG.mysql PFRAG.postgresql PLIST 
Removed files:
net/pmacct/patches: patch-src_network_h 

Log message:
Update: pmacct 1.7.0

OK sthen@



UPDATE: net/pmacct

2018-01-23 Thread Job Snijders
Dear all,

This upgrades pmacct to 1.7.0, the latest stable version. I've only very
lightly tested this. patches/patch-src_network_h can be deleted.

Kind regards,

Job

---
 net/pmacct/Makefile|  5 ++---
 net/pmacct/distinfo|  4 ++--
 net/pmacct/patches/patch-configure_in  | 36 +++---
 net/pmacct/patches/patch-src_network_h | 12 
 net/pmacct/pkg/PFRAG.mysql |  1 -
 net/pmacct/pkg/PFRAG.postgresql|  1 -
 net/pmacct/pkg/PLIST   |  3 +--
 7 files changed, 21 insertions(+), 41 deletions(-)
 delete mode 100644 net/pmacct/patches/patch-src_network_h

diff --git net/pmacct/Makefile net/pmacct/Makefile
index ae9cc69b5d5..d5d887f3ec0 100644
--- net/pmacct/Makefile
+++ net/pmacct/Makefile
@@ -2,8 +2,7 @@
 
 COMMENT=   IP accounting software
 
-DISTNAME=  pmacct-1.5.3
-REVISION=  1
+DISTNAME=  pmacct-1.7.0
 CATEGORIES=net
 
 HOMEPAGE=  http://www.pmacct.net/
@@ -17,7 +16,7 @@ MASTER_SITES= ${HOMEPAGE}
 
 NO_TEST=   Yes
 CONFIGURE_STYLE= autoconf no-autoheader
-AUTOCONF_VERSION= 2.13
+AUTOCONF_VERSION= 2.69
 USE_GMAKE= Yes
 CONFIGURE_ARGS= --enable-ipv6 \
--enable-sqlite3 \
diff --git net/pmacct/distinfo net/pmacct/distinfo
index 98d957f139e..6ef9f0baee4 100644
--- net/pmacct/distinfo
+++ net/pmacct/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pmacct-1.5.3.tar.gz) = LvdkaCgWjrXlzBxct20guajKBergvzT8Jr6++/ksM6Q=
-SIZE (pmacct-1.5.3.tar.gz) = 920563
+SHA256 (pmacct-1.7.0.tar.gz) = 
19c3795db452191c2b1b9533fecaf69c6767c9fb7b4ae60ae3f28e24eb2ee9c8
+SIZE (pmacct-1.7.0.tar.gz) = 1351888
diff --git net/pmacct/patches/patch-configure_in 
net/pmacct/patches/patch-configure_in
index a9ff5d7ca7c..dd5e37cb47c 100644
--- net/pmacct/patches/patch-configure_in
+++ net/pmacct/patches/patch-configure_in
@@ -1,21 +1,17 @@
-$OpenBSD: patch-configure_in,v 1.2 2016/06/02 11:52:32 sthen Exp $
 configure.in.orig  Thu Jan 14 11:55:01 2016
-+++ configure.in   Sat May 21 11:35:39 2016
-@@ -25,7 +25,6 @@ AC_PROG_RANLIB
- dnl initial checks; tweakings to CFLAGS and LDFLAGS
- dnl see final checks for tweakings to LIBS
- if test "x$ac_cv_prog_gcc" = xyes ; then
--  CFLAGS="-O2 ${CFLAGS}"
-   case "$host_os" in
- IRIX*)
-   CFLAGS="-mabi=n32 -fno-builtins"
-@@ -542,9 +541,6 @@ AC_ARG_ENABLE(mysql,
- # Adding these as prerequisite for MySQL 5.6 
- AC_CHECK_LIB([stdc++], [main], [LIBS="${LIBS} -lstdc++"], [AC_MSG_ERROR([
-   ERROR: missing libstdc++ devel. Requirement for building MySQL.
--])])
--AC_CHECK_LIB([rt], [clock_gettime], [LIBS="${LIBS} -lrt"], [AC_MSG_ERROR([
--  ERROR: missing librt devel. Requirement for building MySQL.
- ])])
+diff --git configure.ac configure.ac
+index c22d91e..aacb5b1 100644
+--- configure.ac
 configure.ac
+@@ -26,12 +26,6 @@ AC_MSG_RESULT($host_os)
+ AC_MSG_CHECKING(hardware)
+ AC_MSG_RESULT($host_cpu)
  
- AC_ARG_WITH(mysql-includes,
+-dnl initial checks; tweakings to CFLAGS and LDFLAGS
+-dnl see final checks for tweakings to LIBS
+-if test "x$ac_cv_prog_gcc" = xyes ; then
+-  CFLAGS="-O2 ${CFLAGS}"
+-fi
+-
+ dnl set debug level
+ AC_MSG_CHECKING([whether to enable debugging compiler options])
+ AC_ARG_ENABLE(debug,
diff --git net/pmacct/patches/patch-src_network_h 
net/pmacct/patches/patch-src_network_h
deleted file mode 100644
index 37e67b65953..000
--- net/pmacct/patches/patch-src_network_h
+++ /dev/null
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_network_h,v 1.1 2014/03/22 23:05:43 sthen Exp $
 src/network.h.orig Sun Mar 16 01:45:27 2014
-+++ src/network.h  Sun Mar 16 01:45:44 2014
-@@ -230,7 +230,7 @@ struct my_icmphdr
- u_int32_t   gateway;/* gateway address */
- struct
- {
--  u_int16_t __unused;
-+  u_int16_t __dummy;
-   u_int16_t mtu;
- } frag; /* path mtu discovery */
-   } un;
diff --git net/pmacct/pkg/PFRAG.mysql net/pmacct/pkg/PFRAG.mysql
index bddc47587fe..64928128cf4 100644
--- net/pmacct/pkg/PFRAG.mysql
+++ net/pmacct/pkg/PFRAG.mysql
@@ -1,5 +1,4 @@
 @comment $OpenBSD: PFRAG.mysql,v 1.4 2016/06/02 11:52:32 sthen Exp $
-@bin bin/pmmyplay
 share/doc/pmacct/README.mysql
 share/examples/pmacct/sql/pmacct-create-db_bgp_v1.mysql
 share/examples/pmacct/sql/pmacct-create-db_v1.mysql
diff --git net/pmacct/pkg/PFRAG.postgresql net/pmacct/pkg/PFRAG.postgresql
index 45ff0a31dde..ff62d9edbb4 100644
--- net/pmacct/pkg/PFRAG.postgresql
+++ net/pmacct/pkg/PFRAG.postgresql
@@ -1,5 +1,4 @@
 @comment $OpenBSD: PFRAG.postgresql,v 1.4 2016/06/02 11:52:32 sthen Exp $
-@bin bin/pmpgplay
 share/doc/pmacct/README.pgsql
 share/examples/pmacct/sql/pmacct-create-db.pgsql
 share/examples/pmacct/sql/pmacct-create-table_bgp_v1.pgsql
diff --git net/pmacct/pkg/PLIST net/pmacct/pkg/PLIST
index 8b0c1ec7dd7..d8983083585 100644
--- net/pmacct/pkg/PLIST
+++ net/pmacct/pkg/PLIST
@@ -6,7 +6,6 @@
 @bin sbin/sfacctd
 %%mysql%%
 %%postgresql%%
-@bin sbin/uacctd
 

Re: UPDATE: bird-2.0.1

2018-01-17 Thread Job Snijders
On Wed, Jan 17, 2018 at 12:59:42AM +, Stuart Henderson wrote:
> I haven't had chance to test this yet but thought I'd send it out in
> case anyone else is thinking of looking at it (no point two people
> having to merge the diffs).
> 
> It now handles v4 and v6 in the same daemon. For details about the
> change, see 
> https://gitlab.labs.nic.cz/labs/bird/wikis/transition-notes-to-bird-2
> 
> Does anyone running it (on OpenBSD or elsewhere) have comments about
> 1.6 vs 2? Assuming that it still works ok, is there any point keeping
> both versions around?

I'd consider keeping 1.6 around for now, 1.6 is considered 'stable'
where as '2.0.x' is still quite new and fresh. I also see two 'LATEST'
pointers here http://bird.network.cz/?download

A 1.6 configuration file is not compatible with 2.0 - so people'll need
to properly plan their migrations. Would be a bummer if 'pkg_add -u'
brings you down. :-)

I expect down the road that support for 1.6 to cease to be and bird2
will be the only remaining train. Maybe a new port should be made,
'bird2'?

Kind regards,

Job



CVS: cvs.openbsd.org: ports

2017-12-16 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/16 08:59:31

Modified files:
mail/mutt  : Makefile distinfo 

Log message:
Update to mutt 1.9.2

OK sthen@



CVS: cvs.openbsd.org: ports

2017-12-05 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/05 03:42:45

Modified files:
net/aggregate6 : Makefile distinfo 

Log message:
Update to aggregate6 1.0.12

This version brings 'truncate' and 'verbose' mode.

OK sthen@



CVS: cvs.openbsd.org: ports

2017-12-02 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/02 08:03:58

Modified files:
net/aggregate6 : Makefile 

Log message:
Remove FULLPKGNAME

OK jasper@



CVS: cvs.openbsd.org: ports

2017-12-01 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/01 10:53:15

Modified files:
devel  : Makefile 

Log message:
Add py3 flavor to py-radix

OK danj@



Re: CVS: cvs.openbsd.org: ports

2017-12-01 Thread Job Snijders
On Fri, Dec 1, 2017 at 5:13 PM, Job Snijders <j...@openbsd.org> wrote:
> CVSROOT:/cvs
> Module name:ports
> Changes by: j...@cvs.openbsd.org 2017/12/01 10:13:50
>
> Modified files:
> net: Makefile
> Added files:
> net/aggregate6 : Makefile distinfo
> net/aggregate6/pkg: DESCR PLIST
> net/aggregate6/patches: patch-setup_py
>
> Log message:
> Add aggregate6

This was reviewed by Stuart and Daniel.

OK sthen@ danj@



CVS: cvs.openbsd.org: ports

2017-12-01 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/01 10:13:50

Modified files:
net: Makefile 
Added files:
net/aggregate6 : Makefile distinfo 
net/aggregate6/pkg: DESCR PLIST 
net/aggregate6/patches: patch-setup_py 

Log message:
Add aggregate6



CVS: cvs.openbsd.org: ports

2017-12-01 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/01 10:11:05

ports/net/aggregate6/patches

Update of /cvs/ports/net/aggregate6/patches
In directory cvs.openbsd.org:/tmp/cvs-serv67957/aggregate6/patches

Log Message:
Directory /cvs/ports/net/aggregate6/patches added to the repository



CVS: cvs.openbsd.org: ports

2017-12-01 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/01 10:10:46

ports/net/aggregate6/pkg

Update of /cvs/ports/net/aggregate6/pkg
In directory cvs.openbsd.org:/tmp/cvs-serv79042/aggregate6/pkg

Log Message:
Directory /cvs/ports/net/aggregate6/pkg added to the repository



CVS: cvs.openbsd.org: ports

2017-12-01 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/01 10:10:30

ports/net/aggregate6

Update of /cvs/ports/net/aggregate6
In directory cvs.openbsd.org:/tmp/cvs-serv37466/aggregate6

Log Message:
Directory /cvs/ports/net/aggregate6 added to the repository



Re: NEW: net/aggregate6 (Was: net/py-aggregate6)

2017-12-01 Thread Job Snijders
Ok, sounds good. I’ll hold off

On Fri, 1 Dec 2017 at 12:33, Stuart Henderson <s...@spacehopper.org> wrote:

> On 2017/11/30 18:51, Job Snijders wrote:
> > Hi all,
> >
> > Attached is a python3-only version of the ports files for the tool. I
> > renamed it to simply 'aggregate6' as per suggestion from sthen@
> >
> > Kind regards,
> >
> > Job
>
> Generally OK.
>
> But I'm happy to take care of sorting out the subpackages if you'd like
> to do the usual py2+py3 thing with a seperate "aggregate6" package for
> the executable, so if you'd like that then don't import as-is because
> it will be annoying to handle the changeover :)
>
>


Re: NEW: net/aggregate6 (Was: net/py-aggregate6)

2017-11-30 Thread Job Snijders
Hi all,

Attached is a python3-only version of the ports files for the tool. I
renamed it to simply 'aggregate6' as per suggestion from sthen@

Kind regards,

Job


aggregate6.tar.gz
Description: application/tar-gz


Re: NEW: net/py-aggregate6

2017-11-30 Thread Job Snijders
On Thu, Nov 30, 2017 at 11:34:59AM -0500, Daniel Jakots wrote:
> On Thu, 30 Nov 2017 17:19:59 +0100, Klemens Nanni  wrote:
> > > However I purposefully wrote aggregate6 in such a way that it can
> > > work in both python2 and python3 environments to enable broader
> > > applicability.  
> >
> > Fair point with regards to portability but not when it comes to new
> > ports. These are just my to cents, I'm happy to hear from others.
> > 
> > Attached is a diff on top of your tarball to ship it as Python 3 only,
> > only lightly tested.
> 
> I agree for ports that are only utilities written in python but I
> disagree when it comes to library and Job said in his initial mail that
> it can also be used as a library.

I really wouldn't mind adding this as a python3-only port. I (as
upstream) added python2 compatibility as an afterthought anyway.

The advantage of treating this 'python3 only' is that the 'aggregate6'
cli tool can then point to the python3 interpreter (which performs
better compared to running aggregate6 in python2) and be called
'aggregate6' instead of 'aggregate6-3'.

If people really need the library aspect of the aggregate6 tool, in
python2, on openbsd, they could consider using pip inside a virtualenv,
which they'll probaly be doing anyway.

Feedback welcome, i am a novice to openbsd ports.

Kind regards,

Job



Re: NEW: net/py-aggregate6

2017-11-30 Thread Job Snijders
On Thu, Nov 30, 2017 at 01:53:35PM +0100, Klemens Nanni wrote:
> On Thu, Nov 30, 2017 at 12:19:07PM +0000, Job Snijders wrote:
> > py-aggregate6 is a python replacement for the net/aggregate tool. It's
> > faster, and capable of optimising lists of IPv6 prefixes. It can also be
> > used as python library.
>
> Quite handy, thanks.
> 
> devel/py-radix has no FLAVORS, 

You may need to update your ports tree, I updated py-radix yesterday.

> portcheck(1) tells you that.

Sorry, I'm not familiar with 'portcheck', where can I find more
information? 

> I'd also suggest turning the -python3 FLAVOR into a simple
> MODPY_VERSION=${MODPY_DEFAULT_VERSION_3} so we can avoid future Python
> 2 ports.

Yeah I was struggling a bit what to do in this regard. With python3 the
aggregate6 code performs slightly better compared to python2. Ideally
the 'aggregate6' cli tool points to the python3 interpreter, and the
python2 version is available as 'aggregate6-2' or something.

However I purposefully wrote aggregate6 in such a way that it can work
in both python2 and python3 environments to enable broader
applicability.

Kind regards,

Job



NEW: net/py-aggregate6

2017-11-30 Thread Job Snijders
Dear all,

py-aggregate6 is a python replacement for the net/aggregate tool. It's
faster, and capable of optimising lists of IPv6 prefixes. It can also be
used as python library.

Example:

$ echo 2000::/4 2001:67c:208c::/48 3000::/4 | aggregate6
2000::/3

Kind regards,

Job

pkg/DESCR:

aggregate6 takes a list of IPv4 and IPv6 prefixes in conventional
format on stdin, and performs two optimisations to attempt to reduce
the length of the prefix list.

The first optimisation is to remove any supplied prefixes which are
superfluous because they are already included in another supplied
prefix. For example, 2001:67c:208c:10::/64 would be removed if
2001:67c:208c::/48 was also supplied.

The second optimisation identifies adjacent prefixes that can
be combined under a single, shorter-length prefix. For example,
2001:67c:208c::/48 and 2001:67c:208d::/48 can be combined into the
single prefix 2001:67c:208c::/47.


py-aggregate6.tar.gz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2017-11-29 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/11/29 14:04:38

Modified files:
devel/py-radix : Makefile distinfo 
devel/py-radix/pkg: PLIST 

Log message:
Update py-radix

OK sthen@



CVS: cvs.openbsd.org: ports

2017-06-29 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/06/29 03:37:45

Modified files:
geo/openbsd-developers: Makefile 
geo/openbsd-developers/files: OpenBSD 

Log message:
Update entry for Job

Turns out I don't live in Paris.

OK sthen@ phessler@



CVS: cvs.openbsd.org: ports

2017-06-28 Thread Job Snijders
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/06/28 16:07:50

Modified files:
geo/openbsd-developers: Makefile 
geo/openbsd-developers/files: OpenBSD 

Log message:
Add Job