rpms/gcl/devel gcl-2.6.8-selinux.patch,1.1,1.2 gcl.spec,1.38,1.39
Jerry James
jjames at fedoraproject.org
Tue Oct 6 14:33:28 UTC 2009
Author: jjames
Update of /cvs/pkgs/rpms/gcl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29010/devel
Modified Files:
gcl-2.6.8-selinux.patch gcl.spec
Log Message:
* Tue Sep 6 2009 Jerry James <loganjerry at gmail.com> - 2.6.8-0.5.20090701cvs
- Update SELinux files to give compiled maxima files the right context
- Drop SELinux compatibility kludge for early F-11 selinux-policy packages
gcl-2.6.8-selinux.patch:
clcs/makefile | 6 ++
makefile | 3 +
selinux/gcl.fc | 5 +
selinux/gcl.if | 146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
selinux/gcl.te | 44 ++++++++++++++++
unixport/makefile | 6 ++
6 files changed, 210 insertions(+)
Index: gcl-2.6.8-selinux.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gcl/devel/gcl-2.6.8-selinux.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gcl-2.6.8-selinux.patch 10 Jan 2009 05:23:18 -0000 1.1
+++ gcl-2.6.8-selinux.patch 6 Oct 2009 14:33:28 -0000 1.2
@@ -1,6 +1,6 @@
diff -durN gcl-2.6.8.ORIG/clcs/makefile gcl-2.6.8/clcs/makefile
--- gcl-2.6.8.ORIG/clcs/makefile 2005-05-06 15:56:55.000000000 -0600
-+++ gcl-2.6.8/clcs/makefile 2009-01-09 17:43:02.000000000 -0700
++++ gcl-2.6.8/clcs/makefile 2009-10-06 08:16:02.062488470 -0600
@@ -9,6 +9,9 @@
saved_clcs_gcl: ../unixport/saved_pcl_gcl
@@ -23,7 +23,7 @@ diff -durN gcl-2.6.8.ORIG/clcs/makefile
rm -f *.o *.fn saved_full_gcl$(EXE) saved_full_gcl cmpinclude.h *.c *.h *.data saved_clcs_gcl
diff -durN gcl-2.6.8.ORIG/makefile gcl-2.6.8/makefile
--- gcl-2.6.8.ORIG/makefile 2007-11-30 09:59:33.000000000 -0700
-+++ gcl-2.6.8/makefile 2009-01-09 17:43:02.000000000 -0700
++++ gcl-2.6.8/makefile 2009-10-06 08:16:02.063488196 -0600
@@ -187,6 +187,9 @@
if gcc --version | grep -i mingw >/dev/null 2>&1 ; then if grep -i oncrpc makedefs >/dev/null 2>&1 ; then cp /mingw/bin/oncrpc.dll $(DESTDIR)$(INSTALL_LIB_DIR)/$(PORTDIR); fi ; fi
cd $(DESTDIR)$(INSTALL_LIB_DIR)/$(PORTDIR) && \
@@ -36,13 +36,16 @@ diff -durN gcl-2.6.8.ORIG/makefile gcl-2
if [ -e "unixport/rsym$(EXE)" ] ; then cp unixport/rsym$(EXE) $(DESTDIR)$(INSTALL_LIB_DIR)/unixport/ ; fi
diff -durN gcl-2.6.8.ORIG/selinux/gcl.fc gcl-2.6.8/selinux/gcl.fc
--- gcl-2.6.8.ORIG/selinux/gcl.fc 1969-12-31 17:00:00.000000000 -0700
-+++ gcl-2.6.8/selinux/gcl.fc 2009-01-09 17:43:02.000000000 -0700
-@@ -0,0 +1,2 @@
++++ gcl-2.6.8/selinux/gcl.fc 2009-10-06 08:17:02.445600007 -0600
+@@ -0,0 +1,5 @@
+/usr/lib64/gcl-[^/]+/unixport/saved_.* -- gen_context(system_u:object_r:gcl_exec_t,s0)
+/usr/lib/gcl-[^/]+/unixport/saved_.* -- gen_context(system_u:object_r:gcl_exec_t,s0)
++/usr/lib/maxima/[^/]+/binary-gcl -- gen_context(system_u:object:r:gcl_exec_t,s0)
++/usr/lib64/maxima/[^/]+/binary-gcl -- gen_context(system_u:object:r:gcl_exec_t,s0)
++
diff -durN gcl-2.6.8.ORIG/selinux/gcl.if gcl-2.6.8/selinux/gcl.if
--- gcl-2.6.8.ORIG/selinux/gcl.if 1969-12-31 17:00:00.000000000 -0700
-+++ gcl-2.6.8/selinux/gcl.if 2009-01-09 17:43:02.000000000 -0700
++++ gcl-2.6.8/selinux/gcl.if 2009-10-06 08:16:02.064488944 -0600
@@ -0,0 +1,146 @@
+
+## <summary>policy for gcl</summary>
@@ -192,8 +195,8 @@ diff -durN gcl-2.6.8.ORIG/selinux/gcl.if
+')
diff -durN gcl-2.6.8.ORIG/selinux/gcl.te gcl-2.6.8/selinux/gcl.te
--- gcl-2.6.8.ORIG/selinux/gcl.te 1969-12-31 17:00:00.000000000 -0700
-+++ gcl-2.6.8/selinux/gcl.te 2009-01-09 17:43:07.000000000 -0700
-@@ -0,0 +1,50 @@
++++ gcl-2.6.8/selinux/gcl.te 2009-10-06 08:17:51.669426472 -0600
+@@ -0,0 +1,44 @@
+policy_module(gcl,1.0.0)
+
+########################################
@@ -231,22 +234,16 @@ diff -durN gcl-2.6.8.ORIG/selinux/gcl.te
+ gen_require(`
+ type unconfined_t;
+ type unconfined_devpts_t;
-+ type unconfined_execmem_t; # Remove this later; see below
+ type unconfined_tty_device_t;
+ role unconfined_r;
+ ')
+
+ gcl_run(unconfined_t, unconfined_r, { unconfined_tty_device_t unconfined_devpts_t })
+ allow gcl_t gcl_exec_t:file execmod;
-+
-+ # Some versions of selinux-policy-targeted, released between November
-+ # 2008 and early January 2009, give /usr/bin/gcl type execmem_exec_t.
-+ # Remove this once those versions are dead and buried.
-+ allow unconfined_execmem_t gcl_exec_t:file execmod;
+')
diff -durN gcl-2.6.8.ORIG/unixport/makefile gcl-2.6.8/unixport/makefile
--- gcl-2.6.8.ORIG/unixport/makefile 2006-08-23 12:14:22.000000000 -0600
-+++ gcl-2.6.8/unixport/makefile 2009-01-09 17:43:02.000000000 -0700
++++ gcl-2.6.8/unixport/makefile 2009-10-06 08:16:02.065488296 -0600
@@ -118,6 +118,9 @@
cp init_$*.lsp foo
echo " (in-package \"USER\")(system:save-system \"$@\")" >>foo
Index: gcl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gcl/devel/gcl.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -p -r1.38 -r1.39
--- gcl.spec 11 Aug 2009 21:28:46 -0000 1.38
+++ gcl.spec 6 Oct 2009 14:33:28 -0000 1.39
@@ -28,7 +28,7 @@
Name: gcl
Version: 2.6.8
-Release: 0.4.%{alphatag}%{?dist}
+Release: 0.5.%{alphatag}%{?dist}
Summary: GNU Common Lisp
Group: Development/Languages
@@ -365,6 +365,10 @@ fi
%changelog
+* Tue Sep 6 2009 Jerry James <loganjerry at gmail.com> - 2.6.8-0.5.20090701cvs
+- Update SELinux files to give compiled maxima files the right context
+- Drop SELinux compatibility kludge for early F-11 selinux-policy packages
+
* Tue Aug 11 2009 Jerry James <loganjerry at gmail.com> - 2.6.8-0.4.20090701cvs
- Update to 20090701 CVS snapshot, fixes bz 511483
- Break fix for <asm/signal.h> out into a separate patch and do it right
More information about the fedora-extras-commits
mailing list