Morenisco
2009-May-19 19:00 UTC
[389-users] I''m going to compile the sources to generate .debs
Hi, I want to try compiling the sources to generate .debs for Debian/GNU Linux, just a try... I would like to avoid use alien, due to could be better to generate .debs from the sources. Well, I see that the URL to get the sources if the following: http://directory.fedoraproject.org/sources/ But I''m not sure about what files do I need. I think that I need those files: 389-admin-1.1.7.tar.bz2 389-admin-console-1.1.3.tar.bz2 389-adminutil-1.1.8.tar.bz2 389-console-1.1.3.tar.bz2 389-ds-base-1.2.1.tar.bz2 389-ds-console-1.2.0.tar.bz2 389-dsgw-1.1.2.tar.bz2 Can someone confirm please? Thanks. -- Morenisco. Centro de Difusión de Software Libre. http://www.cdsl.cl http://santiago.flisol.cl http://trabajosfloss.noc-root.net Blog: http://morenisco.noc-root.net
Rob Crittenden
2009-May-19 19:03 UTC
Re: [389-users] I''m going to compile the sources to generate .debs
Morenisco wrote:> Hi, > > I want to try compiling the sources to generate .debs for Debian/GNU > Linux, just a try... > I would like to avoid use alien, due to could be better to generate .debs > from the sources. > > Well, I see that the URL to get the sources if the following: > > http://directory.fedoraproject.org/sources/ > > But I''m not sure about what files do I need. > I think that I need those files: > > 389-admin-1.1.7.tar.bz2 > 389-admin-console-1.1.3.tar.bz2 > 389-adminutil-1.1.8.tar.bz2 > 389-console-1.1.3.tar.bz2 > 389-ds-base-1.2.1.tar.bz2 > 389-ds-console-1.2.0.tar.bz2 > 389-dsgw-1.1.2.tar.bz2 > > Can someone confirm please? >The really tricky part is probably going to be in the dependencies: cyrus-sasl, db4, nss, nspr, netsnmp, mozldap, sasl2 and perhaps a few others. You might want to start with the current spec file to get an idea of what it requires. rob
Rich Megginson
2009-May-19 19:21 UTC
Re: [389-users] I''m going to compile the sources to generate .debs
Morenisco wrote:> Hi, > > I want to try compiling the sources to generate .debs for Debian/GNU > Linux, just a try... > I would like to avoid use alien, due to could be better to generate .debs > from the sources. > > Well, I see that the URL to get the sources if the following: > > http://directory.fedoraproject.org/sources/ > > But I''m not sure about what files do I need. > I think that I need those files: > > 389-admin-1.1.7.tar.bz2 > 389-admin-console-1.1.3.tar.bz2 > 389-adminutil-1.1.8.tar.bz2 > 389-console-1.1.3.tar.bz2 > 389-ds-base-1.2.1.tar.bz2 > 389-ds-console-1.2.0.tar.bz2 > 389-dsgw-1.1.2.tar.bz2 > > Can someone confirm please? >Start with 389-ds-base - here are the BuildRequires from the spec file: BuildRequires: nspr-devel BuildRequires: nss-devel BuildRequires: svrcore-devel BuildRequires: mozldap-devel BuildRequires: db4-devel BuildRequires: cyrus-sasl-devel BuildRequires: icu BuildRequires: libicu-devel # The following are needed to build the snmp ldap-agent BuildRequires: net-snmp-devel %ifnarch sparc sparc64 ppc ppc64 BuildRequires: lm_sensors-devel %endif BuildRequires: bzip2-devel BuildRequires: zlib-devel BuildRequires: openssl-devel BuildRequires: tcp_wrappers BuildRequires: libselinux-devel # the following is for the pam passthru auth plug-in BuildRequires: pam-devel Most of these are already in debian, although some of them will be named differently. The two notable exceptions are mozldap and svrcore perl-Mozilla-LDAP is not a build dependency but you will need this to run setup et. al.> Thanks. > > >
Ryan Braun [ADS]
2009-May-21 16:13 UTC
Re: [389-users] I''m going to compile the sources to generate .debs --scripts attached
On May 19, 2009 07:21:41 pm Rich Megginson wrote:> Morenisco wrote: > > Hi, > > > > I want to try compiling the sources to generate .debs for Debian/GNU > > Linux, just a try... > > I would like to avoid use alien, due to could be better to generate .debs > > from the sources. > > > > Well, I see that the URL to get the sources if the following: > > > > http://directory.fedoraproject.org/sources/ > > > > But I''m not sure about what files do I need. > > I think that I need those files: > > > > 389-admin-1.1.7.tar.bz2 > > 389-admin-console-1.1.3.tar.bz2 > > 389-adminutil-1.1.8.tar.bz2 > > 389-console-1.1.3.tar.bz2 > > 389-ds-base-1.2.1.tar.bz2 > > 389-ds-console-1.2.0.tar.bz2 > > 389-dsgw-1.1.2.tar.bz2 > > > > Can someone confirm please? > > Start with 389-ds-base - here are the BuildRequires from the spec file: > BuildRequires: nspr-devel > BuildRequires: nss-devel > BuildRequires: svrcore-devel > BuildRequires: mozldap-devel > BuildRequires: db4-devel > BuildRequires: cyrus-sasl-devel > BuildRequires: icu > BuildRequires: libicu-devel > # The following are needed to build the snmp ldap-agent > BuildRequires: net-snmp-devel > %ifnarch sparc sparc64 ppc ppc64 > BuildRequires: lm_sensors-devel > %endif > BuildRequires: bzip2-devel > BuildRequires: zlib-devel > BuildRequires: openssl-devel > BuildRequires: tcp_wrappers > BuildRequires: libselinux-devel > # the following is for the pam passthru auth plug-in > BuildRequires: pam-devel > > Most of these are already in debian, although some of them will be named > differently. > > The two notable exceptions are mozldap and svrcore > > perl-Mozilla-LDAP is not a build dependency but you will need this to > run setup et. al. > > > Thanks.I''ve attached some scripts I had created a while back. I''ve been running the etch 1.1 build for a while. But they do build lenny 1.2 packages. I just haven''t tested them that much yet. Just edit the config file, and build them in the following order. svrcore mozldap perldap fedora-ds-base adminutil mod_nss fefora-ds-admin console Also, the debian package control section needs some work, but the package depends should all work if you throw the packages in your own apt repo. Also, the console jars didn''t build all that well in lenny, apt kept pulling in some gcj packages that kept breaking the build, so YMMV. Ryan
Rich Megginson
2009-May-21 17:16 UTC
Re: [389-users] I''m going to compile the sources to generate .debs --scripts attached
Ryan Braun [ADS] wrote:> On May 19, 2009 07:21:41 pm Rich Megginson wrote: > >> Morenisco wrote: >> >>> Hi, >>> >>> I want to try compiling the sources to generate .debs for Debian/GNU >>> Linux, just a try... >>> I would like to avoid use alien, due to could be better to generate .debs >>> from the sources. >>> >>> Well, I see that the URL to get the sources if the following: >>> >>> http://directory.fedoraproject.org/sources/ >>> >>> But I''m not sure about what files do I need. >>> I think that I need those files: >>> >>> 389-admin-1.1.7.tar.bz2 >>> 389-admin-console-1.1.3.tar.bz2 >>> 389-adminutil-1.1.8.tar.bz2 >>> 389-console-1.1.3.tar.bz2 >>> 389-ds-base-1.2.1.tar.bz2 >>> 389-ds-console-1.2.0.tar.bz2 >>> 389-dsgw-1.1.2.tar.bz2 >>> >>> Can someone confirm please? >>> >> Start with 389-ds-base - here are the BuildRequires from the spec file: >> BuildRequires: nspr-devel >> BuildRequires: nss-devel >> BuildRequires: svrcore-devel >> BuildRequires: mozldap-devel >> BuildRequires: db4-devel >> BuildRequires: cyrus-sasl-devel >> BuildRequires: icu >> BuildRequires: libicu-devel >> # The following are needed to build the snmp ldap-agent >> BuildRequires: net-snmp-devel >> %ifnarch sparc sparc64 ppc ppc64 >> BuildRequires: lm_sensors-devel >> %endif >> BuildRequires: bzip2-devel >> BuildRequires: zlib-devel >> BuildRequires: openssl-devel >> BuildRequires: tcp_wrappers >> BuildRequires: libselinux-devel >> # the following is for the pam passthru auth plug-in >> BuildRequires: pam-devel >> >> Most of these are already in debian, although some of them will be named >> differently. >> >> The two notable exceptions are mozldap and svrcore >> >> perl-Mozilla-LDAP is not a build dependency but you will need this to >> run setup et. al. >> >> >>> Thanks. >>> > > I''ve attached some scripts I had created a while back. I''ve been running the > etch 1.1 build for a while. But they do build lenny 1.2 packages. I just > haven''t tested them that much yet. Just edit the config file, and build > them in the following order. > > svrcore > mozldap > perldap > fedora-ds-base > adminutil > mod_nss > fefora-ds-admin > console > > Also, the debian package control section needs some work, but the package > depends should all work if you throw the packages in your own apt repo. > Also, the console jars didn''t build all that well in lenny, apt kept > pulling in some gcj packages that kept breaking the build, so YMMV. >Does debian now include openjdk? If so, you should be able to use that instead of gcj.> Ryan > > >
Renato Ribeiro da Silva
2009-May-22 16:57 UTC
Re: [389-users] I''m going to compile the sources to generate .debs --scripts attached
<p>Morenisco,</p> <p>I''ve compiled the sources and generate .debs following the http://wiki.debian.org/Teams/DebianFDSPackaging instructions. It Works.</p> <p>Renato.<br />Em 21/05/2009 14:16, <strong><span>Rich Megginson < rmeggins@redhat.com ></span></strong> escreveu:</p> <blockquote style="border-left: 2px solid #6868cc; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br />Ryan Braun [ADS] wrote:<br />> On May 19, 2009 07:21:41 pm Rich Megginson wrote:<br />> <br />>> Morenisco wrote:<br />>> <br />>>> Hi,<br />>>><br />>>> I want to try compiling the sources to generate .debs for Debian/GNU<br />>>> Linux, just a try...<br />>>> I would like to avoid use alien, due to could be better to generate .debs<br />>>> from the sources.<br />>>><br />>>> Well, I see that the URL to get the sources if the following:<br />>>><br />>>> http://directory.fedoraproject.org/sources/<br />>>><br />>>> But I''m not sure about what files do I need.<br />>>> I think that I need those files:<br />>>><br />>>> 389-admin-1.1.7.tar.bz2<br />>>> 389-admin-console-1.1.3.tar.bz2<br />>>> 389-adm inutil-1.1.8.tar.bz2<br />>>> 389-console-1.1.3.tar.bz2<br />>>> 389-ds-base-1.2.1.tar.bz2<br />>>> 389-ds-console-1.2.0.tar.bz2<br />>>> 389-dsgw-1.1.2.tar.bz2<br />>>><br />>>> Can someone confirm please?<br />>>> <br />>> Start with 389-ds-base - here are the BuildRequires from the spec file:<br />>> BuildRequires: nspr-devel<br />>> BuildRequires: nss-devel<br />>> BuildRequires: svrcore-devel<br />>> BuildRequires: mozldap-devel<br />>> BuildRequires: db4-devel<br />>> BuildRequires: cyrus-sasl-devel<br />>> BuildRequires: icu<br />>> BuildRequires: libicu-devel<br />>> # The following are needed to build the snmp ldap-agent<br />>> BuildRequires: net-snmp-devel<br />>> %ifnarch sparc sparc64 ppc ppc64<br />>> BuildRequires: lm_sensors-devel<br />>> %endif<br />>> BuildRequires: bz ip2-devel<br />>> BuildRequires: zlib-devel<br />>> BuildRequires: openssl-devel<br />>> BuildRequires: tcp_wrappers<br />>> BuildRequires: libselinux-devel<br />>> # the following is for the pam passthru auth plug-in<br />>> BuildRequires: pam-devel<br />>><br />>> Most of these are already in debian, although some of them will be named<br />>> differently.<br />>><br />>> The two notable exceptions are mozldap and svrcore<br />>><br />>> perl-Mozilla-LDAP is not a build dependency but you will need this to<br />>> run setup et. al.<br />>><br />>> <br />>>> Thanks.<br />>>> <br />><br />> I''ve attached some scripts I had created a while back. I''ve been running the <br />> etch 1.1 build for a while. But they do build lenny 1.2 packages. I just <br />> haven''t tested them that much yet. Just edit the config file, and bui ld <br />> them in the following order.<br />><br />> svrcore<br />> mozldap<br />> perldap<br />> fedora-ds-base<br />> adminutil<br />> mod_nss<br />> fefora-ds-admin<br />> console<br />><br />> Also, the debian package control section needs some work, but the package <br />> depends should all work if you throw the packages in your own apt repo. <br />> Also, the console jars didn''t build all that well in lenny, apt kept <br />> pulling in some gcj packages that kept breaking the build, so YMMV.<br />> <br />Does debian now include openjdk? If so, you should be able to use that <br />instead of gcj.<br />> Ryan<br />><br />><br />> <br /><br /><br /><br /></blockquote>
Morenisco
2009-May-22 17:18 UTC
Re: [389-users] I''m going to compile the sources to generate .debs --scripts attached
On Fri, May 22, 2009 10:57 am, Renato Ribeiro da Silva wrote:> Morenisco, > I''ve compiled the sources and generate .debs following the > http://wiki.debian.org/Teams/DebianFDSPackaging instructions. It > Works. > Renato.Em 21/05/2009 14:16, Rich Megginson;Wow Renato, I''ll try to contribute with the people that are generating the packages there. Thanks a lot and regards. -- Morenisco. Centro de Difusión de Software Libre. http://www.cdsl.cl http://santiago.flisol.cl http://trabajosfloss.noc-root.net Blog: http://morenisco.noc-root.net