Juan RP
b7d91b490c
Move libxbps shell tests to libxbps/shell and remove unused test-shell.mk.
2013-11-06 11:52:02 +01:00
Juan RP
6952144d60
Simplify tests/xbps/xbps-rindex structure.
2013-11-06 11:11:00 +01:00
Juan RP
8f36f8e638
Make sure that configuration files are properly kept or unpacked.
...
Added two new test cases to verify it works as advertised.
2013-11-06 10:45:33 +01:00
Juan RP
41baf01cd1
NEWS: mention that issue #6 has been fixed.
2013-11-06 09:51:15 +01:00
Juan RP
987d374ea9
Added an ATF test-case for #6 ( close #6 ; this has been fixed previously).
2013-11-06 09:37:38 +01:00
Juan RP
c1fafcd339
Fix #20 and added an ATF test-case.
2013-11-05 09:56:36 +01:00
Juan RP
10438e58f8
Merge branch '0.26.x'
2013-11-04 09:33:02 +01:00
Juan RP
89c62c626c
xbps-rindex: [clean] the filesclean test now passes successfully.
2013-11-03 11:15:56 +01:00
Juan RP
c06115af9a
issue18_test: pass optional 2nd arg "cleanup" to atf_test_case().
2013-11-03 10:53:26 +01:00
Juan RP
a8bfc4e9f8
xbps-rindex: add more test-cases and merge issue19 into the generic clean_test.
2013-11-03 10:52:32 +01:00
Juan RP
3602774bc3
xbps-rindex: [clean] make sure to pass a valid repository url.
2013-11-03 10:16:58 +01:00
Juan RP
88100fa1e7
.gitignore: fix path to generated test files.
2013-11-03 10:15:02 +01:00
Juan RP
4d3a412d9e
Reorganize tests and move all them under /usr/tests/xbps.
2013-11-03 09:30:57 +01:00
Juan RP
4e4e4a49d0
Added an ATF test-case for issue #19 .
2013-11-02 11:44:54 +01:00
Juan RP
616d4420d2
xbps-rindex(8): fix #19 . An ATF test-case will be imported later.
2013-11-02 11:34:55 +01:00
Juan RP
2b40d8ad54
issue18_test: use atf_check_equal() instead and cleanup stuff at the end.
2013-11-01 18:47:23 +01:00
Juan RP
c4a0568c08
Added an ATF test-case for issue #18 (in shell).
2013-11-01 18:35:25 +01:00
Juan RP
1fd164b88b
NEWS: mention #18 has been fixed.
2013-11-01 18:09:41 +01:00
Juan RP
f09eab62cd
Fix #18 . An ATF test-case will be imported in a while.
2013-11-01 18:05:11 +01:00
Juan RP
59f4248218
Bump to 0.26.2.
2013-10-30 12:04:49 +01:00
Juan RP
b2e1075efa
unpack: apply correctly file permissions to existent files.
...
Will be backported to the 0.26.x branch.
2013-10-30 12:04:26 +01:00
Juan RP
747f250202
unpack: apply correctly file permissions to existent files.
...
Will be backported to the 0.26.x branch.
2013-10-30 12:02:16 +01:00
Juan RP
0247b49f86
xbps_repo_key_import: ignore local repos.
2013-10-28 12:51:03 +01:00
Juan RP
f39f7ff2fa
xbps-rkeys: print the error if pubkey cannot be imported.
2013-10-28 12:46:23 +01:00
Juan RP
3bb7168935
Merge branch '0.26.x'
2013-10-25 09:48:12 +02:00
Juan RP
43ba262976
NEWS: prepare for 0.26.1.
2013-10-25 09:46:26 +02:00
Juan RP
6d9f06ddbb
configure: bump to 0.26.1.
2013-10-25 09:46:07 +02:00
Juan RP
1c56e2342c
xbps-uhelper: added 'real-version' action.
...
- This prints to stdout the version of an installed "real" package,
not virtual. The 'version' action can be used to match any "real" and
"virtual" package instead.
- Drop strcasecmp() to check actions and use strcmp() instead.
2013-10-25 09:43:42 +02:00
Juan RP
fc9fda7195
configure: also respect CPPFLAGS from environment (if set).
2013-10-23 15:59:10 +02:00
Juan RP
7b0e9967b1
xbps-uhelper: added 'real-version' action.
...
- This prints to stdout the version of an installed "real" package,
not virtual. The 'version' action can be used to match any "real" and
"virtual" package instead.
- Drop strcasecmp() to check actions and use strcmp() instead.
2013-10-22 09:56:55 +02:00
Juan RP
ab5b356b5b
xbps-rindex: initialize idxfiles in repo to access to it.
2013-10-18 09:36:25 +02:00
Juan RP
aad0502b95
xbps_repo_key_import: also print repourl in state cb.
2013-10-15 09:58:51 +02:00
Juan RP
70047586ee
Xref xbps-rkeys(8)
2013-10-12 10:13:32 +02:00
Juan RP
43b9be6046
xbps-rindex(8): added support for XBPS_PASSPHRASE env var.
...
- XBPS_PASSPHRASE (if set) will be supplied as passphrase when signing repos.
- Use the default OpenSSL passphrase cb when loading the private key.
2013-10-12 09:55:03 +02:00
Juan RP
c91050fc35
xbps-rindex(8): added -v --verbose option (mainly for -r mode).
2013-10-10 10:43:01 +02:00
Juan RP
a5ecaa493f
New utility: xbps-rkeys(8) to manage RSA public keys.
2013-10-09 10:13:07 +02:00
Juan RP
250916fa6a
xbps-query: use the _multi version to find out largest pkgver string.
2013-10-08 10:39:20 +02:00
Juan RP
3267fa05ad
README.md: misc tweaks.
2013-10-08 10:28:31 +02:00
Juan RP
144f668471
README.md: mention RSA signed repos.
2013-10-07 11:11:19 +02:00
Juan RP
14c20ece37
NEWS: xbps-rindex -c --clean mode removed.
2013-10-07 10:29:32 +02:00
Juan RP
f3b0b19258
xbps-rindex: remove -c --clean mode and adapt to the new libxbps API.
...
- Removed -c --clean mode. It's not too useful and adds a considerable
amount of gratuitous code. It takes almost the same time than
adding all pkgs from scratch.
- When creating the repository data always add the meta plist at the
2nd position in the archive, to optimize its access.
- Misc improvements.
2013-10-07 10:23:14 +02:00
Juan RP
1f270e3a1a
xbps-query: adapt to the new libxbps API.
2013-10-07 10:22:45 +02:00
Juan RP
27723e94ff
Optimize repository API functions.
...
- Remove xbps_repo_get_plist() and try to internalize all members at
xbps_repo_open() time.
- Added xbps_repo_open_idxfiles() to also internalize the index-files
plist from repository, which is really huge and must only be internalized
when needed.
- Improve how signed and verified repositories are detected.
- Misc optimizations and small performance improvements.
Bump XBPS_API_VERSION.
2013-10-07 10:19:04 +02:00
Juan RP
c69134f851
xbps_repository_is_remote: optimize and check for http:// first.
2013-10-07 09:23:25 +02:00
Juan RP
0db47cff9c
Always build with DEBUG and enable assertions.
2013-10-07 08:20:42 +02:00
Juan RP
8d5c48b861
Added support for the long awaited feature: RSA signed repositories.
2013-10-05 11:38:04 +02:00
Juan RP
ae2eea8937
configure: get latest git rev from HEAD not from master.
...
In tags there's no 'master' branch so use HEAD instead.
2013-09-26 11:33:07 +02:00
Juan RP
0fc6bc0d5c
Makefile: remove dist target (unused and obsolete).
2013-09-26 11:10:31 +02:00
Juan RP
0778328e82
Post release bump to 0.27.
2013-09-25 12:30:05 +02:00
Juan RP
0c16ebf4bf
NEWS: prepare for 0.26.
2013-09-25 11:25:23 +02:00