diff --git a/sepostgresql-pgace-8.3.0-2.patch b/sepostgresql-pgace-8.3.0-2.patch index be144fb..1a05514 100644 --- a/sepostgresql-pgace-8.3.0-2.patch +++ b/sepostgresql-pgace-8.3.0-2.patch @@ -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: diff --git a/sepostgresql.init b/sepostgresql.init index 7c92442..ac540db 100644 --- a/sepostgresql.init +++ b/sepostgresql.init @@ -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 diff --git a/sepostgresql.spec b/sepostgresql.spec index 969e2b1..ad467d2 100644 --- a/sepostgresql.spec +++ b/sepostgresql.spec @@ -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 - sepostgresql-8.3.0-2.113 +- BUGFIX: CREATE/ALTER TABLE with CONTEXT='...' did nothing. + +* Thu Feb 7 2008 - sepostgresql-8.3.0-2.108 +- add /etc/logrotate.d/sepostgresql + * Thu Feb 7 2008 - sepostgresql-8.3.0-2.105 - update base version to stable 8.3.0 - add tzdata dependency diff --git a/sepostgresql.te b/sepostgresql.te index 5933641..9f61f0e 100644 --- a/sepostgresql.te +++ b/sepostgresql.te @@ -1,4 +1,4 @@ -policy_module(sepostgresql, 2.105) +policy_module(sepostgresql, 2.113) gen_require(` all_userspace_class_perms