Initial Commit
- initial default booting image
This commit is contained in:
12
package/libcap-ng/Config.in
Normal file
12
package/libcap-ng/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_LIBCAP_NG
|
||||
bool "libcap-ng"
|
||||
# uses __sync_val_compare_and_swap_4
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
help
|
||||
The libcap-ng library is intended to make programming with
|
||||
posix capabilities much easier than the traditional libcap
|
||||
library. It includes utilities that can analyse all currently
|
||||
running applications and print out any capabilities and
|
||||
whether or not it has an open ended bounding set.
|
||||
|
||||
https://people.redhat.com/sgrubb/libcap-ng/
|
||||
4
package/libcap-ng/libcap-ng.hash
Normal file
4
package/libcap-ng/libcap-ng.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 fe11ebbb55904763b3532f19069f13ec319042634620180a03bd4653d301563e libcap-ng-0.9.3.tar.gz
|
||||
sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING
|
||||
sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa COPYING.LIB
|
||||
38
package/libcap-ng/libcap-ng.mk
Normal file
38
package/libcap-ng/libcap-ng.mk
Normal file
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
#
|
||||
# libcap-ng
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBCAP_NG_VERSION = 0.9.3
|
||||
LIBCAP_NG_SITE = $(call github,stevegrubb,libcap-ng,v$(LIBCAP_NG_VERSION))
|
||||
LIBCAP_NG_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (library)
|
||||
LIBCAP_NG_LICENSE_FILES = COPYING COPYING.LIB
|
||||
LIBCAP_NG_CPE_ID_VALID = YES
|
||||
LIBCAP_NG_INSTALL_STAGING = YES
|
||||
|
||||
# github tarball does not include configure
|
||||
LIBCAP_NG_AUTORECONF = YES
|
||||
# needed for autoreconf
|
||||
LIBCAP_NG_DEPENDENCIES = host-pkgconf
|
||||
HOST_LIBCAP_NG_DEPENDENCIES = host-pkgconf
|
||||
|
||||
define LIBCAP_NG_CREATE_MISSING_FILES
|
||||
touch $(@D)/NEWS
|
||||
endef
|
||||
LIBCAP_NG_POST_EXTRACT_HOOKS += LIBCAP_NG_CREATE_MISSING_FILES
|
||||
HOST_LIBCAP_NG_POST_EXTRACT_HOOKS += LIBCAP_NG_CREATE_MISSING_FILES
|
||||
|
||||
LIBCAP_NG_CONF_ENV = ac_cv_prog_swig_found=no
|
||||
LIBCAP_NG_CONF_OPTS = --without-python3
|
||||
|
||||
# pthread support uses pthread_atfork, which is not available on nommu
|
||||
ifneq ($(BR2_USE_MMU),y)
|
||||
LIBCAP_NG_CONF_ENV += ac_cv_header_pthread_h=no
|
||||
endif
|
||||
|
||||
HOST_LIBCAP_NG_CONF_ENV = ac_cv_prog_swig_found=no
|
||||
HOST_LIBCAP_NG_CONF_OPTS = --without-python3
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user