RPM Loader Script - V0.1

Ralph Stickley [email protected]
Wed, 2 Feb 2000 22:02:28 -0800 (PST)


--0-1804289383-949557748=:9715
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hey,
Just thought I'd update you on my latest script.
I wrote this today so I could build my fvwm2 package.
So far...

pwl_rpmload EXE fvwm2

copies the RPM file from the RH disk, installs it
and copies the files into:

Embedded_Build/sources/fvwm2

Files created here include:

fvwm2-3.0.5-15.i386.rpm
-- the rpm copied from Red Hat (if the package is not installed)
fvwm2-3.0.5-15.pkg_list
-- list of files from the package (without man/doc/info files)
fvwm2-3.0.5-15.pkg_dep_list
-- not created yet, piped to the screen - list of dependencies reported
   by rpm
fvwm2.pkg_files
-- directory containg the files to be tarred for the package.


Note: the xxx.pkg.list file is not changed if it already exists.
Thus, when you figure out which other files don't belong in the
package, you can edit this file.  THIS FILE IS ALL YOU NEED if you
have RH install disk!

To Do: find each of the dependent files on your system and copy them
into the dependencies directory. (HOW DO YOU FIND FILES ?? Locate??)
Package the dependencies as  xxx.libs or something and install that 
as another package, i.e.

X11/fvwm2.tar
X11/fvwm2-libs.tar

To Do: load the source rpm, install it, copy the source files
and compile everything.  Then copy the binaries from the SRC 
directory into the pkg.files directory.....

To Do: 
I need to integrate this script, with the "package" script (should we
change this to pwl_package?? ) under the "Package Management" Main
menu Item.

Let me know if you have any suggestions on how this should work.
or any bugs you might find.

Thanks,
Ralph

=========
Example:

As a quick way to test this I can do the following with expected results:

rpm -e zsh          # remove Z shell previously installed
rm -rf sources      # for testing only!!!

and any of the following:

pwl_rpmload EXE zsh           # finds first version on RH disk
pwl_rpmload EXE zsh 3.0.5-15  # specify a version
pwl_rpmload Exe zsh 3.0.99    # version not found

Theses all work if zsh is installed or not, or if the RPM has been
previously copied or if the files list has been changed manually.
=============


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--0-1804289383-949557748=:9715
Content-Type: application/x-unknown; name="pwl_rpmload.tgz"
Content-Transfer-Encoding: base64
Content-Description: pwl_rpmload.tgz
Content-Disposition: attachment; filename="pwl_rpmload.tgz"

H4sIALIUmTgAA+0aa2/b1tWf9StOKHVxAr3d1YM3BUgtpzXmpobdpB2WTqbJ
K4uQ+Cgv5UdT//edc9+XpJ1gabENCIEkFHnueb+Z4mazKIt0k4fxzh91jSfj
8f7+n3fG8qr9O9nf35vsjPfHX341nUyn032En46/HO/A+A/jyLm2vApLgJ0y
z6vH4D70/v/06j4ZXSbZ6DLkq0630+3iH4A3PLxiB1BY32Al/BPOzw7hNzj6
6Qh+hr/hi6cxFGV+VYbpC3x7zUqe5Bn83BE4DvMiYRzCzQaWyQbvlmWeAi9Y
lCwTFgOe16chyaqcqAHPt2WEsHFSsqjKyzvCRH9e5xUydLyEasX8oxyyvEIM
aMbNhsUEbK6kovfqnWQAz2cSQRitUUrBXDsFB0CTWebbrI1ERMLGhgKc4Y9v
wwrl4GvYFX93J5CX8kF3+kxp+tuEaykB3o6HEzgsWViRGJ3u7Pe8Om+Pzhan
P54szk6/O/n+5fzobIbkpKnmWtvAq3IbVduSQZjFUvIsTBnEbBluNxVHeGmi
r0POZsFwpAwWCETaamT3mxUjLKj2jCEADxG79IObBB+WjCcx6r2DPrWYH5/N
eBl1Tv/+zWJ+dCp+F+urRcwK8ezV8cnRuXkqsAh6pOkNalAhjvKsCpMsya4c
r0PHukTzZdFmG6NRkgxCbVlF/eT4/AciPyRUgp54gqTsE+JKPEWW5FOkH7No
lc/or468Pfj9bCbk23LJ5XKbRRWFlniw+6zzvoPuQiQhCMwtXGAQM2Gu3vgC
BvBWBWSvYXo60xV/oS5KziRiSMlO5PHCjfMC8qUMDw3OUYODDEb/Qu8d9eU/
BVLDrECvOD55PhpdOej5Kr9BX7oDVpbo/ooCvUuWmDOewOBXCHqTADPKX0Vs
dmRYOcLpX73n9GuZCIFvMe7GnfuO0BNGn3KuXZVBTtBEffRaXlnffuZqko5I
T9LqFPxobga5vJ02GJOawoTFyizcOHikhJZFiS+G3r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4W0xtLoof29
RJs1a5MClg2jJ2Kl4WiPbaEe7/IsEO3aKIIv9OqzPkyoLGZBA3gykw+k+7Rs
FGSyOnaZBweD9gI1Oth914ENa4lIbeO9uV6I1c6uo1Qd+D4TTuJwq4Iwv55c
TSWzujae9EDidnqqmWd3QQg7cP3Vx8KrtuthcP1JqDbsmEYMRbdUxQ+Fsq5D
6+QiXkhEu2h0y7YGdL451GjUx2zNq/mA5pFycGjWHsGhPszV7K367Jqq3LP6
E1tNT6b3hp6Do64bL+26gFon3j7ZFcqFdaRSnxsbEU6JWn2szmkHcDMcDpXv
4d1lktnvlxnOV+qzIhYt7EPkaC0nFxxT7fdFc96bI5zz2OcUCfl+X3bRCon4
HE6zBlpGIcHLVh0B69BW9FRD1AXsGIed//Z/LPh8fb4+X5+vz9f/9PVvX7eK
lQAoAAA=

--0-1804289383-949557748=:9715--
---------------------------------------------------
See the list archives at http://adis.on.ca/archives/
See the PWL homepage at  http://embedded.adis.on.ca
---------------------------------------------------