rpms/policycoreutils/devel .cvsignore, 1.98, 1.99 policycoreutils-rhat.patch, 1.158, 1.159 policycoreutils.spec, 1.228, 1.229 sources, 1.102, 1.103
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Jan 31 00:21:59 UTC 2006
- Previous message (by thread): rpms/stunnel/devel stunnel.spec,1.34,1.35
- Next message (by thread): rpms/selinux-policy/devel .cvsignore, 1.32, 1.33 modules-mls.conf, 1.10, 1.11 modules-strict.conf, 1.1, 1.2 modules-targeted.conf, 1.13, 1.14 policy-20060104.patch, 1.27, 1.28 selinux-policy.spec, 1.96, 1.97 sources, 1.36, 1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dwalsh
Update of /cvs/dist/rpms/policycoreutils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv19571
Modified Files:
.cvsignore policycoreutils-rhat.patch policycoreutils.spec
sources
Log Message:
Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/policycoreutils/devel/.cvsignore,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- .cvsignore 28 Jan 2006 02:47:35 -0000 1.98
+++ .cvsignore 31 Jan 2006 00:21:56 -0000 1.99
@@ -86,3 +86,4 @@
policycoreutils-1.29.11.tgz
policycoreutils-1.29.12.tgz
policycoreutils-1.29.15.tgz
+policycoreutils-1.29.17.tgz
policycoreutils-rhat.patch:
genhomedircon | 23 ++++++++++++++++++++---
1 files changed, 20 insertions(+), 3 deletions(-)
Index: policycoreutils-rhat.patch
===================================================================
RCS file: /cvs/dist/rpms/policycoreutils/devel/policycoreutils-rhat.patch,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -r1.158 -r1.159
--- policycoreutils-rhat.patch 28 Jan 2006 02:47:35 -0000 1.158
+++ policycoreutils-rhat.patch 31 Jan 2006 00:21:56 -0000 1.159
@@ -1,7 +1,25 @@
-diff --exclude-from=exclude -N -u -r nsapolicycoreutils/scripts/genhomedircon policycoreutils-1.29.11/scripts/genhomedircon
---- nsapolicycoreutils/scripts/genhomedircon 2006-01-20 10:37:37.000000000 -0500
-+++ policycoreutils-1.29.11/scripts/genhomedircon 2006-01-27 01:22:00.000000000 -0500
-@@ -87,6 +87,12 @@
+diff --exclude-from=exclude -N -u -r nsapolicycoreutils/scripts/genhomedircon policycoreutils-1.29.15/scripts/genhomedircon
+--- nsapolicycoreutils/scripts/genhomedircon 2006-01-27 20:35:37.000000000 -0500
++++ policycoreutils-1.29.15/scripts/genhomedircon 2006-01-30 11:49:16.000000000 -0500
+@@ -38,6 +38,17 @@
+ except:
+ VALID_SHELLS = ['/bin/sh', '/bin/bash', '/bin/ash', '/bin/bsh', '/bin/ksh', '/usr/bin/ksh', '/usr/bin/pdksh', '/bin/tcsh', '/bin/csh', '/bin/zsh']
+
++def grep(file, var):
++ ret=""
++ fd=open(file, 'r')
++
++ for i in fd.read().split('\n'):
++ if re.search(var, i, 0) != None:
++ ret=i
++ break
++ fd.close()
++ return ret
++
+ def findval(file, var, delim=""):
+ val=""
+ try:
+@@ -87,6 +98,12 @@
if ret == []:
ret.append("/home")
@@ -14,3 +32,24 @@
return ret
def getSELinuxType(directory):
+@@ -168,9 +185,9 @@
+ return "user_r"
+ return name
+ def getOldRole(self, role):
+- rc=findval(self.selinuxdir+self.type+"/users/system.users", 'grep "^user %s"' % role, "=")
++ rc=grep(self.selinuxdir+self.type+"/users/system.users", "^user %s" % role)
+ if rc == "":
+- rc=findval(self.selinuxdir+self.type+"/users/local.users", 'grep "^user %s"' % role, "=")
++ rc=grep(self.selinuxdir+self.type+"/users/local.users", "^user %s" % role)
+ if rc != "":
+ user=rc.split()
+ role = user[3]
+@@ -259,7 +276,7 @@
+ return ret
+
+ def genHomeDirContext(self):
+- if self.semanaged and findval(self.getHomeDirTemplate(), "ROLE", "=") != "":
++ if self.semanaged and grep(self.getHomeDirTemplate(), "ROLE") != "":
+ warning("genhomedircon: Warning! No support yet for expanding ROLE macros in the %s file when using libsemanage." % self.getHomeDirTemplate());
+ warning("genhomedircon: You must manually update file_contexts.homedirs for any non-user_r users (including root).");
+ users = self.getUsers()
Index: policycoreutils.spec
===================================================================
RCS file: /cvs/dist/rpms/policycoreutils/devel/policycoreutils.spec,v
retrieving revision 1.228
retrieving revision 1.229
diff -u -r1.228 -r1.229
--- policycoreutils.spec 28 Jan 2006 02:47:35 -0000 1.228
+++ policycoreutils.spec 31 Jan 2006 00:21:56 -0000 1.229
@@ -1,14 +1,14 @@
-%define libsepolver 1.11.9-1
-%define libsemanagever 1.5.18-1
+%define libsepolver 1.11.10-1
+%define libsemanagever 1.5.19-1
%define libselinuxver 1.29.6-1
Summary: SELinux policy core utilities.
Name: policycoreutils
-Version: 1.29.15
+Version: 1.29.17
Release: 1
License: GPL
Group: System Environment/Base
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
-Patch: policycoreutils-rhat.patch
+#Patch: policycoreutils-rhat.patch
BuildRequires: pam-devel libsepol-devel >= %{libsepolver} libsemanage-devel >= %{libsemanagever} libselinux-devel >= %{libselinuxver}
PreReq: /bin/mount /bin/egrep /bin/awk /usr/bin/diff
@@ -34,10 +34,10 @@
%prep
%setup -q
-%patch -p1 -b .rhat
+#%patch -p1 -b .rhat
%build
-make LIBDIR="%{_libdir}" CFLAGS="%{optflags}" all
+make LOG_AUDIT_PRIV=y LIBDIR="%{_libdir}" CFLAGS="%{optflags}" all
%install
rm -rf ${RPM_BUILD_ROOT}
@@ -47,7 +47,7 @@
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d
-make DESTDIR="${RPM_BUILD_ROOT}" LIBDIR="${RPM_BUILD_ROOT}%{_libdir}" install
+make LOG_AUDIT_PRIV=y DESTDIR="${RPM_BUILD_ROOT}" LIBDIR="${RPM_BUILD_ROOT}%{_libdir}" install
%find_lang %{name}
@@ -97,6 +97,14 @@
%{_libdir}/python2.4/site-packages/seobject.py*
%changelog
+
+* Mon Jan 30 2006 Dan Walsh <dwalsh at redhat.com> 1.29.17-1
+- Update from upstream
+ * Merged genhomedircon fix from Dan Walsh.
+ * Merged seusers.system patch from Ivan Gyurdiev.
+ * Merged improve port/fcontext API patch from Ivan Gyurdiev.
+ * Merged genhomedircon patch from Dan Walsh.
+
* Fri Jan 27 2006 Dan Walsh <dwalsh at redhat.com> 1.29.15-1
- Update from upstream
* Merged newrole audit patch from Steve Grubb.
Index: sources
===================================================================
RCS file: /cvs/dist/rpms/policycoreutils/devel/sources,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- sources 28 Jan 2006 02:47:35 -0000 1.102
+++ sources 31 Jan 2006 00:21:56 -0000 1.103
@@ -1 +1 @@
-4630f6f9b6ce13585a58e6d1dc10fff7 policycoreutils-1.29.15.tgz
+a89902ab7e9d4feadc48f06c5fb9be30 policycoreutils-1.29.17.tgz
- Previous message (by thread): rpms/stunnel/devel stunnel.spec,1.34,1.35
- Next message (by thread): rpms/selinux-policy/devel .cvsignore, 1.32, 1.33 modules-mls.conf, 1.10, 1.11 modules-strict.conf, 1.1, 1.2 modules-targeted.conf, 1.13, 1.14 policy-20060104.patch, 1.27, 1.28 selinux-policy.spec, 1.96, 1.97 sources, 1.36, 1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list