Accepting request 131859 from home:achaios:branches:server:database

Reenable initgroups(). See changelog.

OBS-URL: https://build.opensuse.org/request/show/131859
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=95
This commit is contained in:
Sascha Peilicke 2012-10-04 08:02:23 +00:00 committed by Git OBS Bridge
parent 362bba323d
commit f13b4c8501
2 changed files with 11 additions and 1 deletions

View File

@ -6,7 +6,7 @@
%if 0%{?suse_version} > 1140 %if 0%{?suse_version} > 1140
export WARN_DIS="$WARN_DIS -Wno-unused-but-set-variable -fno-strict-aliasing -Wno-unused-parameter " export WARN_DIS="$WARN_DIS -Wno-unused-but-set-variable -fno-strict-aliasing -Wno-unused-parameter "
%endif %endif
export CFLAGS="$RPM_OPT_FLAGS -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS -DFORCE_INIT_OF_VARS $WARN_DIS " export CFLAGS="$RPM_OPT_FLAGS -DPIC -fPIC -DFORCE_INIT_OF_VARS $WARN_DIS "
export CXXFLAGS="$CFLAGS -fno-exceptions -fno-rtti" export CXXFLAGS="$CFLAGS -fno-exceptions -fno-rtti"
%if 0%{use_cmake} < 1 %if 0%{use_cmake} < 1

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Aug 28 11:53:55 UTC 2012 - xgpub@tellas.gr
- Reenable use of initgroups() (revert a temporary workaround
for ancient bmc#3037, search below for bug #39798).
This is necessary if we want to use the auth_pam plugin to
authenticate users against their unix password via pam_unix2.
For that, mysqld must run as group shadow and maintain membership
after forking.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 2 12:28:40 UTC 2012 - mhrusecky@suse.com Mon Jul 2 12:28:40 UTC 2012 - mhrusecky@suse.com