Juan RP
361a7afa29
Moved .bzrignore to .hgignore and make it work.
...
--HG--
rename : .bzrignore => .hgignore
2010-05-02 11:51:35 +02:00
Juan RP
59693bf505
Update manpages for new XBPS project locations.
2010-05-02 11:36:17 +02:00
convert-repo
46fdcca73e
update tags
2010-05-01 17:32:15 +00:00
Juan RP
af6949cc43
Apply the commit from portableproplib's git master:
...
commit b2975842aba26df9b9885ff56b2ff182eda06152
Author: Juan RP <xtraeme@gmail.com>
Date: Thu Apr 29 18:23:15 2010 +0200
Remove some dead code found by the LLVM's clang static analyzer.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100429162412-gq0on6wybpoaazgg
2010-04-29 18:24:12 +02:00
Juan RP
4d09be8cba
NEWS: improve an entry.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428215855-mppu9lmtxbpb3osa
2010-04-28 23:58:55 +02:00
Juan RP
2d68c5fb20
xbps-repo(8): fixed the 'search' target to also match patterns against
...
its description, and not only from the package/version touple.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428214659-lz1au5hjg80h4j37
2010-04-28 23:46:59 +02:00
Juan RP
40ae71d195
NEWS: no more warnings now are reported by the LLVM's clang analyzer.
...
All possible warnings are only from portableproplib and libfetch.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428213323-n0k4xbwipor2hjdx
2010-04-28 23:33:23 +02:00
Juan RP
28f997bdf7
libxbps: fixed all warnings found by clang.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428213056-p1b7bh0llq8393r0
2010-04-28 23:30:56 +02:00
Juan RP
7976ac3707
xbps-repo/index.c: fix warnings found by clang.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428211333-wi7id42b9ol7g2ae
2010-04-28 23:13:33 +02:00
Juan RP
b04a0230cd
xbps-bin/check.c: remove dead code, fix warnings found by clang.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428211107-nvoflpkfkz37y3us
2010-04-28 23:11:07 +02:00
Juan RP
db685f280d
xbps-bin/install.c: remove unused vars, found by clang.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428193336-61glbrl5rnjpby4p
2010-04-28 21:33:36 +02:00
Juan RP
8ec438e168
xbps-bin/main.c: remove unused var found by clang analyzer.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428163341-3b947nuva6l5pv85
2010-04-28 18:33:41 +02:00
Juan RP
11de88d122
xbps-bin/install.c: fix a NULL pointer dereference in error path, found by
...
the clang analyzer.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428163137-hs9ac0rm47sz9k14
2010-04-28 18:31:37 +02:00
Juan RP
abe9e91e8b
Exclude portableproplib code when generating the API docs.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428161035-8s4icoa6azoeat62
2010-04-28 18:10:35 +02:00
Juan RP
5f8effab48
LICENSE: remove C comments.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428014031-ilzya52wsbmw5ozm
2010-04-28 03:40:31 +02:00
Juan RP
e274585c3c
xbps-bin(8): added -p flag to also purge packages for the 'remove'
...
and 'autoremove' targets, after successful removal.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428012613-e2wpzknmrxkjntsd
2010-04-28 03:26:13 +02:00
Juan RP
1771aacfab
NEWS: update for latest changes.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100427160402-gvldd7m5avsugq73
2010-04-27 18:04:02 +02:00
Juan RP
a5d8d486ea
xbps-repo: show a warning when a repository has been already added.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100427160215-pi2urhu9xzeblv71
2010-04-27 18:02:15 +02:00
Juan RP
b77bebe03a
xbps_repository_register(): if repository already exists return EEXIST.
...
Bump XBPS_RELVER to 20100427.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100427160125-3vid17cb7fy4v3gd
2010-04-27 18:01:25 +02:00
Juan RP
9ee1f8a09a
README: zlib is also required now.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100424160839-9k5bgyyajm450n1m
2010-04-24 18:08:39 +02:00
Juan RP
9efe430e7c
portableproplib can now be built with -Wextra and -Werror, but still needs
...
-Wno-cast-qual and -Wno-unused-parameter.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100421090458-gh2f2soq8jz25c3x
2010-04-21 11:04:58 +02:00
Juan RP
4bef22e190
Add change from portableproplib's git master to fix a warning with -Wextra:
...
commit 1296cfff2dd84a09f973bd446a75d5b92001506d
Author: Juan RP <xtraeme@gmail.com>
Date: Wed Apr 21 05:47:34 2010 +0200
prop_object: add cast for -Wextra.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100421034857-oxkoa87srg5olsrx
2010-04-21 05:48:57 +02:00
Juan RP
ea0d37a104
Incorporate a commit from portableproplib's git master to fix two warnings:
...
commit 72e03f757660ed295f81315d871e51abe22df9dd
Author: Juan RP <xtraeme@gmail.com>
Date: Wed Apr 21 05:07:53 2010 +0200
Add a cast that fixes a warning in the new zlib code.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100421030905-ixl5tj2to573xnxz
2010-04-21 05:09:05 +02:00
Juan RP
19af2f4af4
xbps_read_dict_from_archive_entry: added support to uncompress plist files in archives.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100421030437-6ihj6lw9vcwy2csp
2010-04-21 05:04:37 +02:00
Juan RP
9d4f44b776
Bump XBPS_RELVER to 20100420 for compressed gzip plist files support.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100420130449-wym9iuth418ysehp
2010-04-20 15:04:49 +02:00
Juan RP
ad12302a69
xbps-uhelper: remove unused debug code.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100420123503-std182rf5dt59ccq
2010-04-20 14:35:03 +02:00
Juan RP
6256b34ccc
Some changes that will appear in 0.5.0:
...
* Add proplib-0.4.1 source and use it in XBPS. This is to avoid
an external dependency, so that we depend on the features of the
internal library. This also means that proplib is not required anymore.
* Added support to read/write gzip compressed plists by default, thanks
to proplib-0.4 that gained new functionality.
That means that from now, XBPS will be able to write compressed gzip
plist files for all metadata related work. This will vastly reduce
bandwidth required for fetching remote repo's pkg index file and
binary packages.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100420122238-zcb85rudt9p34e10
2010-04-20 14:22:38 +02:00
Juan RP
ab76f9d5e7
Use pkg-config to find out the openssl/libarchive required static libs.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100331105031-rgq5aux38pptti6j
2010-03-31 12:50:31 +02:00
Juan RP
fa9d8c718a
lib/register.c: add some DPRINTFs.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100313083102-cz4hwmd94uuh5awv
2010-03-13 09:31:02 +01:00
Juan RP
6eebced6b4
Add a LICENSE file.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100228022340-s18s217rai6x5sj7
2010-02-28 03:23:40 +01:00
Juan RP
09bab8fba9
NEWS: update for to be relesed 0.4.1 version.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100226054847-whdyzmka39uie9sy
2010-02-26 06:48:47 +01:00
Juan RP
9bceb2adb7
xbps-bin: fixed the install target to work with pkgnames containing
...
multiple '-' characters, which resulted in incomplete pkgname.
The fix is to always append '>=0' if a pkgname is specified, and passing
a pkgpattern to xbps_repository_install_pkg().
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100226051333-od2siux4rmsa88m7
2010-02-26 06:13:33 +01:00
Juan RP
9f4b36292d
xbps-bin: unset some bool vars while processing the transaction to avoid
...
wrong messages for preserve pkgs.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100217041941-wrvm86m0tc7ynlvu
2010-02-17 05:19:41 +01:00
Juan RP
2daffcc768
Avoid endless loop while sorting dependencies due to missing packages.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100129034440-c1c9q0o5b0r1hhh2
2010-01-29 04:44:40 +01:00
Juan RP
83ab3fe977
xbps-bin/remove.c: set some pointers to NULL before checking them.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100128164423-i00yg3xp3nlsoh6j
2010-01-28 17:44:23 +01:00
Juan RP
df5b800366
Improve previous and only overwrite files while upgrading packages in the
...
unpack phase.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100128152108-vfs98fe3wvtort4s
2010-01-28 16:21:08 +01:00
Juan RP
61dde1ac02
Always overwrite files while unpacking, this makes the "essential" obj obsolete.
...
This helps to catch upgrade problems and simplifies some parts of the code.
Bumped XBPS_RELVER because xbps_remove_pkg() has been changed.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100128150850-gcs93su38t6moydn
2010-01-28 16:08:50 +01:00
Juan RP
375330a956
xbps-bin: print different msgs for pkgs marked as preserve and essential.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100125151648-s3d0zxaro5v5bh95
2010-01-25 16:16:48 +01:00
Juan RP
dae134cd48
xbps-bin/remove.c: simplify error paths.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100125151604-jwhoavlbdhr645df
2010-01-25 16:16:04 +01:00
Juan RP
bf6b96c651
xbps-bin/check.c: simplify exit paths.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100125151533-z7ub7xlqbhg97ij2
2010-01-25 16:15:33 +01:00
Juan RP
920db08f5c
lib/remove.c: bump copyright year for previous change.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100125072838-shechb5lff4y3zyk
2010-01-25 08:28:38 +01:00
Juan RP
1c4d43306a
xbps-bin(8): if -f is set, remove files and configuration files even
...
if its hash doesn't match for the remove and purge targets respectively.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100125070948-841kw2r4knz2793e
2010-01-25 08:09:48 +01:00
Juan RP
17d87b3559
Repair upgrades of preserve packages, i.e kernel.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100125052754-6xri8lfmykhof5dz
2010-01-25 06:27:54 +01:00
Juan RP
7f343b8dbe
xbps-bin: fixed some stdout vs stderr printf issues.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100125021454-n1bh7qjy27azr9du
2010-01-25 03:14:54 +01:00
Juan RP
0ebff2c636
lib/plist.c: fix an assertion.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100125011444-xzvixcod832ione4
2010-01-25 02:14:44 +01:00
Juan RP
5e367deffe
Added a NEWS file in preparation for xbps-0.4.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100124165940-dlj8e6etp8nr9k8b
2010-01-24 17:59:40 +01:00
Juan RP
232660167b
xbps-uhelper: make 'fetch' target accept an arbitrary number of arguments.
...
Also set default libfetch's cache connection limits.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100124162517-iorbhh21je4c65xo
2010-01-24 17:25:17 +01:00
Juan RP
088baa7699
Add defs for default fetch cache connection limits and use them in
...
xbps_fetch_cache_connection() if 0 is passed as argument.
xbps-bin: enable fetch cached connection when downloading binpkgs.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100124153156-4updprik11nwi7c1
2010-01-24 16:31:56 +01:00
Juan RP
801785cbab
Add xbps_fetch_set_cache_connection() to set libfetch's cache connection limits.
...
Use it in xbps_fetch_file(), by default set with 8 and 16.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100124144829-hqsr2bl6uflf0nhu
2010-01-24 15:48:29 +01:00
Juan RP
03e8fa53d9
Merge libfetch-2.30 from NetBSD's pkgsrc.
...
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100124144753-ni487x8m7r05847b
2010-01-24 15:47:53 +01:00