Changeset 1020

Show
Ignore:
Timestamp:
02/09/06 17:29:23 (3 years ago)
Author:
tushar
Message:

Update Hint: rpm

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/rpm.txt

    r944 r1020  
    44                Originally by Sergey Ostrovsky <sergey@linuxfromscratch.org> rpm_glibc22.txt 
    55                 
    6 DATE:           2005-03-16 
     6DATE:           2006-01-27 
    77 
    88LICENSE:        GNU Free Documentation License Version 1.2 
     
    1313DESCRIPTION:    This hint will show you how to install rpm to be used with LFS. 
    1414 
    15 PREREQUISITES:  From LFS Build : Zlib, Bzip2, Gzip, Gettext, Perl, and Tar. 
    16                 From BLFS : Berkeley DB, Expat, GnuPG, and Libxml2. 
     15PREREQUISITES:  From LFS Build : Zlib, Bzip2, Gzip, Gettext, Perl, Sed, and Tar. 
     16                From BLFS : Berkeley DB, CVS, Expat, GnuPG, and Libxml2. 
    1717                From Other : See Dependencies 
    1818 
     
    2929ease administration of a large and diverse network of UNIX and UNIX-like  
    3030computers. Maybe it can do more than simply "Ruining a Perfectly  
    31 good Machine."  ;) 
     31good Machine." 
    3232 
    3333SOURCE: 
     
    3737 
    3838There is a download site for RPM, but I recommend taken the snapshot from 
    39 there cvs to you don't have find the dependencies. 
     39their cvs to you don't have find the dependencies. 
    4040 
    4141GET SOURCE: 
    4242 
     43The following information will download the current CVS version of RPM. It 
     44will also fix a couple of build issues by removing wnh from the build. wnh 
     45is not included as of this writing of the hint. In the future we should 
     46be able not to remove it. 
     47 
    4348cvs -z 9 -d :pserver:anonymous@cvs.rpm.org:/cvs/devel co -r rpm-4_4 rpm 
    44 mv rpm rpm-4.4.2 
    45 tar jcvf rpm-4.4.2.tar.bz2 rpm-4.4.2 
    46  
    47 You can download the rpm tarball from ftp://jbj.org/pub/rpm-4.4.x, but you will 
    48 have to install the dependencies listed in PREREQUISITES. 
     49cd rpm 
     50RPMVER="`cat configure.ac | grep AC_INIT | cut -f2 -d, | cut -f2 -d' '`" 
     51sed -e 's|wnh/Makefile||g' configure.ac 
     52sed -e 's|wnh/Makefile||g' Makefile.am 
     53cd .. 
     54mv rpm rpm-$RPMVER 
     55tar jcvf rpm-$RPMVER.tar.bz2 rpm-$RPMVER 
    4956 
    5057DEPENDENCIES: 
     
    5562Build Beecrypt as follows: 
    5663 
    57         ./configure --prefix=/usr \ 
    58                     --enable-shared && 
     64        ./configure --prefix=/usr --enable-shared && 
    5965        make && 
    6066        make install 
    6167 
    62 Package Name:   neon-0.24.7.tar.gz 
    63 Download here:  http://www.webdav.org/neon/neon-0.24.7.tar.gz 
     68Package Name:   neon-0.25.5.tar.gz 
     69Download here:  http://www.webdav.org/neon/neon-0.25.5.tar.gz 
    6470 
    6571Build Neon as follows: 
    6672 
    67         ./configure --prefix=/usr \ 
    68                     --enable-shared && 
     73        ./configure --prefix=/usr --enable-shared && 
    6974        make && 
    7075        make install 
     
    7277PATCHES: 
    7378 
    74 Two patches are required for RPM, one is to fix the possible error of 
    75 head, replaces head -1 with head -n 1. The second adds a missing  
    76 header to rpmdb. 
    77  
    78 Patch Name:     rpm-4.4.2-posix-1.patch 
    79 Patch Name:     rpm-4.4.2-sqlite_header-1.patch 
    80  
    81 Patches are avaiable at patches.linuxfromscratch.org. 
     79No Patches are required for the CVS version. 
    8280 
    8381INSTALLATION: 
     
    119117correction. 
    120118 
    121         mkdir /var/lock/rpm 
     119        install -d /var/lock/rpm 
    122120 
    123121At this point you will need to initialize the RPM database with the following 
     
    154152convert these rpm packages into something more useful for use to us. 
    155153 
    156 Package Name:   alien_8.50.tar.gz              (Alien 8.50
     154Package Name:   alien_8.61.tar.gz              (Alien 8.61
    157155Download here:  http://kitenet.net/programs/alien 
    158156 
     
    176174extracted into the currect directory. 
    177175 
    178 VERSION:        1.8 
     176VERSION:        1.10 
    179177 
    180 CHANGELOG:      1.8 Added missing depenencies for neon: expat and libxml2 
     178CHANGELOG:      1.10 Corrected Typos. Updated Programs. 
     179                1.9 Updated svn 
     180                1.8 Added missing depenencies for neon: expat and libxml2 
    181181                1.7 Fixed Typo's and updated instructions based on glibc 
    182182                1.6 Added missing dependencies: beecrypt and neon 
     
    188188                1.0 Adopted by Jim Gifford 
    189189 
    190  New Version of this document can be viewed from http://svn.jg555.com/viewcvs.cgi/?root=hints 
     190 New Version of this document can be viewed from 
     191        http://svn.jg555.com/svn/repos/hints/rpm.txt