mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-19 23:28:39 +02:00
selinux-python: Add default sections for Python and util packages
This also moves the python3-selinux dependency from the default section into each util package. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
parent
03225ca7b0
commit
61e79aad69
|
@ -27,10 +27,22 @@ include ../../lang/python/python3-package.mk
|
||||||
#
|
#
|
||||||
|
|
||||||
define Package/selinux-python/Default
|
define Package/selinux-python/Default
|
||||||
SECTION:=utils
|
|
||||||
DEPENDS:=+python3 +python3-selinux
|
|
||||||
CATEGORY:=Utilities
|
|
||||||
URL:=http://selinuxproject.org/page/Main_Page
|
URL:=http://selinuxproject.org/page/Main_Page
|
||||||
|
DEPENDS:=+python3
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/selinux-python/Default/python
|
||||||
|
$(call Package/selinux-python/Default)
|
||||||
|
SUBMENU:=Python
|
||||||
|
SECTION:=lang
|
||||||
|
CATEGORY:=Languages
|
||||||
|
DEPENDS:=
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/selinux-python/Default/util
|
||||||
|
$(call Package/selinux-python/Default)
|
||||||
|
SECTION:=utils
|
||||||
|
CATEGORY:=Utilities
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/selinux-python/Default/description
|
define Package/selinux-python/Default/description
|
||||||
|
@ -52,10 +64,7 @@ endef
|
||||||
#
|
#
|
||||||
|
|
||||||
define Package/python3-sepolgen
|
define Package/python3-sepolgen
|
||||||
$(call Package/selinux-python/Default)
|
$(call Package/selinux-python/Default/python)
|
||||||
SUBMENU:=Python
|
|
||||||
SECTION:=lang
|
|
||||||
CATEGORY:=Languages
|
|
||||||
TITLE:=python3-sepolgen
|
TITLE:=python3-sepolgen
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -76,10 +85,7 @@ endef
|
||||||
#
|
#
|
||||||
|
|
||||||
define Package/python3-sepolicy
|
define Package/python3-sepolicy
|
||||||
$(call Package/selinux-python/Default)
|
$(call Package/selinux-python/Default/python)
|
||||||
SUBMENU:=Python
|
|
||||||
SECTION:=lang
|
|
||||||
CATEGORY:=Languages
|
|
||||||
TITLE:=python3-sepolicy
|
TITLE:=python3-sepolicy
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -98,9 +104,9 @@ endef
|
||||||
#
|
#
|
||||||
|
|
||||||
define Package/selinux-audit2allow
|
define Package/selinux-audit2allow
|
||||||
$(call Package/selinux-python/Default)
|
$(call Package/selinux-python/Default/util)
|
||||||
TITLE:=selinux-audit2allow
|
TITLE:=selinux-audit2allow
|
||||||
DEPENDS+=+python3-sepolgen +libselinux +libsepol
|
DEPENDS+= +python3-selinux +python3-sepolgen +libselinux +libsepol
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/selinux-audit2allow/description
|
define Package/selinux-audit2allow/description
|
||||||
|
@ -118,8 +124,9 @@ endef
|
||||||
#
|
#
|
||||||
|
|
||||||
define Package/selinux-chcat
|
define Package/selinux-chcat
|
||||||
$(call Package/selinux-python/Default)
|
$(call Package/selinux-python/Default/util)
|
||||||
TITLE:=selinux-chcat
|
TITLE:=selinux-chcat
|
||||||
|
DEPENDS+= +python3-selinux
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/selinux-chcat/description
|
define Package/selinux-chcat/description
|
||||||
|
@ -137,9 +144,9 @@ endef
|
||||||
#
|
#
|
||||||
|
|
||||||
define Package/selinux-semanage
|
define Package/selinux-semanage
|
||||||
$(call Package/selinux-python/Default)
|
$(call Package/selinux-python/Default/util)
|
||||||
TITLE:=selinux-semanage
|
TITLE:=selinux-semanage
|
||||||
DEPENDS+=+python3-sepolicy +python3-semanage +setools
|
DEPENDS+= +python3-selinux +python3-sepolicy +python3-semanage +setools
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/selinux-semanage/description
|
define Package/selinux-semanage/description
|
||||||
|
|
Loading…
Reference in New Issue
Block a user