]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- added TODO about security vs clusters support (this is must-fix)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 9 Feb 2004 22:42:30 +0000 (22:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql.spec -> 1.195

mysql.spec

index edf1d24005a42ffdd478bfd92546569d8263c3e3..169f9a4f7ec8a28319aa0fa1fd1ddb6ddac65967 100644 (file)
@@ -1,6 +1,9 @@
 #
+# TODO: fix security hole created by storing mysqld.conf in directory(-ies)
+#      writable by mysql user
+#
 # Conditional build:
-# _with_bdb - Berkeley DB support
+%bcond_with    bdb     # Berkeley DB support
 #
 %include       /usr/lib/rpm/macros.perl
 Summary:       MySQL: a very fast and reliable SQL database engine
@@ -33,10 +36,11 @@ Patch9:             %{name}-fix_privilege_tables.patch
 Icon:          mysql.gif
 URL:           http://www.mysql.com/
 #BuildRequires:        ORBit-devel
+BuildRequires: SECURITY-FIX
 BuildRequires: /bin/ps
 BuildRequires: autoconf
 BuildRequires: automake
-%{?_with_bdb:BuildRequires:    db3-devel}
+%{?with_bdb:BuildRequires:     db3-devel}
 BuildRequires: libstdc++-devel >= 5:3.0
 BuildRequires: libtool
 BuildRequires: libwrap-devel
@@ -364,7 +368,7 @@ CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
        --with-mysqld-user=mysql \
        --with-libwrap \
        --with%{!?debug:out}-debug \
-       %{?_with_bdb:--with-berkeley-db} \
+       %{?with_bdb:--with-berkeley-db} \
        --with-embedded-server \
        --with-vio \
        --with-openssl \
@@ -391,7 +395,7 @@ install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
           $RPM_BUILD_ROOT/var/{log/{archiv,}/mysql,lib/mysql/{db,innodb/{data,log}}} \
           $RPM_BUILD_ROOT{%{_infodir},%{_mysqlhome}}
 
-%if 0%{?_with_bdb:1}
+%if %{with bdb}
 install -d $RPM_BUILD_ROOT/var/lib/mysql/bdb/{log,tmp}
 %endif
 
This page took 0.029865 seconds and 4 git commands to generate.