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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user