Commit Graph

2244 Commits

Author SHA1 Message Date
Juan RP a679f70c55 stow_pkg: don't copy XBPS_PREPOST_INSTALL into masterdir.
--HG--
extra : convert_revision : 64e69cc303e6561a250796028810d89d88682573
2009-02-16 21:50:02 +01:00
Juan RP ee73775ed5 unpack: don't overwrite files by default.
--HG--
extra : convert_revision : 874850b5d5adbb570c93e963c6c0a4504cbd8c80
2009-02-16 21:42:03 +01:00
Juan RP 82b01212ad Fix previous when building base_chroot pkgs.
--HG--
extra : convert_revision : c46fd838deeb92ac89047bd32a9a0bef421e2aa5
2009-02-16 19:04:23 +01:00
Juan RP e59520869b Use a common mk file for all bins, install bins stripped.
--HG--
extra : convert_revision : dd739bbc9c67b099ef690533e02bb3f40aa2dc8a
2009-02-16 18:03:03 +01:00
Juan RP 1802997b0b xbps-src: require sudo to build packages.
The reason is that fakeroot can't read files that have restrictive
perms and you'd have to change them before the src installation, and
restoring them at binpkg pre-installation.

I prefer to avoid all this and build the pkg with appropiate perms.

--HG--
extra : convert_revision : 8a5086049ab575962913eda0cb2ace0c211b97f1
2009-02-16 17:36:21 +01:00
Juan RP 4094879d4d xbps-base-system: add tzdata and upstart build deps, bump to 0.5.
--HG--
extra : convert_revision : 7190322757915ca47c404d300252e93297363384
2009-02-16 16:36:34 +01:00
Juan RP 2b24128059 xbps-bin: added support for the show target.
--HG--
extra : convert_revision : 24b2d30a94c95b22b1c524203cf578da03314335
2009-02-16 16:24:33 +01:00
Juan RP 54cce657ec xbps-base-system: workaround a bug in xbps-cmpver.
--HG--
extra : convert_revision : ff1bdf0caf1109671cf40881da0d25def9bbc6b7
2009-02-16 05:48:43 +01:00
Juan RP 3bfe373475 TODO: another case that fails in xbps-cmpver.
--HG--
extra : convert_revision : 12f42919105bd7e6cbf3472308d8add1f0114304
2009-02-16 05:41:43 +01:00
Juan RP 2fe1842d5c lib/Makefile: install the symlinks as well.
--HG--
extra : convert_revision : 07ec7de799468a2303fda8d3a311f22b4dce5d3a
2009-02-16 02:26:27 +01:00
Juan RP 3ac13cd512 TODO: new item for xbps-src.
--HG--
extra : convert_revision : 2ad510ebe24c8585a31cd34a1e4bb4b4f332e01b
2009-02-16 01:24:22 +01:00
Juan RP 6b6162bb44 Added support for using noarch packages.
--HG--
extra : convert_revision : a96166ddecb6efe65d35283f25e06a944cc4a038
2009-02-16 00:39:41 +01:00
Juan RP 4f6364a2bd lib/Makefile: install the so major lib, as suggested by pancake.
--HG--
extra : convert_revision : c22435714ec6712a38d4de9bf2c44c4e72c9a061
2009-02-16 00:38:35 +01:00
Juan RP 870addbffc Add a "noarch" var. Used by packages that aren't arch specific.
--HG--
extra : convert_revision : 263bd27542e1f2e65f119eb307d37d7b7ade3236
2009-02-15 23:57:15 +01:00
Juan RP 746d59a9dd Some improvements for installation of binary packages.
* If any dep of a package cannot be found in the repository pool,
  show it on xbps-bin.

* Add the automatic-install boolean obj into pkg's dictionary
  on regpkgdb.plist, this will be used to implemented something
  like "apt-get autoremove".

--HG--
extra : convert_revision : 666e2fa666ac94140159896e28b445e88e8afb7a
2009-02-15 20:23:23 +01:00
Juan RP e7c17a5cd8 xbps-base-system: drop initng* and use upstart, bump to 0.4.
--HG--
extra : convert_revision : 81e80610be67f7c2a7350edcb8f2401aa1ba177d
2009-02-15 20:15:50 +01:00
Juan RP cf830c8b04 TODO: add item about noarch binpkgs.
--HG--
extra : convert_revision : 08816d99cf80a5a7284f6263efd3513cc1afa5af
2009-02-15 19:28:46 +01:00
Juan RP 0a0ddc92bc dbus, upstart: use keep_dirs and conf_files.
--HG--
extra : convert_revision : 1b4de2d4006966bdc75e7afac6dd85d1c853aa34
2009-02-15 01:23:33 +01:00
Juan RP fa025ed7b7 upstart: update to 0.5.1.
--HG--
extra : convert_revision : fa846ba003539a1e8ddf569cee953f66cac07906
2009-02-15 01:07:45 +01:00
Juan RP 39aa50017c dbus: update to 1.2.12.
--HG--
extra : convert_revision : ec69c7f56a85a87b0b17957d1304c8e1a5852d32
2009-02-15 01:05:49 +01:00
Juan RP 902fb71aa6 Changed XBPS_META_PATH to /var/db/xbps rather than /var/cache/xbps.
--HG--
extra : convert_revision : 4e10af13ce05f060ebdfa8ca4e767a269c46b17f
2009-02-14 23:21:12 +01:00
Juan RP 1629f71053 glibc: update to a newer snapshot and don't install timezones.
--HG--
extra : convert_revision : 5ddfef3dde9ef87bcc70a4e934d1d3c1843c5b62
2009-02-14 23:15:16 +01:00
Juan RP 49d1ea4dd5 Note that perl is also required to build xbps-base-chroot.
--HG--
extra : convert_revision : 4681f1971a0a41afae0a7d90fabd716befda574b
2009-02-14 23:09:10 +01:00
Juan RP 37725c0e97 xbps_sort_pkg_deps: there's no need to sort direct/indirect in two passes.
--HG--
extra : convert_revision : a6666b0605f34ac2440c61d09f25831dee9e67fa
2009-02-14 06:06:01 +01:00
Juan RP 5a894ad5e5 sortdeps: use a SIMPLEQ rather than a TAILQ, it's enough and faster.
--HG--
extra : convert_revision : b42935d05f31a74838140ef46293b65f9f0cb07d
2009-02-14 05:45:04 +01:00
Juan RP ee309578f7 binpkg-genindex.sh: add a filename-size obj.
--HG--
extra : convert_revision : b41d98800583d7d1681a1181a1fe67976e3975c8
2009-02-14 05:34:24 +01:00
Juan RP 3cec555fa5 TODO: remove item for xbps-repo that has been fixed.
--HG--
extra : convert_revision : 250444dbbb78c07c09e2ec2986ef4a6158f79ac5
2009-02-14 05:15:04 +01:00
Juan RP 3084354cec Fix previous.
--HG--
extra : convert_revision : a8073bfa4782f6c6a3e2afe760b184598f268807
2009-02-14 03:57:29 +01:00
Juan RP b55346ae64 Show an informative error if binpkg cannot be found in repos.
--HG--
extra : convert_revision : 0c1e639cb598b19d258c1e1413dd1cb5930c4c61
2009-02-14 03:25:55 +01:00
Juan RP afa0eeae72 plist.c: bah, forgot to update copyright's year.
--HG--
extra : convert_revision : 0ff12fa85651c077528e2ad147b845e63dd6ef76
2009-02-14 02:26:57 +01:00
Juan RP 83ed100fcf Use xbps_callback_array_iter_in_repolist() and removed dup code.
--HG--
extra : convert_revision : 7eb9c1b3df3fc7fde2ff61ac0cce1d635c3fef18
2009-02-14 02:26:11 +01:00
Juan RP 90fd3828e6 repository.c: update copyright's year.
--HG--
extra : convert_revision : 61a62966cd090b32a63254341b10e5f33ee85c4f
2009-02-14 01:58:26 +01:00
Juan RP cfd928d563 Fix xbps_unregister_repository() func cb.
While here, change a var type to ssize_t... int64_t is overkill.

--HG--
extra : convert_revision : d5128f9d0c7da549fa2894d42b4a012c68478473
2009-02-14 01:50:18 +01:00
Juan RP 3c7b8186e6 Fix binpkg installation with multiple repositories.
New changes include a modified algorithm of the previous one, which
finally does not fail even with multiple repos, YAY!

Fixed some leaks as well, thanks to valgrind.

--HG--
extra : convert_revision : 3cffe1e9e9e9f7abf225ca3c6643377fc12a94bd
2009-02-14 01:37:12 +01:00
Juan RP 6afd85a491 initramfs-tools: needs gzip rundep.
--HG--
extra : convert_revision : fbbc72e501aeb3b71d9bc19afeda22bcfc7ae604
2009-02-14 01:18:43 +01:00
Juan RP 252b190c64 curl: add missing glibc rundep.
--HG--
extra : convert_revision : 32bd6adee1f5fdda70a26c85d6607ac17521bc36
2009-02-13 15:01:49 +01:00
Juan RP 6cbe5e54f3 libidn: add missing glibc rundep.
--HG--
extra : convert_revision : 710afefb29de6a2f8cfa9d20e8e0c2f65831c521
2009-02-13 15:01:28 +01:00
Juan RP d420d00081 xbps_unregister_repository: return ENOENT if not found, not ENODEV.
--HG--
extra : convert_revision : c1be34bc1840ac351e8e2d301e2c71d247f0ea9c
2009-02-13 00:18:28 +01:00
Juan RP 5b841b8a7d readline: add official patches for 5.2.
--HG--
extra : convert_revision : e346d1b9d83bce77e97101dba76479e655ef80dc
2009-02-13 00:17:47 +01:00
Juan RP 756c0a77d8 python: update to 2.6.1, depend on ncurses.
--HG--
extra : convert_revision : f63949096c6cecd147d6af7f28bee16339bbe0ae
2009-02-12 23:47:19 +01:00
Juan RP f3f5192d5b Use xbps_check_is_installed_pkg(), which performs version checking too.
--HG--
extra : convert_revision : 510a9bceec5e54791be76cc28f36f0e5b6d513eb
2009-02-12 22:51:46 +01:00
Juan RP 774d14ac93 xbps_install_pkg_deps: fix a leak if installing a required dep fails.
--HG--
extra : convert_revision : e29096f8929dfcf41f6a0c75f758f9d8f4b67596
2009-02-12 21:17:35 +01:00
Juan RP bd29a1f180 Another round of libX11 pkgs updated for xbps.
--HG--
extra : convert_revision : 1d32c5b049eab2af01ce01e4fcde53f02c3c4138
2009-02-12 21:07:35 +01:00
Juan RP 03c899b33c xbps_sort_pkg_deps: fix a leak if all deps are satisfied.
--HG--
extra : convert_revision : 04f0a2ced6d83f57d7ea08650c1ed48ea860f6b0
2009-02-12 19:00:03 +01:00
Juan RP c9d4ea5527 xbps-pkgdb: use EXIT_FAILURE.
--HG--
extra : convert_revision : 0a41128bdf379ca2dfdf1be7053a42e85fddc81a
2009-02-12 18:59:43 +01:00
Juan RP 97ceef46a8 xbps_register_pkg: check for NULL pointer.
--HG--
extra : convert_revision : ccc656dc49c75e371d4de10bdcd0c07bf01090f2
2009-02-12 18:59:14 +01:00
Juan RP 28cfeea6d1 New dependency sorting algorithm made in 2 days.
This algorithm works for all packages currently usable on xbps.
Previous code didn't take into account the correct order between
indirect and direct deps.

--HG--
extra : convert_revision : c49a20ce300e6e9dfa565325b40745b5a78b78ed
2009-02-12 17:30:38 +01:00
Juan RP 3b419a365e xbps_update_pkg_requiredby: fix a double free.
--HG--
extra : convert_revision : f821d215c3b97ca253ab1c170262d6bd9ae4f3fc
2009-02-10 12:04:10 +01:00
Juan RP 939a63036e Added support to keep track of reverse depends on installed packages.
--HG--
extra : convert_revision : 9e3e46f726ef28843dc52b95ce818637c2a18de5
2009-02-10 02:52:12 +01:00
Juan RP e32d15605b TODO: add two items and note I'm working on them.
--HG--
extra : convert_revision : 898d33ad0eb7a94fb5b825516c05ca67a19ce32b
2009-02-09 17:37:12 +01:00