The systemd unit files for both client and server were referencing
outdated documentation as they were hard-coded to the OpenVPN 2.4.x
release branch.
Github: closes OpenVPN/openvpn#457
Change-Id: Iee289aa5df9ee0e9a03c0dc562e45dd39836e794
Signed-off-by: Christoph Schug <com+github@schug.net>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20240308140346.4058419-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28369.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit f65c656ac034a99cca09557eeb9337e7c00a7e73)
| ... | ... |
@@ -9,7 +9,10 @@ |
| 9 | 9 |
# |
| 10 | 10 |
|
| 11 | 11 |
%.service: %.service.in Makefile |
| 12 |
- $(AM_V_GEN)sed -e 's|\@sbindir\@|$(sbindir)|' \ |
|
| 12 |
+ $(AM_V_GEN)sed \ |
|
| 13 |
+ -e 's|\@OPENVPN_VERSION_MAJOR\@|$(OPENVPN_VERSION_MAJOR)|g' \ |
|
| 14 |
+ -e 's|\@OPENVPN_VERSION_MINOR\@|$(OPENVPN_VERSION_MINOR)|g' \ |
|
| 15 |
+ -e 's|\@sbindir\@|$(sbindir)|g' \ |
|
| 13 | 16 |
$< > $@.tmp && mv $@.tmp $@ |
| 14 | 17 |
|
| 15 | 18 |
EXTRA_DIST = \ |
| ... | ... |
@@ -3,7 +3,7 @@ Description=OpenVPN tunnel for %I |
| 3 | 3 |
After=network-online.target |
| 4 | 4 |
Wants=network-online.target |
| 5 | 5 |
Documentation=man:openvpn(8) |
| 6 |
-Documentation=https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage |
|
| 6 |
+Documentation=https://openvpn.net/community-resources/reference-manual-for-openvpn-@OPENVPN_VERSION_MAJOR@-@OPENVPN_VERSION_MINOR@/ |
|
| 7 | 7 |
Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO |
| 8 | 8 |
|
| 9 | 9 |
[Service] |
| ... | ... |
@@ -3,7 +3,7 @@ Description=OpenVPN service for %I |
| 3 | 3 |
After=network-online.target |
| 4 | 4 |
Wants=network-online.target |
| 5 | 5 |
Documentation=man:openvpn(8) |
| 6 |
-Documentation=https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage |
|
| 6 |
+Documentation=https://openvpn.net/community-resources/reference-manual-for-openvpn-@OPENVPN_VERSION_MAJOR@-@OPENVPN_VERSION_MINOR@/ |
|
| 7 | 7 |
Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO |
| 8 | 8 |
|
| 9 | 9 |
[Service] |