rpms/sepostgresql/devel sepostgresql-pgace-8.3.0-2.patch, 1.1, 1.2 sepostgresql.init, 1.13, 1.14 sepostgresql.spec, 1.13, 1.14 sepostgresql.te, 1.13, 1.14

KaiGai Kohei (kaigai) fedora-extras-commits at redhat.com
Tue Feb 26 08:04:19 UTC 2008


Author: kaigai

Update of /cvs/pkgs/rpms/sepostgresql/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18296

Modified Files:
	sepostgresql-pgace-8.3.0-2.patch sepostgresql.init 
	sepostgresql.spec sepostgresql.te 
Log Message:
- add /etc/logrotate.d/sepostgresql, to avoid flood of logs.
- BUGFIX: CREATE/ALTER TABLE with CONTEXT='...' did nothing.



sepostgresql-pgace-8.3.0-2.patch:

Index: sepostgresql-pgace-8.3.0-2.patch
===================================================================
RCS file: /cvs/pkgs/rpms/sepostgresql/devel/sepostgresql-pgace-8.3.0-2.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sepostgresql-pgace-8.3.0-2.patch	7 Feb 2008 01:26:25 -0000	1.1
+++ sepostgresql-pgace-8.3.0-2.patch	26 Feb 2008 08:04:10 -0000	1.2
@@ -1394,7 +1394,7 @@
  	 */
 diff -rpNU3 base/src/backend/nodes/copyfuncs.c pgace/src/backend/nodes/copyfuncs.c
 --- base/src/backend/nodes/copyfuncs.c	2008-01-07 23:51:33.000000000 +0900
-+++ pgace/src/backend/nodes/copyfuncs.c	2008-01-08 01:39:49.000000000 +0900
++++ pgace/src/backend/nodes/copyfuncs.c	2008-02-22 14:17:11.000000000 +0900
 @@ -24,6 +24,7 @@
  
  #include "nodes/plannodes.h"
@@ -1419,7 +1419,15 @@
  
  	return newnode;
  }
-@@ -3570,6 +3573,10 @@ copyObject(void *from)
+@@ -2105,6 +2108,7 @@ _copyCreateStmt(CreateStmt *from)
+ 	COPY_NODE_FIELD(options);
+ 	COPY_SCALAR_FIELD(oncommit);
+ 	COPY_STRING_FIELD(tablespacename);
++	COPY_NODE_FIELD(pgaceItem);
+ 
+ 	return newnode;
+ }
+@@ -3570,6 +3574,10 @@ copyObject(void *from)
  			break;
  
  		default:


Index: sepostgresql.init
===================================================================
RCS file: /cvs/pkgs/rpms/sepostgresql/devel/sepostgresql.init,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- sepostgresql.init	7 Feb 2008 01:26:25 -0000	1.13
+++ sepostgresql.init	26 Feb 2008 08:04:10 -0000	1.14
@@ -9,7 +9,7 @@
 
 PGVERSION="8.3.0"
 PGMAJORVERSION=`echo "$PGVERSION" | sed 's/^\([0-9]*\.[0-9a-z]*\).*$/\1/'`
-SEPGVERSION="2.105"
+SEPGVERSION="2.113"
 
 # source function library
 . /etc/rc.d/init.d/functions


Index: sepostgresql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sepostgresql/devel/sepostgresql.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- sepostgresql.spec	7 Feb 2008 01:26:25 -0000	1.13
+++ sepostgresql.spec	26 Feb 2008 08:04:10 -0000	1.14
@@ -13,7 +13,7 @@
 Summary: Security Enhanced PostgreSQL
 Name: sepostgresql
 Version: 8.3.0
-Release: 2.105%{?sepgsql_extension}%{?dist}
+Release: 2.113%{?sepgsql_extension}%{?dist}
 License: BSD
 Group: Applications/Databases
 Url: http://code.google.com/p/sepgsql/
@@ -24,6 +24,7 @@
 Source3: sepostgresql.te
 Source4: sepostgresql.fc
 Source5: sepostgresql.8
+Source6: sepostgresql.logrotate
 Patch0: sepostgresql-pgace-8.3.0-2.patch
 Patch1: sepostgresql-sepgsql-8.3.0-2.patch
 Patch2: sepostgresql-pg_dump-8.3.0-2.patch
@@ -36,7 +37,7 @@
 Requires(postun): policycoreutils
 Requires: postgresql-server = %{version}
 Requires: policycoreutils >= 2.0.16 libselinux >= 2.0.43 selinux-policy >= 3.0.6
-Requires: tzdata
+Requires: tzdata logrotate
 
 %description
 Security Enhanced PostgreSQL is an extension of PostgreSQL
@@ -123,6 +124,10 @@
 mkdir -p %{buildroot}%{_initrddir}
 install -p -m 755 %{SOURCE1} %{buildroot}%{_initrddir}/sepostgresql
 
+# /etc/logrotate.d/
+mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
+install -p -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/logrotate.d/sepostgresql
+
 # /usr/share/man/*
 mkdir -p %{buildroot}%{_mandir}/man8
 install -p -m 644 %{SOURCE5} %{buildroot}%{_mandir}/man8
@@ -181,6 +186,7 @@
 %defattr(-,root,root,-)
 %doc COPYRIGHT README HISTORY
 %{_initrddir}/sepostgresql
+%{_sysconfdir}/logrotate.d/sepostgresql
 %{_bindir}/initdb.sepgsql
 %{_bindir}/sepg_ctl
 %{_bindir}/sepostgres
@@ -205,6 +211,12 @@
 %attr(700,sepgsql,sepgsql) %dir %{_localstatedir}/lib/sepgsql/backups
 
 %changelog
+* Tue Feb 26 2008 <kaigai at kaigai.gr.jp> - sepostgresql-8.3.0-2.113
+- BUGFIX: CREATE/ALTER TABLE with CONTEXT='...' did nothing.
+
+* Thu Feb  7 2008 <kaigai at kaigai.gr.jp> - sepostgresql-8.3.0-2.108
+- add /etc/logrotate.d/sepostgresql
+
 * Thu Feb  7 2008 <kaigai at kaigai.gr.jp> - sepostgresql-8.3.0-2.105
 - update base version to stable 8.3.0
 - add tzdata dependency


Index: sepostgresql.te
===================================================================
RCS file: /cvs/pkgs/rpms/sepostgresql/devel/sepostgresql.te,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- sepostgresql.te	7 Feb 2008 01:26:25 -0000	1.13
+++ sepostgresql.te	26 Feb 2008 08:04:10 -0000	1.14
@@ -1,4 +1,4 @@
-policy_module(sepostgresql, 2.105)
+policy_module(sepostgresql, 2.113)
 
 gen_require(`
 	all_userspace_class_perms




More information about the fedora-extras-commits mailing list