Re: [SOGo] Contrib ?

2011-03-07 Thread Fabrice Durand
Hi,

i need somes beta tester for testing opensuse-11.3 rpm packages.

I build i586 and x86_64 on a Opensuse-11.3 x86_64 arch with mach.

So for test it, you need to install the SOGo.repo , base.repo and
Education.repo in your /etc/yum/repos.d/ and launch yum install sogo (follow
the official doc).

Don't forget to modify the file /etc/sysconfig/apache2 and in the line
APACHE_MODULES add the « proxy proxy_ajp proxy_balancer proxy_connect
proxy_ftp proxy_http rewrite headers »

For users who want to test the build of rpm:

You need to install mach  (http://thomas.apestaart.org/projects/mach/) ,
modify the mach-helper.c (line 264 : do_command ("/usr/bin/chroot",
&(argv[1])); ) , put location file in the /etc/mach , put suse-11.3... files
in /etc/mach/dist.d and in the $HOME of the user who's compiling put the
file .machrc (the user have to be in the mach group).

You need to download the src.rpm files :
http://sd-26224.dedibox.fr/sogo/opensuse/11.3/SRPMS/ (important: use this
files for opensuse !)

So for x86-64, modify the .machrc with suse-11.3-x86_64.
Launch:
mach -d -f setup build
mach -d rebuild libmemcached-0.30-1.src.rpm
mach -d rebuild sope49-4.9-20110127_1664.suse_11.3.1.src.rpm
mach -d rebuild sogo-1.3.5a-1.src.rpm

the result will be in the /var/tmp/mach/...

For i586,  modify the .machrc with suse-11.3-i585
setarch i586 mach -d -f setup build
setarch i586 mach -d rebuild libmemcached-0.30-1.src.rpm
setarch i586 mach -d rebuild sope49-4.9-20110127_1664.suse_11.3.1.src.rpm
setarch i586 mach -d rebuild sogo-1.3.5a-1.src.rpm


Thank you for your feed back

Regards
Fabrice Durand


2011/3/1 Fabrice Durand 

> Hi,
> just to say that it's on the way.
> I had to install an opensuse 11.3 x86_64 because on centos 5.5 i have this
> following error : rpmlib(PayloadIsLzma) is needed by ... (rpm compatibility
> problem)
> So on opensuse (xen virtual machine) i had to patch mach (path of the
> chroot command are wrong).
> The result is that i just successfully build sope, but now it's time to
> sleep (Tomorrow i try to build sogo).
>
> The mach config file:
>
> # -*- coding: utf-8 -*-
>
> # suse-11.3-x86_64: configuration for SuSE 11.3
>
> # each distro flavour has an aptsources line describing where to get each
> # kind of package from
> # each actual dist has a packages dict for bootstrap packages and
> # a sourceslist dict referencing aptsources lines to use
>
> V = '11.3' # distro version
> A = 'x86_64'   # architecture
> AS = ''  # 'short' version of arch
> DIST = 'suse-%s-%s' % (V, A)
>
>
> yumsources[DIST] = {
>   'base':   opensuse   + '/distribution/%s/repo/oss/suse'   %
> (V),
>   'update':   opensuse   + '/update/%s'   % (V),
>   'Education':opensuse   + '/repositories/Education/openSUSE_11.3/',
> }
>
> ### SuSE Linux 11.3 flavours
> aptsources['suse-11.3-x86_64'] = {
> 'base':  'rpm ' + suse + ' SuSE/11.3-x86_64 base',
> 'security':  'rpm ' + suse + ' SuSE/11.3-x86_64 security',
> 'update':'rpm ' + suse + ' SuSE/11.3-x86_64 update',
> }
>
> # SuSE Linux 11.3
> packages['suse-11.3-x86_64'] = {
> 'dir':  'suse-11.3-x86_64',
> 'minimal':  'bash glibc',
> 'base': 'aaa_base coreutils findutils openssh pam pam-modules',
> 'build':'make gcc tar gzip patch unzip cpio rpm',
> }
> sourceslist['suse-11.3-x86_64'] = {
> 'suse-11.3-x86_64': ('base','update','Education', )
> }
> config['suse-11.3-x86_64'] = {
>   'excludearch': 'i386 i486 i586 i686 athlon',
>   'macros': {},
> }
>
> aliases['suse-11.3-x86_64'] = ('suse11x86_64', 'suse113x86_64', )
>
> # SuSE Linux 11.3, updates
> packages['suse-11.3-x86_64-updates'] = packages['suse-11.3-x86_64']
> sourceslist['suse-11.3-x86_64-updates'] = {
> 'suse-11.3-x86_64': ('base', 'update', 'security', )
> }
> config['suse-11.3-x86_64-updates'] = config['suse-11.3-x86_64']
> aliases['suse-11.3-x86_64-updates'] = ('suse11x86_64u', 'suse113x86_64u', )
>
> # OpenSuse with Education
> packages['%s-Education' % DIST] = packages['%s-updates' % DIST]
> sourceslist['%s-Education' % DIST] = {
>   DIST: sourceslist['%s-updates' % DIST][DIST] + ('Education', )
> }
> config['%s-Education' % DIST] = config['%s-updates' % DIST]
>
>
>
> Regards
> Fabrice Durand
>
>
> 2011/2/24 Fabrice Durand 
>
> Ok thank you, i 'll make a mach configuration script and I would return to
>> you a bit later.
>>
>> I never had the opportunity to congratulate you but you are doing a very
>> good job with sogo. [?]
>>
>> Regards
>> Fabrice Durand
>>
>> 2011/2/24 Ludovic Marcotte 
>>
>> On 11-02-24 5:22 AM, Fabrice Durand wrote:
>>>
 is it possible to add a contrib subdirectory in the official (
 http://www.sogo.nu/files/downloads/SOGo/) where to put opensuse and
 fedora src.rpm and rpm ?
 They are actually located on my blog , but it would be easier if he was
 on the official depo.

>>> I would much prefer having a mach-based chroot (
>>> http://thomas.apestaart.org/projects/mac

Re: [SOGo] Contrib ?

2011-03-01 Thread Fabrice Durand
Hi,
just to say that it's on the way.
I had to install an opensuse 11.3 x86_64 because on centos 5.5 i have this
following error : rpmlib(PayloadIsLzma) is needed by ... (rpm compatibility
problem)
So on opensuse (xen virtual machine) i had to patch mach (path of the chroot
command are wrong).
The result is that i just successfully build sope, but now it's time to
sleep (Tomorrow i try to build sogo).

The mach config file:

# -*- coding: utf-8 -*-

# suse-11.3-x86_64: configuration for SuSE 11.3

# each distro flavour has an aptsources line describing where to get each
# kind of package from
# each actual dist has a packages dict for bootstrap packages and
# a sourceslist dict referencing aptsources lines to use

V = '11.3' # distro version
A = 'x86_64'   # architecture
AS = ''  # 'short' version of arch
DIST = 'suse-%s-%s' % (V, A)


yumsources[DIST] = {
  'base':   opensuse   + '/distribution/%s/repo/oss/suse'   %
(V),
  'update':   opensuse   + '/update/%s'   % (V),
  'Education':opensuse   + '/repositories/Education/openSUSE_11.3/',
}

### SuSE Linux 11.3 flavours
aptsources['suse-11.3-x86_64'] = {
'base':  'rpm ' + suse + ' SuSE/11.3-x86_64 base',
'security':  'rpm ' + suse + ' SuSE/11.3-x86_64 security',
'update':'rpm ' + suse + ' SuSE/11.3-x86_64 update',
}

# SuSE Linux 11.3
packages['suse-11.3-x86_64'] = {
'dir':  'suse-11.3-x86_64',
'minimal':  'bash glibc',
'base': 'aaa_base coreutils findutils openssh pam pam-modules',
'build':'make gcc tar gzip patch unzip cpio rpm',
}
sourceslist['suse-11.3-x86_64'] = {
'suse-11.3-x86_64': ('base','update','Education', )
}
config['suse-11.3-x86_64'] = {
  'excludearch': 'i386 i486 i586 i686 athlon',
  'macros': {},
}

aliases['suse-11.3-x86_64'] = ('suse11x86_64', 'suse113x86_64', )

# SuSE Linux 11.3, updates
packages['suse-11.3-x86_64-updates'] = packages['suse-11.3-x86_64']
sourceslist['suse-11.3-x86_64-updates'] = {
'suse-11.3-x86_64': ('base', 'update', 'security', )
}
config['suse-11.3-x86_64-updates'] = config['suse-11.3-x86_64']
aliases['suse-11.3-x86_64-updates'] = ('suse11x86_64u', 'suse113x86_64u', )

# OpenSuse with Education
packages['%s-Education' % DIST] = packages['%s-updates' % DIST]
sourceslist['%s-Education' % DIST] = {
  DIST: sourceslist['%s-updates' % DIST][DIST] + ('Education', )
}
config['%s-Education' % DIST] = config['%s-updates' % DIST]



Regards
Fabrice Durand


2011/2/24 Fabrice Durand 

> Ok thank you, i 'll make a mach configuration script and I would return to
> you a bit later.
>
> I never had the opportunity to congratulate you but you are doing a very
> good job with sogo. [?]
>
> Regards
> Fabrice Durand
>
> 2011/2/24 Ludovic Marcotte 
>
> On 11-02-24 5:22 AM, Fabrice Durand wrote:
>>
>>> is it possible to add a contrib subdirectory in the official (
>>> http://www.sogo.nu/files/downloads/SOGo/) where to put opensuse and
>>> fedora src.rpm and rpm ?
>>> They are actually located on my blog , but it would be easier if he was
>>> on the official depo.
>>>
>> I would much prefer having a mach-based chroot (
>> http://thomas.apestaart.org/projects/mach/) for OpenSUSE. That's how the
>> packages are build for CentOS/Debian/RHEL/Ubuntu.
>>
>> If you want, provide us a mach configuration script for OpenSUSE and we'll
>> bootstrap the chroot and start producing RPMs for it.
>>
>> Regards,
>>
>> --
>> Ludovic Marcotte
>> lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
>> Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
>> www.packetfence.org)
>>
>> --
>> users@sogo.nu
>> https://inverse.ca/sogo/lists
>>
>
>
<<330.gif>>

Re: [SOGo] Contrib ?

2011-02-24 Thread Fabrice Durand
Ok thank you, i 'll make a mach configuration script and I would return to
you a bit later.

I never had the opportunity to congratulate you but you are doing a very
good job with sogo. [?]

Regards
Fabrice Durand

2011/2/24 Ludovic Marcotte 

> On 11-02-24 5:22 AM, Fabrice Durand wrote:
>
>> is it possible to add a contrib subdirectory in the official (
>> http://www.sogo.nu/files/downloads/SOGo/) where to put opensuse and
>> fedora src.rpm and rpm ?
>> They are actually located on my blog , but it would be easier if he was on
>> the official depo.
>>
> I would much prefer having a mach-based chroot (
> http://thomas.apestaart.org/projects/mach/) for OpenSUSE. That's how the
> packages are build for CentOS/Debian/RHEL/Ubuntu.
>
> If you want, provide us a mach configuration script for OpenSUSE and we'll
> bootstrap the chroot and start producing RPMs for it.
>
> Regards,
>
> --
> Ludovic Marcotte
> lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
> www.packetfence.org)
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
<<330.gif>>

Re: [SOGo] Contrib ?

2011-02-24 Thread Ludovic Marcotte

On 11-02-24 5:22 AM, Fabrice Durand wrote:
is it possible to add a contrib subdirectory in the official 
(http://www.sogo.nu/files/downloads/SOGo/) where to put opensuse and 
fedora src.rpm and rpm ?
They are actually located on my blog , but it would be easier if he 
was on the official depo.
I would much prefer having a mach-based chroot 
(http://thomas.apestaart.org/projects/mach/) for OpenSUSE. That's how 
the packages are build for CentOS/Debian/RHEL/Ubuntu.


If you want, provide us a mach configuration script for OpenSUSE and 
we'll bootstrap the chroot and start producing RPMs for it.


Regards,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Contrib ?

2011-02-24 Thread Fabrice Durand
Hi,
is it possible to add a contrib subdirectory in the official (
http://www.sogo.nu/files/downloads/SOGo/) where to put opensuse and fedora
src.rpm and rpm ?
They are actually located on my blog , but it would be easier if he was on
the official depo.

What do you thing ?

Regard

Fabrice Durand
-- 
users@sogo.nu
https://inverse.ca/sogo/lists