public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH 1/3] libsemanage: Drop package
Date: Thu, 12 Oct 2017 10:50:25 +0100	[thread overview]
Message-ID: <1507801825.4045.82.camel@ipfire.org> (raw)
In-Reply-To: <20171012092810.18910-1-stefan.schantl@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 6657 bytes --]

Hi,

merged, but a few packages still depend on this.

What is going to happen to those?

-Michael

On Thu, 2017-10-12 at 11:28 +0200, Stefan Schantl wrote:
> Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
> ---
>  libsemanage/libsemanage.nm                 | 74 ---------------------------
> ---
>  libsemanage/patches/libsemanage-rhat.patch | 24 ----------
>  libsemanage/semanage.conf                  | 50 --------------------
>  3 files changed, 148 deletions(-)
>  delete mode 100644 libsemanage/libsemanage.nm
>  delete mode 100644 libsemanage/patches/libsemanage-rhat.patch
>  delete mode 100644 libsemanage/semanage.conf
> 
> diff --git a/libsemanage/libsemanage.nm b/libsemanage/libsemanage.nm
> deleted file mode 100644
> index 5bac1be..0000000
> --- a/libsemanage/libsemanage.nm
> +++ /dev/null
> @@ -1,74 +0,0 @@
> -#############################################################################
> ##
> -# IPFire.org    - An Open Source Firewall
> Solution                            #
> -# Copyright (C) - IPFire Development Team <info(a)ipfire.org>                  
>  #
> -#############################################################################
> ##
> -
> -name       = libsemanage
> -version    = 2.1.5
> -release    = 3
> -
> -groups     = System/Libraries
> -url        = http://www.selinuxproject.org
> -license    = LGPLv2+
> -summary    = SELinux binary policy manipulation library.
> -
> -description
> -	libsemanage provides an API for the manipulation of SELinux
> -	binary policies.
> -end
> -
> -sources    = %{thisapp}.tgz
> -
> -build
> -	requires
> -		bison
> -		bzip2-devel
> -		flex
> -		libselinux-devel
> -		libsepol-devel >= 2.1.4
> -		python-devel
> -		swig
> -		ustr-devel
> -	end
> -
> -	build
> -		make clean
> -		make CC=gcc LIBDIR="%{libdir}" CFLAGS="-g %{CFLAGS}" swigify
> -		make CC=gcc LIBDIR="%{libdir}" CFLAGS="-g %{CFLAGS}" all
> -		make CC=gcc LIBDIR="%{libdir}" CFLAGS="-g %{CFLAGS}" pywrap
> -	end
> -
> -	# Install libraries to correct place.
> -	make_install_targets += \
> -		LIBDIR="%{BUILDROOT}%{libdir}" \
> -		SHLIBDIR="%{BUILDROOT}%{libdir}"
> -
> -	install_cmds
> -		make install-pywrap %{make_install_targets}
> DESTDIR=%{BUILDROOT}
> -
> -		# Install our config file
> -		cp -vf %{DIR_SOURCE}/semanage.conf
> %{BUILDROOT}/etc/selinux/semanage.conf
> -	end
> -end
> -
> -packages
> -	package %{name}
> -	end
> -
> -	package %{name}-devel
> -		template DEVEL
> -	end
> -	
> -	package python-libsemanage
> -		summary =  SELinux manage python bindings.
> -		description = SELinux python bindings for libsemanage.
> -
> -		files
> -			%{libdir}/python*
> -		end
> -	end
> -
> -	package %{name}-debuginfo
> -		template DEBUGINFO
> -	end
> -end
> diff --git a/libsemanage/patches/libsemanage-rhat.patch
> b/libsemanage/patches/libsemanage-rhat.patch
> deleted file mode 100644
> index a1f53c5..0000000
> --- a/libsemanage/patches/libsemanage-rhat.patch
> +++ /dev/null
> @@ -1,24 +0,0 @@
> -diff --exclude-from=exclude -N -u -r nsalibsemanage/src/genhomedircon.c
> libsemanage-2.0.44/src/genhomedircon.c
> ---- nsalibsemanage/src/genhomedircon.c	2009-09-17 08:59:43.000000000
> -0400
> -+++ libsemanage-2.0.44/src/genhomedircon.c	2010-02-24
> 14:57:23.000000000 -0500
> -@@ -310,6 +310,10 @@
> - 		}
> - 		if (strcmp(pwbuf->pw_dir, "/") == 0)
> - 			continue;
> -+		if (strcmp(pwbuf->pw_dir, "/root") == 0) {
> -+			continue;
> -+		}
> -+
> - 		if (semanage_str_count(pwbuf->pw_dir, '/') <= 1)
> - 			continue;
> - 		if (!(path = strdup(pwbuf->pw_dir))) {
> -@@ -803,6 +807,9 @@
> - 			 * /root */
> - 			continue;
> - 		}
> -+		if (strcmp(pwent->pw_dir, "/root") == 0) {
> -+			continue;
> -+		}
> - 		if (push_user_entry(&head, name, seuname,
> - 				    prefix, pwent->pw_dir) !=
> STATUS_SUCCESS) {
> - 			*errors = STATUS_ERR;
> diff --git a/libsemanage/semanage.conf b/libsemanage/semanage.conf
> deleted file mode 100644
> index 882b8f0..0000000
> --- a/libsemanage/semanage.conf
> +++ /dev/null
> @@ -1,50 +0,0 @@
> -# Authors: Jason Tang <jtang(a)tresys.com>
> -#
> -# Copyright (C) 2004-2005 Tresys Technology, LLC
> -#
> -#  This library is free software; you can redistribute it and/or
> -#  modify it under the terms of the GNU Lesser General Public
> -#  License as published by the Free Software Foundation; either
> -#  version 2.1 of the License, or (at your option) any later version.
> -#
> -#  This library is distributed in the hope that it will be useful,
> -#  but WITHOUT ANY WARRANTY; without even the implied warranty of
> -#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> -#  Lesser General Public License for more details.
> -#
> -#  You should have received a copy of the GNU Lesser General Public
> -#  License along with this library; if not, write to the Free Software
> -#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
> -#
> -# Specify how libsemanage will interact with a SELinux policy manager.
> -# The four options are:
> -#
> -#  "source"     - libsemanage manipulates a source SELinux policy
> -#  "direct"     - libsemanage will write directly to a module store.
> -#  /foo/bar     - Write by way of a policy management server, whose
> -#                 named socket is at /foo/bar.  The path must begin
> -#                 with a '/'.
> -#  foo.com:4242 - Establish a TCP connection to a remote policy
> -#                 management server at foo.com.  If there is a colon
> -#                 then the remainder is interpreted as a port number;
> -#                 otherwise default to port 4242.
> -module-store = direct
> -
> -# When generating the final linked and expanded policy, by default
> -# semanage will set the policy version to POLICYDB_VERSION_MAX, as
> -# given in <sepol/policydb.h>.  Change this setting if a different
> -# version is necessary.
> -#policy-version = 19
> -
> -# expand-check check neverallow rules when executing all semanage commands.
> -# Large penalty in time if you turn this on.  
> -expand-check=0
> -
> -# usepasswd check tells semanage to scan all pass word records for home
> directories
> -# and setup the labeling correctly.  If this is turned off, SELinux will
> label /home 
> -# correctly only.  You will need to use semanage fcontext command.  
> -# For example, if you had home dirs in /althome directory you would have to
> execute
> -# semanage fcontext -a -e /home /althome
> -usepasswd=False
> -bzip-small=true
> -bzip-blocksize=5

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2017-10-12  9:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-12  9:28 Stefan Schantl
2017-10-12  9:28 ` [PATCH 2/3] libsepol: " Stefan Schantl
2017-10-12  9:28 ` [PATCH 3/3] libselinux: " Stefan Schantl
2017-10-12  9:50 ` Michael Tremer [this message]
2017-10-12 10:22   ` [PATCH 1/3] libsemanage: " Stefan Schantl

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=1507801825.4045.82.camel@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /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