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:
Nikolai Kondrashov 2014-12-15 16:23:16 +02:00
parent 11209699e6
commit b46bc32401

View File

@ -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 From 797e2d603bdc4bea009f7e0053f2e41fdb9238a6 Mon Sep 17 00:00:00 2001
+++ freeradius-server-3.0.0/raddb/mods-config/sql/main/postgresql/setup.sql 2013-12-13 12:58:38.261559789 -0500 From: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
@@ -29,4 +29,7 @@ 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. * The server can write to the accounting and post-auth logging table.
*/ */
GRANT SELECT, INSERT, UPDATE on radacct TO radius; GRANT SELECT, INSERT, UPDATE on radacct TO radius;
@ -8,3 +19,6 @@
+ +
GRANT SELECT, INSERT, UPDATE on radpostauth TO radius; GRANT SELECT, INSERT, UPDATE on radpostauth TO radius;
+GRANT SELECT, USAGE on radpostauth_id_seq TO radius; +GRANT SELECT, USAGE on radpostauth_id_seq TO radius;
--
2.1.3