All objects are sorted to be comparable to 'apt-cache show'
output, like:
$ ./xbps-bin show openssl
Repository: /storage/xbps/binpkgs
Package: openssl
Installed size: 10265289 bytes
Maintainer: Juan RP [xtraeme@gmail.com]
Architecture: x86_64
Version: 0.9.8i
Filename: openssl-0.9.8i.x86_64.xbps
SHA256: 33204337e944bdcca285af5540cee39e60cdcbc4bc99cb5da32040793844eab5
Dependencies:
glibc-2.8 zlib-1.2.3
Configuration files:
/etc/ssl/openssl.cnf
Permanent directories:
/etc/ssl
Description: Secure Socket Layer and cryptographic library
The OpenSSL Project is a collaborative effort to develop a robust,
commercial-grade, full-featured, and Open Source toolkit implementing
the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1)
protocols as well as a full-strength general purpose cryptography
library.
$
--HG--
extra : convert_revision : 77e59abbd586e495288c3e0805d7865269846bd8
It will look for the specified string in all repositories
registered and will report "$pkgname-$version - $short_desc":
juan@sasha:~/xbps/utils$ ./xbps-bin search kernel
From /home/juan/repo2 repository ...
From /home/juan/repo3 repository ...
From /storage/xbps/binpkgs repository ...
kernel-headers-2.6.27.9 - The Linux kernel headers
module-init-tools-3.5 - Tools for managing kernel modules
juan@sasha:~/xbps/utils$
--HG--
extra : convert_revision : a589c4c641d033e6030f121704a55c1c94c22f0e
Also I changed the code to sanitize passed path, and make
the repo targets consistent with accepting the dir that contains
the packages.
--HG--
extra : convert_revision : 877ce4b1a6ad0d72e4a81094bbfe00ddea3baac3
This will try to show the package information by looking in
all repositories registered. The first one that has the package
info wins.
--HG--
extra : convert_revision : 33b93fd115a765d696af76ca20c1669ef277cd35
You can use it now like:
$ xbps-src.sh genindex ~/myrepo
It will use XBPS_PACKAGESDIR if no specified.
--HG--
extra : convert_revision : 7d1b17dd77b89387a5f568071b58478e68c4051d
With these changes:
- Added 'sanitize-plist' action to xbps-pkgdb. It takes a plist
file as argument and writes another one "sanitized" by proplib.
Use it to sanitize the pkgindex plist file.
- Split xbps-pkgdb functions to be shared by other files.
- Split xbps-digest functions to be shared by other files.
- Rename the plist file to register/unregister installed pkgs to
regpkgdb.plist, and related stuff in shell scripts.
--HG--
extra : convert_revision : 37731b04c6b41aebac629dfa06106175b9b5e59c
This target will create a package index file with all metadata info,
for all binary packages available at XBPS_PACKAGESDIR.
--HG--
extra : convert_revision : 02ab69209e5096f060969ef803aa1cc74fe8a843
Packages are now named like: foo-2.0.x86_64.xbps
so that they don't have any common extension that could lead
to confusion for installing.
These packages shouldn't be installed directly with tar(1).
--HG--
extra : convert_revision : ee3efd57adbba6aa025a2a4e76002c784510f810