Annotation of rpm2html/faq.html, revision 1.4

1.1       veillard    1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
                      2: <html>
                      3: <head>
                      4: <title>
1.4     ! daniel      5: rpm2html/rpmfind FAQ</title>
1.1       veillard    6: </head>
                      7: <body bgcolor="#FFFFFF">
                      8: 
1.4     ! daniel      9: <h1 align=center>rpm2html/rpmfind FAQ</h1>
1.1       veillard   10: 
                     11: <dl>
1.4     ! daniel     12: <dt>How can I tune rpmfind to avoid getting package from distribution XXX ?
        !            13: How can I force packages to come from distribution YYY ?
        !            14: <dd><p>
        !            15: Change your $HOME/.rpmfind to adjust the rating for the distribution.
        !            16: Put a -1 rating for distributions you don't want packages from. To
        !            17: express preference toward a given distribution give a good rating 
        !            18: (e.g. 1000) to it.</p>
        !            19: </dd>
        !            20: <dt>Rpmfind tend to suggest me glibc binaries eve if I'm running a libc5
        !            21: based system
        !            22: <dd><p>
        !            23: Change your $HOME/.rpmfind in the section packages:
        !            24: <pre>
        !            25: -------------- original --------------
        !            26: ;
        !            27: ; Packages rejection criteria
        !            28: ;
        !            29: [packages]
        !            30: no_upgrade=glibc
        !            31: no_upgrade=glibc.so.*
        !            32: no_upgrade=libc
        !            33: no_upgrade=libc.so.*
        !            34: no_depend=libc.so.3
        !            35: --------------------------------------
        !            36: </pre>
        !            37: To
        !            38: <pre>
        !            39: --------------------------------------
        !            40: ;
        !            41: ; Packages rejection criteria
        !            42: ;
        !            43: [packages]
        !            44: no_upgrade=glibc
        !            45: no_upgrade=glibc.so.*
        !            46: no_upgrade=libc
        !            47: no_upgrade=libc.so.*
        !            48: no_depend=libc.so.3
        !            49: 
        !            50: no_upgrade=glibc.*
        !            51: no_depend=glibc.*
        !            52: no_depend=libc.so.6
        !            53: --------------------------------------
        !            54: </pre>
        !            55: </dd>
1.3       daniel     56: <dt>Rpmfind/rpm2html fails to open the RPM database.
                     57: <dd><p>
                     58: If you have upgraded to rpm-2.5.3, one simple way to avoid this problem
                     59: is to execute the following command as root:
                     60: <pre> cd /usr/lib ; ln -s rpm/rpmpopt . ; ln -s rpm/rpmrc . </pre></p>
                     61: </dd>
                     62: </dl>
                     63: <dl>
1.2       veillard   64: <dt>I'm getting "Increase MAX_MIRRORS=20" messages.</dt>
                     65: <dd><p>
                     66: Update to the <a href="ftp://rufus.w3.org/pub/rpmfind">very latest version
                     67: of rpmfind</a></p>
                     68: </dd>
                     69: <dt>I'm behind a firewall and rpmfind doesn't work.</dt>
                     70: <dd><p>
                     71: Edit ~/.rpmfind and change the variables httpProxy and/or ftpProxy to
                     72: give the URL of the proxy:</p>
                     73: <pre>
                     74: httpProxy=http://myhttpproxy:3128/
                     75: </pre>
                     76: </dd>
1.1       veillard   77: <dt>How to build a Web page that described the packages installed on
                     78: a machine.</dt>
                     79: <dd><p>
                     80: This is definitely possible, here is an example of a config file doing
                     81: exactly that:</p>
                     82: <pre>
                     83: maint=Sysadmin
                     84: mail=root@host.domain
                     85: dir=/home/httpd/html/setup
                     86: url=/setup
                     87: tree=true
                     88: 
                     89: [localbase]
                     90: name=Current Setup
                     91: ftp=ftp://ftp.redhat.com/pub/redhat/redhat-5.0/i386/RedHat/RPMS
                     92: ftpsrc=ftp://ftp.redhat.com/pub/redhat/redhat-5.0/SRPMS
                     93: color=#ffffff
                     94: </pre>
                     95: <p>
                     96: The point here is that [localbase] hard coded value force rpm2html
                     97: to dump the RPM installed database instead of browsing a directory.</p>
                     98: <p><strong>Note</strong>: I would recommend some care about exporting publicly
                     99: the list of exported packages installed on a machine to the whole internet.
                    100: While this feature is definitely useful as a system administration tool,
                    101: this is a potential <strong>security hole</strong> and action should be taken
                    102: to restrain accesses to the generated pages</p>.
                    103: </dd>
                    104: </dl>
                    105: 
                    106: <center>
                    107: <p>
                    108: <font color="#3366FF">[
                    109: <a href="index.html">Home</a> |
                    110: <a href="news.html">News</a> |
                    111: <a href="http://rufus.w3.org/linux/RPM/">Try it !</a> |
                    112: <a href="docs.html">Docs</a> |
                    113: <a href="help.html">Help</a> |
                    114: <a href="mirrors.html">Mirrors</a> |
                    115: <a href="download.html">Download</a>
                    116: ]</font></p>
                    117: <p>
                    118: <font color="#3366FF">[
                    119: </font><font color="#000000">
                    120: FAQ
                    121: </font><font color="#3366FF"> |
                    122: <a href="history.html">History</a> |
                    123: <a href="license.html">License</a> |
                    124: <a href="messages/">Archive</a> |
                    125: <a href="feedback.html">Feedback</a> |
                    126: <a href="links.html">Links</a>
                    127: ]</font></p>
                    128: <address>
                    129: <a href="mailto:veillard@w3.org">Daniel Veillard</a></address>
                    130: 
                    131: <p>
1.4     ! daniel    132: $Id: faq.html,v 1.3 1998/09/13 03:54:34 daniel Exp $</p>
1.1       veillard  133: </center>
                    134: </body>
                    135: </html>

Webmaster