Re: NEW: sysutils/packer-vmm

2020-05-13 Thread Klemens Nanni
On Sun, Apr 19, 2020 at 06:29:13PM +0300, Pavel Korovin wrote: > Please find sysutils/packer-vmm, a vmm(4) builder plugiun for HashiCorp Packer > attached. > Upstream maintainer, Philipp Buehler is OK for me taking maintainership. > OK to import? The D variable in Makefile is unused, port looks rea

NEW: sysutils/packer-vmm

2020-04-19 Thread Pavel Korovin
Dear all, Please find sysutils/packer-vmm, a vmm(4) builder plugiun for HashiCorp Packer attached. Upstream maintainer, Philipp Buehler is OK for me taking maintainership. OK to import? -- With best regards, Pavel Korovin packer-vmm.tar.gz Description: Binary data

Re: [NEW] sysutils/packer-vmm

2020-03-07 Thread Pavel Korovin
Dear Philipp, Please find updated version of the vmm builder attached. Changes: 1. Eliminate doas(1) by using VM instances. This also allows to use access control features provided by vmd(8). 2. Add new and rename some existing configuration items to be more in sync with what is used in vm.

Re: [NEW] sysutils/packer-vmm

2020-03-07 Thread Philipp Buehler
Am 07.03.2020 11:20 schrieb Stuart Henderson: 1. Sync with HCL2 support changes introduced in packer-1.5.0 (https://github.com/double-p/packer-builder-openbsd-vmm/pull/7) I just merged this PR, thanks a lot for looking into this. 2. Simplify Makefile, removing unnecessary go dependencies (thes

Re: [NEW] sysutils/packer-vmm

2020-03-07 Thread Stuart Henderson
On 2020/03/06 10:37, Pavel Korovin wrote: > Dear all, > > For those who'd like to play with HashiCorp Packer on vmm(4), I've > updated Philipp's vmm builder plugin port to support the latest version of > packer (1.5.4). > > Port changes: > > 1. Sync with HCL2 support changes introduced in packer

Re: [NEW] sysutils/packer-vmm

2020-03-06 Thread Philipp Buehler
Am 06.03.2020 08:37 schrieb Pavel Korovin: 3. Sync style with Makefile.template. Tested on -current. Thanks pavel, I'll look over it this weekend and likely will merge the pull request. -- pb

Re: [NEW] sysutils/packer-vmm

2020-03-05 Thread Pavel Korovin
Dear all, For those who'd like to play with HashiCorp Packer on vmm(4), I've updated Philipp's vmm builder plugin port to support the latest version of packer (1.5.4). Port changes: 1. Sync with HCL2 support changes introduced in packer-1.5.0 (https://github.com/double-p/packer-builder-openbsd-v

Re: [NEW] sysutils/packer-vmm

2019-12-17 Thread Philipp Buehler
Am 17.12.2019 18:09 schrieb Stuart Henderson: Without it, it will work if you already have the files locally but will fail if it has to download them (make clean=dist). Gotcha.. Problems I ran into (I don't think they should block the import but would be good to handle them better in an updat

Re: [NEW] sysutils/packer-vmm

2019-12-17 Thread Stuart Henderson
On 2019/12/17 11:36, Philipp Buehler wrote: > Am 16.12.2019 23:57 schrieb Stuart Henderson: > > > > It needs this adding > > > > MASTER_SITES0= https://github.com/ > > > > otherwise fetches fail. > > I was told that this is implicit for GH_ based ports and > works for me? Whoever told you

Re: [NEW] sysutils/packer-vmm

2019-12-17 Thread Philipp Buehler
Am 16.12.2019 23:57 schrieb Stuart Henderson: It needs this adding MASTER_SITES0= https://github.com/ otherwise fetches fail. I was told that this is implicit for GH_ based ports and works for me? The port directory is packer-vmm but the package name is packer-builder-openbsd-vmm, I think

Re: [NEW] sysutils/packer-vmm

2019-12-16 Thread Stuart Henderson
On 2019/12/16 15:47, Philipp Buehler wrote: > Am 16.12.2019 15:26 schrieb Stuart Henderson: > > Can you send an up-to-date tar.gz of the port please? > > Sure enough; find attached. > > ciao > -- > pb It needs this adding MASTER_SITES0= https://github.com/ otherwise fetches fail. The port d

Re: [NEW] sysutils/packer-vmm

2019-12-16 Thread Philipp Buehler
Am 16.12.2019 15:26 schrieb Stuart Henderson: Can you send an up-to-date tar.gz of the port please? Sure enough; find attached. ciao -- pb packer-vmm.tgz Description: GNU Zip compressed data

Re: [NEW] sysutils/packer-vmm

2019-12-16 Thread Stuart Henderson
On 2019/12/16 13:35, Philipp Buehler wrote: > Am 10.12.2019 15:24 schrieb Philipp Buehler: > > Am 09.12.2019 13:17 schrieb Philipp Buehler: > > > this port would enable sysutils/packer to utilize OpenBSD's VMM as a > > > builder engine. > > One "final" addition would be: > ONLY_FOR_ARCHS= amd64 >

Re: [NEW] sysutils/packer-vmm

2019-12-16 Thread Philipp Buehler
Am 10.12.2019 15:24 schrieb Philipp Buehler: Am 09.12.2019 13:17 schrieb Philipp Buehler: this port would enable sysutils/packer to utilize OpenBSD's VMM as a builder engine. One "final" addition would be: ONLY_FOR_ARCHS= amd64 (packer has ${LP64_ARCHS} but that's too broad for vmm) Anything

Re: [NEW] sysutils/packer-vmm

2019-12-10 Thread Philipp Buehler
Am 09.12.2019 13:17 schrieb Philipp Buehler: this port would enable sysutils/packer to utilize OpenBSD's VMM as a builder engine. Changes from feedback so far: - add examples - add RUN_DEPENDS and ordering in Makefile - fmt(1) DESCR thanks, -- pb packer-vmm.tgz Description: GNU Zip compres

Re: [NEW] sysutils/packer-vmm

2019-12-10 Thread Antoine Jacoutot
On Mon, Dec 09, 2019 at 01:17:49PM +0100, Philipp Buehler wrote: > Hello, > > this port would enable sysutils/packer to utilize OpenBSD's VMM as a builder > engine. > I am author of the actual plugin, too. > > Thanks to Stuart about the hints along DISTFILES/post-extract. > > Tested on 6.6-stabl

Re: [NEW] sysutils/packer-vmm

2019-12-10 Thread Stuart Henderson
On 2019/12/10 13:47, Philipp Buehler wrote: > Am 09.12.2019 17:04 schrieb Aaron Bieber: > > Seems like it needs sysutils/packer as a RUN_DEPENDS? > > Added and reordered along Makefile.template > > > Might also be nice to include the example json file (though, I am > > packer-noob!). > > There a

Re: [NEW] sysutils/packer-vmm

2019-12-10 Thread Philipp Buehler
Am 09.12.2019 17:04 schrieb Aaron Bieber: Seems like it needs sysutils/packer as a RUN_DEPENDS? Added and reordered along Makefile.template Might also be nice to include the example json file (though, I am packer-noob!). There are examples in the repo ( https://github.com/double-p/packer-b

Re: [NEW] sysutils/packer-vmm

2019-12-09 Thread Aaron Bieber
On Mon, 09 Dec 2019 at 13:17:49 +0100, Philipp Buehler wrote: > Hello, > > this port would enable sysutils/packer to utilize OpenBSD's VMM as a builder > engine. > I am author of the actual plugin, too. > > Thanks to Stuart about the hints along DISTFILES/post-extract. > > Tested on 6.6-stable,

[NEW] sysutils/packer-vmm

2019-12-09 Thread Philipp Buehler
Hello, this port would enable sysutils/packer to utilize OpenBSD's VMM as a builder engine. I am author of the actual plugin, too. Thanks to Stuart about the hints along DISTFILES/post-extract. Tested on 6.6-stable, but I don't see changes that would prevent it from running on -CURRENT. TI