mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: Re: [ptxdist] [PATCH v3] sepolgen: remove after one year in staging
Date: Mon, 6 Jul 2020 08:38:40 +0200	[thread overview]
Message-ID: <20200706063840.GA19479@pengutronix.de> (raw)
In-Reply-To: <20200628212424.10446-1-rhi@pengutronix.de>

On Sun, Jun 28, 2020 at 11:24:24PM +0200, Roland Hieber wrote:
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>

.../ptxdist/rules/policycoreutils.in:14:warning: 'select' used by config symbol 'POLICYCOREUTILS' refers to undefined symbol 'SEPOLGEN'

Michael

> ---
> v3:
>  - also add an explaining comment why POLICYCOREUTILS_PYTHON is broken
>   (Feedback from Michael Olbrich)
> v2:
>  - policycoreutils.in: replace STAGING with BROKEN for
>    POLICYCOREUTILS_PYTHON (Feedback from Michael Olbrich)
> 
> 	# needs sepolgen
> 
>  rules/policycoreutils.in |  3 ++-
>  rules/sepolgen.in        | 29 ---------------------
>  rules/sepolgen.make      | 54 ----------------------------------------
>  3 files changed, 2 insertions(+), 84 deletions(-)
>  delete mode 100644 rules/sepolgen.in
>  delete mode 100644 rules/sepolgen.make
> 
> diff --git a/rules/policycoreutils.in b/rules/policycoreutils.in
> index 856b50046d5b..e5f0f5778556 100644
> --- a/rules/policycoreutils.in
> +++ b/rules/policycoreutils.in
> @@ -29,7 +29,8 @@ menuconfig POLICYCOREUTILS
>  if POLICYCOREUTILS
>  
>  menuconfig POLICYCOREUTILS_PYTHON
> -	depends on STAGING
> +	# needs sepolgen
> +	depends on BROKEN
>  	bool "python based tools"
>  
>  if POLICYCOREUTILS_PYTHON
> diff --git a/rules/sepolgen.in b/rules/sepolgen.in
> deleted file mode 100644
> index 94f2ce071ab8..000000000000
> --- a/rules/sepolgen.in
> +++ /dev/null
> @@ -1,29 +0,0 @@
> -## SECTION=staging
> -## old section:
> -### SECTION=selinux
> -
> -config SEPOLGEN
> -	tristate
> -	prompt "sepolgen"
> -	select PYTHON
> -	select LIBSELINUX
> -	select LIBSELINUX_PYTHON
> -	help
> -	  A Python module used in SELinux policy generation
> -
> -	  This package contains a Python module that forms the core of
> -	  the modern audit2allow (which is a part of the package
> -	  policycoreutils). The sepolgen library is structured to give
> -	  flexibility to the application using it. The library
> -	  contains: Reference Policy Representation, which are Objects
> -	  for representing policies and the reference policy
> -	  interfaces. Secondly, it has objects and algorithms for
> -	  representing access and sets of access in an abstract way
> -	  and searching that access. It also has a parser for
> -	  reference policy "headers". It contains infrastructure for
> -	  parsing SELinux related messages as produced by the audit
> -	  system. It has facilities for generating policy based on
> -	  required access.
> -
> -	  STAGING: remove in ptxdist-2020.06.0
> -	  Old version that needs to be updated.
> diff --git a/rules/sepolgen.make b/rules/sepolgen.make
> deleted file mode 100644
> index 7084e1d1d348..000000000000
> --- a/rules/sepolgen.make
> +++ /dev/null
> @@ -1,54 +0,0 @@
> -# -*-makefile-*-
> -#
> -# Copyright (C) 2013 by Marc Kleine-Budde <mkl@pengutronix.de>
> -#
> -# For further information about the PTXdist project and license conditions
> -# see the README file.
> -#
> -
> -#
> -# We provide this package
> -#
> -PACKAGES-$(PTXCONF_SEPOLGEN) += sepolgen
> -
> -#
> -# Paths and names
> -#
> -SEPOLGEN_VERSION	:= 1.1.8
> -SEPOLGEN_MD5		:= d734ff236639cc1bd3a33901774fa98d
> -SEPOLGEN		:= sepolgen-$(SEPOLGEN_VERSION)
> -SEPOLGEN_SUFFIX		:= tar.gz
> -SEPOLGEN_URL		:= https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20120924/$(SEPOLGEN).$(SEPOLGEN_SUFFIX)
> -SEPOLGEN_SOURCE		:= $(SRCDIR)/$(SEPOLGEN).$(SEPOLGEN_SUFFIX)
> -SEPOLGEN_DIR		:= $(BUILDDIR)/$(SEPOLGEN)
> -SEPOLGEN_LICENSE	:= GPL-2.0-only
> -
> -# ----------------------------------------------------------------------------
> -# Prepare
> -# ----------------------------------------------------------------------------
> -
> -SEPOLGEN_CONF_TOOL := NO
> -# no ':=' because of $(PYTHON_SITEPACKAGES)
> -SEPOLGEN_MAKE_ENV = PYTHONLIBDIR=$(PYTHON_SITEPACKAGES)
> -
> -# ----------------------------------------------------------------------------
> -# Target-Install
> -# ----------------------------------------------------------------------------
> -
> -$(STATEDIR)/sepolgen.targetinstall:
> -	@$(call targetinfo)
> -
> -	@$(call install_init, sepolgen)
> -	@$(call install_fixup, sepolgen,PRIORITY,optional)
> -	@$(call install_fixup, sepolgen,SECTION,base)
> -	@$(call install_fixup, sepolgen,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
> -	@$(call install_fixup, sepolgen,DESCRIPTION,missing)
> -
> -	@$(call install_tree, sepolgen, 0, 0, -, $(PYTHON_SITEPACKAGES))
> -	@$(call install_alternative, sepolgen, 0, 0, 0644, /var/lib/sepolgen/perm_map)
> -
> -	@$(call install_finish, sepolgen)
> -
> -	@$(call touch)
> -
> -# vim: syntax=make
> -- 
> 2.27.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

  reply	other threads:[~2020-07-06  6:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-21 22:29 [ptxdist] [PATCH 1/5] ustr: move to staging Roland Hieber
2020-06-21 22:29 ` [ptxdist] [PATCH 2/5] dc3dd: remove after one year in staging Roland Hieber
2020-06-26 11:00   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-06-21 22:29 ` [ptxdist] [PATCH 3/5] mono: " Roland Hieber
2020-06-26 11:00   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-06-21 22:29 ` [ptxdist] [PATCH 4/5] sepolgen: " Roland Hieber
2020-06-22 12:26   ` Michael Olbrich
2020-06-22 12:56     ` Ladislav Michl
2020-06-28 21:20     ` [ptxdist] [PATCH v2] " Roland Hieber
2020-06-28 21:24     ` [ptxdist] [PATCH v3] " Roland Hieber
2020-07-06  6:38       ` Michael Olbrich [this message]
2020-07-06 12:49         ` [ptxdist] [PATCH v2] " Roland Hieber
2020-07-07  5:45           ` [ptxdist] [APPLIED] " Michael Olbrich
2020-06-21 22:29 ` [ptxdist] [PATCH 5/5] udisks: " Roland Hieber
2020-06-26 11:00   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-06-26 11:00 ` [ptxdist] [APPLIED] ustr: move to staging Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200706063840.GA19479@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=rhi@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox