1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-02-16 15:25:46 +01:00

redsocks: ebuild will now create also user redsocks

This commit is contained in:
2016-08-23 08:27:54 +02:00
parent 5343493f69
commit 83205e50ec
2 changed files with 8 additions and 3 deletions

View File

@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
EAPI=5
inherit toolchain-funcs
inherit toolchain-funcs user
DESCRIPTION="Transparent redirector of any TCP connection to proxy"
HOMEPAGE="http://darkk.net.ru/redsocks/"
@@ -20,6 +20,11 @@ RDEPEND="dev-libs/libevent
DEPEND="virtual/pkgconfig
${RDEPEND}"
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}
src_compile() {
emake
}