xbps/Changelog

2646 lines
92 KiB
Plaintext

2010-10-27 13:10 +0200 Juan RP <xtraeme@gmail.com> (559e85af63c5 [tip])
* NEWS, bin/xbps-bin/main.c, bin/xbps-bin/xbps-bin.8:
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 00:25 +0200 Juan RP <xtraeme@gmail.com> (bde21eacfae1)
* bin/xbps-bin/find-files.c: new file.
* NEWS, bin/xbps-bin/Makefile, bin/xbps-bin/defs.h, bin/xbps-bin/find-
files.c, bin/xbps-bin/main.c, bin/xbps-bin/xbps-bin.8:
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:19 +0200 Juan RP <xtraeme@gmail.com> (c7773e278e58)
* configure:
configure: don't use -fPIE and --param ssp-buffer-size if CC != gcc.
2010-10-27 00:17 +0200 Juan RP <xtraeme@gmail.com> (f231b4972d0e)
* lib/fetch/ftp.c:
fetch/ftp.c: fix a cast that caught clang via -Wcast-qual.
2010-10-27 00:15 +0200 Juan RP <xtraeme@gmail.com> (676b7e99dca2)
* NEWS, lib/remove_obsoletes.c:
Remove empty dirs while removing obsolete files.
2010-10-23 18:13 +0200 Juan RP <xtraeme@gmail.com> (100f4038999f)
* .hgtags:
Added tag 0.6.1 for changeset 9133c604fd81
2010-10-23 18:12 +0200 Juan RP <xtraeme@gmail.com> (9133c604fd81 [0.6.1])
* include/xbps_api.h:
Increment XBPS_RELVER for 0.6.1.
2010-10-23 18:10 +0200 Juan RP <xtraeme@gmail.com> (b7e383e37039)
* .hgtags:
Added tag 0.6.1 for changeset 6a4587e4f95f
2010-10-23 18:09 +0200 Juan RP <xtraeme@gmail.com> (6a4587e4f95f)
* NEWS, bin/xbps-bin/install.c, lib/unpack.c:
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:08 +0200 Juan RP <xtraeme@gmail.com> (ff3357d56465)
* Makefile:
Makefile: added dist target to create distribution source tarball.
2010-10-23 17:58 +0200 Juan RP <xtraeme@gmail.com> (e45e87832117)
* .hgtags:
Added tag 0.6.1 for changeset e51c0a0d740b
2010-06-03 09:53 +0200 Juan RP <xtraeme@gmail.com> (e51c0a0d740b)
* .hgtags:
Added tag 0.6.0 for changeset bfbbdcaef85a
2010-06-03 09:53 +0200 Juan RP <xtraeme@gmail.com> (bfbbdcaef85a [0.6.0])
* NEWS:
NEWS: fix date for 0.6.0.
2010-06-02 23:50 +0200 Juan RP <xtraeme@gmail.com> (6b622708535e)
* include/xbps_api.h:
Bump XBPS_RELVER for changes that will go to 0.6.0.
2010-06-02 23:48 +0200 Juan RP <xtraeme@gmail.com> (8e790b8a35ca)
* NEWS:
Mention libfetch-2.31 sync.
2010-06-02 23:44 +0200 Juan RP <xtraeme@gmail.com> (8a0441414ef3)
* 3RDPARTY, lib/fetch/common.c, lib/fetch/common.h, lib/fetch/ftp.c:
Import and merge libfetch-2.31 from NetBSD pkgsrc.
2010-05-20 15:20 +0200 Juan RP <xtraeme@gmail.com> (b4f0ed9d6748)
* .hgignore:
Update .hgignore for recent changes.
2010-05-20 15:10 +0200 Juan RP <xtraeme@gmail.com> (9f8692289158)
* lib/util.c:
xbps_[gs]et_cachedir(): ensure we don't copy more than buffer's size
including NUL.
2010-05-20 14:45 +0200 Juan RP <xtraeme@gmail.com> (6221608dcf00)
* bin/xbps-repo/main.c, bin/xbps-repo/repository.c:
xbps-repo: put back sanitize_url() and improve the implementation.
2010-05-20 07:21 +0200 Juan RP <xtraeme@gmail.com> (3251baf24e83)
* lib/repository_finddeps.c:
lib/repository_finddeps.c: change var names to be more descriptive,
add some more verbose messages.
2010-05-20 04:49 +0200 Juan RP <xtraeme@gmail.com> (7d7d6c85ad67)
* include/xbps_api.h:
xbps_api.h: do not rely on sys/cdefs.h, fix up some comments.
2010-05-20 02:43 +0200 Juan RP <xtraeme@gmail.com> (8ef9d11bc805)
* include/sha256.h, lib/sha256.c: deleted file.
* NEWS, include/sha256.h, lib/Makefile, lib/sha256.c, lib/util.c:
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-19 23:29 +0200 Juan RP <xtraeme@gmail.com> (8a3ccfebb7a6)
* 3RDPARTY:
3RDPARTY: sync with reality.
2010-05-19 22:38 +0200 Juan RP <xtraeme@gmail.com> (f3d2d6556b5c)
* configure, include/strlcat.h, include/strlcpy.h,
lib/compat/strlcat.c, lib/compat/strlcpy.c: new file.
* vars.mk: deleted file.
* Makefile, NEWS, README, bin/Makefile, bin/xbps-bin/Makefile, bin
/xbps-repo/Makefile, bin/xbps-repo/repository.c, bin/xbps-
uhelper/Makefile, bin/xbps-uhelper/main.c, configure, doc/Makefile,
include/Makefile, include/strlcat.h, include/strlcpy.h,
lib/Makefile, lib/compat/strlcat.c, lib/compat/strlcpy.c,
lib/pkgmatch.c, lib/portableproplib/prop_object.c, lib/util.c,
prog.mk, vars.mk:
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 01:06 +0200 Juan RP <xtraeme@gmail.com> (7357b1cd86fd)
* doc/xbps_pkg_props_dictionary.dot:
Improve xbps_pkg_props_dictionary.dot even more.
2010-05-19 00:42 +0200 Juan RP <xtraeme@gmail.com> (4c5ae8d5be32)
* doc/xbps_pkg_files_dictionary.dot,
doc/xbps_pkg_props_dictionary.dot:
Improve binary package metadata plist file images.
2010-05-18 23:06 +0200 Juan RP <xtraeme@gmail.com> (5979d1ae4436)
* bin/xbps-repo/index.c:
xbps-repo/index.c: fix a typo.
2010-05-18 23:04 +0200 Juan RP <xtraeme@gmail.com> (a30843b4c20c)
* lib/repository_finddeps.c, lib/repository_findpkg.c:
libxbps: if XBPS_FLAG_VERBOSE is set print to stdout some info about
binary packages found in repositories and its dependencies.
2010-05-18 15:33 +0200 Juan RP <xtraeme@gmail.com> (8e7b4d5855bb)
* .hgtags:
Added tag 0.5.2.2 for changeset 0c1a7cea8bd2
2010-05-18 15:33 +0200 Juan RP <xtraeme@gmail.com> (0c1a7cea8bd2 [0.5.2.2])
* NEWS, include/xbps_api.h, lib/remove_obsoletes.c:
libxbps::xbps_remove_obsoletes(): reset a var to 0 in non fatal
errors!
2010-05-18 13:42 +0200 Juan RP <xtraeme@gmail.com> (5a8af7dd8395)
* .hgtags:
Added tag 0.5.2.1 for changeset 4cf86e688eef
2010-05-18 13:41 +0200 Juan RP <xtraeme@gmail.com> (4cf86e688eef [0.5.2.1])
* include/xbps_api.h:
Bump XBPS_RELVER.
2010-05-18 13:41 +0200 Juan RP <xtraeme@gmail.com> (8b3e20d4d99b)
* NEWS:
NEWS: fixed a typo.
2010-05-18 13:40 +0200 Juan RP <xtraeme@gmail.com> (7f1e37ff4605)
* NEWS, lib/configure.c, lib/remove.c, lib/unpack.c:
libxbps: bah do not ignore ENOENT when running INSTALL/REMOVE
scripts.
2010-05-18 07:46 +0200 Juan RP <xtraeme@gmail.com> (90f2379c998c)
* .hgtags:
Added tag 0.5.2 for changeset e3054c016de0
2010-05-18 07:46 +0200 Juan RP <xtraeme@gmail.com> (e3054c016de0 [0.5.2])
* NEWS, include/xbps_api.h, lib/configure.c, lib/remove.c,
lib/remove_obsoletes.c, lib/unpack.c:
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:45 +0200 Juan RP <xtraeme@gmail.com> (2e19758da01f)
* .hgtags:
Removed tag 0.5.2
2010-05-18 07:44 +0200 Juan RP <xtraeme@gmail.com> (47673ec3fed9)
* .hgtags:
Added tag 0.5.2 for changeset 246721b8546e
2010-05-18 02:42 +0200 Juan RP <xtraeme@gmail.com> (246721b8546e)
* bin/xbps-repo/index.c:
xbps-repo: fix genindex target to not return error when a package is
already registered in the index.
2010-05-12 07:47 +0200 Juan RP <xtraeme@gmail.com> (a4e9fb17726b)
* bin/xbps-bin/install.c:
xbps-bin: when replacing a pkg do not purge the old one, just remove
it.
2010-05-12 05:04 +0200 Juan RP <xtraeme@gmail.com> (57555845334d)
* NEWS, bin/xbps-repo/util.c:
xbps-repo(8): improved the 'search' target to also match substrings
in package/version tuples.
2010-05-11 15:20 +0200 Juan RP <xtraeme@gmail.com> (54be827f1fe3)
* .hgtags:
Added tag 0.5.1 for changeset 0d9e4fc8afd9
2010-05-11 15:01 +0200 Juan RP <xtraeme@gmail.com> (0d9e4fc8afd9 [0.5.1])
* NEWS:
NEWS: mention new changes, in preparation for 0.5.1.
2010-05-11 13:47 +0200 Juan RP <xtraeme@gmail.com> (4f50c2d1a2f4)
* include/xbps_api.h:
Bump XBPS_RELVER for last change.
2010-05-11 13:38 +0200 Juan RP <xtraeme@gmail.com> (68b083da7e05)
* include/xbps_api.h, lib/cmpver.c, lib/util.c:
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:37 +0200 Juan RP <xtraeme@gmail.com> (02119879f21c)
* lib/Makefile:
lib/Makefile: proplib sources need -Wno-stack-protector.
2010-05-04 17:04 +0200 Juan RP <xtraeme@gmail.com> (3c4ed1d715a7)
* NEWS, bin/xbps-bin/defs.h, bin/xbps-bin/main.c, bin/xbps-
bin/remove.c, bin/xbps-bin/xbps-bin.8:
xbps-bin(8): added a new target 'show-orphans' that list all package
orphans currently installed.
2010-05-04 15:11 +0200 Juan RP <xtraeme@gmail.com> (f62d675ada32)
* README:
README: update project URL.
2010-05-04 15:04 +0200 Juan RP <xtraeme@gmail.com> (d5ef997c5c8f)
* prog.mk:
prog.mk: don't redirect stderr to /dev/null for static linking.
It's useful to see some possible errors.
2010-05-04 14:57 +0200 Juan RP <xtraeme@gmail.com> (68ba7a848eb2)
* lib/Makefile:
Also link libxbps to libpthread as it's required now.
2010-05-04 14:36 +0200 Juan RP <xtraeme@gmail.com> (10279e555579)
* lib/sha256.c:
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-03 22:01 +0200 Juan RP <xtraeme@gmail.com> (1530e5dccbd5)
* .hgignore:
Update .hgignore after last change (troff manpages).
2010-05-03 21:50 +0200 Juan RP <xtraeme@gmail.com> (d635c8a30999)
* bin/xbps-bin/xbps-bin.8, bin/xbps-repo/xbps-repo.8: new file.
* bin/xbps-bin/xbps-bin.8.txt, bin/xbps-repo/xbps-repo.8.txt: deleted
file.
* NEWS, README, bin/xbps-bin/xbps-bin.8, bin/xbps-bin/xbps-bin.8.txt,
bin/xbps-repo/xbps-repo.8, bin/xbps-repo/xbps-repo.8.txt, prog.mk:
Remove asciidoc build dependency, use troff manpages directly.
2010-05-02 11:51 +0200 Juan RP <xtraeme@gmail.com> (83fffa6b1784)
* .hgignore: new file.
* .bzrignore: deleted file.
* .bzrignore, .hgignore:
Moved .bzrignore to .hgignore and make it work.
2010-05-02 11:36 +0200 Juan RP <xtraeme@gmail.com> (783e207d30cd)
* bin/xbps-bin/xbps-bin.8.txt, bin/xbps-repo/xbps-repo.8.txt:
Update manpages for new XBPS project locations.
2010-05-01 17:32 +0000 convert-repo <convert-repo> (406f512e4931)
* .hgtags: new file.
* .hgtags:
update tags
2010-04-29 18:24 +0200 Juan RP <xtraeme@gmail.com> (8c76b0f9dc54 [0.5.0])
* lib/portableproplib/prop_data.c, lib/portableproplib/prop_rb.c:
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.
2010-04-28 23:58 +0200 Juan RP <xtraeme@gmail.com> (7e06f281ee90)
* NEWS:
NEWS: improve an entry.
2010-04-28 23:46 +0200 Juan RP <xtraeme@gmail.com> (b7ae363ae037)
* NEWS, bin/xbps-repo/util.c:
xbps-repo(8): fixed the 'search' target to also match patterns
against its description, and not only from the package/version
touple.
2010-04-28 23:33 +0200 Juan RP <xtraeme@gmail.com> (782e0f71f7b6)
* NEWS:
NEWS: no more warnings now are reported by the LLVM's clang
analyzer.
All possible warnings are only from portableproplib and libfetch.
2010-04-28 23:30 +0200 Juan RP <xtraeme@gmail.com> (04177a757347)
* lib/download.c, lib/plist.c, lib/purge.c, lib/remove_obsoletes.c,
lib/repository_findpkg.c, lib/repository_sync_index.c, lib/sha256.c,
lib/unpack.c:
libxbps: fixed all warnings found by clang.
2010-04-28 23:13 +0200 Juan RP <xtraeme@gmail.com> (3dee67a333f7)
* bin/xbps-repo/index.c:
xbps-repo/index.c: fix warnings found by clang.
2010-04-28 23:11 +0200 Juan RP <xtraeme@gmail.com> (25919bb83bd8)
* bin/xbps-bin/check.c:
xbps-bin/check.c: remove dead code, fix warnings found by clang.
2010-04-28 21:33 +0200 Juan RP <xtraeme@gmail.com> (3ef971556d56)
* bin/xbps-bin/install.c:
xbps-bin/install.c: remove unused vars, found by clang.
2010-04-28 18:33 +0200 Juan RP <xtraeme@gmail.com> (0e3eaf381521)
* bin/xbps-bin/main.c:
xbps-bin/main.c: remove unused var found by clang analyzer.
2010-04-28 18:31 +0200 Juan RP <xtraeme@gmail.com> (12de53084cfd)
* bin/xbps-bin/install.c:
xbps-bin/install.c: fix a NULL pointer dereference in error path,
found by the clang analyzer.
2010-04-28 18:10 +0200 Juan RP <xtraeme@gmail.com> (bdd70727d85d)
* doc/xbps_api_doxyfile:
Exclude portableproplib code when generating the API docs.
2010-04-28 03:40 +0200 Juan RP <xtraeme@gmail.com> (215b07ce19f0)
* LICENSE:
LICENSE: remove C comments.
2010-04-28 03:26 +0200 Juan RP <xtraeme@gmail.com> (bae8299d9dff)
* NEWS, bin/xbps-bin/defs.h, bin/xbps-bin/main.c, bin/xbps-
bin/remove.c, bin/xbps-bin/xbps-bin.8.txt:
xbps-bin(8): added -p flag to also purge packages for the 'remove'
and 'autoremove' targets, after successful removal.
2010-04-27 18:04 +0200 Juan RP <xtraeme@gmail.com> (dffd2080422d)
* NEWS:
NEWS: update for latest changes.
2010-04-27 18:02 +0200 Juan RP <xtraeme@gmail.com> (8dda2aefa593)
* bin/xbps-repo/defs.h, bin/xbps-repo/repository.c:
xbps-repo: show a warning when a repository has been already added.
2010-04-27 18:01 +0200 Juan RP <xtraeme@gmail.com> (190ec304a2be)
* include/xbps_api.h, lib/repository.c:
xbps_repository_register(): if repository already exists return
EEXIST.
Bump XBPS_RELVER to 20100427.
2010-04-24 18:08 +0200 Juan RP <xtraeme@gmail.com> (7a4a3f7e1833)
* README:
README: zlib is also required now.
2010-04-21 11:04 +0200 Juan RP <xtraeme@gmail.com> (1697ed1beb24)
* lib/Makefile:
portableproplib can now be built with -Wextra and -Werror, but still
needs
-Wno-cast-qual and -Wno-unused-parameter.
2010-04-21 05:48 +0200 Juan RP <xtraeme@gmail.com> (dd3d514cd25f)
* lib/portableproplib/prop_object.c:
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.
2010-04-21 05:09 +0200 Juan RP <xtraeme@gmail.com> (53749673049e)
* lib/portableproplib/prop_array.c,
lib/portableproplib/prop_dictionary.c:
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.
2010-04-21 05:04 +0200 Juan RP <xtraeme@gmail.com> (e95c452405c1)
* lib/plist.c:
xbps_read_dict_from_archive_entry: added support to uncompress plist
files in archives.
2010-04-20 15:04 +0200 Juan RP <xtraeme@gmail.com> (65ccb7b94628)
* include/xbps_api.h:
Bump XBPS_RELVER to 20100420 for compressed gzip plist files
support.
2010-04-20 14:35 +0200 Juan RP <xtraeme@gmail.com> (295c80d16a5b)
* bin/xbps-uhelper/main.c:
xbps-uhelper: remove unused debug code.
2010-04-20 14:22 +0200 Juan RP <xtraeme@gmail.com> (bec8ad674e2c)
* 3RDPARTY, include/queue.h, lib/portableproplib/prop/prop_array.h,
lib/portableproplib/prop/prop_bool.h,
lib/portableproplib/prop/prop_data.h,
lib/portableproplib/prop/prop_dictionary.h,
lib/portableproplib/prop/prop_ingest.h,
lib/portableproplib/prop/prop_number.h,
lib/portableproplib/prop/prop_object.h,
lib/portableproplib/prop/prop_string.h,
lib/portableproplib/prop/proplib.h,
lib/portableproplib/prop_array.c,
lib/portableproplib/prop_array_util.c,
lib/portableproplib/prop_bool.c, lib/portableproplib/prop_data.c,
lib/portableproplib/prop_dictionary.c,
lib/portableproplib/prop_dictionary_util.c,
lib/portableproplib/prop_ingest.c,
lib/portableproplib/prop_number.c,
lib/portableproplib/prop_object.c,
lib/portableproplib/prop_object_impl.h,
lib/portableproplib/prop_rb.c, lib/portableproplib/prop_rb_impl.h,
lib/portableproplib/prop_stack.c, lib/portableproplib/prop_stack.h,
lib/portableproplib/prop_string.c: new file.
* 3RDPARTY, NEWS, README, bin/xbps-bin/check.c, bin/xbps-bin/show-
deps.c, bin/xbps-bin/show-info-files.c, bin/xbps-repo/index.c, bin
/xbps-repo/repository.c, bin/xbps-uhelper/main.c, include/queue.h,
include/xbps_api.h, lib/Makefile, lib/config_files.c, lib/plist.c,
lib/portableproplib/prop/prop_array.h,
lib/portableproplib/prop/prop_bool.h,
lib/portableproplib/prop/prop_data.h,
lib/portableproplib/prop/prop_dictionary.h,
lib/portableproplib/prop/prop_ingest.h,
lib/portableproplib/prop/prop_number.h,
lib/portableproplib/prop/prop_object.h,
lib/portableproplib/prop/prop_string.h,
lib/portableproplib/prop/proplib.h,
lib/portableproplib/prop_array.c,
lib/portableproplib/prop_array_util.c,
lib/portableproplib/prop_bool.c, lib/portableproplib/prop_data.c,
lib/portableproplib/prop_dictionary.c,
lib/portableproplib/prop_dictionary_util.c,
lib/portableproplib/prop_ingest.c,
lib/portableproplib/prop_number.c,
lib/portableproplib/prop_object.c,
lib/portableproplib/prop_object_impl.h,
lib/portableproplib/prop_rb.c, lib/portableproplib/prop_rb_impl.h,
lib/portableproplib/prop_stack.c, lib/portableproplib/prop_stack.h,
lib/portableproplib/prop_string.c, lib/purge.c, lib/register.c,
lib/regpkgs_dictionary.c, lib/remove.c, lib/repository.c,
lib/repository_pool.c, lib/requiredby.c, lib/state.c, lib/unpack.c,
vars.mk:
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.
2010-03-31 12:50 +0200 Juan RP <xtraeme@gmail.com> (f127b9149824)
* README, vars.mk:
Use pkg-config to find out the openssl/libarchive required static
libs.
2010-03-13 09:31 +0100 Juan RP <xtraeme@gmail.com> (652e4dc0ff62)
* lib/register.c:
lib/register.c: add some DPRINTFs.
2010-02-28 03:23 +0100 Juan RP <xtraeme@gmail.com> (83ac79b54ac9 [0.4.1])
* LICENSE: new file.
* LICENSE:
Add a LICENSE file.
2010-02-26 06:48 +0100 Juan RP <xtraeme@gmail.com> (564935f86832)
* NEWS:
NEWS: update for to be relesed 0.4.1 version.
2010-02-26 06:13 +0100 Juan RP <xtraeme@gmail.com> (ec1e8deeea0c)
* bin/xbps-bin/install.c:
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().
2010-02-17 05:19 +0100 Juan RP <xtraeme@gmail.com> (3f3ee571b025)
* bin/xbps-bin/install.c:
xbps-bin: unset some bool vars while processing the transaction to
avoid wrong messages for preserve pkgs.
2010-01-29 04:44 +0100 Juan RP <xtraeme@gmail.com> (a4fce231a58e [0.4])
* lib/repository_findpkg.c, lib/sortdeps.c:
Avoid endless loop while sorting dependencies due to missing
packages.
2010-01-28 17:44 +0100 Juan RP <xtraeme@gmail.com> (9704c175fdd3)
* bin/xbps-bin/remove.c:
xbps-bin/remove.c: set some pointers to NULL before checking them.
2010-01-28 16:21 +0100 Juan RP <xtraeme@gmail.com> (9bfc58f968bc)
* NEWS, lib/unpack.c:
Improve previous and only overwrite files while upgrading packages
in the unpack phase.
2010-01-28 16:08 +0100 Juan RP <xtraeme@gmail.com> (823d10c9fa55)
* NEWS, bin/xbps-bin/install.c, bin/xbps-bin/remove.c, bin/xbps-
repo/util.c, doc/xbps_pkg_props_dictionary.dot, include/xbps_api.h,
lib/remove.c, lib/unpack.c:
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.
2010-01-25 16:16 +0100 Juan RP <xtraeme@gmail.com> (f048ee5b668d)
* bin/xbps-bin/install.c:
xbps-bin: print different msgs for pkgs marked as preserve and
essential.
2010-01-25 16:16 +0100 Juan RP <xtraeme@gmail.com> (15908f782da6)
* bin/xbps-bin/remove.c:
xbps-bin/remove.c: simplify error paths.
2010-01-25 16:15 +0100 Juan RP <xtraeme@gmail.com> (f9645223f939)
* bin/xbps-bin/check.c:
xbps-bin/check.c: simplify exit paths.
2010-01-25 08:28 +0100 Juan RP <xtraeme@gmail.com> (20a41020b58a)
* lib/remove.c:
lib/remove.c: bump copyright year for previous change.
2010-01-25 08:09 +0100 Juan RP <xtraeme@gmail.com> (2fa1720168c0)
* NEWS, bin/xbps-bin/main.c, bin/xbps-bin/xbps-bin.8.txt,
lib/remove.c:
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.
2010-01-25 06:27 +0100 Juan RP <xtraeme@gmail.com> (150efe0786e0)
* bin/xbps-bin/install.c, bin/xbps-bin/remove.c, include/xbps_api.h,
lib/remove.c:
Repair upgrades of preserve packages, i.e kernel.
2010-01-25 03:14 +0100 Juan RP <xtraeme@gmail.com> (69dc1ef57c07)
* bin/xbps-bin/install.c:
xbps-bin: fixed some stdout vs stderr printf issues.
2010-01-25 02:14 +0100 Juan RP <xtraeme@gmail.com> (d2dbe6ef606b)
* lib/plist.c:
lib/plist.c: fix an assertion.
2010-01-24 17:59 +0100 Juan RP <xtraeme@gmail.com> (c216d9c2a28a)
* NEWS: new file.
* NEWS:
Added a NEWS file in preparation for xbps-0.4.
2010-01-24 17:25 +0100 Juan RP <xtraeme@gmail.com> (82f5d9be9e95)
* bin/xbps-uhelper/main.c:
xbps-uhelper: make 'fetch' target accept an arbitrary number of
arguments.
Also set default libfetch's cache connection limits.
2010-01-24 16:31 +0100 Juan RP <xtraeme@gmail.com> (94a209bd5e95)
* bin/xbps-bin/install.c, include/xbps_api.h, lib/download.c:
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.
2010-01-24 15:48 +0100 Juan RP <xtraeme@gmail.com> (c3f50dbaa4bf)
* include/xbps_api.h, lib/download.c:
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.
2010-01-24 15:47 +0100 Juan RP <xtraeme@gmail.com> (d20017f977a1)
* include/fetch.h, lib/fetch/common.c, lib/fetch/common.h,
lib/fetch/ftp.c, lib/fetch/http.c:
Merge libfetch-2.30 from NetBSD's pkgsrc.
2010-01-24 14:07 +0100 Juan RP <xtraeme@gmail.com> (601f784cd0d1)
* bin/xbps-bin/install.c:
xbps-bin: remove an extra newline in transaction ops.
2010-01-24 13:59 +0100 Juan RP <xtraeme@gmail.com> (b76ee83f097e)
* Makefile, include/Makefile, lib/Makefile, prog.mk, vars.mk:
Rework Makefiles one more time.
- use printf to print commands rather than echo, which it may not
have support for escape sequences (-e).
- Remove DESTDIR from SBINDIR, MANDIR, LIBDIR and INCLUDEDIR so that
you can override it.
2010-01-23 06:59 +0100 Juan RP <xtraeme@gmail.com> (5b3e7a70bc35)
* README:
README: explain BUILD_API_DOCS.
2010-01-23 06:29 +0100 Juan RP <xtraeme@gmail.com> (d4b89782c2ab)
* lib/orphans.c:
xbps_find_orphan_packages: improve doxygen documentation.
2010-01-23 06:16 +0100 Juan RP <xtraeme@gmail.com> (e74d83fe6fc0)
* lib/unpack.c:
lib/unpack.c: improve doxygen description.
2010-01-23 06:13 +0100 Juan RP <xtraeme@gmail.com> (a0274c611431)
* include/xbps_api.h, lib/repository_sync_index.c:
Don't export xbps_get_remote_repo_string() to the API, it's only
used internally in the library.
2010-01-23 06:12 +0100 Juan RP <xtraeme@gmail.com> (a070cee9a512)
* .bzrignore:
.bzrignore: add new stuff.
2010-01-23 02:37 +0100 Juan RP <xtraeme@gmail.com> (e4720c1ab598)
* doc/Makefile, doc/xbps_api_doxyfile,
doc/xbps_binary_pkg_content.dot, doc/xbps_pkg_files_dictionary.dot,
doc/xbps_pkg_props_dictionary.dot, doc/xbps_regpkgdb_dictionary.dot,
doc/xbps_transaction_dictionary.dot, include/mainpage.h: new file.
* Makefile, README, doc/Makefile, doc/xbps_api_doxyfile,
doc/xbps_binary_pkg_content.dot, doc/xbps_pkg_files_dictionary.dot,
doc/xbps_pkg_props_dictionary.dot, doc/xbps_regpkgdb_dictionary.dot,
doc/xbps_transaction_dictionary.dot, include/mainpage.h,
include/xbps_api.h, lib/configure.c, lib/purge.c, lib/register.c,
lib/regpkgs_dictionary.c, lib/remove.c, vars.mk:
Add infrastructure changes to build the API documentation.
doxygen and graphviz are required. It's disabled by default, use the
BUILD_API_DOCS make(1) argument to enable it.
2010-01-22 23:59 +0100 Juan RP <xtraeme@gmail.com> (ed839e468150)
* include/xbps_api.h, lib/configure.c, lib/purge.c, lib/register.c,
lib/regpkgs_dictionary.c, lib/remove.c, lib/repository.c,
lib/repository_findpkg.c:
libxbps: improve doxygen documentation, still not finished.
2010-01-22 23:56 +0100 Juan RP <xtraeme@gmail.com> (3a93f4fa5c34)
* lib/unpack.c:
xbps_unpack_binary_pkg: multiple fixes and improvements.
- Don't write any archive entry to disk unless the package metadata
plist files are found.
- Always check for the package metadata plist files in the first 4
entries, if they aren't found stop the unpacking... invalid archive.
- Don't check for removing INSTALL/REMOVE scripts on each iteration
when extracting, just check it once before the loop.
- Add doxygen comments and related stuff.
2010-01-22 23:54 +0100 Juan RP <xtraeme@gmail.com> (b3389760c4e2)
* lib/repository_plist.c:
xbps_repository_get_pkg_plist_dict_from_url: stop processing the
archive once that 4 entries are checked for the plist file.
Processing 6 entries is too much, we can be sure that plist file
will always be in the first 4 entries.
2010-01-21 03:10 +0100 Juan RP <xtraeme@gmail.com> (8c246c2ef9fc)
* bin/xbps-bin/check.c, bin/xbps-bin/install.c, bin/xbps-bin/main.c,
bin/xbps-bin/remove.c, bin/xbps-bin/show-deps.c, bin/xbps-
repo/main.c, bin/xbps-repo/repository.c, bin/xbps-repo/util.c, bin
/xbps-uhelper/main.c, include/sha256.h, include/xbps_api.h,
lib/Makefile, lib/cmpver.c, lib/config_files.c, lib/configure.c,
lib/download.c, lib/fexec.c, lib/humanize_number.c, lib/mkpath.c,
lib/orphans.c, lib/pkgmatch.c, lib/plist.c, lib/purge.c,
lib/register.c, lib/regpkgs_dictionary.c, lib/remove.c,
lib/remove_obsoletes.c, lib/repository.c, lib/repository_finddeps.c,
lib/repository_findpkg.c, lib/repository_plist.c,
lib/repository_pool.c, lib/repository_sync_index.c,
lib/requiredby.c, lib/sha256.c, lib/sortdeps.c, lib/state.c,
lib/unpack.c, lib/util.c, vars.mk:
Mega-commit to document the API with doxygen.
Some changes were made to the API when making the documentation:
- A few exported functions are now hidden, because they were only
used internally in the library.
- A few exported symbols were renamed to document them better than
previously.
- Cosmetic changes all along the way, as well as some fixes here and
there.
2010-01-18 21:18 +0100 Juan RP <xtraeme@gmail.com> (e04bde7d0b34)
* lib/fetch/Makefile: deleted file.
* lib/Makefile, lib/fetch/Makefile, prog.mk, vars.mk:
Rework Makefile files, fully parallel builds are now possible.
2010-01-18 19:49 +0100 Juan RP <xtraeme@gmail.com> (59fd772dd9f6)
* include/xbps_api.h, lib/unpack.c:
xbps_unpack_binary_pkg: fixed some bugs while upgrading essential
pkgs.
* A package failed to be upgraded properly if current pkg contained
INSTALL/REMOVE scripts, while the new one didn't have any of them.
Fixed this by always removing current scripts if they exist.
* Essential pkgs are never removed (they are replaced) so the pre
remove action target was never called, now it all works properly.
Bumped XBPS_RELVER because I consider these bugs so important.
2010-01-18 00:26 +0100 Juan RP <xtraeme@gmail.com> (f7b32d48913f)
* lib/repository_pool.c:
xbps_repository_pool_init: fix memleaks in error paths, found by
cppcheck.
2010-01-15 15:19 +0100 Juan RP <xtraeme@gmail.com> (e59c1e70812f)
* bin/xbps-bin/check.c, bin/xbps-bin/install.c, bin/xbps-bin/main.c,
bin/xbps-bin/remove.c, bin/xbps-bin/show-deps.c, bin/xbps-
repo/index.c, bin/xbps-repo/main.c, bin/xbps-repo/repository.c, bin
/xbps-uhelper/main.c, lib/configure.c, lib/remove.c,
lib/remove_obsoletes.c, lib/unpack.c:
Error and warning messages should go to stderr, make it so.
2010-01-14 18:58 +0100 Juan RP <xtraeme@gmail.com> (d9d8422836f2)
* lib/repository_findpkg.c:
xbps_repository_install_pkg: don't forget to release repository pool
stuff.
2010-01-14 13:57 +0100 Juan RP <xtraeme@gmail.com> (89032ca90604)
* lib/repository_findpkg.c:
xbps_repository_install_pkg: before adding pkg into the transaction,
check that it wasn't added before.
This change fixes and endless loop while doing the following:
$ xbps-bin install libXext libX11
where libX11 is a dependency of libXext and was already queued.
2010-01-14 13:39 +0100 Juan RP <xtraeme@gmail.com> (dfe13e8dcad5)
* bin/xbps-bin/install.c:
xbps-bin: simplify pkgname_from_pkgmatch() and fix a bug.
2010-01-14 06:25 +0100 Juan RP <xtraeme@gmail.com> (68916b88bbe3)
* bin/xbps-bin/install.c:
xbps-bin: really fix previous, by using a hack for now.
2010-01-14 04:00 +0100 Juan RP <xtraeme@gmail.com> (d4a5c466c003)
* bin/xbps-bin/install.c:
xbps-bin: don't make false positives detecting pkgmatches vs
pkgnames while installing packages.
2010-01-14 02:14 +0100 Juan RP <xtraeme@gmail.com> (cffd5516e9d2)
* bin/xbps-bin/install.c, bin/xbps-bin/main.c, bin/xbps-bin/xbps-
bin.8.txt, bin/xbps-repo/index.c, bin/xbps-repo/repository.c,
include/xbps_api.h, lib/plist.c, lib/register.c,
lib/repository_finddeps.c, lib/repository_findpkg.c,
lib/repository_plist.c, lib/state.c:
Implemented blueprint 'install-pkg-by-pkgmatch' as specified in
https://blueprints.launchpad.net/xbps/+spec/install-pkg-by-pkgmatch
The implementation works as expected, it was easier that I thought.
Bump XBPS_RELVER because the API was changed slightly.
2010-01-14 01:06 +0100 Juan RP <xtraeme@gmail.com> (973a02766629)
* bin/xbps-repo/util.c:
xbps-repo: search target: also report exact matches by pkgname.
2010-01-14 01:00 +0100 Juan RP <xtraeme@gmail.com> (577a92acf90e)
* lib/pkgmatch.c:
xbps_pkgmatch: before checking pattern with csh_match(), try to see
if a full match with strcmp() is enough.
2010-01-13 19:32 +0100 Juan RP <xtraeme@gmail.com> (9a72f86c9b66)
* include/Makefile: new file.
* Makefile, bin/Makefile, include/Makefile, vars.mk:
Install the xbps_api.h header.
2010-01-13 18:10 +0100 Juan RP <xtraeme@gmail.com> (5a9193b86cba)
* lib/remove.c:
xbps_remove_pkg: fix a memleak, thanks valgrind.
2010-01-13 17:05 +0100 Juan RP <xtraeme@gmail.com> (8b1fff326b0c)
* bin/xbps-repo/util.c:
xbps-repo/util.c: bump copyright year.
2010-01-13 16:57 +0100 Juan RP <xtraeme@gmail.com> (c7298514c018)
* bin/xbps-repo/util.c:
xbps-repo/util.c: simplify show_pkg_files().
2010-01-13 16:57 +0100 Juan RP <xtraeme@gmail.com> (d30359f579fe)
* lib/Makefile:
Install shlib with 755 perms to match what the world does.
2010-01-11 20:24 +0100 Juan RP <xtraeme@gmail.com> (702b8f0b469b)
* lib/fetch/ftp.c:
Sync fetch code with libfetch-2.27.
joerg@netbsd libfetch-2.27: The connection sharing didn't handle the
case of active transfers correctly and tried to close the connection
in that case (PR 42607). Correctly check if there is a transfer
going on and just leave the connection alone in that case.
2010-01-06 11:15 +0100 Juan RP <xtraeme@gmail.com> (0bee17c756d6)
* lib/Makefile, lib/fetch/Makefile, prog.mk, vars.mk:
Restructure the Makefiles, INET6 and SSL support in libfetch is now
mandatory, build executables as PIE objects.
2009-12-28 23:35 +0100 Juan RP <xtraeme@gmail.com> (c55ab3d86c16)
* README:
README: improve make install example.
2009-12-28 16:19 +0100 Juan RP <xtraeme@gmail.com> (c3af2254249d)
* README, lib/Makefile, lib/fetch/Makefile, prog.mk:
Cleaned up the Makefiles, improve README about what's required.
2009-12-24 01:32 +0100 Juan RP <xtraeme@gmail.com> (5a0d1558f4a3)
* lib/register.c:
xbps_register_pkg: if automatic-install obj is there, don't
overwrite its value.
2009-12-22 15:03 +0100 Juan RP <xtraeme@gmail.com> (345145c682ad)
* include/xbps_api.h:
Bump XBPS_RELVER to 20091222 for last set of changes.
2009-12-22 14:43 +0100 Juan RP <xtraeme@gmail.com> (5297e0d22a24)
* bin/xbps-bin/install.c, bin/xbps-bin/main.c, bin/xbps-bin/xbps-
bin.8.txt:
xbps-bin(8):
- Add -y flag to assume "yes" for all questions.
- Print a proper error string when the transaction dictionary is
empty.
2009-12-22 12:37 +0100 Juan RP <xtraeme@gmail.com> (acd82608bcca)
* bin/xbps-bin/defs.h, bin/xbps-bin/install.c, bin/xbps-bin/main.c,
bin/xbps-bin/remove.c, bin/xbps-bin/xbps-bin.8.txt,
lib/repository_finddeps.c, lib/repository_findpkg.c:
xbps-bin(8): implemented Launchpad blueprint "arbitrary-pkgname-
args". See https://blueprints.launchpad.net/xbps/+spec/arbitrary-
pkgname-args.
The install, update and remove targets now accept a list of package
names that will be processed.
2009-12-22 12:27 +0100 Juan RP <xtraeme@gmail.com> (a5a171e641fb)
* lib/util.c:
xbps_yesno/noyes: change the funcs to only accept "yes" or "no"
(case insensitive) answers rather than the short ones.
2009-12-20 23:33 +0100 Juan RP <xtraeme@gmail.com> (aa8e61d170b2)
* vars.mk:
vars.mk: remove dup -lcrypto.
2009-12-18 13:21 +0100 Juan RP <xtraeme@gmail.com> (f800f31fa361)
* lib/fetch/Makefile:
lib/fetch/Makefile: ignore fstack-protector warnings.
2009-12-18 13:21 +0100 Juan RP <xtraeme@gmail.com> (2db899aa6d90)
* .bzrignore:
.bzrignore: add .xml files.
2009-12-18 13:20 +0100 Juan RP <xtraeme@gmail.com> (a0217d3f9741)
* lib/repository_sync_index.c:
repository_sync_index.c: add missing sys/stat.h.
2009-12-18 13:19 +0100 Juan RP <juan@juan-desktop> (c7bc21a8517f)
* bin/xbps-bin/xbps-bin.8.txt, bin/xbps-repo/xbps-repo.8.txt:
xbps-{bin,repo}.8.txt: s/SYNOPSYS/SYNOPSIS/
2009-12-12 11:22 +0100 Juan RP <xtraeme@gmail.com> (84cbb396030d [0.3])
* README:
README: asciidoc is also required to build the manpages.
2009-12-12 11:20 +0100 Juan RP <xtraeme@gmail.com> (034ae565f6db)
* README: new file.
* README:
Added a minimal README file.
2009-12-11 10:58 +0100 Juan RP <xtraeme@gmail.com> (921fed384a70)
* lib/unpack.c:
xbps_unpack_binary_pkg: set INSTALL/REMOVE perms to 0750.
2009-12-10 09:13 +0100 Juan RP <xtraeme@gmail.com> (8ec89948aa24)
* lib/repository_plist.c:
repository_plist.c: fix lp bug #494905 "xbps build failure on
x86_64".
fetchIO_read returns ssize_t not int, applied patch from submitter.
Thanks.
2009-12-09 16:14 +0100 Juan RP <xtraeme@gmail.com> (31dcb98264ce)
* bin/xbps-bin/install.c, bin/xbps-bin/main.c, include/xbps_api.h,
lib/configure.c, lib/unpack.c:
When executing the INSTALL/REMOVE scripts, always pass the UPDATE
value to them.
Bump XBPS_RELVER to 20091209.
2009-12-07 07:24 +0100 Juan RP <xtraeme@gmail.com> (b45c72e349e1)
* lib/unpack.c:
xbps_unpack_binary_pkg: bail out if required metadata plist files
aren't found after processing 6 entries from the archive.
This to detect non-valid XBPS binary packages.
2009-12-07 06:52 +0100 Juan RP <xtraeme@gmail.com> (cb0cae51a795)
* bin/xbps-bin/defs.h, bin/xbps-bin/main.c, bin/xbps-bin/remove.c:
xbps-bin: make the 'autoremove' target respect -f flag to bypass
question.
2009-12-07 06:30 +0100 Juan RP <xtraeme@gmail.com> (3d82446e2e5e)
* include/xbps_api.h, lib/purge.c, lib/remove.c:
libxbps: share code for removing pkg files in remove.c and purge.c.
A new function has been created, xbps_remove_pkg_files() that
accepts a dictionary internalized from files.plist and a key to
remove links, dirs, files and conf_files.
As result of this, now when purging a package those directories that
were used in configuration files will also be removed if they are
empty.
Bump XBPS_RELVER to 20091207.
2009-12-07 05:27 +0100 Juan RP <xtraeme@gmail.com> (78a09943bec5)
* lib/remove.c:
xbps_remove_pkg: when removing dirs there is no need to look for the
"keep" obj anymore.
2009-12-06 09:29 +0100 Juan RP <xtraeme@gmail.com> (0ddde4623cec)
* bin/xbps-repo/repository.c:
xbps-repo: when adding local repos always create XBPS_META_PATH.
2009-12-05 01:05 +0100 Juan RP <xtraeme@gmail.com> (c3550956f315)
* bin/xbps-bin/xbps-bin.8.txt:
xbps-bin.8.txt: fix typo.
2009-12-02 07:19 +0100 Juan RP <xtraeme@gmail.com> (6283c719c91d)
* bin/xbps-bin/xbps-bin.8.txt, bin/xbps-repo/xbps-repo.8.txt:
Fixed typos in xbps-{bin,repo} manpages.
2009-12-02 06:31 +0100 Juan RP <xtraeme@gmail.com> (9468623e7bdc)
* bin/xbps-bin/install.c, include/xbps_api.h, lib/unpack.c:
xbps_unpack_binary_pkg: removed 2nd bool argument, look for a
preserve object to not remove files in removal or upgrades.
Bump XBPS_RELVER to 20091202.
2009-11-30 12:35 +0100 Juan RP <xtraeme@gmail.com> (ef29dd5b4e87)
* bin/xbps-bin/install.c, bin/xbps-repo/index.c, bin/xbps-repo/main.c,
bin/xbps-repo/repository.c, include/xbps_api.h,
lib/repository_plist.c:
Rename lib/repository_plist.c exported functions.
xbps_get_path_from_pkg_dict_repo ->
xbps_repository_get_path_from_pkg_dict
xbps_get_pkg_plist_dict_from_repo ->
xbps_repository_get_pkg_plist_dict xbps_get_pkg_plist_dict_from_url
-> xbps_repository_get_pkg_plist_dict_from_url
2009-11-30 12:24 +0100 Juan RP <xtraeme@gmail.com> (50c3b6347af1)
* bin/xbps-repo/main.c, bin/xbps-repo/repository.c,
include/xbps_api.h, lib/repository_finddeps.c,
lib/repository_findpkg.c, lib/repository_plist.c,
lib/repository_pool.c:
Rename struct repository_data to repository_pool.
2009-11-30 12:08 +0100 Juan RP <xtraeme@gmail.com> (d323ab017a4a)
* bin/xbps-bin/install.c, bin/xbps-repo/repository.c,
include/xbps_api.h, lib/repository.c, lib/repository_finddeps.c,
lib/repository_findpkg.c:
Rename some function from lib/repository* with more meaningful
names.
xbps_unregister_repository() -> xbps_repository_register()
xbps_register_repository() -> xbps_repository_unregister()
xbps_find_deps_in_pkg() -> xbps_repository_find_pkg_deps()
xbps_prepare_pkg() -> xbps_repository_install_pkg()
xbps_find_new_pkg() -> xbps_repository_update_pkg()
xbps_find_new_packages() -> xbps_repository_update_allpkgs()
xbps_get_pkg_props() -> xbps_repository_get_transaction_dict()
2009-11-30 11:53 +0100 Juan RP <xtraeme@gmail.com> (af35d7234973)
* lib/repository_sync_index.c: new file.
* lib/sync_remote_pkgidx.c: deleted file.
* bin/xbps-repo/repository.c, include/xbps_api.h, lib/Makefile,
lib/repository_sync_index.c, lib/sync_remote_pkgidx.c:
Rename lib/sync_remote_pkgidx.c to repository_sync_index.c.
xbps_sync_repository_pkg_index() renamed to
xbps_repository_sync_pkg_index().
2009-11-30 11:48 +0100 Juan RP <xtraeme@gmail.com> (94aebfa33b2d)
* include/xbps_api.h:
xbps_api.h: update comments, sort.
2009-11-30 11:38 +0100 Juan RP <xtraeme@gmail.com> (443a6a312bda)
* lib/repository_finddeps.c, lib/repository_findpkg.c: new file.
* lib/depends.c, lib/findpkg.c: deleted file.
* lib/Makefile, lib/depends.c, lib/findpkg.c,
lib/repository_finddeps.c, lib/repository_findpkg.c:
Rename lib/depends.c to repository_finddeps.c and lib/findpkg.c to
repository_findpkg.c.
2009-11-30 11:20 +0100 Juan RP <xtraeme@gmail.com> (44829821456e)
* bin/xbps-repo/util.c:
xbps-bin, xbps-repo: show the "essential" and "replaces" objs values
in the 'show' target.
2009-11-29 05:53 +0100 Juan RP <xtraeme@gmail.com> (69ecd1f57a9f)
* lib/sortdeps.c:
xbps_sort_pkg_deps: add debugging, use xbps_pkgdep_match().
2009-11-29 05:52 +0100 Juan RP <xtraeme@gmail.com> (e18fae789099)
* lib/depends.c:
xbps_find_pkg_repo_deps: check if current pkg version in repo is
enough to satisfy the required rundep for a pkg!
2009-11-29 05:51 +0100 Juan RP <xtraeme@gmail.com> (59fb3bb7bbdf)
* bin/xbps-bin/install.c:
xbps-bin: fix assertion with pkgs containing the "replaces" obj.
2009-11-29 03:17 +0100 Juan RP <xtraeme@gmail.com> (22b1b338ccf1)
* bin/xbps-bin/install.c, lib/depends.c, lib/plist.c:
Fix and improve how missing pkg dependencies are handled from repos.
- Use an array of strings to store the pkgdeps.
- While adding a missing pkgdep, check if it's already in the queue
and new required version is greater, in that case replace with new
one.
2009-11-28 09:18 +0100 Juan RP <xtraeme@gmail.com> (3f756bb4ac47)
* bin/xbps-bin/xbps-bin.8.txt:
xbps-bin(8): mention /var/db/xbps/metadata/pkgname/*.plist.
2009-11-28 09:14 +0100 Juan RP <xtraeme@gmail.com> (741b469c726b)
* include/xbps_api.h:
xbps_api.h: indent.
2009-11-28 06:11 +0100 Juan RP <xtraeme@gmail.com> (609f4e7ed906)
* bin/xbps-repo/util.c, lib/repository_plist.c:
xbps-repo: also print binpkg compression type in the show target.
Now it looks like:
$ xbps-repo show xbps-devel Fetching info from:
/storage/xbps/packages Filename: xbps-devel-20091128.i686.xbps
(size: 69K) SHA256:
2c54a61fbd128097692edc19a7c17bfb10d93b3f055b04171cd1e4d97cde79df
Compression type: xz Package: xbps-devel Installed size: 216K
Maintainer: Juan RP [xtraeme@gmail.com] Architecture: i686 Version:
20091128 Description: The XBPS package system (development branch)
The XBPS package system. A new, fast, from scratch and simple
binary package manager. This packages includes code from a
development branch available from https://launchpad.net/xbps $
2009-11-28 05:52 +0100 Juan RP <xtraeme@gmail.com> (6f8468780883)
* bin/xbps-repo/util.c:
xbps-bin, xbps-repo: use xbps_pkgdep_match() for the search target.
This provides csh style shell pattern.
2009-11-28 05:43 +0100 Juan RP <xtraeme@gmail.com> (cd1056500384)
* lib/config_files.c, lib/remove_obsoletes.c: new file.
* include/xbps_api.h, lib/Makefile, lib/config_files.c,
lib/remove_obsoletes.c, lib/unpack.c:
Split unpack.c config files and remove obsoletes code into its own
files.
2009-11-28 03:56 +0100 Juan RP <xtraeme@gmail.com> (92d52396c86f)
* bin/xbps-bin/xbps-bin.8.txt:
xbps-bin: update manpage.
2009-11-28 03:56 +0100 Juan RP <xtraeme@gmail.com> (a2fbdc4ea54f)
* bin/xbps-repo/main.c, bin/xbps-repo/xbps-repo.8.txt:
xbps-repo: add -c flag to set cachedir, update manpage.
2009-11-28 03:21 +0100 Juan RP <xtraeme@gmail.com> (8066b1b10113)
* bin/xbps-bin/install.c, bin/xbps-repo/xbps-repo.8.txt,
include/xbps_api.h, lib/repository_plist.c, lib/unpack.c,
lib/util.c:
xbps-repo: if fetching info from remote repo for the 'show' and
'show-files' targets and the binary package exists in cachedir, use
it.
2009-11-28 02:53 +0100 Juan RP <xtraeme@gmail.com> (9c8f64cdd692)
* lib/sync_remote_pkgidx.c:
xbps_sync_repository_pkg_index: update comments.
2009-11-28 02:51 +0100 Juan RP <xtraeme@gmail.com> (e5ec88b8b03f)
* include/xbps_api.h, lib/util.c:
libxbps: remove unused xbps_check_pkg_file_hash().
2009-11-28 02:49 +0100 Juan RP <xtraeme@gmail.com> (3ed60ce6d5de)
* lib/unpack.c:
xbps_unpack_binary_pkg: cosmetic changes.
2009-11-28 02:38 +0100 Juan RP <xtraeme@gmail.com> (ea1a6979cd94)
* lib/mkpath.c: new file.
* bin/xbps-bin/install.c, bin/xbps-bin/main.c, bin/xbps-bin/xbps-
bin.8.txt, include/xbps_api.h, lib/Makefile, lib/mkpath.c,
lib/sync_remote_pkgidx.c, lib/unpack.c, lib/util.c:
Added support for a cachedir to store downloaded binpkgs.
libxbps:
* Added xbps_set_cachedir() and xbps_get_cachedir(). By default it's
set to /var/cache/xbps if not specified and it's always relative
to the root directory.
* Move mkpath() code from sync_remote_pkgidc.c into its own file
mkpath.c to use it in another parts of the code.
* Added xbps_get_binpkg_local_path(), that returns the local path to
a binary package file, stored in cachedir or local repo.
* Remote pkg index files are now stored directly in metadir/repodir,
skipping the arch directory because binpkgs are now in cachedir.
xbps-bin:
* Added -c flag to set the cachedir.
* Check sha256 hashes in the download stage so that it can check a
downloaded binpkg immediately once is stored.
* If a binpkg doesn't match the hash it will be refetched.
Bump XBPS_RELVER to 20091128.
2009-11-27 01:51 +0100 Juan RP <xtraeme@gmail.com> (de5c5b1fb970)
* lib/repository_pool.c:
xbps_repository_pool_init: if unexistent repos are registered,
ignore them but do not report any error.
2009-11-26 21:41 +0100 Juan RP <xtraeme@gmail.com> (ce391bf58b1f)
* lib/repository_pool.c:
xbps_repository_pool_init: ignore invalid repositories if always
there is one that is working, otherwise report an error.
2009-11-26 05:01 +0100 Juan RP <xtraeme@gmail.com> (0daad84b3171)
* lib/plist.c:
xbps_find_pkg_installed_from_plist: if pkg is in 'config-files'
state, treat this as not installed and set errno to ENOENT.
2009-11-26 04:40 +0100 Juan RP <xtraeme@gmail.com> (9795082b301e)
* lib/repository_plist.c:
xbps_get_path_from_pkg_dict_repo: adding rootdir wasn't correct for
a local repository, remove it.
2009-11-26 03:32 +0100 Juan RP <xtraeme@gmail.com> (fb2c1f59c99b)
* bin/xbps-bin/xbps-bin.8.txt, bin/xbps-repo/xbps-repo.8.txt:
Added some missing changes for previous.
2009-11-26 03:29 +0100 Juan RP <xtraeme@gmail.com> (c219acc682bc)
* bin/xbps-bin/xbps-bin.8.txt, bin/xbps-repo/xbps-repo.8.txt:
xbps-bin(8), xbps-repo(8): improve descr for some targets.
2009-11-26 02:22 +0000 Juan RP <xtraeme@gmail.com> (f993808267ff)
* lib/regpkgs_dictionary.c, lib/repository_pool.c: new file.
* bin/xbps-bin/check.c, bin/xbps-bin/install.c, bin/xbps-bin/main.c,
bin/xbps-bin/show-deps.c, bin/xbps-repo/index.c, bin/xbps-
repo/main.c, bin/xbps-repo/repository.c, bin/xbps-repo/util.c,
include/xbps_api.h, lib/Makefile, lib/configure.c, lib/depends.c,
lib/findpkg.c, lib/orphans.c, lib/plist.c, lib/purge.c,
lib/register.c, lib/regpkgs_dictionary.c, lib/repository_plist.c,
lib/repository_pool.c, lib/requiredby.c, lib/state.c, lib/unpack.c,
lib/util.c:
Major changes in libxbps to implement caching in some cases.
libxbps:
- Moved repolist code to lib/repository_pool.c.
- Renamed xbps_{prepare,release}_repolist_data() to
xbps_repository_pool_{init,release} respectively.
- Moved regpkgdb dict code to lib/regpkgs_dictionary.c.
- Renamed xbps_{prepare,release}_regpkgdb_dict() to
xbps_regpkgs_dictionary_{init,release} respectively.
- Use a global reference count for repository_pool and
regpkgs_dictionary, this gives a substantial performance gain
while looking for dependencies in repository pool, among other
things.
- Make xbps_find_pkg_* functions return errno and use it to detect
for spurious errors in code using them.
- Add code to detect when a dependency is already unpacked.
xbps-bin:
- Do not set pkg state to unpacked in the transaction, it's set
already while a package is unpacked.
- While installing or updating packages, it now knows when a
dependency is already unpacked and shows it as "unconfigured".
Bump XBPS_RELVER to 20091126.
2009-11-25 07:42 +0000 Juan RP <xtraeme@gmail.com> (8b06d31c5dc8)
* bin/xbps-repo/index.c:
xbps-repo: genindex: also remove the "conf_files" object.
2009-11-25 04:38 +0000 Juan RP <xtraeme@gmail.com> (d635282d7668)
* include/xbps_api.h:
Bump XBPS_PKGINDEX_VERSION to 1.1 because some pkg objects were
removed.
2009-11-25 04:32 +0000 Juan RP <xtraeme@gmail.com> (309260a1a4b2)
* bin/xbps-repo/repository.c: new file.
* bin/xbps-repo/Makefile, bin/xbps-repo/defs.h, bin/xbps-repo/index.c,
bin/xbps-repo/main.c, bin/xbps-repo/repository.c, bin/xbps-
repo/util.c:
xbps-repo: improve genindex target, reorganize main.c file.
- genindex: use new recently added function, remove some objects
from generated pkg dictionaries, they will be fetched remotely.
- moved some code from main.c into repository.c.
2009-11-25 04:29 +0000 Juan RP <xtraeme@gmail.com> (086ceefd4a58)
* include/xbps_api.h, lib/repository_plist.c:
xbps_get_path_from_pkg_dict_repo: new function that returns a
malloc'ed string with the full path to a binary package file.
2009-11-25 02:52 +0000 Juan RP <xtraeme@gmail.com> (788f4c5f16ae)
* include/xbps_api.h, lib/repository_plist.c:
xbps_get_pkg_plist_dict_from_repo: split reading the pkg plist dict
from an url into a new function, xbps_get_pkg_plist_dict_from_url.
2009-11-25 02:15 +0000 Juan RP <xtraeme@gmail.com> (e8cd4a35970e)
* bin/xbps-bin/show-info-files.c, bin/xbps-repo/defs.h, bin/xbps-
repo/main.c, bin/xbps-repo/util.c, bin/xbps-repo/xbps-repo.8.txt,
include/xbps_api.h:
xbps-repo(8): added 'show-files' target.
It will search for 'pkgname' and will print its list of files, by
searching it in repository pool. The first repo wins.
Bump XBPS_RELVER to 20091125.
2009-11-25 02:09 +0000 Juan RP <xtraeme@gmail.com> (38dd644ba7c0)
* lib/repository_plist.c: new file.
* include/xbps_api.h, lib/Makefile, lib/repository_plist.c:
Added xbps_get_pkg_plist_dict_from_repo().
This function will fetch a requested plist file in a binary package
matching its 'pkgname' object by searching in repository pool.
This works in any kind of repository, local and remote. Some code
was Taken from NetBSD's pkg_install HEAD. Oh, and it's on-the-fly!
doesn't need to download the binpkg first!
2009-11-25 00:17 +0000 Juan RP <xtraeme@gmail.com> (7a913fc8ee10)
* bin/xbps-repo/index.c:
xbps-repo: genindex: optimization change.
While looking at the archive for the XBPS_PKGPROPS file, it's
unlikely that it will have it after reading 6 entries, so discard it
completely and show an error message.
The XBPS_PKGPROPS it's always there at index <= 4.
2009-11-25 00:17 +0000 Juan RP <xtraeme@gmail.com> (6daf7302edd8)
* .bzrignore:
Update .bzrignore after last changes.
2009-11-24 23:45 +0000 Juan RP <xtraeme@gmail.com> (1b1cd4c9c552)
* bin/xbps-repo/index.c:
xbps-repo: genindex: print error msg if required dirs to store
binpkgs are not there.
2009-11-24 11:59 +0000 Juan RP <xtraeme@gmail.com> (db3bdfaeacab)
* bin/xbps-uhelper/Makefile, bin/xbps-uhelper/main.c: new file.
* bin/xbps-cmpver/Makefile, bin/xbps-cmpver/main.c, bin/xbps-
digest/Makefile, bin/xbps-digest/main.c, bin/xbps-fetch/Makefile,
bin/xbps-fetch/main.c, bin/xbps-pkgdb/Makefile, bin/xbps-
pkgdb/main.c: deleted file.
* bin/Makefile, bin/xbps-cmpver/Makefile, bin/xbps-cmpver/main.c, bin
/xbps-digest/Makefile, bin/xbps-digest/main.c, bin/xbps-
fetch/Makefile, bin/xbps-fetch/main.c, bin/xbps-pkgdb/Makefile, bin
/xbps-pkgdb/main.c, bin/xbps-uhelper/Makefile, bin/xbps-
uhelper/main.c, include/xbps_api.h:
xbps-uhelper: new bin that combines xbps-cmpver, xbps-digest, xbps-
fetch and xbps-pkgdb in one utility.
Bump XBPS_RELVER to 20091124-1.
2009-11-24 11:11 +0000 Juan RP <xtraeme@gmail.com> (2a7bbbef1992)
* bin/xbps-repo/defs.h, bin/xbps-repo/index.c:
xbps-repo: make xbps_repo_addpkg_index() static.
2009-11-24 11:05 +0000 Juan RP <xtraeme@gmail.com> (1c25b7658fe3)
* bin/xbps-bin/show-info-files.c, bin/xbps-repo/defs.h: new file.
* bin/xbps-repo/index.h, bin/xbps-repo/util.h: deleted file.
* bin/xbps-bin/Makefile, bin/xbps-bin/defs.h, bin/xbps-bin/main.c, bin
/xbps-bin/remove.c, bin/xbps-bin/show-deps.c, bin/xbps-bin/show-
info-files.c, bin/xbps-repo/defs.h, bin/xbps-repo/index.c, bin/xbps-
repo/index.h, bin/xbps-repo/main.c, bin/xbps-repo/util.c, bin/xbps-
repo/util.h:
Refactored shared code between xbps-bin(8) and xbps-repo(8).
- xbps-repo: move protos to defs.h and remove index.h and util.h.
- xbps-bin: move code that belongs to it from xbps-repo to show-info-
files.c.
2009-11-24 10:47 +0000 Juan RP <xtraeme@gmail.com> (253e8be13a0b)
* bin/xbps-bin/show-deps.c, bin/xbps-repo/main.c, bin/xbps-
repo/util.c, bin/xbps-repo/util.h, bin/xbps-repo/xbps-repo.8.txt,
include/xbps_api.h, lib/plist.c:
xbps-repo: added 'show-deps' target to mimic xbps-bin(8).
As consequence of this, remove
xbps_callback_array_iter_in_repolist(). Nowadays to iter over the
repository pool we have a SIMPLEQ, this allowed to simplify the code
and remove some now unneeed stuff.
2009-11-24 05:03 +0000 Juan RP <xtraeme@gmail.com> (698e054e3545)
* bin/xbps-bin/install.c, bin/xbps-fetch/main.c, bin/xbps-repo/main.c,
lib/download.c, lib/sync_remote_pkgidx.c:
Some changes to know if a file was downloaded successfully or not.
Improved xbps-repo sync/add and xbps-fetch to print informative
messages when a transfer was not necessary because local/remote size
and/or mtime matched.
2009-11-24 03:54 +0000 Juan RP <xtraeme@gmail.com> (0efe39e1eb50)
* lib/download.c:
xbps_fetch_file: in refetch case, do nothing if local/remote size
match.
2009-11-24 03:16 +0000 Juan RP <xtraeme@gmail.com> (17384d2aea1f)
* bin/xbps-repo/xbps-repo.8.txt:
xbps-repo: explain in the manpage that outdated package files will
be removed automatically for the 'genindex' target.
2009-11-24 03:07 +0000 Juan RP <xtraeme@gmail.com> (146aa3c7b1b1)
* include/xbps_api.h:
Bump XBPS_RELVER to 20091124 for xbps-repo genindex fix.
2009-11-24 03:06 +0000 Juan RP <xtraeme@gmail.com> (9049eab45957)
* bin/xbps-repo/index.c, bin/xbps-repo/index.h:
xbps-repo genindex: fix use after free, remove outdated binpkg files
by default.
2009-11-24 03:01 +0000 Juan RP <xtraeme@gmail.com> (87bcc31f3a72)
* lib/plist.c:
xbps_find_pkg_in_dict: return NULL if pkgname obj is not there.
2009-11-24 00:30 +0000 Juan RP <xtraeme@gmail.com> (7a5106340a33)
* bin/xbps-bin/install.c:
xbps-bin: fix one more for previous commit.
2009-11-23 23:56 +0000 Juan RP <xtraeme@gmail.com> (982c79ab0fef)
* bin/xbps-bin/install.c:
xbps-bin: fix download local dir when fetching binpkgs from remote
repos.
2009-11-23 09:46 +0000 Juan RP <xtraeme@gmail.com> (d70c50d38f5a)
* bin/xbps-bin/check.c, bin/xbps-bin/install.c, bin/xbps-bin/remove.c,
bin/xbps-repo/index.c, bin/xbps-repo/util.c, lib/configure.c,
lib/depends.c, lib/findpkg.c, lib/orphans.c, lib/plist.c,
lib/purge.c, lib/register.c, lib/remove.c, lib/requiredby.c,
lib/sortdeps.c, lib/state.c, lib/unpack.c:
Extensively verified that all functions have its return value
checked for any spurious error, this should make the core more safer
:-)
2009-11-23 07:02 +0000 Juan RP <xtraeme@gmail.com> (5147bd1c5c99)
* lib/util.c:
xbps_get_pkg_index_plist: use xbps_check_is_repo_string_remote().
2009-11-23 04:23 +0000 Juan RP <xtraeme@gmail.com> (e9f2422e6225)
* bin/xbps-bin/install.c, bin/xbps-repo/main.c, bin/xbps-repo/xbps-
repo.8.txt, include/xbps_api.h, lib/sync_remote_pkgidx.c,
lib/util.c:
xbps-repo: changed the 'sync' target to update from all registered
remote repositories, so remove its argument.
xbps_sync_repository_pkg_index:
- create the local repo dir in XBPS_META_PATH.
- also add the uri scheme (http://, https://, ftp://) in the created
local directory and subst ':' also with an underscore.
- do not create local repo directories unless the download pkg-index
plist file is verified to be fetched correctly.
xbps_check_is_repo_string_remote: New function to check if a repo
string is a remote repository, use it in all places where it was
used before.
2009-11-23 00:29 +0000 Juan RP <xtraeme@gmail.com> (2031e9856f4f)
* include/xbps_api.h:
Bump XBPS_RELVER to 20091123.
2009-11-23 00:28 +0000 Juan RP <xtraeme@gmail.com> (115848ac8bd9)
* bin/xbps-pkgdb/main.c:
xbps-pkgdb: don't forget to add the pkgver object in register
target.
2009-11-23 00:28 +0000 Juan RP <xtraeme@gmail.com> (9555e41af3a5)
* lib/register.c:
xbps_register_pkg: check that required objs are there!
2009-11-23 00:43 +0100 Juan RP <xtraeme@gmail.com> (7a1117ae48f5)
* lib/depends.c:
xbps_find_pkg_repo_deps: don't propagate rv to next calls using it,
add some more debugging for future problems.
2009-11-22 21:52 +0100 Juan RP <xtraeme@gmail.com> (f0bf38818fb3)
* lib/depends.c:
xbps_find_pkg_repo_deps: if finding a dep failed for whatever
reason, stop immediately and return the appropiate error.
2009-11-22 21:52 +0100 Juan RP <xtraeme@gmail.com> (b8cd563a6cbd)
* lib/findpkg.c:
xbps_find_new_pkg: do not report incorrect debug printf.
2009-11-22 21:51 +0100 Juan RP <xtraeme@gmail.com> (fb899b286db1)
* lib/util.c:
xbps_get_pkgver_from_dict: return NULL if the object is not there.
2009-11-22 08:24 +0100 Juan RP <xtraeme@gmail.com> (54cb8e2fa608)
* include/xbps_api.h:
Bump XBPS_RELVER to 20091122 for previous change.
2009-11-22 07:04 +0100 Juan RP <xtraeme@gmail.com> (5614620233f0)
* bin/xbps-repo/main.c, lib/download.c:
xbps-repo: print error if pkg-index file cannot be fetched.
2009-11-22 06:47 +0100 Juan RP <xtraeme@gmail.com> (a0a319ac3061)
* doc/BINPKG_INFO, doc/BINPKG_REPOSITORY, doc/README, doc/TODO:
deleted file.
* doc/BINPKG_INFO, doc/BINPKG_REPOSITORY, doc/README, doc/TODO:
Removed outdated doc files.
2009-11-22 05:15 +0100 Juan RP <xtraeme@gmail.com> (b76ecd32fd03)
* bin/xbps-bin/install.c, bin/xbps-bin/main.c, bin/xbps-bin/remove.c,
include/xbps_api.h, lib/depends.c, lib/register.c, lib/requiredby.c,
lib/util.c:
Improve dependency matching via repos and use the "pkgver" object in
pkg dictionary to improve performance in some cases.
Bumped XBPS_RELVER to 20091121.
2009-11-21 07:12 +0100 Juan RP <xtraeme@gmail.com> (c1440f8556d2)
* include/xbps_api.h, lib/depends.c, lib/findpkg.c:
xbps_find_pkg_deps: simplify, fix multi-repo bug, add debugging.
2009-11-20 22:08 +0100 Juan RP <xtraeme@gmail.com> (1212e98c77cb)
* .bzrignore:
.bzrignore: add xbps-fetch bin.
2009-11-20 22:02 +0100 Juan RP <xtraeme@gmail.com> (bb67838675ed)
* prog.mk:
Fixed prog.mk rules that skipped the manpage.
2009-11-19 06:10 +0100 Juan RP <xtraeme@gmail.com> (f76ba5b1365c)
* lib/unpack.c:
xbps_unpack_binary_pkg: initialize a local var.
2009-11-19 06:03 +0100 Juan RP <xtraeme@gmail.com> (1e0e8631efd3)
* Makefile, bin/Makefile, bin/xbps-bin/Makefile, bin/xbps-
cmpver/Makefile, bin/xbps-digest/Makefile, bin/xbps-fetch/Makefile,
bin/xbps-pkgdb/Makefile, bin/xbps-repo/Makefile, doc/README,
lib/Makefile, lib/fetch/Makefile, prog.mk, vars.mk:
Improve make output similar to what recent GNU configure scripts do.
Also always build the static bins so that it's done in one pass,
that means that objects are PIC and built with SSP.
2009-11-19 00:11 +0100 Juan RP <xtraeme@gmail.com> (15353effc62c)
* bin/xbps-repo/index.c:
xbps-repo: do the right thing in some error paths.
2009-11-18 10:05 +0100 Juan RP <xtraeme@gmail.com> (c186a4f92c63)
* lib/Makefile, lib/fetch/Makefile, prog.mk, vars.mk:
Reorganize the Makefiles so that parallel build is possible.
2009-11-18 10:02 +0100 Juan RP <xtraeme@gmail.com> (36cd7959676e)
* include/xbps_api.h:
xbps_api.h: use __BEGIN/END_DECLS.
2009-11-18 08:49 +0100 Juan RP <xtraeme@gmail.com> (c61a6a170d65)
* .bzrignore:
Ignore two generated headers in .bzrignore.
2009-11-18 07:28 +0100 Juan RP <xtraeme@gmail.com> (c40274228d3f)
* bin/xbps-bin/install.c, bin/xbps-fetch/main.c, include/xbps_api.h,
lib/download.c, lib/sync_remote_pkgidx.c:
Improve download code, as well as fixing refetching when syncing to
a remote package index. Bump XBPS_RELVER to 20091118.
2009-11-18 07:17 +0100 Juan RP <xtraeme@gmail.com> (46942e1c007d)
* bin/xbps-repo/index.c:
xbps-repo: fix previous, writing a dangling string and a leak in
exit path.
2009-11-18 06:34 +0100 Juan RP <xtraeme@gmail.com> (1adb5fbe7818)
* bin/xbps-repo/index.c, bin/xbps-repo/index.h, bin/xbps-repo/main.c,
bin/xbps-repo/xbps-repo.8.txt:
xbps-repo: made 'genindex' code run ~60% faster than before!
Rather than externalizing the package index plist file to storage
every time a package is registered, only do it one time once all
packages have been processed. Creating an index with 700 pkgs now
takes 14s in a VM, where before it took 39s. As consequence of this,
the 'add-pkgidx' target is no longer relevant or useful, remove it.
2009-11-17 17:43 +0100 Juan RP <xtraeme@gmail.com> (bcb09f418b5a)
* bin/xbps-bin/xbps-bin.8.txt, bin/xbps-repo/xbps-repo.8.txt:
Fix a typo in xbps-bin/repo manpages.
2009-11-09 02:59 +0100 Juan RP <xtraeme@gmail.com> (71e6765c1fe9)
* bin/xbps-bin/main.c, bin/xbps-bin/xbps-bin.8.txt:
xbps-bin: rename 'show-manual' target to 'list-manual', it's a
better name IMHO :-)
2009-11-09 02:45 +0100 Juan RP <xtraeme@gmail.com> (d2486475ad2a)
* include/xbps_api.h:
xbps_api.h: bump XBPS_RELVER to 20091109.
2009-11-09 02:30 +0100 Juan RP <xtraeme@gmail.com> (1c13692d6c52)
* lib/unpack.c:
Implemented blueprint "essential-upgrades".
See https://blueprints.launchpad.net/xbps/+spec/essential-upgrades
for complete information.
Implementation used almost the same code than the pseudo-code
explained in the blueprint. Works really fine, tested with
glibc-2.10.1 -> 2.11 upgrade.
2009-11-07 16:41 +0100 Juan RP <xtraeme@gmail.com> (f5288e2b757c)
* lib/depends.c, lib/pkgmatch.c, lib/util.c:
Fix some issues while matching for required pkgdeps.
2009-11-07 06:21 +0100 Juan RP <xtraeme@gmail.com> (ac6ffd0a3ba0)
* lib/download.c:
xbps_fetch_file: return proper error if connection failed, fix SSP
problem with fetchflags!
2009-11-07 04:56 +0100 Juan RP <xtraeme@gmail.com> (9ec078af1aed)
* lib/pkgmatch.c: new file.
* bin/xbps-bin/check.c, bin/xbps-bin/install.c, bin/xbps-bin/show-
deps.c, bin/xbps-pkgdb/main.c, include/xbps_api.h, lib/Makefile,
lib/depends.c, lib/pkgmatch.c, lib/requiredby.c, lib/sortdeps.c,
lib/util.c:
Added support for shell (and csh as well) patterns for required
dependencies, as specified in blueprint "improved-version-matching".
It's possible now to require greater, greater or equal than, less,
less or equal than, and equal pkg versions, as well as using '{}'
and '[^!]' csh patterns in dependencies.
Code lifted from FreeBSD, thanks! :-)
Change XBPS_RELVER to 20091107 to match latest additions.
2009-11-05 22:55 +0100 Juan RP <xtraeme@gmail.com> (e761763b5e3e)
* prog.mk:
Fix launchpad bug #473249 "-lxbps not found because of wrong
LDFLAGS"
Append (+=) to LDFLAGS as suggested in provided patch.
2009-11-01 07:34 +0100 Juan RP <xtraeme@gmail.com> (7beb6d20537e)
* doc/TODO:
doc/TODO: remote repos are working.
2009-11-01 07:32 +0100 Juan RP <xtraeme@gmail.com> (6a04b92af1fa)
* bin/xbps-bin/check.c:
xbps-bin: improve 'check all' target output.
2009-10-31 15:09 +0100 Juan RP <xtraeme@gmail.com> (c2b5c03a8c74)
* lib/download.c, lib/fetch/Makefile, vars.mk:
Improve xbps_fetch_file() and friends, one more time by Daft Punk.
2009-10-31 11:57 +0100 Juan RP <xtraeme@gmail.com> (49ef49bc5f98)
* bin/xbps-repo/main.c, bin/xbps-repo/xbps-repo.8.txt:
xbps-repo: add a sync target, to sync the pkg index file from a
remote repository.
2009-10-31 11:55 +0100 Juan RP <xtraeme@gmail.com> (9fe634d036d5)
* lib/download.c:
xbps_fetch_file: erm fix previous, FETH_UNCHANGED is the correct
one.
2009-10-31 11:40 +0100 Juan RP <xtraeme@gmail.com> (ffddae242974)
* lib/download.c:
xbps_fetch_file(): check for local/remote mtime, add some more
checks for errors, add some printfs.
2009-10-30 17:32 +0100 Juan RP <xtraeme@gmail.com> (4ac1a1d3464f)
* lib/Makefile, prog.mk:
Bah, fix these stupid make targets.
2009-10-30 17:23 +0100 Juan RP <xtraeme@gmail.com> (1106a3d93328)
* Makefile, lib/Makefile, prog.mk:
Fix up some issues for building shared/static bins.
2009-10-30 17:20 +0100 Juan RP <xtraeme@gmail.com> (69559e9c0ec8)
* lib/download.c:
libxbps: avoid fetchStat() and use only fetchXGet().
Some HTTP servers (observerd with googlecode.com), issue a 404 if
the headers are checked before issuing a GET transfer.
2009-10-30 12:22 +0100 Juan RP <xtraeme@gmail.com> (90d025d30e87)
* lib/Makefile:
lib/Makefile: don't forget to install the static lib.
2009-10-30 12:17 +0100 Juan RP <xtraeme@gmail.com> (d565eed997f2)
* Makefile, bin/xbps-bin/Makefile, bin/xbps-bin/install.c, bin/xbps-
fetch/main.c, bin/xbps-repo/Makefile, doc/README, include/sha256.h,
include/xbps_api.h, lib/Makefile, lib/download.c,
lib/fetch/Makefile, lib/sha256.c, lib/sync_remote_pkgidx.c,
lib/util.c, prog.mk, vars.mk:
Properly build shared/static libxbps and utils.
xbps-fetch: added -v flag to see verbose messages in libfetch.
2009-10-30 03:13 +0100 Juan RP <xtraeme@gmail.com> (5a6a438879c4)
* bin/Makefile, bin/xbps-fetch/main.c, include/xbps_api.h,
lib/download.c, prog.mk:
libxbps: added xbps_fetch_error_string(), that returns libfetch
fetchLastErrString.
Hook xbps-fetch to the tree and use the new function to print
errors.
2009-10-30 01:42 +0100 Juan RP <xtraeme@gmail.com> (1d9c06a3a0e9)
* bin/xbps-bin/main.c:
xbps-bin: use exit(2) rather than _exit(2).
This was causing premature exiting when piping the program!
2009-10-28 16:32 +0100 Juan RP <xtraeme@gmail.com> (bf8946a8a147)
* bin/xbps-bin/xbps-bin.8.txt, bin/xbps-repo/xbps-repo.8.txt: new
file.
* .bzrignore, bin/xbps-bin/xbps-bin.8.txt, bin/xbps-cmpver/Makefile,
bin/xbps-digest/Makefile, bin/xbps-fetch/Makefile, bin/xbps-
pkgdb/Makefile, bin/xbps-repo/xbps-repo.8.txt, doc/README, prog.mk,
vars.mk:
Added xbps-bin(8) and xbps-repo(8) manpages in asciidoc format.
That means that asciidoc is required to build/install XBPS.
2009-10-28 03:39 +0100 Juan RP <xtraeme@gmail.com> (ba394491b1ef)
* bin/xbps-bin/main.c:
xbps-bin: added "show-manual" target.
This targets shows the list of packages that were installed
manually, i.e not as dependencies.
2009-10-28 03:16 +0100 Juan RP <xtraeme@gmail.com> (b36aeb02e154)
* lib/depends.c:
lib/depends.c: minor performance change.
2009-10-27 15:25 +0100 Juan RP <xtraeme@gmail.com> (6acbb982d232)
* bin/xbps-repo/main.c:
xbps-repo: sanitize uri provided to the add target also for remote
repositories.
2009-10-27 12:15 +0100 Juan RP <xtraeme@gmail.com> (dc7621ef6247)
* bin/xbps-bin/check.c, bin/xbps-bin/show-deps.c, bin/xbps-
repo/util.c, lib/findpkg.c, lib/plist.c, lib/purge.c,
lib/register.c, lib/remove.c, lib/repository.c, lib/requiredby.c,
lib/state.c:
Use xbps_get_root() directly where appropiate.
2009-10-27 04:40 +0100 Juan RP <xtraeme@gmail.com> (f5acd8c6ae5b)
* lib/sync_remote_pkgidx.c: new file.
* include/xbps_api.h, lib/Makefile, lib/repository.c,
lib/sync_remote_pkgidx.c:
libxbps: move remote repo pkg-index sync code into its own file.
2009-10-27 01:56 +0100 Juan RP <xtraeme@gmail.com> (8cd94bbd0f63)
* doc/README:
README: mention that openssl is required for https support.
2009-10-27 01:46 +0100 Juan RP <xtraeme@gmail.com> (8c3dab8669c1)
* bin/xbps-fetch/Makefile, bin/xbps-fetch/main.c, include/fetch.h,
lib/download.c, lib/fetch/Makefile, lib/fetch/common.c,
lib/fetch/common.h, lib/fetch/errlist.sh, lib/fetch/fetch.c,
lib/fetch/file.c, lib/fetch/ftp.c, lib/fetch/ftp.errors,
lib/fetch/http.c, lib/fetch/http.errors: new file.
* bin/Makefile, bin/xbps-bin/install.c, bin/xbps-digest/main.c, bin
/xbps-fetch/Makefile, bin/xbps-fetch/main.c, bin/xbps-repo/index.c,
bin/xbps-repo/main.c, bin/xbps-repo/util.c, doc/BINPKG_REPOSITORY,
include/fetch.h, include/xbps_api.h, lib/Makefile, lib/cmpver.c,
lib/configure.c, lib/depends.c, lib/download.c, lib/fetch/Makefile,
lib/fetch/common.c, lib/fetch/common.h, lib/fetch/errlist.sh,
lib/fetch/fetch.c, lib/fetch/file.c, lib/fetch/ftp.c,
lib/fetch/ftp.errors, lib/fetch/http.c, lib/fetch/http.errors,
lib/fexec.c, lib/findpkg.c, lib/humanize_number.c, lib/orphans.c,
lib/plist.c, lib/purge.c, lib/register.c, lib/remove.c,
lib/repository.c, lib/requiredby.c, lib/sortdeps.c, lib/state.c,
lib/unpack.c, lib/util.c, vars.mk:
Implemented support for working with remote repositories.
libfetch from NetBSD's pkgsrc has been imported into lib/fetch, but
the objects are embedded into libxbps. Only a public function to
fetch files has been implemented: xbps_fetch_file().
The library now is built with -fvisibility=hidden by default, and
exported symbols are the ones that use the SYMEXPORT macro.
The code works well enough, but will need many more cleanups.
2009-10-23 14:03 +0200 Juan RP <xtraeme@gmail.com> (32b865393c07)
* lib/orphans.c:
xbps_find_orphan_packages: report return value as errno in an error
path.
2009-10-23 14:01 +0200 Juan RP <xtraeme@gmail.com> (69998c500a00)
* bin/xbps-bin/defs.h, bin/xbps-bin/install.c, bin/xbps-bin/main.c,
bin/xbps-bin/remove.c:
xbps-bin: use a single point to cleanup resources.
2009-10-23 11:20 +0200 Juan RP <xtraeme@gmail.com> (d0826ac9f982)
* bin/xbps-bin/main.c:
xbps-bin: use a signal handler for SIGINT, SIGTERM and SIGQUIT to
free resources used by libxbps.
2009-10-23 11:11 +0200 Juan RP <xtraeme@gmail.com> (545f099950cf)
* lib/util.c:
xbps_check_is_installed_pkg: fix a leak in error paths reported by
valgrind.
2009-10-23 08:45 +0200 Juan RP <xtraeme@gmail.com> (d954a44a8d10)
* bin/xbps-bin/install.c:
xbps-bin: use HN_B and HN_DECIMAL when using humanize_number for a
more detailed output.
2009-10-22 14:49 +0200 Juan RP <xtraeme@gmail.com> (40768c0c7d4d)
* bin/xbps-digest/main.c, include/xbps_api.h, lib/sha256.c,
lib/util.c:
Do not use private sha256.h header file in the public exported API
header file (xbps_api.h).
2009-10-22 14:48 +0200 Juan RP <xtraeme@gmail.com> (fa07818c5854)
* vars.mk:
vars.mk: _BSD_SOURCE does not need to be defined.
2009-10-22 14:32 +0200 Juan RP <xtraeme@gmail.com> (94bae6c1e686)
* bin/xbps-bin/install.c:
xbps-bin: while updating a package that needs a new dependent
package the automatic-install object wasn't set correctly, fix this.
2009-10-22 11:30 +0200 Juan RP <xtraeme@gmail.com> (eba217df0199)
* .bzrignore:
.bzrignore: add static bins.
2009-10-21 18:27 +0200 Juan RP <xtraeme@gmail.com> (a409205a4184)
* lib/unpack.c:
Fix typo in previous.
2009-10-21 18:16 +0200 Juan RP <xtraeme@gmail.com> (08b23e8136f7)
* lib/unpack.c:
Improved unpacking package files, fixing bugs in configuration file
handling.
2009-10-20 14:25 +0200 Juan RP <xtraeme@gmail.com> (9a1f7c1debb0)
* doc/BINPKG_INFO:
doc/BINPKG_INFO: mention that binary packages might be compressed in
any format supported by libarchive, not just bzip2.
2009-10-20 09:45 +0200 Juan RP <xtraeme@gmail.com> (b4c2c85c3ea8)
* vars.mk:
vars.mk: build bins with -fstack-protector-all and -Wstack-
protector.
2009-10-19 23:49 +0200 Juan RP <xtraeme@gmail.com> (c6e0f06e6794)
* bin/xbps-pkgdb/main.c:
xbps-pkgdb: always set rootdir as an empty string, otherwise if -r
is not specified it will fail to get the regpkgdb plist file.
Bug found by pancake.
2009-10-18 17:39 +0200 Juan RP <xtraeme@gmail.com> (893b5e9fae10)
* prog.mk:
prog.mk: add uninstall target.
2009-10-18 11:15 +0200 Juan RP <xtraeme@gmail.com> (bc54efa70907)
* bin/xbps-src/Makefile, bin/xbps-src/main.sh, doc/SRCPKG_INFO,
etc/Makefile, etc/xbps-src.conf, shutils/Makefile,
shutils/build_funcs.sh, shutils/builddep_funcs.sh,
shutils/buildvars_funcs.sh, shutils/chroot.sh,
shutils/common_funcs.sh, shutils/configure_funcs.sh, shutils/cross-
compilation.sh, shutils/extract_funcs.sh, shutils/fetch_funcs.sh,
shutils/install_funcs.sh, shutils/make-binpkg.sh,
shutils/metadata.sh, shutils/metadata_scripts.sh,
shutils/mktoolchain.sh, shutils/patch_funcs.sh,
shutils/pkgtarget_funcs.sh, shutils/stow_funcs.sh,
shutils/tmpl_funcs.sh: deleted file.
* .bzrignore, Makefile, bin/Makefile, bin/xbps-src/Makefile, bin/xbps-
src/main.sh, doc/README, doc/SRCPKG_INFO, doc/TODO, etc/Makefile,
etc/xbps-src.conf, lib/Makefile, shutils/Makefile,
shutils/build_funcs.sh, shutils/builddep_funcs.sh,
shutils/buildvars_funcs.sh, shutils/chroot.sh,
shutils/common_funcs.sh, shutils/configure_funcs.sh, shutils/cross-
compilation.sh, shutils/extract_funcs.sh, shutils/fetch_funcs.sh,
shutils/install_funcs.sh, shutils/make-binpkg.sh,
shutils/metadata.sh, shutils/metadata_scripts.sh,
shutils/mktoolchain.sh, shutils/patch_funcs.sh,
shutils/pkgtarget_funcs.sh, shutils/stow_funcs.sh,
shutils/tmpl_funcs.sh, vars.mk:
Remove xbps-src and its associated code. This is required for the
upcoming 0.3 version.
2009-10-18 10:42 +0200 Juan RP <xtraeme@gmail.com> (00c44e5d2329)
* bin/xbps-bin/main.c, bin/xbps-pkgdb/main.c, bin/xbps-repo/main.c:
xbps-{bin,repo,pkgdb}: added -V flag that prints the current XBPS
release version as defined in xbps_api.h.
2009-10-18 10:23 +0200 Juan RP <xtraeme@gmail.com> (e5afadcd94db)
* include/xbps_api.h:
xbps_api.h: aded XBPS_RELVER definition that returns the current
version of xbps (utils and libraries).
Will be used by xbps-src in the future to require a minimal version.
2009-10-18 09:18 +0200 Juan RP <xtraeme@gmail.com> (608cc871c1d9)
* shutils/build_funcs.sh, shutils/configure_funcs.sh,
shutils/install_funcs.sh:
shutils: reorganize stuff for $build_style, add "python-module"
style.
If build_style=python-module, $XBPS_HELPERSDIR/python-module.sh will
run the do_install function.
2009-10-17 06:18 +0200 Juan RP <xtraeme@gmail.com> (5644a2e49e30 [0.2])
* bin/xbps-bin/install.c, lib/findpkg.c:
Fix "autoupdate" target when no new packages are available.
2009-10-17 05:12 +0200 Juan RP <xtraeme@gmail.com> (1ecfc8bd7207)
* shutils/metadata.sh:
Don't propagate $replaces value to subpkgs, use its own if defined.
2009-10-17 05:01 +0200 Juan RP <xtraeme@gmail.com> (7d396e81655a)
* bin/xbps-bin/Makefile, bin/xbps-repo/Makefile:
Fixed bug #453422: "xbps shouldn't depend on LZMA utils"
Do not link to libzmadec, rather to liblzma provided by xz. Pointed
by ojab in the bug, thanks!
2009-10-17 04:59 +0200 Juan RP <xtraeme@gmail.com> (80d343373334)
* bin/xbps-bin/install.c:
Fix previous, so that only tries to replace packages if they are
installed! heh
2009-10-17 04:26 +0200 Juan RP <xtraeme@gmail.com> (1cdebda9461a)
* bin/xbps-bin/install.c, doc/README, shutils/metadata.sh,
shutils/tmpl_funcs.sh:
Added support to replace packages with another one. Package metadata
uses an array of strings that lists the packages that should be
removed before new package can be installed.
In the build templates one can use: replaces="foo foo-blah foo-
libs".
2009-10-17 02:58 +0200 Juan RP <xtraeme@gmail.com> (a9aeaa8e80e2)
* shutils/libtool_funcs.sh: deleted file.
* bin/xbps-src/main.sh, doc/README, etc/xbps-src.conf,
shutils/build_funcs.sh, shutils/chroot.sh, shutils/fetch_funcs.sh,
shutils/install_funcs.sh, shutils/libtool_funcs.sh,
shutils/metadata.sh, shutils/tmpl_funcs.sh:
Multiple changes to xbps-src and shutils:
* Added XBPS_FETCH_CMD to xbps-src.conf, this will be used to fetch
distfiles. Please note that it will be copied to the chroot, so it
should be statically linked or with only libc required.
* Removed libtool_func.sh and associated vars, it's unneeded
currently.
* Added keep_empty_dirs, keep_libtool_archives and nostrip. By
default all empty dirs and libtool archives are removed, and
executables and libraries stripped, respectively. One can use set
the var in a build template to change the behaviour.
* Explain in README what are the requirements to build XBPS.
2009-10-16 17:37 +0200 Juan RP <xtraeme@gmail.com> (2011b786cc0c)
* bin/xbps-bin/defs.h, bin/xbps-bin/install.c, bin/xbps-bin/main.c:
xbps-bin/install.c: use only a function for
install/update/autoupdate.
2009-10-16 17:04 +0200 Juan RP <xtraeme@gmail.com> (baac7fd0ea53)
* bin/xbps-bin/main.c, lib/findpkg.c:
xbps-bin: don't initialize repolist data unless we want to update.
xbps_find_new_pkg: always initialize repolist data.
2009-10-16 16:14 +0200 Juan RP <xtraeme@gmail.com> (f0d439793c3a)
* vars.mk:
vars.mk: add DEBUG option.
2009-10-16 15:55 +0200 Juan RP <xtraeme@gmail.com> (a687c1a9f69d)
* bin/xbps-bin/install.c:
xbps-bin/xbps_install_pkg(): only sort pkg deps in update mode.
2009-10-16 15:46 +0200 Juan RP <xtraeme@gmail.com> (3c2258d3400e)
* lib/findpkg.c:
xbps_find_new_packages(): do not treat missing packages in repo, or
packages with less than or equal version installed as errors.
2009-10-16 15:31 +0200 Juan RP <xtraeme@gmail.com> (bf6b3fda863d)
* bin/xbps-bin/install.c, bin/xbps-bin/main.c, lib/findpkg.c:
xbps-bin: multiple fixes to update packages.
* Fix 'autoupdate' target to look for new packages in ALL repos, not
just the first one that has the package.
* Fix 'update' target to work correctly.
2009-10-16 13:36 +0200 Juan RP <xtraeme@gmail.com> (4a1beac04777)
* lib/requiredby.c:
xbps_requiredby_pkg_add: ignore existing entries.
2009-10-16 00:22 +0200 Juan RP <xtraeme@gmail.com> (0957ac14ff22)
* bin/xbps-bin/Makefile, bin/xbps-cmpver/Makefile, bin/xbps-
digest/Makefile, bin/xbps-pkgdb/Makefile, bin/xbps-repo/Makefile,
doc/README, prog.mk, vars.mk:
Build xbps-{bin,cmpver,digest,pkgdb,repo} as static, and install
them as foo.static.
Updated README to note the new requirements for it. It will be used
to reduce the number of dependencies when building packages in the
chroot.
2009-10-16 00:21 +0200 Juan RP <xtraeme@gmail.com> (6ea28411ecee)
* Makefile:
Makefile: remove $(SHAREDIR) in uninstall target.
2009-10-15 16:29 +0200 Juan RP <xtraeme@gmail.com> (0d7601d2e264)
* bin/xbps-repo/util.c, lib/depends.c, shutils/metadata.sh,
shutils/tmpl_funcs.sh:
Remove support for "keep_dirs", it won't be used.
2009-10-15 16:25 +0200 Juan RP <xtraeme@gmail.com> (010b6d7177fa)
* shutils/install_funcs.sh:
shutils/install_funcs.sh: always remove unwanted perl installed
files, even in packages that use do_install(). Wrap a long line.
2009-10-15 16:17 +0200 Juan RP <xtraeme@gmail.com> (3f099169118f)
* bin/xbps-pkgdb/main.c, shutils/common_funcs.sh:
xbps-pkgdb, shutils: use red/bold, red/yellow and bold for
msg_error, msg_warn and msg_normal respectively.
2009-10-15 16:16 +0200 Juan RP <xtraeme@gmail.com> (d70818cb62dc)
* shutils/configure_funcs.sh, shutils/tmpl_funcs.sh:
shutils: remove support for $configure_shell.
There is not much gain supporting this...
2009-10-15 16:06 +0200 Juan RP <xtraeme@gmail.com> (d1157fcb8574)
* shutils/builddep_funcs.sh:
shutils/builddep_func.sh: use msg_* funcs.
2009-10-15 16:02 +0200 Juan RP <xtraeme@gmail.com> (a5d5a8aca232)
* shutils/patch_funcs.sh, shutils/tmpl_funcs.sh:
shutils: improve how the patches are applied.
Now all patches must be placed in PATCHESDIR
(templatesdir/$pkgname/patches) and must be in -p0 format. If other
args are required, a same file with .args extension should be
created with specific args inside of it.
2009-10-13 00:07 +0200 Juan RP <xtraeme@gmail.com> (f047e1331df2)
* shutils/build_funcs.sh, shutils/common_funcs.sh,
shutils/configure_funcs.sh, shutils/install_funcs.sh:
shutils: return proper error in {do,pre,post}_* stage funcs and use
msg_error.
2009-10-12 22:35 +0200 Juan RP <xtraeme@gmail.com> (8e86c3521434)
* shutils/build_funcs.sh, shutils/configure_funcs.sh,
shutils/install_funcs.sh:
shutils: cross-compilation.sh is in XBPS_SHUTILSDIR not
XBPS_HELPERSDIR.
2009-10-12 22:30 +0200 Juan RP <xtraeme@gmail.com> (1e73a060daa1)
* shutils/tmpl_vars.sh: deleted file.
* bin/xbps-src/main.sh, shutils/tmpl_funcs.sh, shutils/tmpl_vars.sh:
shutils: remove tmpl_func.sh, moved to the xbps-templates repo.
xbps-src: added XBPS_COMMONVARSDIR that sources all .sh files in
setup_tmpl(), this replaces tmpl_funcs.sh.
2009-10-12 12:23 +0200 Juan RP <xtraeme@gmail.com> (c9e46fe8a861)
* shutils/fetch_funcs.sh, shutils/tmpl_funcs.sh:
shutils: added "nofetch" variable to be used in build templates.
When it's set, a custom do_fetch() function must be used to fetch
sources. $distfiles and $checksum will be ignored in that case. This
makes it able to fetch sources from git, svn, bzr, etc.
2009-10-10 17:53 +0200 Juan RP <xtraeme@gmail.com> (73629e78912d)
* bin/xbps-pkgdb/main.c, shutils/builddep_funcs.sh,
shutils/pkgtarget_funcs.sh, shutils/stow_funcs.sh:
Remove 'automatic' flag while installing via xbps-src, it's not very
useful and won't be implemented.
2009-10-10 16:13 +0200 Juan RP <xtraeme@gmail.com> (8231d271e414)
* lib/plist.c, lib/requiredby.c:
Fix bug #447944: xbps build failure (gcc 4.4.1)
unsigned int and size_t do not match in size in x86_64, so use
unsigned int in functions expecting this type.
2009-10-10 10:17 +0200 Juan RP <xtraeme@gmail.com> (e3581f9ca71a)
* shutils/install_funcs.sh:
shutils/install_funcs.sh: fix inverted test for
$libtool_no_delete_archives.
2009-10-10 08:44 +0200 Juan RP <xtraeme@gmail.com> (baf27ca2826c)
* lib/unpack.c:
lib/unpack.c: fix a NULL pointer deref when checking configuration
files exists or not while unpacking.
2009-10-08 20:52 +0200 Juan RP <xtraeme@gmail.com> (b203085bf2b5)
* shutils/chroot.sh:
shutils/chroot.sh: only rebuild ldso cache once at creation time.
2009-10-06 00:42 +0200 Juan RP <xtraeme@gmail.com> (4163040b465c)
* bin/xbps-bin/check.c, bin/xbps-bin/defs.h, bin/xbps-bin/main.c:
xbps-bin: add support to check integrity of all installed packages,
through "xbps-bin check all".
2009-10-06 00:06 +0200 Juan RP <xtraeme@gmail.com> (f25c75a4e82d)
* bin/xbps-bin/main.c:
xbps-bin: rename the 'files' target to 'show-files' for consistency.
2009-10-06 00:01 +0200 Juan RP <xtraeme@gmail.com> (cd89715a7e2b)
* bin/xbps-bin/check.c:
xbps-bin: do not mark package as broken if the any task in the check
target failed, just print the info.
2009-10-05 23:12 +0200 Juan RP <xtraeme@gmail.com> (d11f9e9d489d)
* shutils/make-binpkg.sh:
shutils/make-binpkg.sh: reset revision while building binpkgs, so
that the archive is created with the correct version.
2009-10-05 21:57 +0200 Juan RP <xtraeme@gmail.com> (a1fd81777596)
* lib/depends.c:
Fix bug #443436: endless loop if indirect dep missing in repo.
Make xbps_find_deps_in_pkg() return ENOENT when missing deps are
found.
2009-10-05 21:04 +0200 Juan RP <xtraeme@gmail.com> (a9ca22d42d62)
* bin/xbps-bin/install.c:
xbps-bin/install.c: improve some printfs.
2009-10-05 16:37 +0200 Juan RP <xtraeme@gmail.com> (a23c3ba5b7b4)
* etc/xbps-src.conf:
xbps-src.conf: change XBPS_MASTERDIR to
$XBPS_DISTRIBUTIONDIR/masterdir.
2009-10-02 17:24 +0200 Juan RP <xtraeme@gmail.com> (9b00841e93cb)
* shutils/metadata_scripts.sh:
Pass the ${UPDATE} argument to the triggers, to support restarting
services while upgrading packages.
2009-10-02 17:23 +0200 Juan RP <xtraeme@gmail.com> (6d0a75f2ddb0)
* bin/xbps-bin/install.c:
While upgrading a package, print informative line about old package
being removed.
2009-10-02 13:38 +0200 Juan RP <xtraeme@gmail.com> (35249bedc52b)
* lib/remove.c:
Pass another argument to the REMOVE script to make the script aware
of package being upgraded or removed. Will be used later to restart
services while upgrading packages.
2009-10-01 07:35 +0200 Juan RP <xtraeme@gmail.com> (861a0b643286)
* bin/xbps-bin/install.c:
Fix #438201 "Upgrading essential pkgs results in duplicated reqby
entries"
Always remove reqby entries while upgrading "essential" packages.
2009-09-30 18:29 +0200 Juan RP <xtraeme@gmail.com> (422be7735de8)
* lib/unpack.c:
Fix bug #439457 "Unpacking a package ignores correct perms"
Simplify logic and fix the mistake of pass-by-value vs pass-by-ref.
2009-08-27 07:31 +0200 Juan RP <xtraeme@gmail.com> (b4e6b1519bd9)
* lib/configure.c:
xbps_configure_pkg: pass correct version to the post install script.
2009-08-25 06:05 +0200 Juan RP <xtraeme@gmail.com> (7acd1cecea15)
* lib/configure.c, lib/remove.c:
Check if pkg INSTALL/REMOVE metadata scripts are executable rather
than readable, to ensure scripts can be executed.
2009-08-25 06:04 +0200 Juan RP <xtraeme@gmail.com> (2e3b2c8197e2)
* lib/fexec.c:
xbps_file_chdir_exec: check if /bin/sh is executable rather than
readable.
2009-08-25 06:03 +0200 Juan RP <xtraeme@gmail.com> (959c9d8a725c)
* bin/xbps-bin/install.c, bin/xbps-bin/main.c, include/xbps_api.h,
lib/configure.c:
Fix xbps_configure_pkg() reporting old version when upgrading
packages.
2009-08-22 07:41 +0200 Juan RP <xtraeme@gmail.com> (1016989c153b)
* lib/orphans.c:
When finding package orphans, only report those with "installed"
state.
2009-08-22 07:22 +0200 Juan RP <xtraeme@gmail.com> (78cd4727a7de)
* bin/xbps-bin/show-deps.c:
Fix memleaks in xbps_show_pkg_deps() and
xbps_show_pkg_reverse_deps().
2009-08-22 01:12 +0200 Juan RP <xtraeme@gmail.com> (29835233f947)
* bin/xbps-bin/show-deps.c: new file.
* bin/xbps-bin/Makefile, bin/xbps-bin/defs.h, bin/xbps-bin/main.c, bin
/xbps-bin/show-deps.c, bin/xbps-repo/util.c:
xbps-bin: add two new targets 'show-deps' and 'show-revdeps" to
print dependencies and reverse dependencies of a package,
respectively.
'xbps-bin show' no longer prints the deps anymore.
2009-08-21 12:47 +0200 Juan RP <xtraeme@gmail.com> (f6b20b885325 [0.1])
* vars.mk:
vars.mk: change default PREFIX to /usr/local and conditionalize
SHAREDIR based on its value.
2009-08-21 11:55 +0200 Juan RP <xtraeme@gmail.com> (fa7d97eee3c7)
* shutils/stow_funcs.sh:
xbps-src: when stowning a package, do not copy metadata files.
2009-08-21 11:31 +0200 Juan RP <xtraeme@gmail.com> (377e0b62a689)
* bin/xbps-bin/install.c, bin/xbps-bin/main.c, include/xbps_api.h,
lib/configure.c, lib/purge.c:
Improve marginally configuring/purging all packages by looking at
its state in the object dictionary rather than opening and
externalizing the dictionary of every package.
2009-08-21 11:17 +0200 Juan RP <xtraeme@gmail.com> (ad2d7e228a5c)
* Makefile, etc/Makefile, lib/Makefile, prog.mk, shutils/Makefile:
Add some PHONYs to the install target in Makefiles.
2009-08-21 11:15 +0200 Juan RP <xtraeme@gmail.com> (08e418c34ba2)
* .bzrignore: new file.
* .bzrignore:
Ignore some created files.
2009-08-21 08:02 +0200 Juan RP <xtraeme@gmail.com> (cd98ba051df8)
* doc/BINPKG_REPOSITORY, doc/README, doc/SRCPKG_INFO, doc/TODO:
Update documentation to match with reality.
2009-08-20 04:06 +0200 Juan RP <xtraeme@gmail.com> (7ed3ebb2a0c9 [0.1rc2])
* etc/Makefile:
etc/Makefile: remove modified config file in the clean target.
2009-08-18 23:59 +0200 Juan RP <xtraeme@gmail.com> (79b0a0fe1ca1)
* lib/unpack.c:
lib/unpack.c: fix the logic of an inverted conditional.
2009-08-18 23:39 +0200 Juan RP <xtraeme@gmail.com> (898d1f82f3be)
* lib/configure.c:
xbps_configure_pkg: chdir(rootdir) before checking for INSTALL
script!
2009-08-18 22:50 +0200 Juan RP <xtraeme@gmail.com> (d7747ce50993)
* lib/unpack.c:
xbps_unpack_binary_pkg: switch back to fsync(), to be safe.
Move the set_pkg_state call just after the fsync call, otherwise
strange things can ocurr sometimes.
2009-08-18 19:58 +0200 Juan RP <xtraeme@gmail.com> (e58104729df6)
* etc/Makefile, etc/xbps-src.conf, shutils/chroot.sh:
Fix installation of packages in the chroot due to previous changes.
2009-08-18 17:37 +0200 Juan RP <xtraeme@gmail.com> (0932f55dd530)
* shutils/Makefile, shutils/build_funcs.sh, shutils/builddep_funcs.sh,
shutils/buildvars_funcs.sh, shutils/chroot.sh,
shutils/common_funcs.sh, shutils/configure_funcs.sh, shutils/cross-
compilation.sh, shutils/extract_funcs.sh, shutils/fetch_funcs.sh,
shutils/install_funcs.sh, shutils/libtool_funcs.sh, shutils/make-
binpkg.sh, shutils/metadata.sh, shutils/metadata_scripts.sh,
shutils/mktoolchain.sh, shutils/patch_funcs.sh,
shutils/pkgtarget_funcs.sh, shutils/stow_funcs.sh,
shutils/tmpl_funcs.sh, shutils/tmpl_vars.sh: new file.
* Makefile, bin/xbps-src/Makefile, bin/xbps-src/main.sh,
shutils/Makefile, shutils/build_funcs.sh, shutils/builddep_funcs.sh,
shutils/buildvars_funcs.sh, shutils/chroot.sh,
shutils/common_funcs.sh, shutils/configure_funcs.sh, shutils/cross-
compilation.sh, shutils/extract_funcs.sh, shutils/fetch_funcs.sh,
shutils/install_funcs.sh, shutils/libtool_funcs.sh, shutils/make-
binpkg.sh, shutils/metadata.sh, shutils/metadata_scripts.sh,
shutils/mktoolchain.sh, shutils/patch_funcs.sh,
shutils/pkgtarget_funcs.sh, shutils/stow_funcs.sh,
shutils/tmpl_funcs.sh, shutils/tmpl_vars.sh, vars.mk:
Add shell utils required by xbps-src.
These files are moved from the GIT repository.
2009-08-18 16:05 +0200 Juan RP <xtraeme@gmail.com> (48a625963827 [0.1rc1])
* bin/xbps-repo/index.c:
xbps-repo: fix swapped args in xbps_repo_addpkg_index().
2009-08-18 16:04 +0200 Juan RP <xtraeme@gmail.com> (b7c914bbdb7b)
* etc/Makefile, vars.mk:
Fix DESTDIR + ETCDIR interaction.
2009-08-18 14:12 +0200 Juan RP <xtraeme@gmail.com> (0692c3f50fae)
* bin/xbps-repo/index.c, bin/xbps-repo/index.h, bin/xbps-repo/main.c:
Implement blueprint 'xbps-repo-list-via-cmdline'.
A new target (add-pkgidx) has been added to the xbps-repo command,
that takes two args, local repository dir and path to binpkg.
2009-08-18 01:11 +0200 Juan RP <xtraeme@gmail.com> (85dc3ca2a325)
* vars.mk:
Use DESTDIR to install xbps, if defined.
2009-08-18 01:06 +0200 Juan RP <xtraeme@gmail.com> (f645a5949065)
* etc/xbps-src.conf: new file.
* etc/xbps.conf: deleted file.
* bin/xbps-src/main.sh, etc/Makefile, etc/xbps-src.conf,
etc/xbps.conf:
Rename xbps.conf to xbps-src.conf, because it's only used by xbps-
src.
2009-08-18 00:46 +0200 Juan RP <xtraeme@gmail.com> (e7b603e808ed)
* Makefile:
Makefile: remove all libxbps files in uninstall target.
2009-08-17 19:07 +0200 juan <juan@xbps> (08cd235b80ee [0.1beta1])
* Makefile, bin/Makefile, bin/xbps-bin/Makefile, bin/xbps-bin/check.c,
bin/xbps-bin/defs.h, bin/xbps-bin/install.c, bin/xbps-bin/main.c,
bin/xbps-bin/remove.c, bin/xbps-cmpver/Makefile, bin/xbps-
cmpver/main.c, bin/xbps-digest/Makefile, bin/xbps-digest/main.c, bin
/xbps-pkgdb/Makefile, bin/xbps-pkgdb/main.c, bin/xbps-repo/Makefile,
bin/xbps-repo/index.c, bin/xbps-repo/index.h, bin/xbps-repo/main.c,
bin/xbps-repo/util.c, bin/xbps-repo/util.h, bin/xbps-src/Makefile,
bin/xbps-src/main.sh, doc/BINPKG_INFO, doc/BINPKG_REPOSITORY,
doc/README, doc/SRCPKG_INFO, doc/TODO, etc/Makefile, etc/xbps.conf,
include/sha256.h, include/xbps_api.h, lib/Makefile, lib/cmpver.c,
lib/configure.c, lib/depends.c, lib/fexec.c, lib/findpkg.c,
lib/humanize_number.c, lib/orphans.c, lib/plist.c, lib/purge.c,
lib/register.c, lib/remove.c, lib/repository.c, lib/requiredby.c,
lib/sha256.c, lib/sortdeps.c, lib/state.c, lib/unpack.c, lib/util.c,
prog.mk, vars.mk: new file.
* Makefile, bin/Makefile, bin/xbps-bin/Makefile, bin/xbps-bin/check.c,
bin/xbps-bin/defs.h, bin/xbps-bin/install.c, bin/xbps-bin/main.c,
bin/xbps-bin/remove.c, bin/xbps-cmpver/Makefile, bin/xbps-
cmpver/main.c, bin/xbps-digest/Makefile, bin/xbps-digest/main.c, bin
/xbps-pkgdb/Makefile, bin/xbps-pkgdb/main.c, bin/xbps-repo/Makefile,
bin/xbps-repo/index.c, bin/xbps-repo/index.h, bin/xbps-repo/main.c,
bin/xbps-repo/util.c, bin/xbps-repo/util.h, bin/xbps-src/Makefile,
bin/xbps-src/main.sh, doc/BINPKG_INFO, doc/BINPKG_REPOSITORY,
doc/README, doc/SRCPKG_INFO, doc/TODO, etc/Makefile, etc/xbps.conf,
include/sha256.h, include/xbps_api.h, lib/Makefile, lib/cmpver.c,
lib/configure.c, lib/depends.c, lib/fexec.c, lib/findpkg.c,
lib/humanize_number.c, lib/orphans.c, lib/plist.c, lib/purge.c,
lib/register.c, lib/remove.c, lib/repository.c, lib/requiredby.c,
lib/sha256.c, lib/sortdeps.c, lib/state.c, lib/unpack.c, lib/util.c,
prog.mk, vars.mk:
Initial import of xbps with code as August '09.