Commit d986998e authored by John Johnson's avatar John Johnson

net-vpn/torguard installation no longer includes libs from archive source

There is no need to include all the files from the source archive, since most of
them are already available in the gentoo repos; e.g. openvpn, qt, etc.

Adding the `torguard` user to `sysusers`.
parent dce3531d
u torguard - "TorGuard VPN Software"
......@@ -15,7 +15,8 @@ SLOT="0"
# KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="sys-apps/iproute2"
RDEPEND="sys-apps/iproute2
net-vpn/openvpn"
DEPEND="${RDEPEND}"
# S=${WORKDIR}/${PN}-v${PV}-amd64-arch
......@@ -39,12 +40,29 @@ src_unpack() {
}
src_install() {
doins -r .
# doins -r .
# fperms 0644 "${S}/${PN}-v${PV}-amd64-arch/"
# fperms 0755 "${D}/opt/${PN}/"
# fperms 0644 "${D}/"
# fperms 0644 "${S}/${PN}-v${PV}-amd64-arch/opt/${PN}/bin/*.conf"
# fperms 0644 "${S}/${PN}-v${PV}-amd64-arch/opt/${PN}/bin/*.desktop"
# fperms 0644 *
# fperms 0644 ${EROOT}
# fperms 0644 ${EROOT}/etc/sudoers.d/${PN}
# doins -r "${S}/usr/share" "${ED}/usr"
doins -r "${S}/usr"
insinto /opt/${PN}/bin/
doins -r "${S}/opt/${PN}/bin/${PN}"
doins "${S}/opt/${PN}/bin/openconnect"
doins "${S}/opt/${PN}/bin/vpnc-script"
# torguard sysusers conf
insinto /usr/lib/sysusers.d
newins "${FILESDIR}/${PN}.sysusers" "${PN}.conf"
# Let's use the system implementation of openvpn
dosym "/usr/sbin/openvpn" "${EROOT}/opt/${PN}/bin/openvpn_v2_4"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment