Remove freeradius-postgres-sql.patch as upstreamed

Related: Bug#1133959
This commit is contained in:
Nikolai Kondrashov 2015-04-28 13:08:16 +03:00
parent 2f1b9c4406
commit ca58f5f6ac
2 changed files with 0 additions and 26 deletions

View File

@ -1,24 +0,0 @@
From 797e2d603bdc4bea009f7e0053f2e41fdb9238a6 Mon Sep 17 00:00:00 2001
From: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
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

View File

@ -22,7 +22,6 @@ Source103: freeradius-pam-conf
Source104: freeradius-tmpfiles.conf Source104: freeradius-tmpfiles.conf
Patch1: freeradius-redhat-config.patch Patch1: freeradius-redhat-config.patch
Patch2: freeradius-postgres-sql.patch
%global docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} %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' # Note: We explicitly do not make patch backup files because 'make install'
# mistakenly includes the backup files, especially problematic for raddb config files. # mistakenly includes the backup files, especially problematic for raddb config files.
%patch1 -p1 %patch1 -p1
%patch2 -p1
%build %build
# Force compile/link options, extra security for network facing daemon # Force compile/link options, extra security for network facing daemon