On 04/09/2014 08:12, Marcus von Appen wrote: >> In many ways, I'd prefer to have this sort of functionality available as >> a web-app, thus saving users the necessity of downloading megabytes of >> data about ports / packages they would never use or care about. Needs >> someone to step up and write that application though. > > Not necessarily a web app, but a (web) service that's e.g. run somewhere > on a > pkg builder or proxy and which can be queried by tools as well as web > services. > > If you tell me, how the index looks like, I can give it a quick > (prototyping) shot.
See pkg-repo(8), specifically the -l or --list-files option. If you just stick a few packages into a directory, you can run pkg-repo over them. This will generate a file filesite.txz which should be enough to show the format. Anything you come up with would certainly be of interest to the poudriere project (https://fossil.etoilebsd.net/poudriere/doc/trunk/doc/index.wiki), probably even more so than pkg(8) itself. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: [email protected]
signature.asc
Description: OpenPGP digital signature
