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

Re: rpm suggestion, was: Re: next Beta



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 01 December 2001 12:44 pm, Karsten Weiss wrote:
>
> I think Devon´s suggestion is a better solution (although I still
> have to try it by myself) and it would be great if this could
> be the new default for Red Hat Linux 8.0 (together with a rpm
> config file which enables each user to build rpms in his/her
> home directory).

To make it even easier to try this suggestion, I wrote a script.
I can't even begin to take all the credit, however. 
Mike Harris wrote the .rpmmacros and .rpmrc files. I edited them slightly 
(with comments), and wrote a script to create all the directories in your 
home directory, and install the .rpm* files as well. It's all available 
here: http://www.tuxfan.homeip.net:8080/hacks/rpm_environment.tar.gz

If your interested, downlaod the tarball, and run: (as a mortal user!)

tar -xvzf rpm_environment.tar.gz
cd rpmenvironment

Three files are included:
rpmmacros - You might want to make a change or two here, it's well 
commented. Mkae sure you know the result of any changes.
rpmrc - should require no editing.
rpmsetup.sh - You might want to change things, make sure you know the 
result of any changes you make.

Have a look at the script 'rpmsetup.sh' before you run it.
Make any changes you need for your setup. (like the gpg settings in 
rpmmacros, for example). Use caution, there is error checking in the 
script, but only for things I thought people might actually change that 
would result in breakage.

Run:
./rpmsetup.sh

This will create the directory structure in your home directory, and 
install ~/.rpmmacros, and ~/.rpmrc. You can now install src.rpms as a 
mortal user and they will install to the directories created by the 
script.

Have fun and enjoy!

- -D

- -- 

pgp key:  http://www.tuxfan.homeip.net:8080/pgpkey.txt

- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8CZKSeMAUbzJhSVcRAuIsAKCSuTG1Ic00y4Lf7q18TV3LmM/uLgCbBjO/
9n+Th+lwNfCPo6KxinYm550=
=Y9cm
-----END PGP SIGNATURE-----





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