From ca58f5f6acc6ad10dff8893fdcb70b322a9d61fb Mon Sep 17 00:00:00 2001 From: Nikolai Kondrashov Date: Tue, 28 Apr 2015 13:08:16 +0300 Subject: [PATCH] Remove freeradius-postgres-sql.patch as upstreamed Related: Bug#1133959 --- freeradius-postgres-sql.patch | 24 ------------------------ freeradius.spec | 2 -- 2 files changed, 26 deletions(-) delete mode 100644 freeradius-postgres-sql.patch diff --git a/freeradius-postgres-sql.patch b/freeradius-postgres-sql.patch deleted file mode 100644 index 8746b45..0000000 --- a/freeradius-postgres-sql.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 797e2d603bdc4bea009f7e0053f2e41fdb9238a6 Mon Sep 17 00:00:00 2001 -From: Nikolai Kondrashov -Date: Thu, 30 Oct 2014 12:15:44 +0200 -Subject: [PATCH 1/1] Fix PostgreSQL setup SQL permissions - ---- - raddb/mods-config/sql/main/postgresql/setup.sql | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/raddb/mods-config/sql/main/postgresql/setup.sql b/raddb/mods-config/sql/main/postgresql/setup.sql -index 26d08ca..407f414 100644 ---- a/raddb/mods-config/sql/main/postgresql/setup.sql -+++ b/raddb/mods-config/sql/main/postgresql/setup.sql -@@ -29,4 +29,7 @@ GRANT SELECT ON radusergroup TO radius; - * The server can write to the accounting and post-auth logging table. - */ - GRANT SELECT, INSERT, UPDATE on radacct TO radius; -+GRANT SELECT, USAGE on radacct_radacctid_seq TO radius; -+ - GRANT SELECT, INSERT, UPDATE on radpostauth TO radius; -+GRANT SELECT, USAGE on radpostauth_id_seq TO radius; --- -2.1.3 - diff --git a/freeradius.spec b/freeradius.spec index 4f9d3a9..2ba5572 100644 --- a/freeradius.spec +++ b/freeradius.spec @@ -22,7 +22,6 @@ Source103: freeradius-pam-conf Source104: freeradius-tmpfiles.conf Patch1: freeradius-redhat-config.patch -Patch2: freeradius-postgres-sql.patch %global docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} @@ -189,7 +188,6 @@ This plugin provides the REST support for the FreeRADIUS server project. # Note: We explicitly do not make patch backup files because 'make install' # mistakenly includes the backup files, especially problematic for raddb config files. %patch1 -p1 -%patch2 -p1 %build # Force compile/link options, extra security for network facing daemon