Jan Tatje
46be602e28
xbps-remove: fix --dry-run for --clean-cache
...
`xbps-remove --clean-cache --dry-run` did not consider the
--dry-run flag, this has been fixed.
2016-09-07 21:56:01 +02:00
Juan RP
f69171320d
xbps-remove: fix previous correctly: process XBPS_STATE_ALTGROUP states.
2015-10-31 12:07:06 +01:00
Juan RP
85f75c2531
xbps-remove: do not ignore unknown states in the state cb.
2015-10-31 12:01:22 +01:00
Bheesham Persaud
0a0cd42682
Minor changes to the documentation.
2015-10-30 02:01:29 -04:00
Juan RP
637c087173
xbps-*: do not log to console with syslog enabled. Close #123
2015-10-29 07:16:49 +01:00
Juan RP
fa7d8bdfc5
xbps-xxx.1: responsability -> responsibility.
2015-10-28 10:03:41 +01:00
Juan RP
4211f5cd09
New manual page for xbps-fbulk(1).
2015-10-28 09:37:09 +01:00
Juan RP
ae8db1ce98
xbps-remove.1: document -n/--dry-run output.
2015-10-20 09:16:38 +02:00
Juan RP
fcdd71aac4
Move xbps utils manpages to the section 1 (user commands).
2015-05-16 09:46:10 +02:00
Juan RP
9c47bc0b1a
xbps-re{configure,move}: fix previous.
2015-02-18 17:02:50 +01:00
Juan RP
73c0d68acd
xbps-remove: do not bother to print useless msgs about unknown states.
...
Those states are not meaningful for the application.
2015-02-18 16:55:42 +01:00
Juan RP
c0c3771965
xbps-remove.8: improve -F desc.
2015-02-16 11:19:09 +01:00
Juan RP
d607655371
libxbps: globally check for unresolved reverse dependencies.
...
Close #46 . See NEWS for more information.
2015-02-03 10:20:13 +01:00
Juan RP
d4a25b7ebf
xbps-remove: xbps_pkgdb_unlock -> xbps_end.
2015-01-10 19:26:24 +01:00
Juan RP
283fb4bc06
xbps-remove: misc changes to the clean-cache mode.
...
- If orphans mode is not set, exit directly.
- Simplify the clean-cache code to avoid unnecessary allocs in some cases.
2015-01-10 11:13:26 +01:00
Juan RP
59096a866b
bin/*/*.8: mention system configuration directory.
2014-12-15 09:24:55 +01:00
Juan RP
395e147c6c
xbps.d(5) - XBPS configuration directory
2014-12-09 11:41:35 +01:00
Juan RP
5b522109f7
Replaced config/system {repo,preserve,virtualpkg}.d with a single directory.
...
See the NEWS file for more information.
2014-11-06 09:58:04 +01:00
Juan RP
b157407684
bin/xbps-remove/clean-cache.c: CID 62747 (toctou)
2014-10-08 10:09:58 +02:00
Juan RP
0af6db77e6
bin/xbps-remove/clean-cache.c: resource leak (CID 62680)
2014-10-05 08:00:31 +02:00
Juan RP
966718bb7d
bin/*/*.8: fixed mdoc errors/warnings reported by mandoc -Wall.
2014-09-30 11:36:08 +02:00
Juan RP
f80df0fa22
xbps-{install,remove}: print guards in post-install/pre-remove messages.
...
This avoids the need to manually add them to the {INSTALL,REMOVE}.msg
files in binary packages, and saves some bytes in the repository archive
and binary packages.
Idea by @dominikh.
2014-09-16 09:58:27 +02:00
Juan RP
dea7ea888e
bin/*/*.8: sync with reality.
2014-09-11 12:21:33 +02:00
Juan RP
05e7a59f03
xbps_handle: constify xbps_xxx_cb_data argument.
2014-09-06 09:46:03 +02:00
Juan RP
1a024773af
xbps-remove: use xbps_binpkg_{arch,pkgver} for -O (clean-cache).
...
The new implementation is almost 1s faster than before on my system.
2014-09-05 21:09:27 +02:00
Juan RP
8939e8697d
bin/*/*.8: add missing End-List macros (.El).
2014-08-23 09:26:02 +02:00
Juan RP
766cbcf683
xbps-remove(8): fix assertion when the cachedir is empty.
2014-08-02 10:00:54 +02:00
Juan RP
f8d8f91a08
Implement support to "preserve" existent on-disk files.
...
See NEWS for more information. Fix #51
2014-08-01 15:09:51 +02:00
Juan RP
a28046332f
Implemented support for pre-remove and post-install messages.
...
Close #44
2014-07-27 11:24:49 +02:00
Juan RP
6bb61adb0e
Enable syslog logging by default; updated API to use xbps_handle::flags.
2014-06-04 09:39:02 +02:00
Juan RP
26c1e80933
xbps-remove(8): -n,--dry-run option does not need pkgdb write perms anymore.
2014-05-06 16:25:52 +02:00
Juan RP
bbae14f187
xbps-remove(8): -O,--clean-cache is now multithreaded.
2014-05-06 12:17:18 +02:00
Juan RP
43090cef2a
Xref xbps-uchroot(8)
2014-04-21 10:58:09 +02:00
Juan RP
8244f57320
bin/*: update manpages with Xref xbps-checkvers(8).
2014-04-07 12:22:55 +02:00
Juan RP
f74bf1c1c8
New custom configuration file format that does not need confuse.
2014-02-25 16:42:52 +01:00
Juan RP
73764a90fe
xbps-remove: missed an error path where pkgdb lock must be released.
2014-02-23 10:31:36 +01:00
Juan RP
4d1cdcac0c
Fix concurrency issues in pkgdb: only allow 1 write transaction at the same time.
...
This implementation relies on a POSIX named semaphore, which is also
required by xbps-rindex(8).
2014-02-23 08:23:14 +01:00
Juan RP
f97ea2b915
xbps-remove: make -O also remove signature files and skip pkgs with unmatched arch.
2014-02-07 03:50:30 +01:00
Juan RP
0744b76946
xbps-xxx.8: update issues url.
2013-12-17 15:38:56 +01:00
Juan RP
2e45e7c5f7
xbps-remove.8: explain how to show the pkg remove script.
2013-12-17 15:36:07 +01:00
Juan RP
2a21354a1c
Make some reorganization in struct xbps_handle.
...
The variables to set cachedir, rootdir and metadir have been
changed to "array of chars", this way there are no extra allocations.
Update clients accordingly and bump API version.
2013-12-16 11:46:39 +01:00
Juan RP
8882b0215f
Redo how the repository keys are stored.
...
- Repository keys are now stored in a new directory on metadir (/var/db/xbps):
<metadir>/key>
- Repository keys are stored with the hex fingerprint of its RSA
public key in a plist dictionary:
<metadir>/keys/xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.plist
- Drop xbps-rkeys(8) and merge its functionality into xbps-install(8) and
xbps-query(8).
- xbps-query(8) -vL now shows some more details of remote repositories:
3134 http://localhost:8000 (RSA signed, verified)
Signed-by: Void Linux
4096 60:ae:0c:d6:f0:95:17:80:bc:93:46:7a:89:af:a3:2d
16 http://localhost:8000/nonfree (RSA signed, verified)
Signed-by: Void Linux
4096 60:ae:0c:d6:f0:95:17:80:bc:93:46:7a:89:af:a3:2d
Bump XBPS_API_VERSION.
2013-11-18 16:05:46 +01:00
Juan RP
70047586ee
Xref xbps-rkeys(8)
2013-10-12 10:13:32 +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
c514894152
xbps-{install,remove}: remove the stupid rw checks on rootdir/metadir.
2013-09-18 15:43:55 +02:00
Juan RP
c5acbc7953
mk/prog.mk: set MAN to $(BIN).8 by default.
2013-09-16 08:57:24 +02:00
Juan RP
0a48738634
bin/xbps-remove/main.c: fix a memleak in the clean-cache code.
2013-09-15 10:25:47 +02:00
Juan RP
4057e4961c
Use C99 for loop initializers.
...
That means that a C99 compiler is now mandatory.
2013-09-15 10:06:49 +02:00
Juan RP
a039330f3c
Misc cleanups: use __attribute__((__unused__)); remove dead code.
2013-08-29 10:45:30 +02:00
Juan RP
22ae6295f5
manpages: use github url for bugreports.
2013-08-18 10:17:45 +02:00