Changes

From SME Server
Jump to navigationJump to search
1,771 bytes added ,  22:33, 15 June 2016
Line 15: Line 15:     
smeserver-dar2 pour le panel  
 
smeserver-dar2 pour le panel  
 +
====cvs make a new source====
 +
 +
cd smecontribs/rpms/smeserver-rkhunter
 +
rm -rf contribs8
 +
cvs update -dPA
 +
-> test si branch a construire existe -> arret
 +
cp -R contribs8/ contribs9
 +
rm -rf contribs9/CVS/
 +
cvs add contribs9
 +
cd contribs9
 +
make prep
 +
mv smeserver-rkhunter-1.2.0 smeserver-rkhunter-1.4.0
 +
rm -rf *.patch
 +
tar cvzf smeserver-rkhunter-1.4.0.tar.gz smeserver-rkhunter-1.4.0
 +
#or tar -Jcvf  smeserver-rkhunter-1.4.0.tar.xz smeserver-rkhunter-1.4.0
 +
date +%s > import.log
 +
make new-sources FILES="smeserver-rkhunter-1.4.0.tar.gz"
 +
cvs add .cvsignore *.spec Makefile import.log sources
 +
 +
-> remove Patch and %patch
 +
 +
cvs commit -m '* Thu Aug 13 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.4.0-1.sme
 +
- First Import to contribs9'
 +
 +
====plague-client====
 +
http://buildsys.koozali.org/build/10/smeserver-core/x86_64/plague/0.4.5.8-2.el7.sme/noarch/plague-common-0.4.5.8-2.el7.sme.noarch.rpm
 +
http://buildsys.koozali.org/build/10/smeserver-core/x86_64/plague/0.4.5.8-2.el7.sme/noarch/plague-client-0.4.5.8-2.el7.sme.noarch.rpm
 +
 +
====SOGO3====
 +
db yum_repositories set sogo3 repository \
 +
    BaseURL http://inverse.ca/rhel-v3/6/\$basearch \
 +
    EnableGroups yes \
 +
    GPGCheck no \
 +
    Name "Inverse SOGo Repository" \
 +
    IncludePkgs gnustep-base,libmemcached,libwbxml,sogo*,sope49* \
 +
    Visible yes \
 +
    status disabled
 +
====Testspeed====
 +
http://speedof.me/
 +
 +
====Find upstream rpms patched by contribs.org====
 +
For the need of the distribution we ought to patch some upstream rpms, this is the list
 +
rpm -qa --qf "%{name} %{BuildHost}\n" | grep -P 'build64\-1|builder.koozali.org' | awk '{print $1}' | grep -vP '^smeserver|e\-smith' | sort
 +
 
====Mock configuration & scl build ====
 
====Mock configuration & scl build ====
 
http://people.centos.org/hughesjr/scl_examples/
 
http://people.centos.org/hughesjr/scl_examples/
 
http://grokbase.com/t/centos/centos/142tg0hrmw/how-to-build-scl-python-setuptools-from-src-rpm
 
http://grokbase.com/t/centos/centos/142tg0hrmw/how-to-build-scl-python-setuptools-from-src-rpm
 +
 
====remove the degraded raid====
 
====remove the degraded raid====
 
  mdadm --grow /dev/md0 --force --raid-devices=1
 
  mdadm --grow /dev/md0 --force --raid-devices=1
Line 281: Line 326:     
==== ROOT PWD ====
 
==== ROOT PWD ====
PWD=$(cat /etc/ldap.secret)###donne le mot de passe mysql root en argument
+
PWD=$(cat /etc/ldap.secret)###donne le mot de passe mysql root en argument
 +
or
 +
perl -Mesmith::util -e 'print esmith::util::LdapPassword();'
 +
or
 +
password = {esmith::util::LdapPassword();}
 +
 
 
==== CGMINER ====
 
==== CGMINER ====
 
  yum --enablerepo smecontribs install cgminer
 
  yum --enablerepo smecontribs install cgminer

Navigation menu