aboutsummaryrefslogtreecommitdiffstats
path: root/community/gvm/003-sqlite-insert.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2018-01-29 15:05:05 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-01-29 15:05:05 +0000
commit4dc8ca9b5e8cc7264f031ffde02f80053dd09aca (patch)
tree032b63fc6ae5f8fb2682bcf76cbaa556fd5d8efe /community/gvm/003-sqlite-insert.patch
parent4d25e023a4a0ef86015bae231fb0b10bfcc965d9 (diff)
downloadaports-4dc8ca9b5e8cc7264f031ffde02f80053dd09aca.tar.bz2
aports-4dc8ca9b5e8cc7264f031ffde02f80053dd09aca.tar.xz
community/gvm: updated srcurl, renamed package from openvas-manager
Diffstat (limited to 'community/gvm/003-sqlite-insert.patch')
-rw-r--r--community/gvm/003-sqlite-insert.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/gvm/003-sqlite-insert.patch b/community/gvm/003-sqlite-insert.patch
new file mode 100644
index 0000000000..da51fa496a
--- /dev/null
+++ b/community/gvm/003-sqlite-insert.patch
@@ -0,0 +1,31 @@
+diff --git a/src/manage_sql.c b/src/manage_sql.c
+index e316374..4aedd83 100644
+--- a/src/manage_sql.c
++++ b/src/manage_sql.c
+@@ -11016,7 +11016,7 @@ check_db_settings ()
+ " ('a6ac88c5-729c-41ba-ac0a-deea4a3441f2', NULL,"
+ " 'Details Export File Name',"
+ " 'File name format string for the export of resource details.',"
+- " '%T-%U');");
++ " '%%T-%%U');");
+
+ if (sql_int ("SELECT count(*) FROM settings"
+ " WHERE uuid = '0872a6ed-4f85-48c5-ac3f-a5ef5e006745'"
+@@ -11027,7 +11027,7 @@ check_db_settings ()
+ " ('0872a6ed-4f85-48c5-ac3f-a5ef5e006745', NULL,"
+ " 'List Export File Name',"
+ " 'File name format string for the export of resource lists.',"
+- " '%T-%D');");
++ " '%%T-%%D');");
+
+ if (sql_int ("SELECT count(*) FROM settings"
+ " WHERE uuid = 'e1a2ae0b-736e-4484-b029-330c9e15b900'"
+@@ -11038,7 +11038,7 @@ check_db_settings ()
+ " ('e1a2ae0b-736e-4484-b029-330c9e15b900', NULL,"
+ " 'Report Export File Name',"
+ " 'File name format string for the export of reports.',"
+- " '%T-%U');");
++ " '%%T-%%U');");
+
+ }
+