Commit Graph

1275 Commits

Author SHA1 Message Date
Juan RP
ca095df52f libxbps: some tweaks for struct xbps_state_cb_data.
- Renamed args pkgname/version to arg0/arg1 to make them generic.
- Update bins with this and make some tweaks in state_cb.

Bumped API version.
2012-11-07 10:11:06 +01:00
Juan RP
89d892d98f xbps-install/fetch_cb.c: some printf tweaks. 2012-11-07 10:09:50 +01:00
Juan RP
fcb565cfa1 xbps-remove: dont error out if no orphans were found. 2012-11-06 14:46:43 +01:00
Juan RP
5830f154d5 xbps-query.8: improve -R, --repository description. 2012-11-06 11:41:33 +01:00
Juan RP
52cef3e65f Update NEWS and TODO. 2012-11-06 11:11:13 +01:00
Juan RP
e21cdc68df Remove obsolete xbps-{bin,repo} utils. 2012-11-06 11:07:31 +01:00
Juan RP
e57e6669fb xbps-query: added a manual page. 2012-11-06 11:05:27 +01:00
Juan RP
11149f058c man: use the same width. 2012-11-06 10:33:29 +01:00
Juan RP
0c6a4f08ff xbps-install: added a manual page. 2012-11-06 10:23:07 +01:00
Juan RP
a41f8f2d92 man: s/Void GNU\/Linux/Void Linux/g 2012-11-06 09:55:56 +01:00
Juan RP
737727999b xbps-pkgdb: added a manual page. 2012-11-06 09:54:43 +01:00
Juan RP
310e619ea3 Remove unnecessary variable assignments reported by cppcheck. 2012-11-06 09:28:34 +01:00
Juan RP
c7402a9176 xbps-query/search.c: fix a memleak found by cppcheck. 2012-11-06 09:13:05 +01:00
Juan RP
ef6ed7d8c7 xbps-query: fallback to repos on ENOENT for show modes. 2012-11-05 13:17:15 +01:00
Juan RP
2e649f9315 xbps-query: show usage if no args are set for search or ownedby modes. 2012-11-05 12:12:34 +01:00
Juan RP
1948978dec xbps-create.8: add Xrefs. 2012-11-05 09:57:52 +01:00
Juan RP
f6a4ab353a xbps-install/transaction: remove extra \n in a printf. 2012-11-05 09:53:35 +01:00
Juan RP
caaf885229 xbps-remove: constify longopts; exec trans correctly. 2012-11-05 09:51:34 +01:00
Juan RP
0a7e917d49 manpages: tweaks. 2012-11-05 09:39:10 +01:00
Juan RP
603b0249f1 xbps-remove.8: minor fix. 2012-11-03 11:37:12 +01:00
Juan RP
306273ce7b xbps-remove.8: minor tweaks. 2012-11-03 11:33:55 +01:00
Juan RP
2734ad6d5e xbps-remove.8: extend DESCRIPTION. 2012-11-03 11:29:45 +01:00
Juan RP
b35ae55028 xbps-reconfigure.8: Xr xbps-rindex(8). 2012-11-03 11:21:39 +01:00
Juan RP
35f468fa55 xbps-reconfigure: added a manual page. 2012-11-03 11:18:10 +01:00
Juan RP
611d529cb0 xbps-remove: added a manual page. 2012-11-03 10:47:03 +01:00
Juan RP
b11d18a54f xbps-rindex: added a manual page. 2012-11-03 10:30:26 +01:00
Juan RP
4bc718b91b xbps-install: state_cb.c: s/xbps-bin/xbps-install/g. 2012-11-03 09:48:16 +01:00
Juan RP
714bacb0e4 xbps-remove: avoid xbps-install/state_cb.c dependency. 2012-11-03 09:47:28 +01:00
Juan RP
d61e12d75e xbps-reconfigure: avoid xbps-install/state_cb.c dependency. 2012-11-03 09:43:28 +01:00
Juan RP
0fbe845e32 mk/prog.mk: remove all object files. 2012-11-03 09:42:51 +01:00
Juan RP
a0d4a21a1d xbps-install: fixed some issues; remove unused headers. 2012-11-02 15:24:48 +01:00
Juan RP
b05ce9fe57 New utilities: xbps-{install,pkgdb,query,reconfigure,rindex} (WIP). 2012-11-02 15:04:25 +01:00
Juan RP
7fa8207cf3 xbps-create: be consistent with options, minor fixes. 2012-11-02 15:03:33 +01:00
Juan RP
03567ecb70 unpack: correctly take into account rootdir while checking symlinks. 2012-10-27 10:36:39 +02:00
Juan RP
978013bfbf unpack: match correctly symlinks with absolute path. 2012-10-27 09:42:26 +02:00
Juan RP
264c704529 unpack: do not use realpath(3) on uninstalled symlinks. 2012-10-27 09:36:28 +02:00
Juan RP
c28f882d5c unpack: misc improvements for previous. 2012-10-26 14:32:04 +02:00
Juan RP
c58ca952a8 unpack: convert printf added in previous to xbps_dbg_printf. 2012-10-26 14:22:18 +02:00
Juan RP
7fdae2d6dc unpack: handle another case of relative symlink. 2012-10-26 14:17:31 +02:00
Juan RP
a5707e5b8d Bump XBPS_API_VERSION for latest changes in libxbps behaviour. 2012-10-26 11:35:01 +02:00
Juan RP
20078259e2 NEWS: mention latest changes. 2012-10-26 11:34:47 +02:00
Juan RP
d31a3d205a unpack: use lstat() for symlinks, respect uid/gid if euid == 0, some fixes. 2012-10-26 11:25:17 +02:00
Juan RP
e3d876ade0 pkgdb: some fixes for e545429fa1. 2012-10-26 11:05:17 +02:00
Juan RP
4023c8115b unpack: improvements to handle more cases of modified files.
- Do not unpack unmodified symlinks.
- Do not unpack files that only differ in mode, just chmod(2) new perms.
- Do not create pkg's metadata dir if this already exists.
2012-10-26 10:27:24 +02:00
Juan RP
e545429fa1 pkgdb: if plist from storage and memory do not differ do not flush to storage. 2012-10-26 10:25:14 +02:00
Juan RP
3e7f35bed1 xbps_configure_pkg: do not flush pkgdb if state hasn't been changed. 2012-10-26 10:24:26 +02:00
Juan RP
89dadb0f20 While checking conf files and there were no changes, do not unpack file from binpkg. 2012-10-26 10:23:12 +02:00
Juan RP
d99c505811 requiredby: skip adding same entry if already exists. 2012-10-26 09:44:07 +02:00
Juan RP
9e11ea950a Do not inherit unneeded objs from trans dictionary onto pkg's pkgdb dictionary. 2012-10-25 09:29:56 +02:00
Juan RP
863f12e349 Improved finding obsolete files while upgrading pkgs. 2012-10-24 07:45:00 +02:00