Created attachment 215540 [details] Initial diff for pwol 1.5 new port 'pwol' is a small tool that can be used to send WoL packets to wake up hosts (or group of hosts) that also (optionally) can act as a Wake-On-Lan gateway for situations where you wish to forwards WOL packets but don't have a router that supports it. Also supports a fairly flexible configuration file.
Looks like you accidentally included the work dir in the diff. Can you also update sysutils/Makefile and add your port?
Created attachment 215553 [details] V2 of the diff for pwol Drat. Ok, updated patch uploaded now. Sorry about that. - Peter
Two more things, very minor. Sorry for not noticing the first time around. Poudriere warns that bin/pwol isn't stripped. Usually you can just add INSTALL_TARGET=install-strip with autotools builds, but when I tested, it didn't work. I suggest you add a post-install: target that strips the binary. There are several examples in the ports tree. Secondly etc/pwol.conf.sample might benefit from using @sample. This needs a proper pkg-plist though, instead of PLIST_FILES. Using @sample means that the file will be installed as .conf.sample, and also .conf if there is no such file previously. It also means that on update or removal of the package, the file with the name .conf will only be altered if it is unchanged. There is some more info on how this works here in the porter's handbook: https://www.freebsd.org/doc/en/books/porters-handbook/book.html#plist-keywords-sample-example
Created attachment 215566 [details] Third time's the charm then? :-) Ok, fixed the stripping and the @sample stuff (I fixed the strip part in the original code instead since there was a couple of other (non-FreeBSD related) things I had to fix there at the same time anyway). Btw, I do test it with Poudriere locally. But I didn't see any error about the missed stripping of the installed binary? It talks a lot when doing builds though so I might be missing it somewhere in the output... Where should I be looking? :-)
A commit references this bug: Author: zeising Date: Mon Jun 15 17:54:35 UTC 2020 New revision: 538926 URL: https://svnweb.freebsd.org/changeset/ports/538926 Log: sysutils/pwol: Add new ports Add sysutils/pwol, a small tool that can be used to send WoL packages to wake up hosts or groups of hosts. It can also act as a WoL gateway when you need to forward such packages but don't have a router that supports it. PR: 247251 Submitted by: Peter Eriksson Changes: head/sysutils/Makefile head/sysutils/pwol/ head/sysutils/pwol/Makefile head/sysutils/pwol/distinfo head/sysutils/pwol/pkg-descr head/sysutils/pwol/pkg-plist
(In reply to Peter Eriksson from comment #4) When running poudriere testport, there is a make target, stage-qa, that's run that checks a couple of things. It's run after the install target, but before the package target. It starts with ====> Running Q/A tests (stage-qa) but can be a little hard to find. That's where I got the warning about the binary not being stripped. It also warns about a bunch of other things, and tries to figure out if there's any libraries that you've linked to, but that the port doesn't depend on, for example. Things look good now, port has been committed. Thank you!