Hi ! I'm runing a linux redhat 7.2 box with samba 2.2.4. I've downloaded the samba source in order to install it with the needed compilation options (--with-smbwrapper --with-automount --with-smbmount --with-pam ...). Samba is now up and running but I would like to build an rpm with this compiled version. Any idea of how to transform this samba compiled version to a rpm package ? Thanks. Sabrina --------------------------------------------- Powered by Alinto (http://www.alinto.net) for lavache.com (http://www.lavacheautomatique.com)
I guess you could install the source rpm and modify the spec file (--with-smbwrapper --with-automount --with-smbmount --with-pam ...)located at /usr/src/redhat/SPECS/samba.spec and run rpm -ba /usr/src/redhat/SPECS/xxx.spec this should build an rpm in /usr/src/redhat/RPMS/i386 LAUTIER Sabrina wrote:> Hi ! > > I'm runing a linux redhat 7.2 box with samba 2.2.4. > I've downloaded the samba source in order to install it with the > needed compilation options (--with-smbwrapper --with-automount > --with-smbmount --with-pam ...). > Samba is now up and running but I would like to build an rpm with this > compiled version. > > Any idea of how to transform this samba compiled version to a rpm > package ? > > Thanks. > > Sabrina > > --------------------------------------------- > Powered by Alinto (http://www.alinto.net) > for lavache.com (http://www.lavacheautomatique.com) >
On Wed, 5 Jun 2002, LAUTIER Sabrina wrote:> Hi ! > > I'm runing a linux redhat 7.2 box with samba 2.2.4. > I've downloaded the samba source in order to install it with the > needed compilation options (--with-smbwrapper --with-automount > --with-smbmount --with-pam ...). > Samba is now up and running but I would like to build an rpm with this > compiled version. > > Any idea of how to transform this samba compiled version to a rpm > package ?See packages/RedHat/makerpms.sh jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
In the location where you unpacked samba change to samba-2.2.4/packaging/RedHat directory and there is a makerpms.sh script. Just execute bash makerpms.sh and the work is done for you. If you run Mandrake there is a similar directory and script for it as well. There are also spec files for SuSE which I think will let you build rpms but I've never tried this :) Neil Quoting LAUTIER Sabrina <slautier@lavache.com>:> Hi ! > > I'm runing a linux redhat 7.2 box with samba 2.2.4. > I've downloaded the samba source in order to install it with the > needed compilation options (--with-smbwrapper --with-automount > --with-smbmount --with-pam ...). > Samba is now up and running but I would like to build an rpm with this > compiled version. > > Any idea of how to transform this samba compiled version to a rpm > package ? > > Thanks. > > Sabrina > > --------------------------------------------- > Powered by Alinto (http://www.alinto.net) > for lavache.com (http://www.lavacheautomatique.com) > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >--- Neil Muller Neologix Pty Ltd http://www.neologix.net PO Box 3183, Weston Creek, ACT, 2611, Australia email: neil@neologix.net voice: +61 2 62875900 fax: +61 2 62875911 mob: +61 408 977 976
Hi, LAUTIER Sabrina wrote:> > Hi ! > > I'm runing a linux redhat 7.2 box with samba 2.2.4. > I've downloaded the samba source in order to install it with the > needed compilation options (--with-smbwrapper --with-automount > --with-smbmount --with-pam ...). > Samba is now up and running but I would like to build an rpm with this > compiled version. > > Any idea of how to transform this samba compiled version to a rpm > package ? > > Thanks. > > Sabrinatry checkinstall, it builds rpm-files as you like it :o) Don't know where i found it, just search with google and you'll find it. It's a nice tool and i can recommend it. greets Harry