Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
From 316c911aa741b14513622a4206ed6d324e951fa0 Mon Sep 17 00:00:00 2001
From: Felix Janda <felix.janda@posteo.de>
Date: Wed, 20 May 2015 21:25:22 +0200
Subject: [PATCH 1/1] libsmack/common.c: Include <limits.h> for PATH_MAX
Signed-off-by: Felix Janda <felix.janda@posteo.de>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
Downloaded from upstream commit
https://github.com/smack-team/smack/commit/316c911aa741b14513622a4206ed6d324e951fa0
libsmack/common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libsmack/common.c b/libsmack/common.c
index 55fee1a..55b59e3 100644
--- a/libsmack/common.c
+++ b/libsmack/common.c
@@ -22,6 +22,7 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
--
2.7.0

View File

@@ -0,0 +1,35 @@
config BR2_PACKAGE_SMACK
bool "smack"
depends on !BR2_STATIC_LIBS # dlfcn.h
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
help
User space programs and libraries for SMACK.
SMACK stands for Simplified Mandatory Access Control Kernel.
It is a Linux Security Module which provides a Mandatory Access
Control mechanism, aimed towards simplicity.
This package provides a library which allows applications to work
with SMACK and tools to load/unload rules from the kernel, as well
as query the policy.
SMACK requires the following kernel options to be enabled:
- CONFIG_SECURITY
- CONFIG_SECURITY_SMACK
- CONFIG_SECURITY_NETWORK
These options will be automatically enabled by Buildroot if it is
responsible for building the kernel. Otherwise, if you are building
your kernel outside of Buildroot, make sure these options are
enabled.
To activate SMACK, do not forget to add "security=smack" to your
kernel command line.
https://github.com/smack-team/smack
comment "smack needs a toolchain w/ dynamic library, threads, headers >= 3.0"
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
|| !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,17 @@
################################################################################
#
# smack
#
################################################################################
SMACK_VERSION = v1.1.0
SMACK_SITE = $(call github,smack-team,smack,$(SMACK_VERSION))
SMACK_LICENSE = LGPLv2.1
SMACK_LICENSE_FILES = COPYING
SMACK_INSTALL_STAGING = YES
SMACK_DEPENDENCIES = host-pkgconf
# Sources from GitHub, no configure script included.
SMACK_AUTORECONF = YES
$(eval $(autotools-package))