2016-12-19 07:18:33 +00:00
|
|
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
require github [ user='projectatomic' suffix="tar.xz" release="v${PV}" ]
|
2016-12-31 11:41:55 +00:00
|
|
|
require bash-completion
|
2016-12-19 07:18:33 +00:00
|
|
|
|
|
|
|
SUMMARY="Unprivileged sandboxing tool"
|
|
|
|
|
|
|
|
LICENCES="LGPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
PLATFORMS="~amd64 ~x86"
|
|
|
|
MYOPTIONS="
|
|
|
|
selinux
|
|
|
|
"
|
|
|
|
|
2018-08-26 06:59:15 +00:00
|
|
|
# doesn't work well with sydbox, test will be
|
|
|
|
# skipped, resulting in false-positive
|
|
|
|
RESTRICT="test"
|
|
|
|
|
2016-12-19 07:18:33 +00:00
|
|
|
DEPENDENCIES="
|
|
|
|
build:
|
|
|
|
dev-libs/libxslt
|
2017-10-14 14:13:29 +00:00
|
|
|
sys-kernel/linux-headers[>=4.3]
|
2016-12-19 07:18:33 +00:00
|
|
|
virtual/pkg-config
|
2017-10-14 14:13:29 +00:00
|
|
|
build+run:
|
|
|
|
sys-libs/libcap
|
2018-04-16 14:19:03 +00:00
|
|
|
selinux? ( security/libselinux[>=2.1.9] )
|
2016-12-19 07:18:33 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
BUGS_TO="hasufell@posteo.de"
|
|
|
|
|
|
|
|
DEFAULT_SRC_CONFIGURE_PARAMS=(
|
2018-04-16 14:19:03 +00:00
|
|
|
--enable-man
|
2016-12-31 11:41:55 +00:00
|
|
|
--with-bash-completion-dir=${BASHCOMPLETIONDIR}
|
2016-12-19 07:18:33 +00:00
|
|
|
)
|
2016-12-31 11:41:55 +00:00
|
|
|
|
2016-12-19 07:18:33 +00:00
|
|
|
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
|
|
|
|
'selinux'
|
|
|
|
)
|
|
|
|
|
2016-12-31 11:41:55 +00:00
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
}
|
|
|
|
|