update: net/msoak

2022-01-24 Thread Jan-Piet Mens

Hello!

This is an update for msoak(1), a utility with which to simultaneously
subscribe to an arbitrary number of topics on any number of MQTT brokers and
optionally modify or normalize received payloads with Lua functions before
printing them out.

Regards,

-JP
diff --git a/net/msoak/Makefile b/net/msoak/Makefile
index 692f3d152e9..db23c960078 100644
--- a/net/msoak/Makefile
+++ b/net/msoak/Makefile
@@ -4,7 +4,7 @@ COMMENT =   subscribe to multiple MQTT brokers and topics 
simultaneously
 
 GH_ACCOUNT =   jpmens
 GH_PROJECT =   msoak
-GH_TAGNAME =   0.6
+GH_TAGNAME =   0.8
 
 CATEGORIES =   net
 
diff --git a/net/msoak/distinfo b/net/msoak/distinfo
index 61da59e4dff..b17b36e1e17 100644
--- a/net/msoak/distinfo
+++ b/net/msoak/distinfo
@@ -1,2 +1,2 @@
-SHA256 (msoak-0.6.tar.gz) = 4TlvM+QSpaNPLiPsQVC+tNflSeBLPOLI/nDFWukm6Z4=
-SIZE (msoak-0.6.tar.gz) = 140523
+SHA256 (msoak-0.8.tar.gz) = udfSXrUgOnxfK2+i7Bm8og71iUiFYqyJAfVPPKkFas4=
+SIZE (msoak-0.8.tar.gz) = 141831


update: sysutils/ssh-copy-id

2022-01-24 Thread Jan-Piet Mens

Hello!

This is an update to ssh-copy-id, a script to copy one's SSH keys to remote 
hosts, ensuring that ~/.ssh and authorized_keys are created with correct 
permissions.

Regards,

-JP
diff --git a/sysutils/ssh-copy-id/Makefile b/sysutils/ssh-copy-id/Makefile
index a18dcadef51..3699cbf70e2 100644
--- a/sysutils/ssh-copy-id/Makefile
+++ b/sysutils/ssh-copy-id/Makefile
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.1.1.1 2020/02/06 14:10:05 kmos Exp $
 
 COMMENT=script to copy one's SSH keys to remote hosts
-V=  8.1p1
+V=  8.8p1
 DISTNAME=   openssh-${V}
 PKGNAME=ssh-copy-id-${V:S/p/pl/}
 CATEGORIES= sysutils
diff --git a/sysutils/ssh-copy-id/distinfo b/sysutils/ssh-copy-id/distinfo
index 582eea0d833..31a6b55d99b 100644
--- a/sysutils/ssh-copy-id/distinfo
+++ b/sysutils/ssh-copy-id/distinfo
@@ -1,2 +1,2 @@
-SHA256 (openssh-8.1p1.tar.gz) = AvXb7zg10HU1VvlzzVe0wZtrH2zSTANEXiOsd8obk/8=
-SIZE (openssh-8.1p1.tar.gz) = 1625894
+SHA256 (openssh-8.8p1.tar.gz) = RZCJDqm7ms5Pca4zF4WjpYIyMkNRYZYO1fyGWI8zH+k=
+SIZE (openssh-8.8p1.tar.gz) = 1815060


Re: [NEW] sysutils/ssh-copy-id -- 2nd ok?

2020-02-06 Thread Jan-Piet Mens

This version is OK sthen@ to import.


Anybody willing to donate a second ok? :)

-JP



Re: [NEW] sysutils/ssh-copy-id

2020-01-18 Thread Jan-Piet Mens
p1 can't be used in PKGNAME as it conflicts with REVISION, usual 
practice is to replace p with pl, e.g.


Fixed, thank you.

New port attached.

   -JP


ssh-copy-id,1.tgz
Description: application/tar-gz


Re: should we port ssh-copy-id ?

2020-01-18 Thread Jan-Piet Mens

I've submitted a port at [1].

-JP

[1] https://marc.info/?l=openbsd-ports=157934217426742=2



[NEW] sysutils/ssh-copy-id

2020-01-18 Thread Jan-Piet Mens

Hello!

This is a new port for ssh-copy-id(1), a script to copy one's SSH
keys to remote hosts, ensuring that ~/.ssh and authorized_keys are
created with correct permissions

Tested on 6.6-CURRENT

Previous discussion [1], and I've adopted Bryan's suggestion of using 
the portable OpenSSH mirror with apologies to Stuart for having made him 
create and have to destroy the mirror at [2] :-)


-JP

[1] https://marc.info/?l=openbsd-ports=157901150806726=2
[2] https://spacehopper.org/ssh-copy-id-20161215.tar.gz


ssh-copy-id.tgz
Description: application/tar-gz


Re: should we port ssh-copy-id ?

2020-01-18 Thread Jan-Piet Mens

I assume a better distfile would be OpenSSH portable tarballs.


It occurred to me, but I assumed the original source repository of the 
script would be the cleaner method.



./openssh-8.0p1/contrib/ssh-copy-id


Would there be a reason for using 8.0p1 instead of 8.1p1 ?

-JP



Re: should we port ssh-copy-id ?

2020-01-17 Thread Jan-Piet Mens

Seems reasonable - is there a stable distfile somewhere or does it
need mirroring?


I'm aware only of the git repository at [1], in other words, I assume if 
we need a .tar.gz it needs mirroring. Is there provision at ports@ to do 
that or do I try to create the port to pull a specific git tag from [1]?


-JP

[1] http://git.hands.com/ssh-copy-id



should we port ssh-copy-id ?

2020-01-14 Thread Jan-Piet Mens
ssh-copy-id [1] is a script to copy one's SSH keys to remote hosts, 
ensuring that ~/.ssh and authorized_keys are created with correct 
permissions. The script uses ssh(1) to log into a remote machine (using 
a login password).


This script is available in portable OpenSSH [2] and is installed on 
many (most?) Linux distributions, macOS, and from a different source 
[3], in FreeBSD.


Would ssh-copy-id from [1] likely be accepted as a port if I attempted 
to undertake the task?


-JP


[1] http://git.hands.com/ssh-copy-id
[2] https://github.com/openssh/openssh-portable/tree/master/contrib
[3] from the man page: The ssh-copy-id utility was written by Eitan 
Adler  as a drop-in replacement for an existing 
utility included with OpenSSH.




[NEW]: misc/ocli

2020-01-12 Thread Jan-Piet Mens

Hello!

This is a new port for ocli(1), a utility which connects to a running 
gpsd(8) and publishes position information in the Open Source OwnTracks 
[1] JSON format [2] to an MQTT broker in order for compatible software 
to process location data.


I am also the author the utility which uses pledge(2) and unveil(2) on 
OpenBSD.


Tested on 6.6-CURRENT

I'm hoping somebody is willing to test this, or even better, just go 
ahead and commit it. :-)


Thank you and best regards,

   -JP

[1] https://owntracks.org
[2] https://owntracks.org/booklet/tech/json/


ocli.tgz
Description: application/tar-gz


Re: NEW: sysutils/perp

2020-01-11 Thread Jan-Piet Mens

Reminder mails surely can help since the list is active and developers
only have so much time to take care of the things they are interested
in, but pinging every three days or so rather annoys me and tends to
drift focus *away* from the port.


Understood, Klemens, thank you.


V could be merged into DISTNAME directly but that's up to you.


If you don't mind, I'll keep it this way for the time being.


OK kn


Merci! :-)

-JP



Re: NEW: sysutils/perp

2020-01-11 Thread Jan-Piet Mens

On Tue Jan 07 2020 at 23:37:40 CET, Stuart Henderson wrote:


Any OKs to import, or anyone want to commit with my OK?


Pardon my asking, but is there anything I can do other than sit back and 
wait? What is the correct protocol for a port maintainer? Occasional 
reminder emails?


Thank you,

-JP



Re: pondering.... meta/python3

2020-01-07 Thread Jan-Piet Mens

What does anyone think about adding a stupid meta/python3 port so
that you can just do "pkg_add python3"?


That is a very good idea!

-JP



Re: NEW: sysutils/perp

2020-01-06 Thread Jan-Piet Mens

On Mon Jan 06 2020 at 14:12:49 CET, Stuart Henderson wrote:


This is OK with me to import with this diff on top


patch applied, thank you, and port attached.

-JP


perp,1.tgz
Description: application/tar-gz


NEW: sysutils/perp

2020-01-06 Thread Jan-Piet Mens

Hello!

This is a new port for perp [1], a persistent process supervisor and 
service managment framework for Unix. It provides a number of utilities 
[2], including tinylog(8).


I have built and tested this package on 6.6-CURRENT

I'm hoping somebody will be willing to test this and give me feedback.

Thank you and best regards,

-JP

[1] http://b0llix.net/perp/
[2] http://b0llix.net/perp/site.cgi?page=manual


perp.tgz
Description: application/tar-gz


Re: [NEW] net/msoak

2020-01-05 Thread Jan-Piet Mens

On Sun Jan 05 2020 at 00:26:11 CET, Stuart Henderson wrote:


Works for me, and a good first submission :) I've attached a tweaked
version, and will add commentary inline on a diff from your version:


thank you, Stuart. I've understood your comments and hope I'll remember 
for next time. :)


I'm attaching msoak,3.tgz after testing a full install; nothing breaks 
here, and I've adopted your suggestion of specifying MODLUA_VERSION so 
as to keep it aligned with how other people might build on other 
systems.


Best regards,

-JP



msoak,3.tgz
Description: application/tar-gz


[NEW] net/msoak

2020-01-04 Thread Jan-Piet Mens

Hello!

This is a new port for msoak(1), a utility with which to simultaneously 
subscribe to an arbitrary number of topics on any number of MQTT brokers 
and optionally modify or normalize received payloads with Lua functions 
before printing them out.


I am the author of said utility, too.

Tested on 6.6-CURRENT

I'm hoping somebody can test this and give me feedback on my first 
package for OpenBSD!


Under the assumption that MQTT is not in everybody's repertoire (why not 
actually, it's great! :-), I have a short writeup about it at [1].


Thank you and best regards,

-JP

[1] 
https://jpmens.net/2013/02/25/lots-of-messages-mqtt-pub-sub-and-the-mosquitto-broker/


msoak.tgz
Description: application/tar-gz