mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
Merge pull request #1743 from thypon/tinc
tinc: move to usr/bin + removed systemd support
This commit is contained in:
commit
88b8c4d21b
2 changed files with 2 additions and 15 deletions
|
@ -1,10 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Tinc daemon for net %i
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
ExecStart=/usr/sbin/tincd -n %i
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,9 +1,8 @@
|
||||||
# Template file for 'tinc'
|
# Template file for 'tinc'
|
||||||
pkgname=tinc
|
pkgname=tinc
|
||||||
version=1.0.25
|
version=1.0.25
|
||||||
revision=3
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_options="systemd"
|
|
||||||
makedepends="zlib-devel lzo-devel libressl-devel"
|
makedepends="zlib-devel lzo-devel libressl-devel"
|
||||||
short_desc="VPN (Virtual Private Network) daemon"
|
short_desc="VPN (Virtual Private Network) daemon"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -11,10 +10,8 @@ license="GPL-2"
|
||||||
homepage="http://www.tinc-vpn.org"
|
homepage="http://www.tinc-vpn.org"
|
||||||
distfiles="${homepage}/packages/${pkgname}-${version}.tar.gz"
|
distfiles="${homepage}/packages/${pkgname}-${version}.tar.gz"
|
||||||
checksum=c5c1c554e594d77365b63222ef15f4460c0c202f9163a89a087333a779f4f133
|
checksum=c5c1c554e594d77365b63222ef15f4460c0c202f9163a89a087333a779f4f133
|
||||||
|
configure_args="--sbindir=/usr/bin"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv tincd
|
vsv tincd
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
vinstall ${FILESDIR}/tincd@.service 644 usr/lib/systemd/system
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue