Compare commits

..

1 Commits

Author SHA1 Message Date
Pau Espin 71a5ec2bfe set up osmocom recipes with AUTOREV to track git master
NOTE: changes unrelated to Osmocom versions from master should be made
against the 201705 branch, not the branch here!

Change-Id: I7bcf0b88183696e1af61fc20bd4701fbdd7e582c
2023-05-12 10:35:01 +02:00
2 changed files with 2 additions and 22 deletions

View File

@ -1,17 +0,0 @@
[Unit]
Description=OpenVPN connection to %i
PartOf=openvpn.service
ReloadPropagatedFrom=openvpn.service
[Service]
Type=forking
ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn.%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf
ExecReload=/bin/kill -HUP $MAINPID
WorkingDirectory=/etc/openvpn
Restart=always
RestartSec=2
[Install]
WantedBy=multi-user.target

View File

@ -7,12 +7,11 @@ DEPENDS = "lzo openssl iproute2 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '
inherit autotools systemd update-rc.d pkgconfig
PR = "r2"
PR = "r1"
SRC_URI = "http://swupdate.openvpn.org/community/releases/${BP}.tar.gz \
file://0001-configure.ac-eliminate-build-path-from-openvpn-versi.patch \
file://openvpn \
file://openvpn@.service \
file://openvpn.service \
"
@ -67,8 +66,7 @@ do_install_append() {
install -d -m 710 ${D}/${localstatedir}/lib/openvpn
# Keep openvpn@.service, openvpn.service to match manuals (SYS#6303)
install -m 0644 ${WORKDIR}/openvpn@.service ${D}${systemd_system_unitdir}
# Keep openvpn.service to match manuals (SYS#6303)
install -m 0644 ${WORKDIR}/openvpn.service ${D}${systemd_system_unitdir}
}
@ -79,7 +77,6 @@ RRECOMMENDS_${PN} = "kernel-module-tun"
FILES_${PN}-dbg += "${libdir}/openvpn/plugins/.debug"
FILES_${PN} += "${systemd_system_unitdir}/openvpn-server@.service \
${systemd_system_unitdir}/openvpn-client@.service \
${systemd_system_unitdir}/openvpn@.service \
${systemd_system_unitdir}/openvpn.service \
${nonarch_libdir}/tmpfiles.d \
"