<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/wg-installer, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2023-04-21T20:46:58Z</updated>
<entry>
<title>treewide: remove AUTORELEASE</title>
<updated>2023-04-21T20:46:58Z</updated>
<author>
<name>Paul Fertser</name>
</author>
<published>2023-04-21T16:32:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=0c10c224be81f9221dabfab449855ab6718d2a0c'/>
<id>urn:sha1:0c10c224be81f9221dabfab449855ab6718d2a0c</id>
<content type='text'>
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
</content>
</entry>
<entry>
<title>wg-installer: use babeld add_interface function</title>
<updated>2022-02-01T21:32:30Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-02-01T20:56:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=40b87aac950db3e310b6a353392a7ecd66e7c6f2'/>
<id>urn:sha1:40b87aac950db3e310b6a353392a7ecd66e7c6f2</id>
<content type='text'>
With commit 385200443554 ("babeld: add add_interface function") babeld
has a new ubus function allowing to dynamically add an interface.

Before the add_interface function, we were required to reload babeld.
The reload influenced the babeld routing. However, the remove part is
still missing and will be added at a later stage.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: fix multiple namespaces</title>
<updated>2022-01-22T23:08:32Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-22T22:27:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=94efdcf02a723fbcdcc6a192e026e0c2f766a158'/>
<id>urn:sha1:94efdcf02a723fbcdcc6a192e026e0c2f766a158</id>
<content type='text'>
Add flag "--lookup-default-namespace" to signal that wg-installer should
look already established wireguard sessions in the default namespace.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: remove unused dependency</title>
<updated>2022-01-20T14:56:02Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-20T14:24:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=fab86eb626b677f8329482f427c6837e59fe4597'/>
<id>urn:sha1:fab86eb626b677f8329482f427c6837e59fe4597</id>
<content type='text'>
Remove the dependency "coreutils-realpath" from
wg-installer-server-hotplug-olsrd.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: create wireguard key if it does not exist</title>
<updated>2022-01-20T13:44:26Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-20T13:10:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=324fa79d7c8a90e899a81bbb3ae0c5a5a602f88e'/>
<id>urn:sha1:324fa79d7c8a90e899a81bbb3ae0c5a5a602f88e</id>
<content type='text'>
Check if the key exists which is given by
    option wg_key '/etc/wgserver/wg.key'

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: install cronjob</title>
<updated>2022-01-20T08:51:05Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-20T08:06:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=432a965689f09c6bb86cd24753f79d739b9bcf46'/>
<id>urn:sha1:432a965689f09c6bb86cd24753f79d739b9bcf46</id>
<content type='text'>
Install a cronjob that removes unused wireguard interfaces every 10
minutes.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: check if a key is already inserted</title>
<updated>2022-01-20T08:19:04Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-18T17:31:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=da48bc3792705b12fc104459ed9f5f1b73544d17'/>
<id>urn:sha1:da48bc3792705b12fc104459ed9f5f1b73544d17</id>
<content type='text'>
Check if a peer is already existing with a given public key. Introduce a
response code for signaling why the server rejected the request.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: rework code</title>
<updated>2022-01-20T01:04:50Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-19T17:40:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=69c81790d1045e064cd9c643a1643a0f919f448d'/>
<id>urn:sha1:69c81790d1045e064cd9c643a1643a0f919f448d</id>
<content type='text'>
Use shellcheck to rework the code. Use "export" to return variables from
a function call. Further, fix typos.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: cosmetic changes</title>
<updated>2022-01-18T17:20:20Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-18T16:39:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=38a9a3e0dc9713af7509e455ca9a71567d80323f'/>
<id>urn:sha1:38a9a3e0dc9713af7509e455ca9a71567d80323f</id>
<content type='text'>
Use "ip addr" instead of "ip addres" or "ip a".

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>wg-installer: switch to ubus call for olsrd hotplug</title>
<updated>2022-01-16T10:05:27Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-01-16T09:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=b89eb0115fc21183175af68c0a8807b25bd71c99'/>
<id>urn:sha1:b89eb0115fc21183175af68c0a8807b25bd71c99</id>
<content type='text'>
Use ubus ipc calls to add and remove interfaces.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
</feed>
