Package Details: wg_tool 6.7.7-1

Git Clone URL: https://aur.archlinux.org/wg_tool.git (read-only, click to copy)
Package Base: wg_tool
Description: Tool to administer wireguard VPN (server and user configs)
Upstream URL: https://github.com/gene-git/wg_tool
Keywords: vpn wireguard
Licenses: MIT
Submitter: GeneArch
Maintainer: GeneArch
Last Packager: GeneArch
Votes: 2
Popularity: 0.000010
First Submitted: 2022-10-26 15:19 (UTC)
Last Updated: 2024-04-30 19:58 (UTC)

Latest Comments

1 2 Next › Last »

GeneArch commented on 2024-04-30 19:59 (UTC)

@TrialnError - yeh I agree - was hacky - removed.

thanks for pointing it out.

TrialnError commented on 2024-04-30 19:31 (UTC)

Hello GeneArch,
The changelog related changes are odd in more than one way from my viewpoint.
Either the changelog file exists beside the PKGBUILD or not. It is not intended to point to a file which may come with the sources. The use of touch is just a hack to work around that. See the entry in the PKGBUILD man-page.
And the original intend was to document packaging changes and not changes in the software. If the software provides a changelog it could be installed in the respective /usr/share/doc/wg_tools location. $startdir is one of the variables which shouldn't be used in a PKGBUILD. And please do not copy some file from the sources back into that location oO This could be whatever, which gets included with the package and if interpret could do whatever in the end. Theoretical worst case which I paint there, but just to bring the point home that this shouldn't be done as it tampers with files outside of $srcdir and $pkgdir.
Which brings me to the last point: the package() function isn't the place for such a thing. If a refresh would be necessary, prepare(), build() or even placing it in source would be more fitting. But why updating the changelog at all? This installs a fixed pkgver of the program. Refreshing the changelog from master contains changes which aren't available with the package.

GeneArch commented on 2024-04-29 22:46 (UTC)

Excellent - thanks!

simona commented on 2024-04-29 22:26 (UTC)

solved... thaks :-)))

GeneArch commented on 2024-04-29 22:12 (UTC) (edited on 2024-04-29 22:14 (UTC) by GeneArch)

Hi @simona - as far as I know all the code is compatible with python 3.12 (and 3.13 best I can tell)

If you haven't already done so, please simply rebuild the package so that it installs itself in /usr/lib/python3.12/site-packages/wg_tool.

Let me know if you encounter any issues. If you have any problems, please file bug reports at my github source page:

https://github.com/gene-git/wg_tool/issues

FYI, you can see the Changelog using:

"pacman -Qc wg_tool"

Thank you!

simona commented on 2024-04-29 22:01 (UTC)

for python 3.12?

GeneArch commented on 2023-05-17 17:30 (UTC)

Sure - done.

gromit commented on 2023-05-17 17:01 (UTC)

A non -git package shouldn have a pkgver()-function

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wg_tool#n29

GeneArch commented on 2022-12-04 22:47 (UTC)

Thanks @mike.cloaked - glad you find it useful!

mike.cloaked commented on 2022-11-28 18:05 (UTC)

This works very well - thank you for coding this. It is a lot easier to set up wireguard than previous methods I have used.