/[smeserver]/rpms/smeserver-mysql/sme10/smeserver-mysql.spec
ViewVC logotype

Diff of /rpms/smeserver-mysql/sme10/smeserver-mysql.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.30 by jpp, Mon Jul 11 15:56:58 2022 UTC Revision 1.32 by jpp, Sun Dec 11 06:00:53 2022 UTC
# Line 2  Summary: Koozali SME Server specific mys Line 2  Summary: Koozali SME Server specific mys
2  %define name smeserver-mysql  %define name smeserver-mysql
3  Name: %{name}  Name: %{name}
4  %define version 2.7.0  %define version 2.7.0
5  %define release 16  %define release 17
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
8  License: GPL  License: GPL
# Line 12  Patch0: smeserver-mysql-2.7.0-bz11899-sc Line 12  Patch0: smeserver-mysql-2.7.0-bz11899-sc
12  Patch1: smeserver-mysql-2.7.0-bz11922-mysqlinit.patch  Patch1: smeserver-mysql-2.7.0-bz11922-mysqlinit.patch
13  Patch2: smeserver-mysql-2.7.0-bz11936.patch  Patch2: smeserver-mysql-2.7.0-bz11936.patch
14  Patch3: smeserver-mysql-2.7.0-bz11953-mysql.init-logging.patch  Patch3: smeserver-mysql-2.7.0-bz11953-mysql.init-logging.patch
15    Patch4: smeserver-mysql-2.7.0-bz12262-skipnetworking.patch
16    
17  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
18  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 37  mysql. Line 38  mysql.
38  %patch1 -p1  %patch1 -p1
39  %patch2 -p1  %patch2 -p1
40  %patch3 -p1  %patch3 -p1
41    %patch4 -p1
42    
43  %build  %build
44  for ver in  101 102 103 105  for ver in  101 102 103 105
# Line 144  echo " Line 146  echo "
146  [mariadb-$vers]" >  root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-05mariadb  [mariadb-$vers]" >  root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-05mariadb
147  echo "basedir=$basedir" >  root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-07basedir  echo "basedir=$basedir" >  root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-07basedir
148  echo "datadir=$datadir" > root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-08datadir  echo "datadir=$datadir" > root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-08datadir
149  cp -a root/etc/e-smith/templates/etc/my.cnf/009socket root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-09socket  #cp -a root/etc/e-smith/templates/etc/my.cnf/009socket root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-09socket
150  sed -i root$ver/etc/e-smith/templates/etc/my.cnf/$ver-09socket \  #sed -i root$ver/etc/e-smith/templates/etc/my.cnf/$ver-09socket \
151          -e "s_mariadb_{'mariadb${ver}\-mariadb'}_" \  #       -e "s_mariadb_{'mariadb${ver}\-mariadb'}_" \
152          -e "s_^socket.*_socket=${socket}_"  #       -e "s_^socket.*_socket=${socket}_"
153    cp rootscl/etc/e-smith/templates/etc/my.conf/_VER_-09socket root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-09socket
154    sed -i root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-09socket \
155            -e "s_!!!VER!!!_${ver}_g" \
156            -e "s_!!!PORT!!!_${port}_g"
157  cp rootscl/etc/e-smith/templates/etc/my.conf/_VER_-10port root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-10port  cp rootscl/etc/e-smith/templates/etc/my.conf/_VER_-10port root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-10port
158  sed -i root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-10port \  sed -i root$ver/etc/e-smith/templates/etc/my.cnf/${ver}-10port \
159          -e "s_!!!VER!!!_${ver}_g" \          -e "s_!!!VER!!!_${ver}_g" \
# Line 347  Koozali SME Server configuration package Line 353  Koozali SME Server configuration package
353    
354    
355  %changelog  %changelog
356    * Sun Dec 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-17.sme
357    - fix mariadb overriding skip-networking for other versions  [SME: 12262]
358    
359  * Mon Jul 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-16.sme  * Mon Jul 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-16.sme
360  - use dedicated log file for *mysql.init [SME: 11953]  - use dedicated log file for *mysql.init [SME: 11953]
361    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed