net-misc/safe-harbor: fix install path
This commit is contained in:
parent
9fe60e1e1b
commit
23842a3fb9
1 changed files with 2 additions and 2 deletions
35
net-misc/safe-harbor/safe-harbor-0.3.1-r1.ebuild
Normal file
35
net-misc/safe-harbor/safe-harbor-0.3.1-r1.ebuild
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="Safe Harbor, an SSH tunnel generator."
|
||||
HOMEPAGE="https://git.decade.cz/decade-public/${PN}"
|
||||
SRC_URI="https://git.decade.cz/decade-public/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="*"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/python-3.8
|
||||
sys-apps/systemd
|
||||
net-misc/openssh
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_install() {
|
||||
# gentoo prefers /usr/libexec
|
||||
sed -i "s/\/usr\/lib\/${PN}/\/usr\/libexec/" systemd/safe-harbor@.service
|
||||
systemd_dounit systemd/safe-harbor@.service
|
||||
|
||||
insinto /etc/safe-harbor
|
||||
doins config.json.example
|
||||
|
||||
exeinto /usr/libexec
|
||||
doexe lib/safe-harbor.py
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue