Commit Graph

1175 Commits

Author SHA1 Message Date
Juan RP 61f0b09698 New dependency/install/unpack WIP code.
This implementation will be faster and resolv the dependency chain
correctly taking into account indirect/direct deps and priority.

--HG--
extra : convert_revision : cc4ec186f06f944fa8825b176344c4d612658f85
2009-02-07 13:27:24 +01:00
Juan RP 11cb15060d irssi: add missing openssl rundep.
--HG--
extra : convert_revision : 5d28425cdb492d8946981c102b271f3b694faa54
2009-02-07 13:11:09 +01:00
Juan RP d58debb35c find_deps_in_pkg: no need to call xbps_pkg_has_rundeps() in the loop.
--HG--
extra : convert_revision : d9a1f3cc1e598a3d00cd7f26cc862bd7945523ee
2009-02-06 00:47:31 +01:00
Juan RP 3f72a92c98 sudo: update to 1.7.0.
--HG--
extra : convert_revision : 528d515fba47cd1ec4090899ca2ee23854dbe569
2009-02-05 19:14:19 +01:00
Juan RP 894cb13b59 Simplify xbps_install_binary_pkg_from_repolist().
--HG--
extra : convert_revision : 9d4960502c05130a97459e41f66b4b19ec0acbc2
2009-02-05 17:38:31 +01:00
Juan RP 5ab39d53f5 chroot: fix path to xbps.conf after last changes.
--HG--
extra : convert_revision : 99fb318fcbbbb701d699bb35644f38dde1580a92
2009-02-05 17:08:06 +01:00
Juan RP 0f44fd7f72 Some more cleanups for previous.
--HG--
extra : convert_revision : 4750989fdc6494eb2593a3782035289200fbea15
2009-02-05 16:57:20 +01:00
Juan RP 3a52668aed Reorganize headers and move two funcs into util.c, where they belong.
--HG--
extra : convert_revision : 63d54dddfeb732da2204244fd9f00cff434e5540
2009-02-05 16:53:49 +01:00
Juan RP d7b5f20e26 TODO: another item for xbps-bin.
--HG--
extra : convert_revision : ce16b1379f9c29e426566b28083e008c7cdf27b4
2009-02-05 16:20:51 +01:00
Juan RP 13ad490b4f More documentation bits... I hate this part.
--HG--
extra : convert_revision : 63d8524fd28a480c88731b717d55d1f822adf9cc
2009-02-05 16:12:00 +01:00
Juan RP dfb7e2a687 xbps-repo: there's no need to prefix local funcs with xbps_ anymore.
--HG--
extra : convert_revision : d8a2402697ca5709c5ca4e94d94ab4df6b97c818
2009-02-05 15:31:54 +01:00
Juan RP 65d1c71008 Update TODO.
--HG--
extra : convert_revision : 2fb3e5cbd814d6b17645cdc78a05883942099353
2009-02-05 15:26:59 +01:00
Juan RP c86be9931b Install by default xbps.conf into $(PREFIX)/etc and use it.
--HG--
extra : convert_revision : d6550a3d9e6093cb1ec789715e2b1107b9bb59bd
2009-02-05 15:21:33 +01:00
Juan RP 001de5eb1a There's xbps-repo now to handle repository commands.
--HG--
extra : convert_revision : 566ebb54d45531af9077ba5dc776d3a1c3fab207
2009-02-05 14:51:32 +01:00
Juan RP 7740958643 Split repo commands into the new xbps-repo bin.
- Remove lib/info.c that doesn't belong in the lib and add it into the
  bins.
- Every binary now uses its own directory on bin/.

This is in preparation for future changes for correct behaviour of
the library and binaries.

--HG--
extra : convert_revision : 880d16378bf940c4f5478de0362afe883cd5fd2c
2009-02-05 14:46:09 +01:00
Juan RP 45265e44d5 BINPKG_REPOSITORY: minor fixes.
--HG--
extra : convert_revision : aef2b8ee133af8e0168ca03f0dd398e95912ad05
2009-02-05 06:02:16 +01:00
Juan RP f77c55c52b atk: update run_depends and remove unused stuff.
--HG--
extra : convert_revision : 4c221fe940dda750ad1d4e2ce515498783d91d28
2009-02-05 05:56:53 +01:00
Juan RP aa02e8b2ab chroot: don't set root:root in all files, will be addressed differently.
--HG--
extra : convert_revision : aa60b18e3b642fa1a1d3f94579dff977e5a5523d
2009-02-04 22:02:15 +01:00
Juan RP f5c6fe8302 xbps-base-dirs: create some dirs at correct location, bump to 0.2.
--HG--
extra : convert_revision : 27d3e32886d144df5e60a5396a82eec383e65a4e
2009-02-04 21:53:09 +01:00
Juan RP 0cecc9d133 git: remove unneeded stuff.
--HG--
extra : convert_revision : 6bad9e89a9941c3ffbd59995611c64283e2db03c
2009-02-04 21:52:55 +01:00
Juan RP 8523f3766c libarchive: update to 2.6.1.
--HG--
extra : convert_revision : ce8b505a601549060bd0458eae71448e6b092f28
2009-02-04 21:22:25 +01:00
Juan RP 97eddf846d perl: remove a debug printf.
--HG--
extra : convert_revision : 4c0675951081b325902d4f87e75925f5e9cc26da
2009-02-04 17:59:17 +01:00
Juan RP cc83e58b90 xbps-base-chroot: revert previous. We still need xbps-base-dirs dep.
--HG--
extra : convert_revision : 14b03a2bdeca443923a3047318517ab033de33b6
2009-02-04 17:53:19 +01:00
Juan RP bcf9dff398 Rename automatic patches to just "install.diff" or "build.diff".
--HG--
extra : convert_revision : 93ca1b8d614e75cc1df7e12735bde31b04c2e9d1
2009-02-04 03:50:36 +01:00
Juan RP 7c97804022 binpkg: use -L flag for find(1) when creating flist.
This is required for the links to appear in.

--HG--
extra : convert_revision : 6951b6245f4c7106cd4db37f9b9365aac4023403
2009-02-04 03:41:06 +01:00
Juan RP 09fc2634ad openssl: update to 0.9.8j and fix SONAME for the shared lib.
--HG--
extra : convert_revision : 3b42c54b17d871ddf6dd982d5f7c01283af28061
2009-02-04 03:40:25 +01:00
Juan RP b1c26d1dba depends: remove a cosmetic printf.
--HG--
extra : convert_revision : f15309b3e59c4c8d85f8b013b9c50a737bd78eba
2009-02-04 03:39:45 +01:00
Juan RP 83ee032c38 Rather than adding the xbps-base-dirs dep on xbps-base-{chroot,system}, add the
dependency to glibc instead.

Almost all packages depend on it, and this ensures that it's always installed
before anything else.

--HG--
extra : convert_revision : 45bbc22a15feeb663d2895324e611b6d711ea062
2009-02-04 01:30:04 +01:00
Juan RP e659a5d022 git: update to 1.6.1.2. No need to specify perl path anymore.
--HG--
extra : convert_revision : 35408aa94bacd9bd117ae65dce518a185490a8fe
2009-02-04 01:04:05 +01:00
Juan RP 24f389b5ca perl: replace hardcoded destdir paths.
--HG--
extra : convert_revision : 5734e2f06b62fa52a4616edd77a21231171e1f34
2009-02-04 01:03:44 +01:00
Juan RP c1f0ae6c16 TODO: basic remove support is there, recursive removing not yet.
--HG--
extra : convert_revision : 7c9fc9fc21889a560dda6bb5aabaac3edda6e83d
2009-02-03 23:55:15 +01:00
Juan RP 97b2fa55e2 chroot: do not overwrite some files installed by the shadow binpkg.
--HG--
extra : convert_revision : 104a16f5e01c2ec161da3991130dda276f2f798b
2009-02-03 23:54:52 +01:00
Juan RP 7e677c32d9 remove: also remove package metadata stuff.
--HG--
extra : convert_revision : 0a286d1fb33b81a90b0bfb5b41f25c1874d72093
2009-02-03 22:37:20 +01:00
Juan RP fa2748d9b2 Reorganize the templates directory for possible future changes.
Now every template uses its own directory. Patches, prepost* files
and other related stuff are stored there.

--HG--
extra : convert_revision : bbc529ef161d9a59fe13a1d54ac058f77ea05845
2009-02-03 21:35:57 +01:00
Juan RP 6c252d43d4 Split installation/removal parts in prepost-action scripts.
There are two scripts that can be used now:
	- prepost-inst: for pre/post actions at installation.
	- prepost-rm: for pre/post actions at removal.

--HG--
extra : convert_revision : 5e054758f549f5c81693b825795fbb36e2d5513a
2009-02-03 17:32:51 +01:00
Juan RP 388dd30b45 check_installed_pkgname: returns a bool, so EINVAL is wrong.
--HG--
extra : convert_revision : 6f3d615a27a1bf76962b6daf88929efa8d5cde8e
2009-02-03 17:02:19 +01:00
Juan RP fe8ea8c21c Check that pkg is installed before removing.
--HG--
extra : convert_revision : 4ea85e367ecbc0d39dcba1c8ee63392f0e1177f7
2009-02-03 16:51:42 +01:00
Juan RP edfeec4622 Added support to run pre/post remove actions with binpkgs.
--HG--
extra : convert_revision : ecc70358e9009a0b2f71aaccc5b8b1282417e3bf
2009-02-03 16:07:08 +01:00
Juan RP 4a9125364a xbps-bin: added WIP remove target.
--HG--
extra : convert_revision : 71314f7183384094223cf10bf16ff704ca084883
2009-02-03 03:18:00 +01:00
Juan RP b2fe705924 When writing the flist in pkg metadata, sort files before dirs.
--HG--
extra : convert_revision : bf341c59954e02e320986d259521643beb25f291
2009-02-02 20:40:06 +01:00
Juan RP 37668944b7 bash: update to 048 patch level.
--HG--
extra : convert_revision : 228c04c6208f5863d902a0a83ab3549c4c9535a8
2009-02-02 17:07:58 +01:00
Juan RP 8e76afef28 initramfs-tools: fix path to busybox dir.
--HG--
extra : convert_revision : 9d9646c4431000f3ad88276c20d5e33130715b4a
2009-01-30 16:50:56 +01:00
Juan RP 161113838e initramfs-tools: make this depend on busybox-initramfs.
--HG--
extra : convert_revision : a984dc983d72a4f869a803239e35470ab90eb4c6
2009-01-30 01:29:15 +01:00
Juan RP 905ae418c2 Added busybox-initramfs-1.13.2 template. To be used by initramfs-tools.
--HG--
extra : convert_revision : 4e9a3d9a1df99ef85b57c3df506ce62e2bf67756
2009-01-30 01:28:50 +01:00
Juan RP 74b213b519 TODO: add another bug.
--HG--
extra : convert_revision : a1daa1ea882b1877ff8ed7a71697757bdc71bdb1
2009-01-28 16:26:42 +01:00
Juan RP c25663cd3b xbps-base-system: depend on tzdata. Bump to 0.3.
--HG--
extra : convert_revision : 51a851a1a7a5c75a9b574dd41b8c8376fd966399
2009-01-28 16:07:10 +01:00
Juan RP dc7ca7a46d Added tzdata-2009a template.
--HG--
extra : convert_revision : a2a19025771a39da833e05e0a0bc06313a1e83a2
2009-01-28 16:06:47 +01:00
Juan RP f7598a476c kernel-headers: needs kernel-libc-headers at runtime, remove unneeded patches.
--HG--
extra : convert_revision : 9b81e74f59574ef7339e51d358168109a8a3d60e
2009-01-27 23:20:31 +01:00
Juan RP 3550f9cd27 Update TODO with new stuff.
--HG--
extra : convert_revision : 385a0335f4e6750dd4fdc559631a264eb8907c38
2009-01-27 19:41:11 +01:00
Juan RP f60582a716 initng-ifiles: depend on sysklogd, so that it's run by default.
--HG--
extra : convert_revision : 3118a8bba77a981d068dd5b1ca5568d9052aace2
2009-01-27 19:39:28 +01:00