Juan RP
4070255529
pkgdb: added "repository-origin" obj to know its origin repository.
2014-05-11 10:03:17 +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
c119c5e0bb
NEWS: mention recent change made by Gottox.
2014-05-06 09:29:29 +02:00
Juan RP
35de44fcbd
xbps-query(8): fix a segfault with -Rf if pkg is in repodata but not its binpkg.
2014-05-02 17:23:53 +02:00
Juan RP
5c8ccf4abb
NEWS: prepare 0.36.
2014-04-21 11:43:53 +02:00
Juan RP
43090cef2a
Xref xbps-uchroot(8)
2014-04-21 10:58:09 +02:00
Juan RP
c992db2bc0
New test cases to detect pkgs with dependencies on itself.
2014-04-20 18:19:12 +02:00
Juan RP
bb491e2667
libxbps: detect and ignore incorrect deps of a pkg if those are virtual pkgs.
2014-04-20 16:54:50 +02:00
Juan RP
1d74c1c144
xbps-install(8): -n,--dry-run option does not need pkgdb write perms anymore.
2014-04-18 09:06:53 +02:00
Juan RP
ed70fe5009
xbps-query(8): fix a segfault with '-vL' for local unsigned repositories.
2014-04-13 12:24:26 +02:00
Juan RP
b71bda2ba4
xbps-create(8): new option (--compression) to set compression format.
2014-04-11 14:16:58 +02:00
Juan RP
1ff1fc90cb
Renamed xbps-repo-checkvers -> xbps-checkvers.
2014-04-07 10:45:25 +02:00
Juan RP
eb1f1d197d
Merge xbps-repo-checkvers from https://github.com/xdave/xbps-src-utils
...
This is the 2-clause BSD implementation that does not use any external
dependency (other than libxbps).
Written by xdave.
Made some minor changes to build cleanly.
2014-04-06 12:21:24 +02:00
Juan RP
eeb12a8c9d
NEWS: prepare 0.35.
2014-04-01 10:50:14 +02:00
Juan RP
9ace61225d
xbps-uchroot: new utility merged from xbps-src, must have appropiate permissions to work.
2014-04-01 10:26:22 +02:00
Juan RP
ee9479cc57
xbps-rindex: --sign bugfix to avoid garbage in the PEM RSA public key buffer.
2014-03-31 12:00:08 +02:00
Juan RP
4530c79bb2
Make sure that root symlinks in void are never removed or detected as obsoletes.
...
Added/improved test cases to detect those conditions work as expected.
2014-03-31 10:16:18 +02:00
Juan RP
ab0f928cca
NEWS: prepare 0.34.
2014-03-26 09:32:43 +01:00
Juan RP
cb66092fbc
xbps-query: added support for -p/--property argument in search mode.
...
See the NEWS file for more information.
2014-03-21 13:19:40 +01:00
Juan RP
f2868856ee
xbps-query: in local mode print all objs from pkgdb.
2014-03-21 11:14:16 +01:00
Juan RP
9eebead5d7
xbps-query: print the 'hold' object on installed packages.
2014-03-21 09:33:18 +01:00
Juan RP
d0a9bbb912
Fix #34 (make libfetch always add "Accept: */*" in the HTTP header).
2014-03-18 14:08:40 +01:00
Juan RP
4b20a6b512
NEWS: mention recent changes.
2014-03-16 18:05:42 +01:00
Juan RP
ef3b6278a6
Added support to pass native machine architecture to pkg scripts (6th arg).
2014-03-12 10:16:37 +01:00
Juan RP
7606691af3
Post-release bump to 0.34.
2014-03-11 13:11:41 +01:00
Juan RP
8dbdf77cee
NEWS: prepare 0.33.
2014-03-11 10:19:25 +01:00
Juan RP
878d2bf7e2
xbps-dgraph: only set rootdir it was set ( fix #33 ).
2014-03-10 10:20:04 +01:00
Juan RP
0416b067d0
Use a POSIX lock for pkgdb and only issue pkgdb writes in exact points.
...
- Rather than using a POSIX named semaphore use a POSIX lock (lockf(3))
for pkgdb for writers. Writers that cannot acquire the pkgdb lock will
get EAGAIN rather then being blocked.
- Due to using a file lock we cannot write the pkgdb every time a package
is being unpacked, configured or removed. Instead pkgdb is only written
at the end of a specific point in the transaction (unpack, configure, remove)
or via xbps_pkgdb_unlock().
2014-03-04 14:37:10 +01:00
Juan RP
6335573180
NEWS: mention recent change to xbps-uhelper fetch by Gottox.
2014-03-04 14:35:05 +01:00
Juan RP
9101241b20
Fix pkg symlink removal introduced in the two phase package removal feature.
2014-02-26 10:05:19 +01:00
Juan RP
8c47021ec3
Fix #31 and add new test case to reproduce it.
2014-02-25 22:55:39 +01:00
Juan RP
f74bf1c1c8
New custom configuration file format that does not need confuse.
2014-02-25 16:42:52 +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
bc2bada045
NEWS: mention previous bugfix.
2014-02-23 08:17:51 +01:00
Juan RP
c9fd89a76a
Post release version bump.
2014-02-21 09:35:51 +01:00
Juan RP
bd7713a8db
NEWS: prepare for 0.32.
2014-02-21 09:33:53 +01:00
Juan RP
2fa0d56658
Fixed a xbps_pkgpattern_name() crash and a test to reproduce it (found by Gottox).
2014-02-15 01:26:42 +01:00
Juan RP
61fa9b8c7e
Improve package removal by using a two phase approach: check and removal.
2014-02-09 11:54:49 +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
306fe4968e
xbps-rindex: clear file permission bits before creating our named semaphore.
...
Due to the file permission bits (umask(3)) the semaphore wasn't created
with correct permissions.
2014-02-05 15:27:35 +01:00
Juan RP
9c124aa162
Post release bump.
2014-02-01 12:25:50 +01:00
Juan RP
7508678fa3
NEWS: prepare 0.31.
2014-02-01 10:45:08 +01:00
Juan RP
314386d3da
NEWS: also mention the errno(3) propagation issue that I did fix yesterday.
2014-01-31 11:41:13 +01:00
Juan RP
f5e1fff93a
xbps-rindex: use a POSIX named semaphore to avoid concurrency issues.
2014-01-31 11:35:31 +01:00
Juan RP
d08e76a386
Keep repo metadata if possible when updating repodata (xbps-rindex -a/-c).
...
API/ABI incompat changes, you've been warned.
2014-01-30 13:07:34 +01:00
Juan RP
c6cae9e6ef
NEWS: mention recent xbps-rindex -c fix.
2014-01-30 12:54:43 +01:00
Juan RP
7ceb83cee7
NEWS: mention recent double free fix.
2014-01-28 21:01:39 +01:00
Juan RP
2bacf4887d
Post release bump to 0.31.
2014-01-28 17:29:04 +01:00
Juan RP
aca6df5bba
NEWS: prepare 0.30.
2014-01-28 17:27:06 +01:00
Juan RP
c03505b13e
Fix #30 (segment fault in xbps-rindex)
2014-01-22 11:53:08 +01:00
Juan RP
72f37de770
Fix #29 (xbps-rindex does not sign repodata if no pkg has been signed)
2014-01-21 11:06:02 +01:00
Juan RP
e9bc52a01b
Fix #28 (Verification fails due to missing signature).
2014-01-21 10:06:48 +01:00
Juan RP
16fc064aef
Remove obsolete files also on package reinstalls (and downgrades).
2014-01-15 21:52:35 +01:00
Juan RP
98a3723902
Respect installation mode also on reinstall (and downgrade).
2014-01-15 16:17:41 +01:00
Juan RP
292be5c420
Make sure that all symlinks in a package are removed, not just dangling symlinks.
2014-01-12 17:10:07 +01:00
Juan RP
6570045cbb
NEWS: prepare for 0.29.
2014-01-09 14:22:44 +01:00
Juan RP
278a58e841
NEWS: mention recent changes.
2014-01-09 11:42:07 +01:00
Juan RP
3397e6b0f4
Post-release bump to 0.29.
2014-01-03 11:09:42 +01:00
Juan RP
799ac1d5cb
NEWS: update for 0.28.
2014-01-03 11:06:50 +01:00
Juan RP
ec0d38c469
Implement per pkg RSA signatures and on-demand repository access.
2013-12-24 10:43:55 +01:00
Juan RP
cdb04ff446
NEWS: update with recent changes.
2013-12-12 18:27:21 +01:00
Juan RP
4403caa434
Add repos set in xbps_handle::repositories to the top of the list.
...
That means that now xbps-install(8) and xbps-query(8) --repository
option does not override the repository list of a configuration file.
2013-12-04 16:59:15 +01:00
Juan RP
e86f9def03
xbps-rindex: fix #25 (--sign unnecessarily regenerates <arch>-repodata).
2013-11-30 08:04:37 +01:00
Juan RP
7c57918950
xbps-rindex(8): fix #24 and added an ATF test case.
2013-11-29 17:30:45 +01:00
Juan RP
de5bd83765
NEWS: prepare for 0.27 release.
2013-11-29 10:24:33 +01:00
Juan RP
dce26db1de
libxbps: pkg remove: never remove base symlinks in the root directory.
...
The /bin, /sbin, /lib, /lib32, /lib64, /var/run symlinks should never be removed
in Void, so be safe and ignore the removal of them.
Added another test to the testsuite to verify its correctness.
2013-11-28 10:27:36 +01:00
Juan RP
2f1e108af5
NEWS: mention testsuite improvements.
2013-11-27 09:08:10 +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
41baf01cd1
NEWS: mention that issue #6 has been fixed.
2013-11-06 09:51:15 +01:00
Juan RP
c1fafcd339
Fix #20 and added an ATF test-case.
2013-11-05 09:56:36 +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
1fd164b88b
NEWS: mention #18 has been fixed.
2013-11-01 18:09:41 +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
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
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
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
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
14c20ece37
NEWS: xbps-rindex -c --clean mode removed.
2013-10-07 10:29: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
0c16ebf4bf
NEWS: prepare for 0.26.
2013-09-25 11:25:23 +02:00
Juan RP
4e0c933c7f
NEWS: more tweaks.
2013-09-20 09:03:52 +02:00
Juan RP
14c3f40429
NEWS: sync with reality and misc tweaks.
2013-09-19 08:54:44 +02:00
Juan RP
27db8e89c4
xbps-query: replace -D --defrepo' option with
-R' and `--repository=url'.
...
The argument in `--repository' is optional, therefore must be specified
with `=' to work. If no argument is specified, repository mode is enabled
preserving the repository list of configuration file.
2013-09-18 17:13:43 +02:00
Juan RP
2e5501b1a6
NEWS: note last changes.
2013-09-18 16:47:37 +02:00
Juan RP
98e1687ef5
Re-add all pkg metadata objects to the repository index.
2013-09-16 09:09:56 +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
11fbffa241
Fix #14 from github (Removing recursively does not respect manual installation mode for dependencies).
2013-08-17 09:50:19 +02:00
Juan RP
776b94e6bc
Remove PackagesOnHold from xbps.conf; use xbps-pkgdb -m hold|unhold instead.
...
To put a package on hold mode:
$ xbps-pkgdb -m hold foo
To unhold the package:
$ xbps-pkgdb -m unhold foo
To list packages on hold mode:
$ xbps-query -H
This also close #12 from github.
2013-08-12 14:46:54 +02:00
Juan RP
9c9d5b58dd
Assume 80 columns if TIOCGWINSZ ws.col is bogus (0).
2013-08-10 12:59:59 +02:00
Juan RP
8fa5f15cbb
NEWS: update with recent changes.
2013-07-28 09:46:54 +02:00
Juan RP
432067de48
Remove three unused API functions.
2013-07-27 06:12:59 +02:00
Juan RP
20f2d10527
xbps-query(8): -L now prints all repos, including non working repos ( close #11 ).
2013-07-26 11:42:52 +02:00
Juan RP
e0643acbb0
xbps-query(8): fixed some memleaks in local/remote ownedby mode.
2013-07-21 10:49:30 +02:00
Juan RP
bb0c3250b1
NEWS: mention regression in xbps-query(8).
2013-07-07 10:00:28 +02:00
Juan RP
ecd15b7d57
Check if an update for conflicting pkg is in the transaction for revdeps in vpkgs.
2013-07-05 10:09:32 +02:00
Juan RP
02e1958fac
NEWS: prepare 0.25.
2013-07-05 08:01:37 +02:00
Juan RP
505a933097
Added support to verify reverse dependencies in a transaction.
...
See https://plus.google.com/106812073015308749022/posts/ZXMHimd8iKd
2013-06-27 16:52:31 +02:00
Juan RP
cccc9de7de
NEWS: mention latest changes.
2013-06-20 12:19:48 +02:00
Juan RP
9c44411722
NEWS: mention recent changes.
2013-06-14 10:32:28 +02:00
Juan RP
6e6b7560f3
NEWS: mention xbps-dgraph changes.
2013-06-13 17:46:58 +02:00
Juan RP
734a2c3c2b
xbps-query(8): added support to find revdeps for virtual pkgs in repository mode.
2013-06-11 16:18:40 +02:00
Juan RP
99be698979
Use a single file to store repository data.
...
This is just the starting point to extend repositories with PGP signatures.
2013-06-10 10:28:39 +02:00
Juan RP
d6605e1b97
xbps-create(8): calculate correctly target file for relative symlinks.
2013-05-27 10:27:55 +02:00
Juan RP
15b2258b77
xbps-pkgdb: fix issue #9 (remove old code that broke pkgdb mem vs disk comparisions).
2013-05-16 17:16:39 +02:00
Juan RP
cb15387bb8
Post release version bump.
2013-05-02 12:31:34 +02:00
Juan RP
956d0d8690
NEWS: update for 0.24.
2013-05-02 12:16:58 +02:00
Juan RP
53217fd51b
xbps-rindex: added -f --force flag to forcefully register a pkg with -a --add.
2013-05-02 10:46:30 +02:00
Juan RP
30747b1c8b
Post release bump to 0.24.
2013-04-19 10:44:13 +02:00
Juan RP
1503a83c89
NEWS: prepare 0.23.
2013-04-19 10:31:25 +02:00
Juan RP
5fd7565e6c
xbps-install(8): -R now overrides the repository list set in a configuration file.
...
Now -R can be used independently if a configuration file exists or not.
2013-04-18 18:17:14 +02:00
Juan RP
68770053e9
xbps-rindex: fixed cleaning obsolete entries from index-files in clean mode (-c).
2013-04-06 21:30:31 +02:00
Juan RP
f6971727ac
NEWS: mention latest bugfix.
2013-04-04 10:43:57 +02:00
Juan RP
8736ef6c5a
xbps-create: fix issue #5 from github: initialize setlocale.
2013-04-01 10:49:25 +02:00
Juan RP
069f65a2a5
NEWS: mention 2 last items.
2013-03-26 10:56:01 +01:00
Juan RP
4411ff82ac
Post release bump to 0.23.
2013-03-23 08:33:38 +01:00
Juan RP
ca6cfa252c
NEWS: update for 0.22.
2013-03-23 08:24:34 +01:00
Juan RP
59006fe86c
xbps-create: added --build-options option, mainly for xbps-src.
...
This expects a string with the list of used build options.
2013-03-23 08:18:06 +01:00
Juan RP
70b89a88cc
xbps-query: make -o (ownedby) follow symlinks; close issue #4 from github.
2013-03-17 10:59:40 +01:00
Juan RP
7491c0e584
xbps-create: set root:root if e[gu]id == st.st_e[gu]id in package files.
...
The rational is that packages should have proper perms to be installed
globally in a system as root, and fakeroot is useless when generating
packages with xbps-create when it's statically build.
2013-03-15 09:31:15 +01:00
Juan RP
dd9cf9737b
xbps-query: fix segfault when listing unexistent package files.
2013-03-13 23:15:42 +01:00
Juan RP
b5d141e28c
When checking for obsolete files ignore unexistent files.
2013-03-13 22:08:13 +01:00
Juan RP
7fd3e23762
NEWS: another item.
2013-03-11 15:51:58 +01:00
Juan RP
fe922ace4c
Merge portable proplib 0.6.3.
2013-03-09 16:41:40 +01:00
Juan RP
50ea03df2a
Revert code to update xbps independently; I'll use another way to implement this.
2013-03-08 09:44:57 +01:00
Juan RP
7c1a0ac3e8
New pkgdb (0.21) and repo index (1.7) format, see NEWS for info.
2013-03-05 04:08:42 +01:00
Juan RP
4a52542a76
NEWS: mention musl compat.
2013-03-03 11:22:20 +01:00
Juan RP
c50cbf03c7
xbps-query: added support to query virtual packages in repository mode.
2013-03-02 19:10:13 +01:00
Juan RP
0c50c0bb2d
xbps-pkgdb: new option -m --mode <auto|manual> to change pkg install mode.
2013-02-20 10:35:55 +01:00
Juan RP
3357683215
NEWS: some tweaks for latest item.
2013-02-19 14:57:57 +01:00
Juan RP
be1086f8fb
xbps-query: -s, --search is able to find pkgs by matching virtual pkgnames.
2013-02-15 08:30:11 +01:00
Juan RP
3bb41a2662
xbps-query: changed -M (--list-orphans) shortopt to -O.
2013-02-13 15:47:46 +01:00
Juan RP
2b5d3bb8f4
libxbps: when resolving deps, ignore all of them that depend on the origin pkg.
2013-02-07 18:50:55 +01:00
Juan RP
e9e704d59a
configure: use gcc --print-sysroot to behave correctly in cross builds.
2013-02-06 18:41:44 +01:00
Juan RP
d8769c4873
Workaround fix for 'xbps-install -yf xbps <-> xbps-git'.
2013-02-05 12:10:24 +01:00
Juan RP
004758b70f
Mention latest fix to fully remove pkgs with broken symlinks.
2013-02-04 16:42:55 +01:00
Juan RP
fa1d543dfa
Ignore package conflicts against themselves, due to virtual packages.
2013-02-02 14:34:55 +01:00
Juan RP
dcff876533
xbps-query: explicitly use -R for repository mode; otherwise local.
...
This closes #3 by radare.
2013-02-02 12:02:10 +01:00
Juan RP
5c1688944d
xbps-install: make -f preserve conf files; use it twice to overwrite all files.
2013-02-02 11:30:42 +01:00
Juan RP
bdcdb9f1a0
xbps_fetch_file: don't check for file truncation if server answers with invalid info.
2013-02-01 13:40:27 +01:00
Juan RP
42e0f19bbe
Fix package conflicts detection (regression from b9136c61c9
).
2013-02-01 12:41:27 +01:00
Juan RP
303df5fc46
xbps-install: new flag -S,--sync and remove -s,--skip-sync.
...
-S: to explicitly synchronize remote repository index files.
-s: removed because it is now redundant and useless.
2013-01-31 10:44:33 +01:00
Juan RP
e6fcf87b50
NEWS: prepare for 0.20.
2013-01-24 09:39:16 +01:00
Juan RP
82a8263f37
xbps-rindex(8): fix crash in -r when a pkg cannot be removed.
2013-01-16 16:25:29 +01:00
Juan RP
fa40928026
xbps-install: don't treat EEXIST as an error when installing pkgs.
...
Thanks to pancake for the bug hunting.
2013-01-16 11:47:52 +01:00
Juan RP
b5bb1debe4
Partial revert of 5d59a15faf
.
...
Error out if "pre-remove" script action fails, otherwise package is
removed but its files are still there (ouch).
2013-01-14 14:01:35 +01:00
Juan RP
5e613243ea
NEWS: mention libfetch changes.
2013-01-13 21:11:33 +01:00
Juan RP
a4e3a489a1
Change some configure options to --enable-foo (static, debug, tests, etc).
2012-12-29 07:44:10 +01:00
Juan RP
ba12ba2689
NEWS: mention recent change when removing pkgs.
2012-12-29 07:43:02 +01:00
Juan RP
0f22579a34
libxbps: fixed regression executing "pre-remove" action in installed pkgs.
2012-12-28 10:42:13 +01:00
Juan RP
1fa3601893
xbps-create: added support for --shlib-{provides,requires} options.
2012-12-24 10:55:17 +01:00
Juan RP
9489f8a3dc
Do not configure pkg if there's an update in transaction.
...
This fixes the following problem:
- pkg is installed with state "unpacked".
- There's an update of pkg in transaction.
- xbps tries to configure the pkg because its state is "unpacked",
therefore ignoring the update.
2012-12-20 12:08:55 +01:00
Juan RP
faf0fd6a08
xbps-query: print pkg state in -l, --list-packages mode.
2012-12-20 06:15:56 +01:00
Juan RP
fed10ff211
NEWS: mention xbps-reconfigure fix.
2012-12-20 06:04:28 +01:00
Juan RP
9d97d2952a
NEWS: prepare 0.19.
2012-12-15 23:21:30 +01:00
Juan RP
bb877b0db7
xbps-rindex: -a does not remove outdated binpkgs anymore; use -r instead.
2012-12-15 11:13:32 +01:00
Juan RP
41f753248f
xbps-rindex(8): remove obsoletes mode (-r) is now multithreaded.
2012-12-14 09:47:47 +01:00
Juan RP
a0443fc4ce
xbps-rindex(8): clean mode (-c) is now multithreaded.
2012-12-14 04:59:47 +01:00
Juan RP
33a8150a98
xbps-pkgdb: checking all pkgs with -a/--all is now multithreaded.
2012-12-14 03:31:24 +01:00
Juan RP
db5da575a4
xbps-create: added support to add hardlinks.
2012-12-12 03:48:27 +01:00
Juan RP
298072ced3
xbps-rindex(8): in clean mode (-c) also remove entries with unmatched hash.
2012-12-03 11:05:37 +01:00
Juan RP
f45352dbf8
Added support for dynamic generation of revdeps for installed packages.
2012-11-30 17:40:52 +01:00
Juan RP
7584c4b3ef
NEWS: set date to 0.18.1.
2012-11-26 23:34:41 +01:00
Juan RP
63dc8a8693
NEWS: update for 0.18.1.
2012-11-26 23:32:58 +01:00
Juan RP
79a31bb6bc
xbps-query: implemented -X, --revdeps in repository mode.
2012-11-21 02:52:36 +01:00
Juan RP
a311294f0a
libxbps: added support to "inject" vpkg config files at initialization time.
2012-11-19 15:42:24 +01:00
Juan RP
34bd49f85a
New pkg metadata structure for 0.18. See the NEWS file for info.
2012-11-16 16:55:35 +01:00
Juan RP
a6c979295f
NEWS: typo fix.
2012-11-12 17:09:29 +01:00
Juan RP
58333419a0
Shell wildcard patterns can now be used in the PackagesOnHold option.
2012-11-11 16:11:40 +01:00
Juan RP
52cef3e65f
Update NEWS and TODO.
2012-11-06 11:11:13 +01:00
Juan RP
20078259e2
NEWS: mention latest changes.
2012-10-26 11:34:47 +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
Juan RP
922dbbb85b
NEWS: mention recent changes.
2012-10-09 10:07:47 +02:00
Juan RP
d59ad72ee4
xbps-bin(8): the 'check' target now handles symlinks correctly.
2012-10-04 12:05:04 +02:00
Juan RP
056f40da3f
NEWS: mention latest fix for xbps-create(8).
2012-10-04 10:09:49 +02:00
Juan RP
5413a4ec50
NEWS: prepare for 0.17.
2012-10-02 11:09:16 +02:00
Juan RP
fd7c5e7bfe
NEWS: another item.
2012-10-02 09:48:49 +02:00
Juan RP
ba6a459786
NEWS: add some more items.
2012-10-01 15:16:34 +02:00
Juan RP
54b6cc7ec1
xbps-{bin,repo}: add -B flag to set default repo if xbps.conf not found.
...
(cherry picked from commit 75eac1a1426040a833e0b10e208f2e55fa359532)
2012-09-29 19:10:48 +02:00
Juan RP
04fcb19567
NEWS: mention xbps-create(8). TODO: manpage.
...
(cherry picked from commit f90b7239453fcc0dec17104a1c024993d0e18f06)
2012-09-29 19:10:39 +02:00
Juan RP
886807687e
configure: enable PIE and RELRO by default if compiler supports it.
...
(cherry picked from commit d79e3a641de934cd7546b2e628a8c6ea175b6c37)
2012-09-29 19:02:24 +02:00
Juan RP
3c379ff78e
xbps-repo: remove repo index file locking, it's unreliable under NFS.
2012-08-16 10:59:54 +02:00
Juan RP
2e594caf8a
xbps-repo(8): the 'show-deps' target only lists deps and not repo/pkgver.
2012-08-10 08:43:51 +02:00
Juan RP
eb75041b25
xbps-repo(8): the search target now shows which pkgs are currently installed.
2012-07-31 10:34:10 +02:00
Juan RP
5a120e346e
xbps-repo: new 'remove-obsoletes' target to remove obsolete pkgs in a local repo.
2012-07-22 10:48:29 +02:00
Juan RP
e3fbc01cbe
NEWS: mention ubuntu build fixes.
2012-07-19 18:07:22 +02:00
Juan RP
ef5743dfe5
configure: added '--with-static' option (disabled by default).
2012-07-19 16:01:12 +02:00
Juan RP
34d1c3411d
NEWS: mention repo index file locking.
2012-07-17 13:22:45 +02:00
Juan RP
8eba2d7ea3
xbps-repo: replaced 'genindex' target with 'index-{add,clean}'.
...
See the NEWS file for more information.
2012-07-17 12:31:04 +02:00
Juan RP
9edd60c3a7
libxbps: extend the list of symlinks in rootdir to be ignored.
2012-07-14 12:11:55 +02:00
Juan RP
2f1e975607
Added "install-date" object to pkg's pkgdb dictionary, make xbps-bin(8) print it.
2012-07-11 12:19:39 +02:00
Juan RP
d8f1fc978a
NEWS: be ready for 0.16.4.
2012-07-10 23:44:47 +02:00
Juan RP
11ecf5438f
Import proplib-0.6.1.
2012-07-10 23:33:19 +02:00
Juan RP
34697e8022
libxbps: improve matching obsolete files, skip matches by hash and filename.
...
Don't remove top level symlinks (/bin, /sbin and /lib) if they were found
as obsoletes. This is a workaround for the system transition to /usr.
2012-07-10 23:22:25 +02:00
Juan RP
172435bd7e
xbps_check_is_installed_pkg_by_pattern: do not reset errno, leave it as is.
2012-07-04 12:59:40 +02:00
Juan RP
5c24ef3b7f
NEWS: update for 0.16.2.
2012-07-04 11:58:03 +02:00
Juan RP
abdf6e710d
xbps_remove_pkg: do not pass dangling pointers to state cb after removing pkgdict.
2012-07-04 09:52:51 +02:00
Juan RP
f1ad8a95de
xbps-repo: fixed issue 24 (xbps-src make-repoidx is doing something wrong).
2012-06-30 11:10:00 +02:00
Juan RP
c61ba8dfcc
Added support for package conflicts.
2012-06-11 16:14:03 +02:00
Juan RP
984612e3fc
NEWS: clarify latest item.
2012-06-05 11:34:35 +02:00
Juan RP
c37026d4c6
libxbps: require an underscore in strings to detect correctly pkgname/version.
2012-06-05 10:58:39 +02:00
Juan RP
34c1269504
Fixed installing exact pkg versions on pkgs with hyphens, we use equal sign as delimiter now.
2012-06-03 07:26:48 +02:00
Juan RP
bd3a8982cc
xbps-bin: added support to install exact pkg version, i.e 'foo-1.0'.
2012-06-02 17:35:21 +02:00
Juan RP
3399184511
xbps-repo: genindex target now removes any obsolete binpkg not registered in index.
2012-06-01 16:37:44 +02:00
Juan RP
981b13bd5a
xbps-repo: 'sync' and 'pkg-list' target now accept a repository URI argument.
...
If set, only the matching repository will be used for the task.
2012-06-01 15:02:06 +02:00
Juan RP
da75866a63
xbps-bin: -n now also prints pkg arch.
2012-06-01 11:28:30 +02:00
Juan RP
0b078cf400
NEWS: improve latest entry.
2012-06-01 11:05:08 +02:00
Juan RP
7289547432
Welcome "repository index format 1.5". See NEWS for information.
2012-05-31 16:29:56 +02:00
Juan RP
a58df97c75
xbps-bin: new flag -S to sync rpool indexes before the target.
2012-05-31 08:08:32 +02:00
Juan RP
a94dd5dbfa
Revert "libxbps: implement xbps_file_exec() with posix_spawn()."
...
This reverts commit 5aa05f4c72
.
2012-05-30 17:26:25 +02:00
Juan RP
5aa05f4c72
libxbps: implement xbps_file_exec() with posix_spawn().
2012-05-30 14:45:47 +02:00
Juan RP
123fca1721
NEWS: mention latest API/ABI changes.
2012-05-30 11:03:13 +02:00
Juan RP
da4b8b7427
rpool: improve the order while resolving dependencies.
...
See the NEWS file for more information. After that change you don't have
to set a virtual pkg in conf file, if required virtual pkg is in rpool.
2012-05-30 10:22:53 +02:00
Juan RP
6a4de0127d
libxbps: introduce the concept of "soft replace"; see the NEWS file.
2012-05-25 17:24:36 +02:00
Juan RP
d075f7182a
When removing pkg files, remove only dangling symlinks after regular files.
...
This is required for the upcoming eglibc package.
2012-05-25 14:31:42 +02:00
Juan RP
9acec7883b
xbps_remove_pkg: do not error out if files.plist not found, just continue.
2012-05-21 23:03:29 +02:00
Juan RP
52cdec886c
NEWS: grammar fixes.
2012-05-08 11:56:37 +02:00
Juan RP
bedb8b568b
NEWS: mention recent changes to xbps-bin(8).
2012-05-08 11:49:50 +02:00
Juan RP
5fabb34a1f
xbps-bin(8): keep auto{remove,update} targets for compatibility.
2012-05-08 10:09:01 +02:00
Juan RP
c3f0bec3bd
NEWS: typo.
2012-05-08 10:00:45 +02:00
Juan RP
e0fc55c389
xbps-bin(8): renamed autoremove target to remove-orphans.
2012-05-08 09:58:56 +02:00
Juan RP
758cd4fd11
xbps-bin(8): renamed autoupdate target to dist-upgrade.
2012-05-08 09:54:06 +02:00
Juan RP
28767f2ea8
Added support to put packages "on hold".
2012-05-08 09:19:43 +02:00
Juan RP
f7c49a706c
xbps-repo(8): new target 'clean': removes obsolete binpkgs from cachedir.
2012-05-05 10:07:47 +02:00
Juan RP
341ab01219
NEWS: prepare for 0.15.
2012-04-06 09:43:14 +02:00
Juan RP
00148c40b0
xbps-bin(8): extended 'requiredby' check to find and remove stale entries.
2012-04-05 10:58:52 +02:00
Juan RP
feacc506de
When reinstalling existing pkgs, remove previous entry in pkgdb's requiredby.
2012-04-04 10:20:29 +02:00
Juan RP
4511e581b2
xbps_configure_pkg: improve error messages.
2012-03-31 10:08:52 +02:00
Juan RP
8e0612bb46
A bugfix while sorting dependencies in a transaction (thanks dave).
2012-03-30 01:39:13 +02:00
Juan RP
a5f4848d0b
Use best pkg available when resolving required dependencies.
2012-03-28 12:01:59 +02:00
Juan RP
934daf8ac7
NEWS: mention Kyua test suite.
2012-03-12 15:32:13 +01:00
Juan RP
35c2e2a75d
Enable assertions by default, even with --debug disabled.
2012-03-12 11:22:18 +01:00
Juan RP
06745b70ae
Fixed issue 22: always set perms from binpkg to existing files while unpacking.
2012-03-07 12:00:08 +01:00
Juan RP
561b7adbb2
NEWS: prepare for 0.14.
2012-02-28 21:21:37 +01:00
Juan RP
216673aa4a
Fixed 'xbps-bin reconfigure all' regression added in 0.13.
2012-02-28 21:16:41 +01:00
Juan RP
79e499e2b5
NEWS: update for new changes.
2012-02-28 20:41:13 +01:00
Juan RP
77b7e61866
NEWS: prepare for 0.13.0.
2012-02-20 21:01:57 +01:00
Juan RP
c965c27dfb
Skip removing obsolete files in some cases.
2012-02-20 20:23:33 +01:00
Juan RP
7a9d47c133
xbps-repo: show, show-deps and show-files targets accepts pkgpatterns.
2012-02-16 08:55:41 +01:00
Juan RP
4cd73643a3
NEWS: prepare for 0.12.
2012-02-06 13:53:13 +01:00
Juan RP
248e970748
NEWS: fix latest entry.
2012-02-06 12:50:45 +01:00
Juan RP
36ae5709e4
xbps-bin: dry-run: add binary pkg filename prop to the output.
2012-02-05 14:56:18 +01:00
Juan RP
3afa3ba93b
xbps-bin: new dry-run mode (-n) for (auto)update, (auto)remove and install targets.
2012-02-03 14:53:28 +01:00
Juan RP
abb0d260b9
xbps-bin: the install target gains suppor for installing best pkg available.
2012-01-25 02:14:04 +01:00
Juan RP
6417119aed
NEWS: mention pkgdb changes and 'xbps-uhelper updatepkgdb'.
2012-01-20 18:45:47 +01:00
Juan RP
9a088937b5
Repository index 1.4 -- see NEWS file for info.
2012-01-19 12:26:40 +01:00
Juan RP
834344a1af
Install a pkgconfig file for libxbps.
2012-01-17 17:26:18 +01:00
Juan RP
865d69e0eb
NEWS: typos.
2012-01-16 08:10:47 +01:00
Juan RP
233d9f4803
Do not treat repositories with trailing '/' chars as invalid.
2012-01-15 17:23:50 +01:00
Juan RP
2186e16a5e
Fixed issue 21 "xbps-repo find-files
is awfully slow" reported by ojab.
2012-01-15 14:24:44 +01:00
Juan RP
c83a77c1b5
Fixed issue 19 "xbps-src cannot fetch source with unknown Content-Length".
2012-01-05 12:26:57 +01:00
Juan RP
3b7491d29b
Merged purge code in remove, configurable transaction regpkgdb flushing.
...
See the NEWS file for info.
2011-12-24 01:05:26 +01:00
Juan RP
47237846ae
xbps-repo(8): the 'find-files' target now accepts multiple patterns.
2011-12-22 11:01:28 +01:00
Juan RP
d4278be914
xbps-bin(8): the 'find-files' target now accepts multiple patterns.
2011-12-22 10:45:13 +01:00
Juan RP
13331f801c
xbps-repo: the 'search' target now accepts multiple patterns as arguments.
2011-12-22 09:33:54 +01:00
Juan RP
1c6794a4e4
NEWS: be ready to release 0.11.
2011-12-20 16:26:26 +01:00
Juan RP
a5d9eb9853
xbps-bin: it's possible to reinstall any pkg with '-f' option.
2011-12-20 16:08:23 +01:00
Juan RP
c40c40e08e
Always preserve current conffiles while installing new packages.
2011-12-19 11:20:27 +01:00
Juan RP
b0ceeaa58e
New configuration file via confuse: xbps.conf.
2011-12-15 11:19:20 +01:00
Juan RP
3f45f563be
xbps-bin: syslog support, enabled by default.
2011-12-06 13:02:49 +01:00
Juan RP
43d85c76b3
xbps-repo: implement new target 'pkg-list' to list pkgs from target repo.
2011-12-03 10:37:31 +01:00
Juan RP
4ed6b5ed2c
NEWS: sync with reality for 0.11.0.
2011-11-21 11:44:27 +01:00
Juan RP
e46dd09127
Faster binary package unpacking, see the NEWS file for info.
2011-11-09 21:01:25 +01:00
Juan RP
327527e304
NEWS: typo fix.
2011-11-07 20:32:05 +01:00
Juan RP
662b5acc08
Implemented "New repository scheme and configuration file" from issue 16.
2011-11-07 20:28:35 +01:00
Juan RP
2a8b74484e
libxbps: improve xbps_purge_pkg() in case that metadata dir doesn't exist.
2011-10-30 11:12:03 +01:00
Juan RP
858e616f41
libxbps: preserve config file if they exist for replaced pkgs.
2011-10-30 10:32:56 +01:00
Juan RP
1c4d486396
xbps-{bin,repo}: new -o flag for the 'show' target, to print specific objs value.
2011-10-29 08:17:54 +02:00
Juan RP
dbd5e05280
Make sure that downloaded pkg-index.plist is really a plist file.
2011-10-28 09:29:37 +02:00
Juan RP
8bc705ea63
xbps-bin(8): (check) new test to fix missing requiredby entries in regpkgdb.
2011-10-28 00:57:16 +02:00
Juan RP
2ff2d1f68a
xbps-bin(8): 'check' target now works with virtual packages.
2011-10-27 11:02:55 +02:00
Juan RP
43ab2ec083
libxbps: fixed a bug with virtualpkgs as dependencies in a transaction.
2011-10-27 10:54:28 +02:00
Juan RP
5fcb8fbab2
NEWS: time to release 0.10.1.
2011-10-26 16:28:45 +02:00
Juan RP
94591775d5
libxbps: fixed multiple free(3) calls via closedir(3) in virtualpkg init in error paths.
2011-10-26 16:16:09 +02:00
Juan RP
1f0b61742d
NEWS: mention recent change to xbps-bin(8) remove.
2011-10-24 10:27:46 +02:00
Juan RP
90d1d7205c
NEWS: mention new changes.
2011-10-24 09:35:03 +02:00
Juan RP
ecb2280fc0
NEWS: prepare to release 0.10.0.
2011-10-21 10:15:47 +02:00
Juan RP
8eaec3e4bb
NEWS: mention that issue 11 has been fixed for 0.10.
2011-10-20 16:18:02 +02:00
Juan RP
40d15fd342
xbps-bin(8): the 'check' target now switches to auto mode if required.
2011-10-19 09:44:18 +02:00
Juan RP
931a03b806
New configuration schemas changes, round 3.
...
struct xbps_handle::conffile has been renamed to confdir, and it now
expects the path to a directory, where the configuration files are
stored.
Change xbps-bin(8) and xbps-repo(8) along with its manpages to mention
that -C expects a directory.
2011-10-17 15:11:54 +02:00
Juan RP
08f7169eff
New configuration scheme changes, round 2 (virtual pkgs).
...
- XBPS now expects to read individual virtual pkg settings from
.plist files in PREFIX/etc/xbps/virtualpkg.d.wants.
This really implements the missing part in issue #12 in
googlecode: http://code.google.com/p/xbps/issues/detail?id=12
2011-10-17 14:24:30 +02:00
Juan RP
d762c9c866
NEWS: mention recent changes to libxbps.
2011-10-16 13:25:33 +02:00
Juan RP
ac5bc123b8
NEWS: improve grammar in last entry.
2011-10-06 21:13:33 +02:00
Juan RP
024bec0045
Fixed HTTP repositories in non standard HTTP port (80).
...
The code didn't take into account for different ports and simply ignored
them, now they work correctly. This fixes issue 10 in googlecode.
2011-10-06 19:05:16 +02:00
Juan RP
e43603847e
NEWS: mention recent bugfix to xbps-bin check target.
2011-09-28 11:15:57 +02:00
Juan RP
ba5913cbb9
libxbps: [unpack] only extract files if they have been modified.
2011-08-01 12:35:47 +02:00
Juan RP
508f119bc9
Moved install transaction code to libxbps, see NEWS file.
2011-07-27 17:13:54 +02:00
Juan RP
e26b6e23e6
xbps-bin(8): make 'show{,-deps,-revdeps}' target work with virtual pkgs.
2011-07-25 16:40:34 +02:00
Juan RP
2e5d5e7f49
NEWS: mention recent bugfix to dewey code.
2011-07-25 16:09:53 +02:00
Juan RP
ba296b8e2c
NEWS: remove references to vanilla.
2011-07-17 01:48:38 +02:00
Juan RP
33d6d2e166
libxbps: API/ABI break changes to fix issues with virtual packages.
...
Please see the NEWS file for info about this commit.
2011-07-15 18:22:58 +02:00
Juan RP
f6476e210c
libxbps: do not loop forever on errors while syncing a remote repo.
2011-07-14 00:13:25 +02:00
Juan RP
36776b5661
NEWS: mention recent xbps-repo genindex bugfix.
2011-07-11 10:18:16 +02:00
Juan RP
cdf4640246
xbps-repo(8): 'genindex' now removes entries for unexistent pkgs.
...
Packages that were previously registered in repository's pkg-index.plist
and are now unaccessible are removed.
This fixes issue #1 in github.com/vanilla/xbps.
2011-07-09 13:18:11 +02:00
Juan RP
81d5bdd79a
xbps-repo: fix the 'genindex' target with missing directories.
...
This fixes issue #3 in github.com/vanilla/xbps.
2011-07-09 11:21:17 +02:00
Juan RP
0a2abb3f3d
xbps-repo(8): 'search' target is now case insensitive.
...
Along with this change, compat code has been added (from NetBSD)
for systems that don't have it. The compat code has been reorganized
to be in a common place and its prototypes in compat.h.
The configure scripts checks if strcasestr() is available, and
uses compat code if not found.
This fixes issue #2 on github.com/vanilla/xbps.
2011-07-09 10:50:44 +02:00
Juan RP
a379b394fd
README: item for zlib's configure tests.
2011-07-05 16:46:34 +02:00
Juan RP
fbfa9c5960
New option in conffile to set libfetch's limit (seconds) in timed out connections.
2011-06-22 09:53:44 +02:00
Juan RP
a9a558796c
NEWS: mention new options in configuration file.
2011-06-04 17:53:27 +02:00
Juan RP
9673c4bd09
XBPS major changes in June 2011.
...
- A configuration file "xbps-conf.plist" replaces the (un)register target
in xbps-repo(8) and (un)set-prop in xbps-bin(8). For now, you can set
the repositories and prefered virtual packages.
- New package pattern matching code from NetBSD. Supports more ways of
matching patterns in packages.
- Multiple bugs fixed in virtual packages related matching code.
--HG--
rename : LICENSE => COPYING
2011-06-04 13:37:53 +02:00
Juan RP
9260c58f8a
NEWS: update for latest changes.
2011-06-01 10:10:43 +02:00
Juan RP
cfa637db48
Repository package index format 1.2.
...
The pkg index now stores all package objects from props.plist, so that
xbps-repo(8) doesn't have to access the target binpkg anymore.
2011-05-27 17:32:42 +02:00
Juan RP
dba65a17db
NEWS: update for 0.8.1.
2011-05-27 09:45:32 +02:00
Juan RP
61440fd8b0
NEWS: 0.8.0 will be released today.
2011-05-24 09:45:44 +02:00
Juan RP
221291929e
xbps-bin: added -A and -M options for explicitly setting install reason to auto or manual.
2011-02-26 11:14:05 +01:00
Juan RP
12cdc7c242
xbps-bin: remove the unpack callback with a percentage.
...
It messes up some xbps_*printf()s, and removing it makes it look like
previous versions (<=0.7.3).
2011-02-22 16:33:54 +01:00
Juan RP
950853c72f
NEWS: tyopfix.
2011-02-21 17:47:01 +01:00
Juan RP
870ad18d58
xbps_init() now sets rootdir, cachedir and flags.
...
That means that the following functions were removed:
- xbps_set_{cachedir,flags,rootdir}.
- xbps_get_{cachedir,flags,rootdir}.
With this change fixed an obvious typo that made -c argument to not work,
and now the cache directory is an absolute path not relative to rootdir.
2011-02-21 17:42:47 +01:00
Juan RP
078f9f1cda
Fixed finally another real case when updating and replacing pkgs.
2011-02-18 16:39:42 +01:00
Juan RP
5d016c53ff
NEWS: mention latest bugfix.
2011-02-17 09:26:43 +01:00
Juan RP
de296d8192
Added the concept of package properties in the API.
...
See the NEWS file and xbps-bin(8) for more information.
2011-02-05 11:25:04 +01:00
Juan RP
fdc496e8f1
Added xbps_repository_pkg_replaces() to handle pkg "replaces" in the transaction.
...
The frontend (in that case xbps-bin(8)) is only responsible to remove
those packages that have the "trans-action" string object set to "remove".
2011-02-01 01:21:54 +01:00
Juan RP
7b159d6f33
xbps-dgraph: parse the "provides" obj for virtual packages.
2011-01-31 16:40:33 +01:00
Juan RP
cb4e2199f3
NEWS: expand latest entry.
2011-01-30 08:16:36 +01:00
Juan RP
7da33469cc
xbps-bin(8): added -R option to recursively remove pkgs that were instaled automatically.
2011-01-30 08:08:34 +01:00
Juan RP
4a20272afa
NEWS: mention another change made for xbps-bin(8).
2011-01-29 17:19:45 +01:00
Juan RP
76a641794b
NEWS: note that dependency sorting is now 60% faster than 0.7.3.
2011-01-28 19:56:43 +01:00
Juan RP
c952337fd4
xbps-bin(8): added -D option to only show the URL to download binary packages.
2011-01-27 14:36:33 +01:00
Juan RP
f06a605854
Implemented support for virtual packages.
...
The patch adds 150 lines approximately. It is implemented by modifying
xbps_find_pkg_in_dict_by_name() and xbps_find_pkg_in_dict_by_pattern().
When no dictionary is returned if tries to find a virtual package by
looking at the "provides" array object, if found.
2011-01-26 18:05:43 +01:00
Juan RP
7e93c57fa3
NEWS: update for this branch.
...
--HG--
branch : progress_callback
2011-01-24 14:44:30 +01:00
Juan RP
0a66dbea5f
NEWS: update with past days changes.
2011-01-19 17:17:39 +01:00
Juan RP
d9fa6da693
NEWS, Changelog: update for 0.7.3.
2011-01-16 17:07:43 +01:00
Juan RP
2bd1629177
Update to 0.7.2.
2010-12-28 12:15:11 +01:00
Juan RP
d2baa2b3f6
NEWS: update for 0.7.1.
2010-12-23 20:06:51 +01:00
Juan RP
e6503b98cc
xbps-uhelper: fix the 'unregister' target, wasn't updated for 0.7.0 API changes.
2010-12-16 00:25:53 +01:00
Juan RP
1d2ef6772e
NEWS: mention typo-fix for strlcat.
2010-12-15 15:47:23 +01:00
Juan RP
0ed1e91b1a
NEWS: 0.7.0 will be released today.
2010-12-15 15:44:42 +01:00
Juan RP
ece608a080
xbps-repo(8): implemented 'find-files' target.
2010-12-15 15:14:44 +01:00
Juan RP
237991fd79
xbps-bin: added -F flag for the remove target.
...
Unless it's set, packages that are dependencies of other installed packages
won't be removed. This flag overrides this behaviour and forces the package removal.
While being here, misc cleanups.
2010-12-03 17:36:07 +01:00
Juan RP
0ac845eb05
NEWS: mention that obsolete dirs are also removed while updating.
2010-11-24 17:01:55 +01:00
Juan RP
940e077fb4
Improvements for xbps-{bin,repo}.
...
- Indent properly with the longest "pkgver" object while listing or searching
for packages.
- Also match strings in the short description object while searching for
packages in xbps_repo.
2010-11-24 16:37:30 +01:00
Juan RP
420225d414
xbps-dgraph: new utility to generate dot(1) graphs for package metadata properties.
2010-11-08 23:27:15 +01:00
Juan RP
0672cb1dec
NEWS: XBPS 0.6.2 will be released in a few minutes.
2010-10-31 00:49:56 +02:00
Juan RP
8051232e82
libxbps: xbps_repository_unregister(): in remote repositories, also
...
remove the pkg index file and its directory.
2010-10-29 09:10:41 +02:00
Juan RP
210f2799fc
xbps-bin(8): modify the 'list' target to accept an optional argument to
...
list packages in the specified state, so that you can list packages that
need to be purged, configured and broken (will be used in the future).
2010-10-27 13:10:03 +02:00
Juan RP
ef7da88db1
xbps-bin(8): added a new target "find-files".
...
This new target 'find-files' can be used to find which installed
package(s) own a file. Exact matches like "/bin/mount" or patterns
like "/usr/lib/libb[ao]b\*" can be specified.
2010-10-27 00:25:02 +02:00
Juan RP
418ee6eec4
Remove empty dirs while removing obsolete files.
2010-10-27 00:15:59 +02:00
Juan RP
8534b79ffc
Prepare for going-to-be-released 0.6.1.
...
Includes the following change:
* When replacing a package that is going to be updated in the transaction
do not remove it, just overwrite its files and continue. The updated
package will find that old files didn't match the SHA256 hash and will
skip them. This solves the issue of new package updates requiring new
dependencies with files that were previously stored in the old version.
For example gtk+-2.20 containing gdk-pixbuf, and gtk+-2.22 requiring
gdk-pixbuf externally.
2010-10-23 18:09:35 +02:00
Juan RP
d92f259921
NEWS: fix date for 0.6.0.
2010-06-03 09:53:03 +02:00
Juan RP
cb800e4996
Mention libfetch-2.31 sync.
2010-06-02 23:48:09 +02:00
Juan RP
8f20f4c0c6
libxbps: use OpenSSL SHA256, 5x faster xbps_get_file_hash() implementation.
...
* libxbps: improved xbps_get_file_hash() to mmap(2) rather than read(2)
the file we have to process. With mmap'ed files the hash can be
processed 5x faster than before, or even more in some cases.
* libxbps: switch to OpenSSL SHA256 implementation and remove the one
previously used. It's faster and OpenSSL is required for libfetch so
there is not point in using it.
2010-05-20 02:43:56 +02:00
Juan RP
f888b582f9
Added a configure script to emulate GNU autoconf and related changes.
...
Changes included in this set:
* Added strlcat() and strlcpy() from OpenBSD, always use them if the
system does not have them built in.
* Changed an array of PATH_MAX size allocated in the stack, to a dynamically
allocated buffer from heap. This should reduce memory usage a bit.
* Simplify code that implemented a homegrown realpath(3) implementation,
simply use realpath(3).
* If compiler supports -fstack-protector, build all code with
-D_FORTIFY_SOURCE=2 and --param ssp-buffer-size=1 so that all
buffers are protected.
2010-05-19 22:38:27 +02:00
Juan RP
c4e9d86630
libxbps::xbps_remove_obsoletes(): reset a var to 0 in non fatal errors!
2010-05-18 15:33:27 +02:00
Juan RP
b57ce692a1
NEWS: fixed a typo.
2010-05-18 13:41:15 +02:00
Juan RP
fed78b9d6f
libxbps: bah do not ignore ENOENT when running INSTALL/REMOVE scripts.
2010-05-18 13:40:51 +02:00
Juan RP
76ca32e76f
libxbps: some random bugfixes.
...
* libxbps: while running INSTALL/REMOVE scripts, do not fail if a script
returns ENOENT but the script exists; that means the script did not match
the expected action on its switch statement and the fact can be simply
ignored.
* libxbps: while upgrading packages and searching for obsolete files,
do not remove the files that did not match previous SHA256 hash. Also,
only remove obsolete dangling symlinks.
2010-05-18 07:46:27 +02:00