- add /etc/logrotate.d/sepostgresql, to avoid flood of logs.
- BUGFIX: CREATE/ALTER TABLE with CONTEXT='...' did nothing.
This commit is contained in:
parent
a5cea847b8
commit
b9b94a4e77
4 changed files with 26 additions and 6 deletions
|
|
@ -1394,7 +1394,7 @@ diff -rpNU3 base/src/backend/libpq/be-fsstubs.c pgace/src/backend/libpq/be-fsstu
|
|||
*/
|
||||
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 @@ diff -rpNU3 base/src/backend/nodes/copyfuncs.c pgace/src/backend/nodes/copyfuncs
|
|||
|
||||
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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 @@ Source2: sepostgresql.if
|
|||
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(preun): /sbin/chkconfig /sbin/service
|
|||
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 @@ install -d -m 700 %{buildroot}%{_localstatedir}/lib/sepgsql/backups
|
|||
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 @@ fi
|
|||
%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 @@ fi
|
|||
%attr(700,sepgsql,sepgsql) %dir %{_localstatedir}/lib/sepgsql/backups
|
||||
|
||||
%changelog
|
||||
* Tue Feb 26 2008 <kaigai@kaigai.gr.jp> - sepostgresql-8.3.0-2.113
|
||||
- BUGFIX: CREATE/ALTER TABLE with CONTEXT='...' did nothing.
|
||||
|
||||
* Thu Feb 7 2008 <kaigai@kaigai.gr.jp> - sepostgresql-8.3.0-2.108
|
||||
- add /etc/logrotate.d/sepostgresql
|
||||
|
||||
* Thu Feb 7 2008 <kaigai@kaigai.gr.jp> - sepostgresql-8.3.0-2.105
|
||||
- update base version to stable 8.3.0
|
||||
- add tzdata dependency
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
policy_module(sepostgresql, 2.105)
|
||||
policy_module(sepostgresql, 2.113)
|
||||
|
||||
gen_require(`
|
||||
all_userspace_class_perms
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue