From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 1/3] libsemanage: Drop package Date: Thu, 12 Oct 2017 10:50:25 +0100 Message-ID: <1507801825.4045.82.camel@ipfire.org> In-Reply-To: <20171012092810.18910-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5184953318350740754==" List-Id: --===============5184953318350740754== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 > --- > 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 >=20 > 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 = =20 > # > -##########################################################################= ### > ## > - > -name =3D libsemanage > -version =3D 2.1.5 > -release =3D 3 > - > -groups =3D System/Libraries > -url =3D http://www.selinuxproject.org > -license =3D LGPLv2+ > -summary =3D SELinux binary policy manipulation library. > - > -description > - libsemanage provides an API for the manipulation of SELinux > - binary policies. > -end > - > -sources =3D %{thisapp}.tgz > - > -build > - requires > - bison > - bzip2-devel > - flex > - libselinux-devel > - libsepol-devel >=3D 2.1.4 > - python-devel > - swig > - ustr-devel > - end > - > - build > - make clean > - make CC=3Dgcc LIBDIR=3D"%{libdir}" CFLAGS=3D"-g %{CFLAGS}" swigify > - make CC=3Dgcc LIBDIR=3D"%{libdir}" CFLAGS=3D"-g %{CFLAGS}" all > - make CC=3Dgcc LIBDIR=3D"%{libdir}" CFLAGS=3D"-g %{CFLAGS}" pywrap > - end > - > - # Install libraries to correct place. > - make_install_targets +=3D \ > - LIBDIR=3D"%{BUILDROOT}%{libdir}" \ > - SHLIBDIR=3D"%{BUILDROOT}%{libdir}" > - > - install_cmds > - make install-pywrap %{make_install_targets} > DESTDIR=3D%{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 > -=09 > - package python-libsemanage > - summary =3D SELinux manage python bindings. > - description =3D 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=3Dexclude -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, "/") =3D=3D 0) > - continue; > -+ if (strcmp(pwbuf->pw_dir, "/root") =3D=3D 0) { > -+ continue; > -+ } > -+ > - if (semanage_str_count(pwbuf->pw_dir, '/') <=3D 1) > - continue; > - if (!(path =3D strdup(pwbuf->pw_dir))) { > -@@ -803,6 +807,9 @@ > - * /root */ > - continue; > - } > -+ if (strcmp(pwent->pw_dir, "/root") =3D=3D 0) { > -+ continue; > -+ } > - if (push_user_entry(&head, name, seuname, > - prefix, pwent->pw_dir) !=3D > STATUS_SUCCESS) { > - *errors =3D 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 > -# > -# 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 =3D direct > - > -# When generating the final linked and expanded policy, by default > -# semanage will set the policy version to POLICYDB_VERSION_MAX, as > -# given in . Change this setting if a different > -# version is necessary. > -#policy-version =3D 19 > - > -# expand-check check neverallow rules when executing all semanage commands. > -# Large penalty in time if you turn this on. =20 > -expand-check=3D0 > - > -# 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=20 > -# correctly only. You will need to use semanage fcontext command. =20 > -# For example, if you had home dirs in /althome directory you would have to > execute > -# semanage fcontext -a -e /home /althome > -usepasswd=3DFalse > -bzip-small=3Dtrue > -bzip-blocksize=3D5 --===============5184953318350740754== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRSXpCQUFCQ2dBZEZpRUU1L3JXNWwzR0dl Mnlwa3R4Z0hudy8yK1FDUWNGQWxuZk91RUFDZ2tRZ0hudy8yK1EKQ1FlN2RnLy9ZYlU4MTRNOHZj ZW5scTVnd1ZvUEZjUjUwQnNpTVNLdi82UjkxaHJCa3p3WTVXZXRRMlNqUER0aQpOQUFUSVhHZFp0 MEI2OG9rVDdhNGpkQnNlbEx5V3V1eXM5dWRKc2xJeS9VUG56eGJVbGdEdkdhZCtTTXJteE44ClRN dE5zUGJ1N1FZQm44VFVWQlE5YjlmSmp0V3o0RitxeUdYSCtweXJDTGNVeUU2RGFjT3JsUGY3ZUxD K05YRGcKbVdaZWZBcnU2RXY5bU4xclc2TGxkWFk0OHNhME02cVk2Q0FEN0pYNWsxVXQ2bEdQc2Nm UWVkZENQM0hIWVJodQpVMVkzZzR2RFRGSGRsbmwrUkNGaDZ6alMvZFF0OFpUMW80Z2xQNXU2anhq UThYK211K1hQMXh1UU9JRk96NG55ClF2TWpncFlLN1dwVFFEdzBZKzUydjBYQ2tkZFlJakE1RE84 SUZrWE1jU2pjRnVna3pvZ2R1b05KNmdPZ2MxaWcKVUJYdG9WT0l6UVNqU3pRTHA2QWFIWjJNeGZh ZUY3cnNoa3NqVGsyUGlLWE0rbmhqM2pPSTBUZ1Rad1ZKSVg0MgpoL0FibUZXanhva0s4cGtNK0tn L09zamY4RnZZUXBac0Nma0NDZ1ludFEvT1E1VTNyNlJiQUJMTysxVUJGaWRTCjhnYU1mQWd3aXFH cWVVVlYvTFV0UERiUmxZQlJRczV6Y3ZyajAxOGtXKy9SOVRIZisvRFpjbkNNd085Zjd0dFIKN25C RVpmUnpQSmpaemFzSWZDWUg1bXI2eUxYZUo0TFJSanFQekpKWUYrVmhHdVZFemp3cUxseWNHS1Yz UXg2Tgo1aWw1Q3ZtdDZqUExNK3JCZ0ViUkY2cys0NUVFcnB4bnE2MjRITm81dzJteTJ0c0hDd1E9 Cj1lb2szCi0tLS0tRU5EIFBHUCBTSUdOQVRVUkUtLS0tLQo= --===============5184953318350740754==--