Convert PostgreSQL setup patch to git format
Convert freeradius-postgres-sql.patch to git format. This makes all patches conform to git format, which makes it easier to apply them to a git repo. This simplifies current and further rebases. Related: Bug#1120234
This commit is contained in:
parent
11209699e6
commit
b46bc32401
@ -1,6 +1,17 @@
|
||||
--- freeradius-server-3.0.0.orig/raddb/mods-config/sql/main/postgresql/setup.sql 2013-10-07 15:49:47.000000000 -0400
|
||||
+++ freeradius-server-3.0.0/raddb/mods-config/sql/main/postgresql/setup.sql 2013-12-13 12:58:38.261559789 -0500
|
||||
@@ -29,4 +29,7 @@
|
||||
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;
|
||||
@ -8,3 +19,6 @@
|
||||
+
|
||||
GRANT SELECT, INSERT, UPDATE on radpostauth TO radius;
|
||||
+GRANT SELECT, USAGE on radpostauth_id_seq TO radius;
|
||||
--
|
||||
2.1.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user