git » mariadb.git » commit d2be046

fix PrivateNetwork= / PrivateTmp= confusion

author Christian Hesse
2019-03-01 10:55:45 UTC
committer Christian Hesse
2019-03-01 10:55:45 UTC
parent 20ac678ec78519ed28d6189a23c8f9890f42231b

fix PrivateNetwork= / PrivateTmp= confusion

0001-arch-specific.patch +8 -8
PKGBUILD +2 -2

diff --git a/0001-arch-specific.patch b/0001-arch-specific.patch
index 26c307b..a3396fc 100644
--- a/0001-arch-specific.patch
+++ b/0001-arch-specific.patch
@@ -21,18 +21,18 @@ index 8d43b6db428..a96fbcc9d2c 100644
  ##
  ## Options previously available to be set via [mysqld_safe]
 diff --git a/support-files/mariadb@.service.in b/support-files/mariadb@.service.in
-index a2f5cff0828..83d75f80b87 100644
+index a2f5cff0828..30631a8738a 100644
 --- a/support-files/mariadb@.service.in
 +++ b/support-files/mariadb@.service.in
-@@ -41,7 +41,7 @@ Type=notify
+@@ -138,7 +138,7 @@ UMask=007
  
- # Setting this to true can break replication and the Type=notify settings
- # See also bind-address mysqld option.
--PrivateNetwork=false
-+PrivateNetwork=true
+ # If you don't use the /tmp directory for SELECT ... OUTFILE and
+ # LOAD DATA INFILE you can enable PrivateTmp=true for a little more security.
+-PrivateTmp=false
++PrivateTmp=true
  
- ##############################################################################
- ## Package maintainers
+ ##
+ ## Options previously available to be set via [mysqld_safe]
 From 0e4a158086b765aa3a12b84646aefb9b192443f7 Mon Sep 17 00:00:00 2001
 From: Christian Hesse <mail@eworm.de>
 Date: Tue, 29 Jan 2019 23:12:54 +0100
diff --git a/PKGBUILD b/PKGBUILD
index e051775..d4c563b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=mariadb
 pkgname=('mariadb-libs' 'mariadb-clients' 'mariadb' 'mytop')
 pkgdesc='Fast SQL database server, derived from MySQL'
 pkgver=10.3.13
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 license=('GPL')
 url='https://mariadb.org/'
@@ -20,7 +20,7 @@ source=("https://mirrors.n-ix.net/mariadb/mariadb-$pkgver/source/mariadb-$pkgver
         '0007-MDEV-18605-Loss-of-column-aliases-by-using-view-and-.patch')
 sha256sums=('b2aa857ef5b84f85a7ea60a1eac7b34c0ca5151c71a0d44ce2d7fb028d71459a'
             'SKIP'
-            '5a443a403821931ce35759e9583d23cd809b3b5a5df5b8293ac8e33b9c0cbc0f'
+            '5b74e328e75369dfb68491a06dd53bd736e34f87281103ae0dd2f50401dc70d3'
             '1cd009b473d5965c7cbe6d48fff272030a2ccdd9c7e67b4f837d03252786a09a'
             'd12806e4f90cc0fc081205dd4c0a5e0e7c455844f04276811b61b57fd24f5545'
             '66e0acac7436fd8925710ef5cc66ba1a8f63a385ce374f01ae83096cc33d97a0'