blob: 2e6d3f915d04147179793bd6577a759fcecc9882 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=setools
PKG_VERSION:=4.4.0
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://github.com/SELinuxProject/setools/releases/download/$(PKG_VERSION)
PKG_HASH:=f3786677e40b7f16a226f48f233dcf835e700739614a7dbed2ff61cc9607814e
PKG_BUILD_DIR:=$(BUILD_DIR)/setools
PKG_BUILD_DEPENDS:=python-cython/host # Cython>=0.27
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
PKG_LICENSE:=GPL-2.0-or-later LGPL-2.1-or-later
PKG_LICENSE_FILES:=COPYING COPYING.GPL COPYING.LGPL
PKG_CPE_ID:=cpe:/a:selinuxproject:setools
include $(INCLUDE_DIR)/package.mk
include ../../lang/python/python3-package.mk
define Package/setools
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+python3 +python3-pkg-resources +python3-networkx +libselinux +libsepol
TITLE:=Policy analysis tools for SELinux
URL:=http://selinuxproject.org/page/Main_Page
endef
define Package/setools/description
SETools is a collection of tools and libraries designed to facilitate
SELinux policy analysis.
endef
$(eval $(call Py3Package,setools))
$(eval $(call BuildPackage,setools))
|