rpms/libselinux/devel .cvsignore, 1.150, 1.151 libselinux-rhat.patch, 1.130, 1.131 libselinux.spec, 1.288, 1.289 sources, 1.152, 1.153

Daniel J Walsh (dwalsh) fedora-extras-commits at redhat.com
Thu Sep 27 14:54:43 UTC 2007


Author: dwalsh

Update of /cvs/extras/rpms/libselinux/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5251

Modified Files:
	.cvsignore libselinux-rhat.patch libselinux.spec sources 
Log Message:
* Wed Sep 26 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.35-1
- Upgrade to upstream
	* Make netlink socket close-on-exec to avoid descriptor leakage from Dan Walsh.
	* Pass CFLAGS when using gcc for linking from Dennis Gilmore. 



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/.cvsignore,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -r1.150 -r1.151
--- .cvsignore	18 Sep 2007 20:44:47 -0000	1.150
+++ .cvsignore	27 Sep 2007 14:54:10 -0000	1.151
@@ -129,3 +129,4 @@
 libselinux-2.0.31.tgz
 libselinux-2.0.33.tgz
 libselinux-2.0.34.tgz
+libselinux-2.0.35.tgz

libselinux-rhat.patch:

Index: libselinux-rhat.patch
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/libselinux-rhat.patch,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -r1.130 -r1.131
--- libselinux-rhat.patch	24 Sep 2007 15:56:01 -0000	1.130
+++ libselinux-rhat.patch	27 Sep 2007 14:54:10 -0000	1.131
@@ -1,32 +1,3 @@
-diff --exclude-from=exclude -N -u -r nsalibselinux/src/avc_internal.c libselinux-2.0.34/src/avc_internal.c
---- nsalibselinux/src/avc_internal.c	2007-07-16 14:20:46.000000000 -0400
-+++ libselinux-2.0.34/src/avc_internal.c	2007-09-24 11:37:47.000000000 -0400
-@@ -61,7 +61,8 @@
- 		rc = fd;
- 		goto out;
- 	}
--
-+	
-+	fcntl(fd, F_SETFD, FD_CLOEXEC);
- 	if (!blocking && fcntl(fd, F_SETFL, O_NONBLOCK)) {
- 		close(fd);
- 		rc = -1;
-diff --exclude-from=exclude -N -u -r nsalibselinux/src/Makefile libselinux-2.0.34/src/Makefile
---- nsalibselinux/src/Makefile	2007-08-03 16:02:56.000000000 -0400
-+++ libselinux-2.0.34/src/Makefile	2007-09-24 11:51:42.000000000 -0400
-@@ -57,10 +57,10 @@
- 	$(CC) $(CFLAGS) -I$(PYINC) -fPIC -DSHARED -c -o $@ $<
- 
- $(SWIGSO): $(SWIGLOBJ)
--	$(CC) $(LDFLAGS) -shared -o $@ $< -L. -lselinux -L$(LIBDIR) -Wl,-soname,$@
-+	$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lselinux -L$(LIBDIR) -Wl,-soname,$@
- 
- $(LIBSO): $(LOBJS)
--	$(CC) $(LDFLAGS) -shared -o $@ $^ -ldl -L$(LIBDIR) -Wl,-soname,$(LIBSO),-z,defs,-z,relro
-+	$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -ldl -L$(LIBDIR) -Wl,-soname,$(LIBSO),-z,defs,-z,relro
- 	ln -sf $@ $(TARGET) 
- 
- %.o:  %.c policy.h
 diff --exclude-from=exclude -N -u -r nsalibselinux/src/matchpathcon.c libselinux-2.0.34/src/matchpathcon.c
 --- nsalibselinux/src/matchpathcon.c	2007-09-18 16:27:25.000000000 -0400
 +++ libselinux-2.0.34/src/matchpathcon.c	2007-09-18 16:32:31.000000000 -0400


Index: libselinux.spec
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/libselinux.spec,v
retrieving revision 1.288
retrieving revision 1.289
diff -u -r1.288 -r1.289
--- libselinux.spec	24 Sep 2007 15:56:01 -0000	1.288
+++ libselinux.spec	27 Sep 2007 14:54:10 -0000	1.289
@@ -1,8 +1,8 @@
 %define libsepolver 2.0.10-1
 Summary: SELinux library and simple utilities
 Name: libselinux
-Version: 2.0.34
-Release: 3%{?dist}
+Version: 2.0.35
+Release: 1%{?dist}
 License: Public domain (uncopyrighted)
 Group: System Environment/Libraries
 Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
@@ -123,6 +123,10 @@
 %{_libdir}/python*/site-packages/selinux.py*
 
 %changelog
+* Wed Sep 26 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.35-1
+- Upgrade to upstream
+	* Make netlink socket close-on-exec to avoid descriptor leakage from Dan Walsh.
+	* Pass CFLAGS when using gcc for linking from Dennis Gilmore. 
 
 * Mon Sep 24 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.34-3
 - Add sparc patch to from Dennis Gilmore to build on Sparc platform


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/sources,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -r1.152 -r1.153
--- sources	18 Sep 2007 20:44:47 -0000	1.152
+++ sources	27 Sep 2007 14:54:10 -0000	1.153
@@ -1 +1 @@
-e6f14fafbeab0fb9c9662d79eca4ac1e  libselinux-2.0.34.tgz
+3238a38e2e43c39081d13a579744fbdb  libselinux-2.0.35.tgz




More information about the scm-commits mailing list