Commit Graph

341 Commits

Author SHA1 Message Date
Juan RP
d92f259921 NEWS: fix date for 0.6.0. 2010-06-03 09:53:03 +02:00
Juan RP
4b8f85382e Bump XBPS_RELVER for changes that will go to 0.6.0. 2010-06-02 23:50:44 +02:00
Juan RP
cb800e4996 Mention libfetch-2.31 sync. 2010-06-02 23:48:09 +02:00
Juan RP
bd37736d89 Import and merge libfetch-2.31 from NetBSD pkgsrc. 2010-06-02 23:44:25 +02:00
Juan RP
0c67681ce1 Update .hgignore for recent changes. 2010-05-20 15:20:29 +02:00
Juan RP
1bcf9de67a xbps_[gs]et_cachedir(): ensure we don't copy more than buffer's size including NUL. 2010-05-20 15:10:36 +02:00
Juan RP
8e764dca60 xbps-repo: put back sanitize_url() and improve the implementation. 2010-05-20 14:45:12 +02:00
Juan RP
3038fbed2d lib/repository_finddeps.c: change var names to be more descriptive, add
some more verbose messages.
2010-05-20 07:21:24 +02:00
Juan RP
eb645d2974 xbps_api.h: do not rely on sys/cdefs.h, fix up some comments. 2010-05-20 04:49:53 +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
e13bf5de02 3RDPARTY: sync with reality. 2010-05-19 23:29:50 +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
c13d3c96df Improve xbps_pkg_props_dictionary.dot even more. 2010-05-19 01:06:58 +02:00
Juan RP
706851b037 Improve binary package metadata plist file images. 2010-05-19 00:42:36 +02:00
Juan RP
8b222fd093 xbps-repo/index.c: fix a typo. 2010-05-18 23:06:27 +02:00
Juan RP
2be6a7b1bc libxbps: if XBPS_FLAG_VERBOSE is set print to stdout some info about binary
packages found in repositories and its dependencies.
2010-05-18 23:04:14 +02:00
Juan RP
855a1d505e Added tag 0.5.2.2 for changeset 0c1a7cea8bd2 2010-05-18 15:33:31 +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
0074312dec Added tag 0.5.2.1 for changeset 4cf86e688eef 2010-05-18 13:42:08 +02:00
Juan RP
bb220904b7 Bump XBPS_RELVER. 2010-05-18 13:41:51 +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
1c9cf426a1 Added tag 0.5.2 for changeset e3054c016de0 2010-05-18 07:46:41 +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
Juan RP
42af3ac533 Removed tag 0.5.2 2010-05-18 07:45:39 +02:00
Juan RP
f93205d352 Added tag 0.5.2 for changeset 246721b8546e 2010-05-18 07:44:45 +02:00
Juan RP
754ec6ebb1 xbps-repo: fix genindex target to not return error when a package is already
registered in the index.
2010-05-18 02:42:21 +02:00
Juan RP
1fbc19959f xbps-bin: when replacing a pkg do not purge the old one, just remove it. 2010-05-12 07:47:40 +02:00
Juan RP
401d197c06 xbps-repo(8): improved the 'search' target to also match substrings
in package/version tuples.
2010-05-12 05:04:35 +02:00
Juan RP
f2d8d5cc89 Added tag 0.5.1 for changeset 0d9e4fc8afd9 2010-05-11 15:20:58 +02:00
Juan RP
5ece482468 NEWS: mention new changes, in preparation for 0.5.1. 2010-05-11 15:01:44 +02:00
Juan RP
e22df5580b Bump XBPS_RELVER for last change. 2010-05-11 13:47:14 +02:00
Juan RP
17b7651137 libxbps: change the epoch char to ':' to differentiate the starting char in pkgname.
Added xbps_get_pkg_epoch(), to get the epoch version string.
2010-05-11 13:38:35 +02:00
Juan RP
a79d7b5884 lib/Makefile: proplib sources need -Wno-stack-protector. 2010-05-11 13:37:21 +02:00
Juan RP
b8c9577df6 xbps-bin(8): added a new target 'show-orphans' that list all package
orphans currently installed.
2010-05-04 17:04:36 +02:00
Juan RP
cf2244b0b9 README: update project URL. 2010-05-04 15:11:48 +02:00
Juan RP
f4c03c11ff prog.mk: don't redirect stderr to /dev/null for static linking.
It's useful to see some possible errors.
2010-05-04 15:04:06 +02:00
Juan RP
9fe20ccbc8 Also link libxbps to libpthread as it's required now. 2010-05-04 14:57:08 +02:00
Juan RP
af3a2788aa Provide stubs for htobe{32,64}() and be32toh() macros if they aren't defined on Linux.
Tested and verified by Jimmy on xbps@googlegroups.com.
2010-05-04 14:36:32 +02:00
Juan RP
ca7a0ef4b8 Update .hgignore after last change (troff manpages). 2010-05-03 22:01:18 +02:00
Juan RP
1b44e18b35 Remove asciidoc build dependency, use troff manpages directly. 2010-05-03 21:50:34 +02:00
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