<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>