Commit Graph

630 Commits

Author SHA1 Message Date
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
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