Changes

From SME Server
Jump to navigationJump to search
2,033 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 ====
 +
http://people.centos.org/hughesjr/scl_examples/
 +
http://grokbase.com/t/centos/centos/142tg0hrmw/how-to-build-scl-python-setuptools-from-src-rpm
 +
 +
====remove the degraded raid====
 +
mdadm --grow /dev/md0 --force --raid-devices=1
 +
 
====Using Simple "Wildcards" and "Repetitions"====
 
====Using Simple "Wildcards" and "Repetitions"====
 
Calling these "wildcards" may actually conflict with the theoretical grammar and syntax of Perl, but in fact is the most intuitive way to think of it, and will not lead to any coding mistakes.
 
Calling these "wildcards" may actually conflict with the theoretical grammar and syntax of Perl, but in fact is the most intuitive way to think of it, and will not lead to any coding mistakes.
Line 49: Line 100:  
  $string =~ m/^\S{1,8}\.\S{0,3}/;  # check for DOS 8.3 filename  
 
  $string =~ m/^\S{1,8}\.\S{0,3}/;  # check for DOS 8.3 filename  
 
                                   #  (note a few illegals can sneak thru)
 
                                   #  (note a few illegals can sneak thru)
  −
  −
      
====search about db in template====
 
====search about db in template====
Line 278: 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