summaryrefslogtreecommitdiff
path: root/packages/sys-apps/sydbox/sydbox.exlib
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sys-apps/sydbox/sydbox.exlib')
-rw-r--r--packages/sys-apps/sydbox/sydbox.exlib73
1 files changed, 0 insertions, 73 deletions
diff --git a/packages/sys-apps/sydbox/sydbox.exlib b/packages/sys-apps/sydbox/sydbox.exlib
deleted file mode 100644
index a295d3a..0000000
--- a/packages/sys-apps/sydbox/sydbox.exlib
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2009, 2010, 2011, 2012, 2013 Ali Polatel <alip@exherbo.org>
-# Copyright 2015 Wouter van Kesteren <woutershep@gmail.com>
-# Distributed under the terms of the GNU General Public License v2
-
-export_exlib_phases src_test
-
-SUMMARY="Sydbox, the other sandbox"
-DESCRIPTION="Sydbox is a ptrace based sandbox for Linux."
-ever is_scm || DOWNLOADS="https://dev.exherbo.org/distfiles/${PN}/${PNV}.tar.bz2"
-
-LICENCES="GPL-2"
-SLOT="0"
-MYOPTIONS=""
-DEPENDENCIES=""
-
-BUGS_TO="alip@exherbo.org"
-REMOTE_IDS="freecode:${PN}"
-
-if ever at_least 1; then
-
- HOMEPAGE="https://git.exherbo.org/sydbox-1.git"
-
- # sydbox 1(_pre): has seccomp
- MYOPTIONS+="
- seccomp [[ description = [ Enable seccomp user filter support ] ]]"
- DEPENDENCIES+="
- build:
- seccomp? ( sys-kernel/linux-headers[>=3.5] )"
-
- DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( seccomp )
-
- if ever at_least 1.0.0; then
- # sydbox 1: external pinktrace
- DEPENDENCIES+="
- build+run:
- dev-libs/pinktrace[>=0.9.0]"
- else
- # sydbox 1_pre: internal pinktrace
- MYOPTIONS+="
- doc [[ description = [ Build API documentation of included pinktrace library ] ]]"
- DEPENDENCIES+="
- build:
- doc? ( app-doc/doxygen )"
-
- DEFAULT_SRC_CONFIGURE_PARAMS=( --enable-ipv6 )
- DEFAULT_SRC_CONFIGURE_OPTION_ENABLES+=( "doc doxygen" )
- fi
-
-else
-
- HOMEPAGE="https://git.exherbo.org/sydbox.git"
-
- # sydbox 0: no seccomp, glib, external pinktrace
- DEPENDENCIES+="
- build+run:
- dev-libs/glib:2[>=2.18]
- dev-libs/pinktrace[>=0.1.2]"
-fi
-
-sydbox_src_test() {
- if ! esandbox check 2>/dev/null; then
- default
- else
- elog "Not running tests because sydbox doesn't work under sydbox"
- elog "set PALUDIS_DO_NOTHING_SANDBOXY=1 if you want to run the tests"
-
- if ever at_least 1.0.2; then
- elog "As of sydbox-1.0.2, tests are installed by default."
- elog "You can use the helper utility sydtest to run the tests."
- fi
- fi
-}
-