Peter, If you want RPM to know about your version of Samba, you need to use RPM to manage the package. If you installed the Samba 2.2.0a SRPM, then the source should have been put in /usr/src/packages/SOURCE, and the samba.spec file in /usr/src/packages/SPECS/. You can go two routes with this. Either download the "vanilla" 2.2.5 source and put that in /usr/src/packages/SOURCE, or copy all the patches you downloaded in there. The difference between the two methods is that with the patches, you'll need to update the .spec file to install all those patches against the 2.2.0a source. With the 2.2.5 source, you'll need to update the .spec file to use that source file instead of the 2.2.0a source file. If I were you, the first time out, I'd use the 2.2.5 source.
Update the .spec file with the correct value for Version: , that is 2.2.5. Do the same for other instances of things that look like version numbers, such as Source:, %setup, things like that. You may need to change the options on the ./configure command. You may not. Sometimes things change between versions that cause errors if you don't update this. Update the changelog near the end of the .spec file with what you did. Once you think you're ready, do an "rpm -bb samba.spec" and watch what happens. Once you get things to work, you'll find an RPM file in /usr/src/packages/RPMS/s390/. Do an "rpm -i" command against that, and you should be done. If I left anything out, hopefully others will chime in. If this sounds kind of non-deterministic, that's because it is. That's why having distributors around to maintain this stuff is a Good Thing[tm]. Mark -----Original Message----- From: Peter E. Abresch Jr. - at Pepco [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 11:03 AM To: [EMAIL PROTECTED] Subject: Upgrading Samba from 2.2.0a to 2.2.5 We are running SuSE SLES7 beta Linux Kernel 2.4.7. The Samba delivered was Samba 2.2.0a. I used YAST to install the source and created a source tree under /usr/src/samba-2.2.0a. I downloaded all the patches and successfully applied them up to 2.2.5. My question is where do I go from here? I know I have to compile the source. What are the commands or sequence of commands necessary? I here a lot about the .spec file. What is it and what do I do with it? Are there any gotchas? I appreciate any assistance this newbie can receive. Thanks. Peter E. Abresch Jr.
