In order to do this, I've whipped up a quick module that parses
/var/sadm/install/contents a little. We only use it to map file ->
package, but it should be expandable to cover other things should the need
arise.
The two files attached are:
pkgdb.pm (the module which parses /var/sadm/install/contents)
a diff to the rest of the code ot use it
Laszlo (Laca) Peter
rpm compatibility
None
Public
|
Date: 2008-02-16 01:56
|
|
Date: 2007-05-09 12:55
|
|
Date: 2007-05-04 01:40
|
|
Date: 2007-05-03 09:35
|
|
Date: 2007-05-03 09:30
|
|
Date: 2007-05-03 09:29
|
|
Date: 2007-05-03 09:29
|
|
Date: 2007-05-03 09:29
|
|
Date: 2007-04-30 12:33
|
|
Date: 2007-04-27 20:23
|
|
Date: 2007-04-26 09:26
|
|
Date: 2007-04-25 15:59
|
| Filename | Description | Download |
|---|---|---|
| pkgbuild.addrequires.patch | patch ot the rest of the code to use pkgdb.pm | Download |
| pkgbuild.addbuildrequires.patch | Download | |
| pkgdbnew.pm | Download | |
| pkgdb.pm | Download | |
| pkgdbgrep.pm | Download | |
| pkgdbgrepcore.pm | Download | |
| benchmark-pkgdb | Download | |
| mypkgdbgrep.pm | Laca's version of pkgdb that uses /usr/bin/grep | Download |
| pkgdbgrepcore.pm.2 | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | - | 2008-02-16 01:56 | laca_ |
| resolution_id | Accepted | 2008-02-16 01:56 | laca_ |
| status_id | Open | 2008-02-16 01:56 | laca_ |
| File Added | 228499: pkgdbgrepcore.pm.2 | 2007-05-09 12:55 | mikebristow |
| File Added | 227772: mypkgdbgrep.pm | 2007-05-04 01:40 | laca_ |
| File Added | 227647: benchmark-pkgdb | 2007-05-03 09:35 | mikebristow |
| File Added | 227646: pkgdbgrepcore.pm | 2007-05-03 09:30 | mikebristow |
| File Added | 227645: pkgdbgrep.pm | 2007-05-03 09:29 | mikebristow |
| File Added | 227644: pkgdb.pm | 2007-05-03 09:29 | mikebristow |
| File Deleted | 226596: | 2007-05-03 09:29 | mikebristow |
| File Added | 227643: pkgdbnew.pm | 2007-05-03 09:29 | mikebristow |
| assigned_to | nobody | 2007-04-27 20:23 | laca_ |
| resolution_id | None | 2007-04-27 20:23 | laca_ |
| File Added | 226693: pkgbuild.addbuildrequires.patch | 2007-04-26 09:26 | mikebristow |
| File Added | 226596: pkgdb.pm | 2007-04-25 15:59 | mikebristow |
| category_id | None | 2007-04-25 15:59 | mikebristow |
| File Added | 226594: pkgbuild.addrequires.patch | 2007-04-25 15:59 | mikebristow |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use