Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 29: Line 29:  
* Users and password
 
* Users and password
 
  Root = xxxxxx
 
  Root = xxxxxx
  xyz = xxxxxxxx
+
  chris = xxxxxxxx
 
  IP = 192.168.xx.12
 
  IP = 192.168.xx.12
 
  Source Forge xxxxxxx
 
  Source Forge xxxxxxx
Line 39: Line 39:  
*Logon as root
 
*Logon as root
 
* Log to server over ssh from ubuntu workstation:
 
* Log to server over ssh from ubuntu workstation:
  xyz@canoxxx:~$ slogin -p 22 root\@192.168.xx.12
+
  chris@ubuntu-desktop:~$ slogin -p 22 root\@192.168.xx.12
 
  root@192.168.xx.12's password: xxxx
 
  root@192.168.xx.12's password: xxxx
 
  Last login: Tue Feb  5 17:22:42 2013 from pc-00001.burnat.xxx
 
  Last login: Tue Feb  5 17:22:42 2013 from pc-00001.burnat.xxx
   −
*Login as user xyz
+
*Login as user chris
  xyz@canoxxx:~$ slogin -p 22 xyz\@192.168.xx.12
+
  chris@ubuntu-desktop:~$ slogin -p 22 chris\@192.168.xx.12
  xyz@192.168.xxx.12's password: xxxx
+
  chris@192.168.xxx.12's password: xxxx
 
  Last login: Tue Mar  5 11:31:47 2013
 
  Last login: Tue Mar  5 11:31:47 2013
    
* Sudo
 
* Sudo
  [xyz@buildxxxx ~]$ sudo yum update
+
  [chris@build-system ~]$ sudo yum update
  [sudo] password for xyz: xxxx
+
  [sudo] password for chris: xxxx
 
  No Packages marked for Update
 
  No Packages marked for Update
    
* Changeroot Environments (cd /etc/mock/)<br />
 
* Changeroot Environments (cd /etc/mock/)<br />
  [xyz@buildxxxx ~]$ cd /etc/mock/
+
  [chris@build-system ~]$ cd /etc/mock/
 
  -rw-r--r--  1 root root 1751 Nov  2 07:59 logging.ini
 
  -rw-r--r--  1 root root 1751 Nov  2 07:59 logging.ini
 
  -rw-r--r--  1 root mock 6730 Jan 25 06:57 site-defaults.cfgHost  shell.contribs.org User  xxxxx
 
  -rw-r--r--  1 root mock 6730 Jan 25 06:57 site-defaults.cfgHost  shell.contribs.org User  xxxxx
Line 84: Line 84:     
* To be able to work on your code in the SME Server CVS repository you need an account on SourceForge.  If you do not have an account at CVS, retrieving is performed as an anonymous user and changes cannot be saved.   
 
* To be able to work on your code in the SME Server CVS repository you need an account on SourceForge.  If you do not have an account at CVS, retrieving is performed as an anonymous user and changes cannot be saved.   
slogin -p 22 xyz\@192.168.xx.12
+
slogin -p 22 chris\@192.168.xx.12
 
Note: If at a later stage you obtain a valid account with CVS, you will need to edit ALL packages /CVS/Root in order to save your work in CVS. As an example, for package "e-smith-backup", CVS/Root will need to be edited to be exactly as shown below:
 
Note: If at a later stage you obtain a valid account with CVS, you will need to edit ALL packages /CVS/Root in order to save your work in CVS. As an example, for package "e-smith-backup", CVS/Root will need to be edited to be exactly as shown below:
  [xyz@buildxxxx testsf]$ cat e-smith-backup/CVS/Root  
+
  [chris@build-system testsf]$ cat e-smith-backup/CVS/Root  
 
  :ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver
 
  :ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver
 
  [ok - CVS/Root uses 'ext' which should be SSH access]
 
  [ok - CVS/Root uses 'ext' which should be SSH access]
Line 101: Line 101:     
* Import cvs in your workspace
 
* Import cvs in your workspace
You can use /home/xyz/testsf or whatever suits.
+
You can use /home/chris/testsf or whatever suits.
  [xyz@buildxxxx ~]$ mkdir work
+
  [chris@build-system ~]$ mkdir work
  [xyz@buildxxxx ~]$ cd work/
+
  [chris@build-system ~]$ cd work/
  [xyz@buildxxxx testsf]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P e-smith-backup
+
  [chris@build-system testsf]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P e-smith-backup
    
* To refresh run the following from the rpms directory, or any lower directory with a CVS dir
 
* To refresh run the following from the rpms directory, or any lower directory with a CVS dir
  [xyz@buildxxxx ~] cd e-smith-backup/
+
  [chris@build-system ~] cd e-smith-backup/
  [xyz@buildxxxx e-smith-backup]$ cvs update -dPA  
+
  [chris@build-system e-smith-backup]$ cvs update -dPA  
    
* Change to work directory
 
* Change to work directory
  [xyz@buildxxxx e-smith-backup] cd sme9
+
  [chris@build-system e-smith-backup] cd sme9
    
* To prepare a tree
 
* To prepare a tree
  [xyz@buildxxxx sme9]$  cvs update -dPA   
+
  [chris@build-system sme9]$  cvs update -dPA   
  [xyz@buildxxxx sme9]$  make clean  [ignore errors about tar.xz:file missing]       
+
  [chris@build-system sme9]$  make clean  [ignore errors about tar.xz:file missing]       
  [xyz@buildxxxx sme9]$  make prep
+
  [chris@build-system sme9]$  make prep
    
* Make a patch
 
* Make a patch
Line 124: Line 124:  
  cp -R e-smith-backup-2.4.0 e-smith-backup-2.4.0.old
 
  cp -R e-smith-backup-2.4.0 e-smith-backup-2.4.0.old
   −
  [xyz@buildxxxx sme9]$ ls -la
+
  [chris@build-system sme9]$ ls -la
  drwxrwxr-x 2 xyz xyz 4096 Apr  2 14:07 CVS
+
  drwxrwxr-x 2 chris chris 4096 Apr  2 14:07 CVS
  -rw-rw-r-- 1 xyz xyz   28 Feb 14 02:42 .cvsignore
+
  -rw-rw-r-- 1 chris chris   28 Feb 14 02:42 .cvsignore
  drwxr-xr-x 3 xyz xyz 4096 Feb 14 02:24 e-smith-backup-2.4.0
+
  drwxr-xr-x 3 chris chris 4096 Feb 14 02:24 e-smith-backup-2.4.0
  drwxrwxr-x 2 xyz xyz 4096 Apr  1 17:12 e-smith-backup-2_4_0-4_el6_sme
+
  drwxrwxr-x 2 chris chris 4096 Apr  1 17:12 e-smith-backup-2_4_0-4_el6_sme
  -rw-rw-r-- 1 xyz xyz 93816 Apr  1 17:23 e-smith-backup-2.4.0-4.el6.sme.src.rpm
+
  -rw-rw-r-- 1 chris chris 93816 Apr  1 17:23 e-smith-backup-2.4.0-4.el6.sme.src.rpm
  -rw-rw-r-- 1 xyz xyz   902 Mar 21 15:30 e-smith-backup-2.4.0-CIFS_UNC_Path.patch
+
  -rw-rw-r-- 1 chris chris   902 Mar 21 15:30 e-smith-backup-2.4.0-CIFS_UNC_Path.patch
  -rw-rw-r-- 1 xyz xyz   730 Mar  1 17:21 e-smith-backup-2.4.0-df_ext4.patch
+
  -rw-rw-r-- 1 chris chris   730 Mar  1 17:21 e-smith-backup-2.4.0-df_ext4.patch
  -rw-rw-r-- 1 xyz xyz   663 Apr  1 16:38 e-smith-backup-2.4.0-migrate_to_UNC_syntax.patch
+
  -rw-rw-r-- 1 chris chris   663 Apr  1 16:38 e-smith-backup-2.4.0-migrate_to_UNC_syntax.patch
  -rw-rw-r-- 1 xyz xyz 38424 Feb 14 02:35 e-smith-backup-2.4.0.tar.xz
+
  -rw-rw-r-- 1 chris chris 38424 Feb 14 02:35 e-smith-backup-2.4.0.tar.xz
  -rw-r--r-- 1 xyz xyz 44999 Apr  2 14:07 e-smith-backup.spec
+
  -rw-r--r-- 1 chris chris 44999 Apr  2 14:07 e-smith-backup.spec
  -rw-rw-r-- 1 xyz xyz   90 Feb 14 02:42 import.log
+
  -rw-rw-r-- 1 chris chris   90 Feb 14 02:42 import.log
  -rw-rw-r-- 1 xyz xyz   836 Feb 14 02:42 Makefile
+
  -rw-rw-r-- 1 chris chris   836 Feb 14 02:42 Makefile
  -rw-rw-r-- 1 xyz xyz   62 Feb 14 02:42 sources
+
  -rw-rw-r-- 1 chris chris   62 Feb 14 02:42 sources
    
* Switch to the tree and make required modification:
 
* Switch to the tree and make required modification:
    
Create a patch using a sensible name, eg "e-smith-backup-2.4.0-migrate_to_UNC_syntax.patch":
 
Create a patch using a sensible name, eg "e-smith-backup-2.4.0-migrate_to_UNC_syntax.patch":
  [xyz@buildxxxx sme9]$ diff -urN e-smith-backup-2.4.0.old e-smith-backup-2.4.0 > e-smith-backup-2.4.0-migrate_to_UNC_syntax.patch
+
  [chris@build-system sme9]$ diff -urN e-smith-backup-2.4.0.old e-smith-backup-2.4.0 > e-smith-backup-2.4.0-migrate_to_UNC_syntax.patch
    
* Update the spec file
 
* Update the spec file
  [xyz@buildxxxx sme9]$ nano e-smith-backup.spec
+
  [chris@build-system sme9]$ nano e-smith-backup.spec
    
* increase the release version at the beginning of the spec file
 
* increase the release version at the beginning of the spec file
Line 155: Line 155:  
* update the changelog section, including the release version and bug number
 
* update the changelog section, including the release version and bug number
 
  %changelog
 
  %changelog
  * Mon Apr 1 2013 xyz burnat <devlist@burnat.com> 2.4.0-4.sme
+
  * Mon Apr 1 2013 chris burnat <devlist@burnat.com> 2.4.0-4.sme
 
  - NFS syntax is deprecated for CIFS mount [SME: 7525]
 
  - NFS syntax is deprecated for CIFS mount [SME: 7525]
   Line 162: Line 162:     
* Check changes against CVS
 
* Check changes against CVS
  [xyz@buildxxxx sme9]$ cvs diff -u e-smith-backup.spec
+
  [chris@build-system sme9]$ cvs diff -u e-smith-backup.spec
    
* Build the test RPM
 
* Build the test RPM
  [xyz@buildxxxx sme9]$ pwd
+
  [chris@build-system sme9]$ pwd
  /home/xyz/work/e-smith-backup/sme9
+
  /home/chris/work/e-smith-backup/sme9
 
   
 
   
  [xyz@buildxxxx sme9]$ make mockbuild
+
  [chris@build-system sme9]$ make mockbuild
    
* Check built packages:
 
* Check built packages:
  [xyz@buildxxxx sme9]$ ls -la e-smith-backup-2_4_0-4_el6_sme
+
  [chris@build-system sme9]$ ls -la e-smith-backup-2_4_0-4_el6_sme
       
* Send new package and patch to workstation for testing/processing:
 
* Send new package and patch to workstation for testing/processing:
  [xyz@buildxxxx sme9]$ scp -P 22 e-smith-backup-2.4.0-migrate_to_UNC_syntax.patch xyz\@192.168.xx.1:/home/xyz/WIP
+
  [chris@build-system sme9]$ scp -P 22 e-smith-backup-2.4.0-migrate_to_UNC_syntax.patch chris\@192.168.xx.1:/home/chris/WIP
  [xyz@buildxxxx e-smith-qmail-2_4_0-3_el6_sme]$ scp -P 22 e-smith-qmail-2.4.0-3.el6.sme.noarch.rpm xyz\@192.168.xx.1:/home/xyz/WIP
+
  [chris@build-system e-smith-qmail-2_4_0-3_el6_sme]$ scp -P 22 e-smith-qmail-2.4.0-3.el6.sme.noarch.rpm chris\@192.168.xx.1:/home/chris/WIP
       
* Add the patch file to cvs:
 
* Add the patch file to cvs:
  [xyz@buildxxxx sme9]$ cvs add e-smith-backup-2.4.0-migrate_to_UNC_syntax.patch  
+
  [chris@build-system sme9]$ cvs add e-smith-backup-2.4.0-migrate_to_UNC_syntax.patch  
 
  cvs add: scheduling file `e-smith-backup-2.4.0-migrate_to_UNC_syntax.patch' for addition
 
  cvs add: scheduling file `e-smith-backup-2.4.0-migrate_to_UNC_syntax.patch' for addition
 
  cvs add: use 'cvs commit' to add this file permanently
 
  cvs add: use 'cvs commit' to add this file permanently
Line 187: Line 187:     
* Finalise:
 
* Finalise:
  [xyz@buildxxxx sme9]$ make commit tag build
+
  [chris@build-system sme9]$ make commit tag build
    
Note: this can also be done in stages:
 
Note: this can also be done in stages:
Line 230: Line 230:     
====Example====
 
====Example====
  [xyz@buildxxxx ~]$ cd work/
+
  [chris@build-system ~]$ cd work/
   −
  [xyz@buildxxxx work]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P e-smith-radiusd
+
  [chris@build-system work]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P e-smith-radiusd
 
   
 
   
 
  cvs checkout: Updating e-smith-radiusd
 
  cvs checkout: Updating e-smith-radiusd
Line 268: Line 268:  
  U common/tobuild
 
  U common/tobuild
   −
  [xyz@buildxxxx sme9]$ cvs update -dPA
+
  [chris@build-system sme9]$ cvs update -dPA
 
  cvs update: Updating .
 
  cvs update: Updating .
   −
  [xyz@buildxxxx sme9]$ cat e-smith-radiusd.spec  
+
  [chris@build-system sme9]$ cat e-smith-radiusd.spec  
 
  # $Id: e-smith-radiusd.spec,v 1.10 2013/04/14 16:31:14 charliebrady Exp $
 
  # $Id: e-smith-radiusd.spec,v 1.10 2013/04/14 16:31:14 charliebrady Exp $
 
   
 
   
Line 312: Line 312:  
   
 
   
   −
  [xyz@buildxxxx sme9]$ make tag
+
  [chris@build-system sme9]$ make tag
 
  cvs tag  -c e-smith-radiusd-2_4_0-8_el6_sme
 
  cvs tag  -c e-smith-radiusd-2_4_0-8_el6_sme
 
  cvs tag: Tagging .
 
  cvs tag: Tagging .
Line 327: Line 327:  
  Tagged with: e-smith-radiusd-2_4_0-8_el6_sme
 
  Tagged with: e-smith-radiusd-2_4_0-8_el6_sme
   −
  [xyz@buildxxxx sme9]$ make build
+
  [chris@build-system sme9]$ make build
 
  /usr/bin/plague-client build e-smith-radiusd e-smith-radiusd-2_4_0-8_el6_sme sme9
 
  /usr/bin/plague-client build e-smith-radiusd e-smith-radiusd-2_4_0-8_el6_sme sme9
 
  Package e-smith-radiusd enqueued.  Job ID: 3026.
 
  Package e-smith-radiusd enqueued.  Job ID: 3026.
Line 345: Line 345:     
* Check package on BUILDSYS
 
* Check package on BUILDSYS
  xyz@canxxx:~$ ssh -l xxxxxx shell.contribs.org
+
  chris@canxxx:~$ ssh -l xxxxxx shell.contribs.org
 
  Last login: Wed Apr 10 16:10:50 2013 from mail.burnat.xxx
 
  Last login: Wed Apr 10 16:10:50 2013 from mail.burnat.xxx
   Line 378: Line 378:  
smeserver-qpsmtpd reads MaxMessageSize prop of spamassassin and adds it to the arguments of the plugin if defined.
 
smeserver-qpsmtpd reads MaxMessageSize prop of spamassassin and adds it to the arguments of the plugin if defined.
   −
  [xyz@buildxxxx work]$ pwd
+
  [chris@build-system work]$ pwd
  /home/xyz/work
+
  /home/chris/work
  [xyz@buildxxxx work]$ ls -la
+
  [chris@build-system work]$ ls -la
 
  total 16
 
  total 16
  drwxrwxr-x 4 xyz xyz 4096 Apr 23 13:15 .
+
  drwxrwxr-x 4 chris chris 4096 Apr 23 13:15 .
  drwx------ 8 xyz xyz 4096 Apr  3 17:01 ..
+
  drwx------ 8 chris chris 4096 Apr  3 17:01 ..
  drwxrwxr-x 7 xyz xyz 4096 Apr 23 13:15 qpsmtpd
+
  drwxrwxr-x 7 chris chris 4096 Apr 23 13:15 qpsmtpd
  drwxrwxr-x 7 xyz xyz 4096 Apr 23 13:15 smeserver-qpsmtpd
+
  drwxrwxr-x 7 chris chris 4096 Apr 23 13:15 smeserver-qpsmtpd
    
*Get package from CVS
 
*Get package from CVS
  [xyz@buildxxxx work]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P qpsmtpd
+
  [chris@build-system work]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P qpsmtpd
  [xyz@buildxxxx work]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P smeserver-qpsmtpd
+
  [chris@build-system work]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P smeserver-qpsmtpd
   −
  [xyz@buildxxxx work]$ ls
+
  [chris@build-system work]$ ls
 
  qpsmtpd  smeserver-qpsmtpd
 
  qpsmtpd  smeserver-qpsmtpd
    
* SAVE PATCHES ON WORKSTATION AND COPY TO LOCAL BUILD SERVER
 
* SAVE PATCHES ON WORKSTATION AND COPY TO LOCAL BUILD SERVER
  xyz@caxxxx:~/exchange$ ls -la
+
  chris@caxxxx:~/exchange$ ls -la
  -rw-rw-r--  1 xyz xyz 610 2013-04-23 13:29 qpsmtpd-0.84-spamassassin_size_limit.patch
+
  -rw-rw-r--  1 chris chris 610 2013-04-23 13:29 qpsmtpd-0.84-spamassassin_size_limit.patch
  -rw-rw-r--  1 xyz xyz 811 2013-04-23 13:30 smeserver-qpsmtpd-2.2.0-spamassassin_size_limit.patch
+
  -rw-rw-r--  1 chris chris 811 2013-04-23 13:30 smeserver-qpsmtpd-2.2.0-spamassassin_size_limit.patch
   −
  xyz@canoxxxx:~/exchange$ scp -P 22 qpsmtpd-0.84-spamassassin_size_limit.patch xyz\@192.168.0.12:/home/xyz/exchange
+
  chris@ubuntu-desktopx:~/exchange$ scp -P 22 qpsmtpd-0.84-spamassassin_size_limit.patch chris\@192.168.0.12:/home/chris/exchange
  xyz@canxxxx:~/exchange$ scp -P 22 smeserver-qpsmtpd-2.2.0-spamassassin_size_limit.patch xyz\@192.168.0.12:/home/xyz/exchange
+
  chris@canxxxx:~/exchange$ scp -P 22 smeserver-qpsmtpd-2.2.0-spamassassin_size_limit.patch chris\@192.168.0.12:/home/chris/exchange
    
* OR COPY PATCH FROM SOURCE (sme8)
 
* OR COPY PATCH FROM SOURCE (sme8)
  cp e-smith-proxy-5.2.0-squid_additionnal_SSLports.patch /home/xyz/work/e-smith-proxy/sme9/e-smith-proxy-5.4.0-squid_additionnal_SSLports.patch
+
  cp e-smith-proxy-5.2.0-squid_additionnal_SSLports.patch /home/chris/work/e-smith-proxy/sme9/e-smith-proxy-5.4.0-squid_additionnal_SSLports.patch
    
* Process qpsmtpd on local BUILD
 
* Process qpsmtpd on local BUILD
  [xyz@buildxxxx work]$ cd qpsmtpd/
+
  [chris@build-system work]$ cd qpsmtpd/
  [xyz@buildxxxx qpsmtpd]$ ls
+
  [chris@build-system qpsmtpd]$ ls
 
  common  CVS  sme7  sme8  sme9
 
  common  CVS  sme7  sme8  sme9
  [xyz@buildxxxx qpsmtpd]$ cvs update -dPA
+
  [chris@build-system qpsmtpd]$ cvs update -dPA
    
last patch:
 
last patch:
 
  0038-Patch-FATAL-PLUGIN-ERROR-check_basicheaders.patch
 
  0038-Patch-FATAL-PLUGIN-ERROR-check_basicheaders.patch
   −
  [xyz@buildxxxx sme8]$ pwd
+
  [chris@build-system sme8]$ pwd
  /home/xyz/work/qpsmtpd/sme8
+
  /home/chris/work/qpsmtpd/sme8
   −
  [xyz@buildxxxx sme8]$ pushd ~/exchange/
+
  [chris@build-system sme8]$ pushd ~/exchange/
 
  ~/exchange ~/work/qpsmtpd/sme8
 
  ~/exchange ~/work/qpsmtpd/sme8
  [xyz@buildxxxx exchange]$ ls
+
  [chris@build-system exchange]$ ls
 
  qpsmtpd-0.84-spamassassin_size_limit.patch
 
  qpsmtpd-0.84-spamassassin_size_limit.patch
 
  smeserver-qpsmtpd-2.2.0-spamassassin_size_limit.patch
 
  smeserver-qpsmtpd-2.2.0-spamassassin_size_limit.patch
   −
  [xyz@buildxxxx exchange]$ cp qpsmtpd-0.84-spamassassin_size_limit.patch /home/xyz/work/qpsmtpd/sme8/0039-qpsmtpd-0.84-spamassassin_size_limit.patch
+
  [chris@build-system exchange]$ cp qpsmtpd-0.84-spamassassin_size_limit.patch /home/chris/work/qpsmtpd/sme8/0039-qpsmtpd-0.84-spamassassin_size_limit.patch
  [xyz@buildxxxx exchange]$ popd
+
  [chris@build-system exchange]$ popd
 
  ~/work/qpsmtpd/sme8
 
  ~/work/qpsmtpd/sme8
   Line 431: Line 431:     
* Modify the spec file: update the release number, add a PatchXX line, add a changelog entry, add a %patch line
 
* Modify the spec file: update the release number, add a PatchXX line, add a changelog entry, add a %patch line
  [xyz@buildxxxx sme8]$ nano qpsmtpd.spec  
+
  [chris@build-system sme8]$ nano qpsmtpd.spec  
 
  Version: 0.84 [same]
 
  Version: 0.84 [same]
 
  Release: 4%{?dist}
 
  Release: 4%{?dist}
Line 439: Line 439:  
[Fixed in qpsmtpd]
 
[Fixed in qpsmtpd]
 
  %changelog
 
  %changelog
  * Tue Apr 23 2013 xyz burnat <devlist@burnat.com> 0.84-4.sme
+
  * Tue Apr 23 2013 chris burnat <devlist@burnat.com> 0.84-4.sme
 
  - qpsmtpd allows the spamassassin plugin to read the size limit
 
  - qpsmtpd allows the spamassassin plugin to read the size limit
 
   from its arguments, patch by Daniel [SME: 7541]
 
   from its arguments, patch by Daniel [SME: 7541]
Line 449: Line 449:     
* Check changes against CVS
 
* Check changes against CVS
  [xyz@buildxxxx sme8]$ cvs diff -u qpsmtpd.spec
+
  [chris@build-system sme8]$ cvs diff -u qpsmtpd.spec
 
  Index: qpsmtpd.spec
 
  Index: qpsmtpd.spec
 
  RCS file: /cvsroot/smeserver/rpms/qpsmtpd/sme8/qpsmtpd.spec,v
 
  RCS file: /cvsroot/smeserver/rpms/qpsmtpd/sme8/qpsmtpd.spec,v
Line 463: Line 463:  
  > %patch39 -p1
 
  > %patch39 -p1
 
  234a237,240
 
  234a237,240
  > * Tue Apr 23 2013 xyz burnat <devlist@burnat.com> 0.84-4.sme
+
  > * Tue Apr 23 2013 chris burnat <devlist@burnat.com> 0.84-4.sme
 
  > - qpsmtpd allows the spamassassin plugin to read the size limit  
 
  > - qpsmtpd allows the spamassassin plugin to read the size limit  
 
  >  from its arguments, patch by Daniel [SME: 7541
 
  >  from its arguments, patch by Daniel [SME: 7541
Line 469: Line 469:     
* Build locally:
 
* Build locally:
  [xyz@buildxxxx sme8]$ BUILDARCH=i386 make mockbuild
+
  [chris@build-system sme8]$ BUILDARCH=i386 make mockbuild
  INFO: Done(/home/xyz/work/qpsmtpd/sme8/qpsmtpd-0.84-4.el5.sme.src.rpm) Config(smeserver-8-i386-base) 2 minutes 52 seconds
+
  INFO: Done(/home/chris/work/qpsmtpd/sme8/qpsmtpd-0.84-4.el5.sme.src.rpm) Config(smeserver-8-i386-base) 2 minutes 52 seconds
  INFO: Results and/or logs in: /home/xyz/work/qpsmtpd/sme8/qpsmtpd-0_84-4_el5_sme
+
  INFO: Results and/or logs in: /home/chris/work/qpsmtpd/sme8/qpsmtpd-0_84-4_el5_sme
 
  INFO: Cleaning up build root ('clean_on_success=True')
 
  INFO: Cleaning up build root ('clean_on_success=True')
 
  Start: lock buildroot
 
  Start: lock buildroot
Line 481: Line 481:     
* Check packages
 
* Check packages
  [xyz@buildxxxx qpsmtpd-0_84-4_el5_sme]$ ls -lah
+
  [chris@build-system qpsmtpd-0_84-4_el5_sme]$ ls -lah
 
  total 1.2M
 
  total 1.2M
  drwxrwxr-x 2 xyz xyz 4.0K Apr 23 14:44 .
+
  drwxrwxr-x 2 chris chris 4.0K Apr 23 14:44 .
  drwxrwxr-x 4 xyz xyz 4.0K Apr 23 14:41 ..
+
  drwxrwxr-x 4 chris chris 4.0K Apr 23 14:41 ..
 
  -rw-rw-r-- 1 root  root  616K Apr 23 14:43 available_pkgs
 
  -rw-rw-r-- 1 root  root  616K Apr 23 14:43 available_pkgs
  -rw-rw-r-- 1 xyz xyz 27K Apr 23 14:44 build.log
+
  -rw-rw-r-- 1 chris chris 27K Apr 23 14:44 build.log
  -rw-rw-r-- 1 xyz mock  11K Apr 23 14:44 installed_pkgs
+
  -rw-rw-r-- 1 chris mock  11K Apr 23 14:44 installed_pkgs
  -rw-rw-r-- 1 xyz mock  187K Apr 23 14:44 qpsmtpd-0.84-4.el5.sme.noarch.rpm
+
  -rw-rw-r-- 1 chris mock  187K Apr 23 14:44 qpsmtpd-0.84-4.el5.sme.noarch.rpm
  -rw-rw-r-- 1 xyz mock  236K Apr 23 14:44 qpsmtpd-0.84-4.el5.sme.src.rpm
+
  -rw-rw-r-- 1 chris mock  236K Apr 23 14:44 qpsmtpd-0.84-4.el5.sme.src.rpm
  -rw-rw-r-- 1 xyz mock  16K Apr 23 14:44 qpsmtpd-apache-0.84-4.el5.sme.noarch.rpm
+
  -rw-rw-r-- 1 chris mock  16K Apr 23 14:44 qpsmtpd-apache-0.84-4.el5.sme.noarch.rpm
  -rw-rw-r-- 1 xyz mock  33K Apr 23 14:44 qpsmtpd-async-0.84-4.el5.sme.noarch.rpm
+
  -rw-rw-r-- 1 chris mock  33K Apr 23 14:44 qpsmtpd-async-0.84-4.el5.sme.noarch.rpm
  -rw-rw-r-- 1 xyz xyz 67K Apr 23 14:44 root.log
+
  -rw-rw-r-- 1 chris chris 67K Apr 23 14:44 root.log
  -rw-rw-r-- 1 xyz xyz 2.1K Apr 23 14:44 state.log
+
  -rw-rw-r-- 1 chris chris 2.1K Apr 23 14:44 state.log
    
* Copy new packages to local folder:
 
* Copy new packages to local folder:
Line 499: Line 499:     
* Send new package and patch to workstation for testing/processing:
 
* Send new package and patch to workstation for testing/processing:
  [xyz@buildxxxx exchange]$ scp -P 22 qpsmtpd-0.84-4.el5.sme.noarch.rpm xyz\@192.168.0.1:/home/xyz/WIP
+
  [chris@build-system exchange]$ scp -P 22 qpsmtpd-0.84-4.el5.sme.noarch.rpm chris\@192.168.0.1:/home/chris/WIP
  [xyz@buildxxxx exchange]$ scp -P 22 qpsmtpd-apache-0.84-4.el5.sme.noarch.rpm xyz\@192.168.0.1:/home/xyz/WIP
+
  [chris@build-system exchange]$ scp -P 22 qpsmtpd-apache-0.84-4.el5.sme.noarch.rpm chris\@192.168.0.1:/home/chris/WIP
  [xyz@buildxxxx exchange]$ scp -P 22 qpsmtpd-async-0.84-4.el5.sme.noarch.rpm xyz\@192.168.0.1:/home/xyz/WIP
+
  [chris@build-system exchange]$ scp -P 22 qpsmtpd-async-0.84-4.el5.sme.noarch.rpm chris\@192.168.0.1:/home/chris/WIP
    
* Move to workstation and copy packages to sme8 test-server (32 bits):
 
* Move to workstation and copy packages to sme8 test-server (32 bits):
Line 525: Line 525:  
  Subject: Re: Fwd: Updates available for test80
 
  Subject: Re: Fwd: Updates available for test80
 
  Date: Tue, 23 Apr 2013 15:21:57 +1000
 
  Date: Tue, 23 Apr 2013 15:21:57 +1000
  From: xyz burnat <cbxxxx@bxxxx.com>
+
  From: chris burnat <cbxxxx@bxxxx.com>
 
  Reply-To: cbxxxx@bxxxx.com
 
  Reply-To: cbxxxx@bxxxx.com
 
  To: root <admin@schxxxxx.com>
 
  To: root <admin@schxxxxx.com>
Line 547: Line 547:     
* OK, we can push this package.
 
* OK, we can push this package.
[cvs add XYZ.patch and then make commit tag build]
+
[cvs add chris.patch and then make commit tag build]
    
NOTE: Multiple patches:
 
NOTE: Multiple patches:
Ian Wells: yes you will need to 'cvs add XYZ.patch' for all the patches, you can actually do cvs add *.patch and it will work it out
+
Ian Wells: yes you will need to 'cvs add chris.patch' for all the patches, you can actually do cvs add *.patch and it will work it out
   −
  [xyz@buildxxxx sme8]$ cvs add 0039-qpsmtpd-0.84-spamassassin_size_limit.patch  
+
  [chris@build-system sme8]$ cvs add 0039-qpsmtpd-0.84-spamassassin_size_limit.patch  
 
  cvs add: scheduling file `0039-qpsmtpd-0.84-spamassassin_size_limit.patch' for addition
 
  cvs add: scheduling file `0039-qpsmtpd-0.84-spamassassin_size_limit.patch' for addition
 
  cvs add: use 'cvs commit' to add this file permanently
 
  cvs add: use 'cvs commit' to add this file permanently
   −
  [xyz@buildxxxx sme8]$ make commit tag build
+
  [chris@build-system sme8]$ make commit tag build
 
[snip]
 
[snip]
 
  /usr/bin/plague-client build qpsmtpd qpsmtpd-0_84-4_el5_sme sme8
 
  /usr/bin/plague-client build qpsmtpd qpsmtpd-0_84-4_el5_sme sme8
Line 600: Line 600:     
  [xxx@xxxx work]$ pwd
 
  [xxx@xxxx work]$ pwd
  /home/xyz/work
+
  /home/chris/work
   −
  [xyz@bui work]$ cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smeserver checkout -P e-smith-base
+
  [chris@bui work]$ cvs -z3 -d:pserver:anonymous@smeserver.cvs.sourceforge.net:/cvsroot/smeserver checkout -P e-smith-base
   −
  [xyz@buildxxx work]$ cd e-smith-base/sme8/
+
  [chris@buildxxx work]$ cd e-smith-base/sme8/
  [xyz@buildxxx sme8]$ cvs update -dPA
+
  [chris@buildxxx sme8]$ cvs update -dPA
   −
  [xyz@buildxxx sme8]$ make clean
+
  [chris@buildxxx sme8]$ make clean
  [xyz@buildxxx sme8]$ make prep
+
  [chris@buildxxx sme8]$ make prep
   −
  [xyz@buildxxx sme8]$ cp -R e-smith-base-5.2.0 e-smith-base-5.2.0.old
+
  [chris@buildxxx sme8]$ cp -R e-smith-base-5.2.0 e-smith-base-5.2.0.old
   −
  [xyz@buildxxx root]$ ll usr/lib/perl5/site_perl/esmith/console/
+
  [chris@buildxxx root]$ ll usr/lib/perl5/site_perl/esmith/console/
 
  total 104
 
  total 104
  -rw-r--r-- 1 xyz xyz 1761 Jan 27  2007 backup_running.pm
+
  -rw-r--r-- 1 chris chris 1761 Jan 27  2007 backup_running.pm
  -rw-r--r-- 1 xyz xyz 65997 Feb  6 08:08 configure.pm
+
  -rw-r--r-- 1 chris chris 65997 Feb  6 08:08 configure.pm
  -rw-r--r-- 1 xyz xyz
+
  -rw-r--r-- 1 chris chris
    
  #use esmith::console;
 
  #use esmith::console;
 
  6682 Feb  6 08:08 perform_backup.pm
 
  6682 Feb  6 08:08 perform_backup.pm
  -rw-r--r-- 1 xyz xyz 4133 Feb  6 08:08 perform_restore.pm
+
  -rw-r--r-- 1 chris chris 4133 Feb  6 08:08 perform_restore.pm
  -rw-r--r-- 1 xyz xyz 1037 Mar 27  2008 quitConsole.pm
+
  -rw-r--r-- 1 chris chris 1037 Mar 27  2008 quitConsole.pm
  -rw-r--r-- 1 xyz xyz   862 Mar 27  2008 save_config.pm
+
  -rw-r--r-- 1 chris chris   862 Mar 27  2008 save_config.pm
  -rw-r--r-- 1 xyz xyz 4867 Aug 21  2008 system_password.pm
+
  -rw-r--r-- 1 chris chris 4867 Aug 21  2008 system_password.pm
   −
  [xyz@buildxxx root]$ nano usr/lib/perl5/site_perl/esmith/console/perform_restore.pm
+
  [chris@buildxxx root]$ nano usr/lib/perl5/site_perl/esmith/console/perform_restore.pm
    
* Original
 
* Original
Line 646: Line 646:  
  #use esmith::console;
 
  #use esmith::console;
   −
  [xyz@buildxxx sme8]$ diff -urN e-smith-base-5.2.0.old e-smith-base-5.2.0 > e-smith-base-5.2.0-fire_post-upgrade_after_restore_process.patch
+
  [chris@buildxxx sme8]$ diff -urN e-smith-base-5.2.0.old e-smith-base-5.2.0 > e-smith-base-5.2.0-fire_post-upgrade_after_restore_process.patch
   −
  [xyz@buildxxx sme8]$ cat e-smith-base-5.2.0-fire_post-upgrade_after_restore_process.patch
+
  [chris@buildxxx sme8]$ cat e-smith-base-5.2.0-fire_post-upgrade_after_restore_process.patch
 
  diff -urN e-smith-base-5.2.0.old/root/usr/lib/perl5/site_perl/esmith/console/perform_restore.pm e-smith-base-5.2.0/root/usr/lib/perl5/site_perl/esmith/console/perform_restore.pm
 
  diff -urN e-smith-base-5.2.0.old/root/usr/lib/perl5/site_perl/esmith/console/perform_restore.pm e-smith-base-5.2.0/root/usr/lib/perl5/site_perl/esmith/console/perform_restore.pm
 
  --- e-smith-base-5.2.0.old/root/usr/lib/perl5/site_perl/esmith/console/perform_restore.pm 2013-02-06 08:11:54.926469195 +1100
 
  --- e-smith-base-5.2.0.old/root/usr/lib/perl5/site_perl/esmith/console/perform_restore.pm 2013-02-06 08:11:54.926469195 +1100
Line 661: Line 661:  
  #use esmith::console;
 
  #use esmith::console;
   −
  [xyz@buildxxx sme8]$ nano e-smith-base.spec  
+
  [chris@buildxxx sme8]$ nano e-smith-base.spec  
   −
  [xyz@buildxxx sme8]$ cvs diff e-smith-base.spec
+
  [chris@buildxxx sme8]$ cvs diff e-smith-base.spec
 
  Index: e-smith-base.spec
 
  Index: e-smith-base.spec
 
  ===================================================================
 
  ===================================================================
Line 682: Line 682:  
  > %patch55 -p1
 
  > %patch55 -p1
   −
  [xyz@buildxxx sme8]$ make mockbuild             
+
  [chris@buildxxx sme8]$ make mockbuild             
   −
  [xyz@buildxxx sme8]$ ll e-smith-base-5_2_0-71_el5_sme
+
  [chris@buildxxx sme8]$ ll e-smith-base-5_2_0-71_el5_sme
 
  total 852
 
  total 852
  -rw-rw-r-- 1 xyz xyz 124407 Feb  6 09:01 build.log
+
  -rw-rw-r-- 1 chris chris 124407 Feb  6 09:01 build.log
  -rw-rw-r-- 1 xyz mock  287857 Feb  6 09:01 e-smith-base-5.2.0-71.el5.sme.src.rpm
+
  -rw-rw-r-- 1 chris mock  287857 Feb  6 09:01 e-smith-base-5.2.0-71.el5.sme.src.rpm
  -rw-rw-r-- 1 xyz mock  366908 Feb  6 09:01 e-smith-base-5.2.0-71.el5.sme.x86_64.rpm
+
  -rw-rw-r-- 1 chris mock  366908 Feb  6 09:01 e-smith-base-5.2.0-71.el5.sme.x86_64.rpm
  -rw-rw-r-- 1 xyz mock  52836 Feb  6 09:01 e-smith-base-debuginfo-5.2.0-71.el5.sme.x86_64.rpm
+
  -rw-rw-r-- 1 chris mock  52836 Feb  6 09:01 e-smith-base-debuginfo-5.2.0-71.el5.sme.x86_64.rpm
  -rw-rw-r-- 1 xyz xyz 25819 Feb  6 09:01 root.log
+
  -rw-rw-r-- 1 chris chris 25819 Feb  6 09:01 root.log
  -rw-rw-r-- 1 xyz xyz   1384 Feb  6 09:01 state.log
+
  -rw-rw-r-- 1 chris chris   1384 Feb  6 09:01 state.log
    
Now we commit modifications
 
Now we commit modifications
   −
  [xyz@buildxxx sme8]$ cvs update
+
  [chris@buildxxx sme8]$ cvs update
 
  ? e-smith-base-5.2.0
 
  ? e-smith-base-5.2.0
 
  ? e-smith-base-5.2.0-71.el5.sme.src.rpm
 
  ? e-smith-base-5.2.0-71.el5.sme.src.rpm
Line 703: Line 703:  
  M e-smith-base.spec
 
  M e-smith-base.spec
   −
  [xyz@buildxxx sme8]$ cvs commit -m 'Bug 7060 - Post-upgrades not fired after restore from console'
+
  [chris@buildxxx sme8]$ cvs commit -m 'Bug 7060 - Post-upgrades not fired after restore from console'
 
  cvs commit: Examining .
 
  cvs commit: Examining .
 
  ? e-smith-base-5_2_0-71_el5_sme
 
  ? e-smith-base-5_2_0-71_el5_sme
Line 727: Line 727:  
   
 
   
 
EXAMPLE:
 
EXAMPLE:
  * Thu Apr 25 2013 xyz burnat <devlist@burnat.com> 0.84.5.sme
+
  * Thu Apr 25 2013 chris burnat <devlist@burnat.com> 0.84.5.sme
 
  - Fix Net::DNS update breaks qpsmtpd, codes suggested by Ian [SME: 7557]
 
  - Fix Net::DNS update breaks qpsmtpd, codes suggested by Ian [SME: 7557]
    
Should be:
 
Should be:
  * Thu Apr 25 2013 xyz burnat <devlist@burnat.com> 0.84.5.sme
+
  * Thu Apr 25 2013 chris burnat <devlist@burnat.com> 0.84.5.sme
 
  - Fix Net::DNS update breaks qpsmtpd, codes suggested by Ian [SME: 7194]
 
  - Fix Net::DNS update breaks qpsmtpd, codes suggested by Ian [SME: 7194]
   −
  [xyz@buildxxxx work]$ pwd
+
  [chris@build-system work]$ pwd
  /home/xyz/work
+
  /home/chris/work
   −
  [xyz@buildxxxx work]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P qpsmtpd
+
  [chris@build-system work]$ cvs -z3 -d:ext:smeserver.cvs.sourceforge.net:/cvsroot/smeserver co -P qpsmtpd
    
* Update
 
* Update
  [xyz@buildxxxx work]$ cd qpsmtpd/
+
  [chris@build-system work]$ cd qpsmtpd/
  [xyz@buildxxxx qpsmtpd]$ ls
+
  [chris@build-system qpsmtpd]$ ls
 
  common  CVS  sme7  sme8  sme9
 
  common  CVS  sme7  sme8  sme9
  [xyz@buildxxxx qpsmtpd]$ cvs update -dPA
+
  [chris@build-system qpsmtpd]$ cvs update -dPA
 
  cvs update: Updating .
 
  cvs update: Updating .
 
  cvs update: Updating common
 
  cvs update: Updating common
Line 751: Line 751:     
* Update spec file
 
* Update spec file
  [xyz@buildxxxx sme8]$ nano qpsmtpd.spec  
+
  [chris@build-system sme8]$ nano qpsmtpd.spec  
 
  %changelog
 
  %changelog
  * Thu Apr 25 2013 xyz burnat <devlist@burnat.com> 0.84.5.sme
+
  * Thu Apr 25 2013 chris burnat <devlist@burnat.com> 0.84.5.sme
 
  - Fix Net::DNS update breaks qpsmtpd, codes suggested by Ian [SME: 7194]
 
  - Fix Net::DNS update breaks qpsmtpd, codes suggested by Ian [SME: 7194]
    
* Check changes against CVS
 
* Check changes against CVS
  [xyz@buildxxxx sme8]$ cvs diff -u qpsmtpd.spec
+
  [chris@build-system sme8]$ cvs diff -u qpsmtpd.spec
 
  Index: qpsmtpd.spec
 
  Index: qpsmtpd.spec
 
   
 
   
Line 769: Line 769:     
* Commit
 
* Commit
  [xyz@buildxxxx sme8]$ cvs commit -m 'correct Bug Reference'
+
  [chris@build-system sme8]$ cvs commit -m 'correct Bug Reference'
 
  cvs commit: Examining .
 
  cvs commit: Examining .
 
  Checking in qpsmtpd.spec;
 
  Checking in qpsmtpd.spec;
Line 806: Line 806:  
   
 
   
 
  %changelog
 
  %changelog
  * Thu Apr 25 2013 xyz burnat <devlist@burnat.com> 0.84.5.sme
+
  * Thu Apr 25 2013 chris burnat <devlist@burnat.com> 0.84.5.sme
 
  -- Fix Net::DNS update breaks qpsmtpd, codes suggested by Ian [SME: 7557]
 
  -- Fix Net::DNS update breaks qpsmtpd, codes suggested by Ian [SME: 7557]
 
  +- Fix Net::DNS update breaks qpsmtpd, codes suggested by Ian [SME: 7194]
 
  +- Fix Net::DNS update breaks qpsmtpd, codes suggested by Ian [SME: 7194]
 
   
 
   
  * Tue Apr 23 2013 xyz burnat <devlist@burnat.com> 0.84-4.sme
+
  * Tue Apr 23 2013 chris burnat <devlist@burnat.com> 0.84-4.sme
 
  - qpsmtpd allows the spamassassin plugin to read the size limit
 
  - qpsmtpd allows the spamassassin plugin to read the size limit
   Line 924: Line 924:     
* SEND TO UBUNTU W/S:
 
* SEND TO UBUNTU W/S:
  [xyz@buildxxxx sme8]$ scp -P 22 smeserver-yum-2.2.0-21.el5.sme.src.rpm xyz\@192.168.xxx.1:/home/xyz/WIP
+
  [chris@build-system sme8]$ scp -P 22 smeserver-yum-2.2.0-21.el5.sme.src.rpm chris\@192.168.xxx.1:/home/chris/WIP
 
  The authenticity of host '192.168.xxx.1 (192.168.xxx.1)' can't be established.
 
  The authenticity of host '192.168.xxx.1 (192.168.xxx.1)' can't be established.
 
  RSA key fingerprint is 63:41:79:2b:1f:1f:37:db:80:0d:6e:4d:9b:4a:86:96.
 
  RSA key fingerprint is 63:41:79:2b:1f:1f:37:db:80:0d:6e:4d:9b:4a:86:96.
 
  Are you sure you want to continue connecting (yes/no)? yes
 
  Are you sure you want to continue connecting (yes/no)? yes
 
  Warning: Permanently added '192.168.xxx.1' (RSA) to the list of known hosts.
 
  Warning: Permanently added '192.168.xxx.1' (RSA) to the list of known hosts.
  xyz@192.168.xxx.1's password:  
+
  chris@192.168.xxx.1's password:  
 
  smeserver-yum-2.2.0-21.el5.sme.src.rpm                                                                                      100%  85KB  84.7KB/s  00:00     
 
  smeserver-yum-2.2.0-21.el5.sme.src.rpm                                                                                      100%  85KB  84.7KB/s  00:00     
    
* GET FROM UBUNTU W/S
 
* GET FROM UBUNTU W/S
  xyz@canxxxx:~/exchange$ scp -P 22 smeserver-yum-2.2.0-21.el5.sme.src.rpm xyz\@192.168.xxx.12:/home/xyz/exchange
+
  chris@canxxxx:~/exchange$ scp -P 22 smeserver-yum-2.2.0-21.el5.sme.src.rpm chris\@192.168.xxx.12:/home/chris/exchange
  xyz@192.168.xxx.12's password:  
+
  chris@192.168.xxx.12's password:  
 
  smeserver-yum-2.2.0-21.el5.sme.src.rpm                                                                                      100%  85KB  84.7KB/s  00:00     
 
  smeserver-yum-2.2.0-21.el5.sme.src.rpm                                                                                      100%  85KB  84.7KB/s  00:00     
   Line 960: Line 960:  
=====Perform a Build for sme9 64 bits from an SRPM=====
 
=====Perform a Build for sme9 64 bits from an SRPM=====
 
* Retrieve SRPM from repos:
 
* Retrieve SRPM from repos:
  [xyz@buildxxxx SRPMS]$ wget http://mirror.canada.pialasse.com/releases/testing/9.0alpha3/smetest/SRPMS/perl-CGI-FormMagick-0.93-2.el6.sme.src.rpm
+
  [chris@build-system SRPMS]$ wget http://mirror.canada.pialasse.com/releases/testing/9.0alpha3/smetest/SRPMS/perl-CGI-FormMagick-0.93-2.el6.sme.src.rpm
    
* Select chroot environment:
 
* Select chroot environment:
  [xyz@buildxxxx SRPMS]$ CONFIG=smeserver-9-x86_64-base
+
  [chris@build-system SRPMS]$ CONFIG=smeserver-9-x86_64-base
 
      
 
      
 
* Build package:
 
* Build package:
  [xyz@buildxxxx SRPMS]$ mock -r $CONFIG --rebuild ~/rpmbuild/SRPMS/perl-CGI-FormMagick-0.93-2.el6.sme.src.rpm  
+
  [chris@build-system SRPMS]$ mock -r $CONFIG --rebuild ~/rpmbuild/SRPMS/perl-CGI-FormMagick-0.93-2.el6.sme.src.rpm  
    
* Check output:
 
* Check output:
  [xyz@buildxxxx SRPMS]$ ll /var/lib/mock/smeserver-9-x86_64/result
+
  [chris@build-system SRPMS]$ ll /var/lib/mock/smeserver-9-x86_64/result
 
  total 248
 
  total 248
  -rw-rw-r-- 1 xyz mock  14924 Apr  1 08:50 build.log
+
  -rw-rw-r-- 1 chris mock  14924 Apr  1 08:50 build.log
  -rw-rw-r-- 1 xyz mock 113480 Apr  1 08:50 perl-CGI-FormMagick-0.93-2.el6.sme.noarch.rpm
+
  -rw-rw-r-- 1 chris mock 113480 Apr  1 08:50 perl-CGI-FormMagick-0.93-2.el6.sme.noarch.rpm
  -rw-rw-r-- 1 xyz mock  90524 Apr  1 08:50 perl-CGI-FormMagick-0.93-2.el6.sme.src.rpm
+
  -rw-rw-r-- 1 chris mock  90524 Apr  1 08:50 perl-CGI-FormMagick-0.93-2.el6.sme.src.rpm
  -rw-rw-r-- 1 xyz mock  23316 Apr  1 08:50 root.log
+
  -rw-rw-r-- 1 chris mock  23316 Apr  1 08:50 root.log
  -rw-rw-r-- 1 xyz mock  1224 Apr  1 08:50 state.log
+
  -rw-rw-r-- 1 chris mock  1224 Apr  1 08:50 state.log
    
=====Perform a Build for sme9 32 bits from an SRPM=====
 
=====Perform a Build for sme9 32 bits from an SRPM=====
  [xyz@buildxxxx SRPMS]$ CONFIG=smeserver-9-i386-base
+
  [chris@build-system SRPMS]$ CONFIG=smeserver-9-i386-base
    
=====Perform a Build for sme8 64 bits from an SRPM=====
 
=====Perform a Build for sme8 64 bits from an SRPM=====
  [xyz@buildxxxx SRPMS]$ wget http://mirror.canada.pialasse.com/releases/8.0/smeupdates-testing/SRPMS/perl-CGI-FormMagick-0.92-23.el5.sme.src.rpm  
+
  [chris@build-system SRPMS]$ wget http://mirror.canada.pialasse.com/releases/8.0/smeupdates-testing/SRPMS/perl-CGI-FormMagick-0.92-23.el5.sme.src.rpm  
  [xyz@buildxxxx SRPMS]$ CONFIG=smeserver-8-x86_64-base
+
  [chris@build-system SRPMS]$ CONFIG=smeserver-8-x86_64-base
    
=====Perform a Build for sme8 32 bits from an SRPM=====
 
=====Perform a Build for sme8 32 bits from an SRPM=====
  [xyz@buildxxxx SRPMS]$ CONFIG=smeserver-8-i386-base
+
  [chris@build-system SRPMS]$ CONFIG=smeserver-8-i386-base
    
* If the build succeeds, it drops your packages into the /var/lib/mock/$CONFIG/result directory.  
 
* If the build succeeds, it drops your packages into the /var/lib/mock/$CONFIG/result directory.  

Navigation menu