[389-users] I'm going to compile the sources to generate .debs --scripts attached

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: fdsbuildscripts.tar.bz2
Type: application/x-tbz
Size: 13575 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20090521/696e2d04/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux