mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Adding libcap for systemd
This commit is contained in:
parent
f48d8d90f3
commit
224b921297
15
packages/devel/libcap/build
Executable file
15
packages/devel/libcap/build
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
make CC=$HOST_CC -C libcap _makenames
|
||||
|
||||
setup_toolchain target
|
||||
|
||||
make CC=$TARGET_CC
|
||||
|
||||
$MAKEINSTALL
|
6
packages/devel/libcap/install
Executable file
6
packages/devel/libcap/install
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libcap/*.so* $INSTALL/usr/lib
|
14
packages/devel/libcap/meta
Normal file
14
packages/devel/libcap/meta
Normal file
@ -0,0 +1,14 @@
|
||||
PKG_NAME="libcap"
|
||||
PKG_VERSION="2.19"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE=""
|
||||
PKG_URL="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="attr"
|
||||
PKG_BUILD_DEPENDS="toolchain attr"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="devel"
|
||||
PKG_SHORTDESC="libcap: A library for getting and setting POSIX.1e capabilities"
|
||||
PKG_LONGDESC="As of Linux 2.2.0, the power of the superuser has been partitioned into a set of discrete capabilities (in other places, these capabilities are know as privileges). The contents of the libcap package are a library and a number of simple programs that are intended to show how an application/daemon can be protected (with wrappers) or rewritten to take advantage of this fine grained approach to constraining the danger to your system from programs running as 'root'."
|
||||
PKG_IS_ADDON="no"
|
Loading…
x
Reference in New Issue
Block a user