The following improvements are in this patch: - remove unnecessary "refs/tags" from SRC_URI - patch the config file. It is better to do this instead of copying the entire file to filesdir because it makes it easier to know when upstream changes the config file. - There is no extra work to install the documentation, so we should do that. - Since the config file in the distribution is an example, it should be installed as documentation instead of in /etc. - The service should be named headscale (the same name as the binary); it was previously headscaled.
Created attachment 775802 [details, diff] 0001-net-vpn-headscale-0.15.0-r1-bump.patch Here is the patch.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80f01fb2f6b22b9f06e57b9ae0531ba65f0d38f commit b80f01fb2f6b22b9f06e57b9ae0531ba65f0d38f Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2022-04-28 16:21:38 +0000 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: 2022-05-01 23:04:19 +0000 net-vpn/headscale: 0.15.0-r1 bump - install documentation - patch example config so we know if upstream changes the config file - install example config in the documentation directory - name the service the same as the binary Closes: https://bugs.gentoo.org/842018 Author-by: William Hubbs <williamh@gentoo.org> Signed-off-by: Yixun Lan <dlan@gentoo.org> net-vpn/headscale/files/config-socket.patch | 13 ++ net-vpn/headscale/files/config.yaml.example | 221 --------------------- .../files/{headscale.conf => headscale.confd} | 0 .../files/{headscaled.initd => headscale.initd} | 2 +- .../{headscaled.service => headscale.service} | 0 net-vpn/headscale/headscale-0.15.0-r1.ebuild | 49 +++++ net-vpn/headscale/headscale-0.15.0.ebuild | 49 ----- 7 files changed, 63 insertions(+), 271 deletions(-)