Commit Graph

2487 Commits

Author SHA1 Message Date
Juan RP e20bc0a239 xbps_configure_pkg: use a bool to know if pkg is installed or not.
--HG--
extra : convert_revision : 799b0e741c8660d84c68ec63c99dea8b52c093d7
2009-08-14 07:11:09 +02:00
Juan RP 99384e1f5e xbps_configure_pkg: add a safety check.
--HG--
extra : convert_revision : 4e3c7b7a52603baf0e447d1e32f9598df3b5b979
2009-08-13 17:30:39 +02:00
Juan RP ed711fe8b9 xbps_find_pkg_installed_from_plist: use xbps_prepare_regpkgdb_dict().
--HG--
extra : convert_revision : 0f6f5764049f176abaa94585b14e9bdfc9f99b78
2009-08-13 17:11:23 +02:00
Juan RP 0d04547576 Add the concept of purging a package, such as with dpkg.
By default a package when is removed, its configuration files
and metadata files won't be removed unless the package is purged.

While here add two targets for xbps-bin:

 * purge [<pkgname>|<all>], passing the "all" string (case insensitive)
   will purge all packages that are in this state (XBPS_PKG_STATE_CONFIG_FILES).

 * reconfigure [<pkgname>|<all>], reconfigures a package or "all"
   if package hasn't been configured. Passing -f reconfigures it again
   even if it's state is ok.

--HG--
extra : convert_revision : bd2d3913ca087a0565b05fa9ee3f9b6d5e3cb934
2009-08-13 16:46:20 +02:00
Juan RP 09cede6d8a xbps-repo/index.c: add missing header.
--HG--
extra : convert_revision : daac81a5c27b79e9a6eebc5c57f5d0d034ef091b
2009-08-13 15:40:13 +02:00
Juan RP 68c12ce4bb Use the correct variable for previous.
--HG--
extra : convert_revision : d769d977d5e252ce017a4445186cc6a8f84f99e5
2009-08-13 08:16:43 +02:00
Juan RP d0c2a3f51c Implemented item to handle config files.
Modified config files are preserved this way:

- Removing a package doesn't remove the file.
- Installing or updating a package doesn't overwrite modified
  file and file that comes with package is installed as "file.new".

--HG--
extra : convert_revision : 7bfc5b7e661f88d101d340baf541387590ac707d
2009-08-13 07:58:22 +02:00
Juan RP f4f050a2af Fix installation of packages with all reqdeps satisfied.
--HG--
extra : convert_revision : a9c39ff8170e62dfb169d94753eb43ad3f6817aa
2009-08-13 07:51:29 +02:00
Juan RP 50690d7390 xfce4: depend in mousepad. Bumprev.
--HG--
extra : convert_revision : 5659b6cfb5d5899bf13a07a540a35cb39adafa2e
2009-08-12 14:27:40 +02:00
Juan RP 8aae8ec87a Added mousepad-0.2.16 template.
--HG--
extra : convert_revision : a636055cedd7c04ac17c527e62ea85daa64ea9e4
2009-08-12 14:27:27 +02:00
Juan RP 7450993043 Remove upstart, won't be used for now.
--HG--
extra : convert_revision : 866a1cbf13f2c6fdb129a977a55c481cb3dc61b1
2009-08-12 12:54:07 +02:00
Juan RP 015c551e87 util-linux-ng: disable fsck, bundled with e2fsprogs.
Bump revision.

--HG--
extra : convert_revision : 621542ab6c37b9bb8f36b355605346f9adcb18fb
2009-08-12 12:37:57 +02:00
Juan RP 092c7d2835 e2fsprogs: remove uuidd and uuidgen, they are now in util-linux-ng.
Bump revision.

--HG--
extra : convert_revision : e69fd875b6af552cbcdd0bcbf9600d42a6cbaff0
2009-08-12 12:23:24 +02:00
Juan RP 5599ded360 util-linux-ng: update to 2.16. Install blkid and uuid related utils.
--HG--
extra : convert_revision : 6a31c00552f4e956bc9281d21717a2461fd1b436
2009-08-12 12:22:49 +02:00
Juan RP af06980ad6 libblkid: update to 2.16. Remove utils.
--HG--
extra : convert_revision : 1acbbbc24b4a681f5fdc3d5b580f17eb84611703
2009-08-12 12:22:09 +02:00
Juan RP 9913e38ff9 libuuid: update to 2.16.
libuuid has been moved from e2fsprogs to util-linux-ng.

--HG--
extra : convert_revision : 67b490fce8b0ac6b9b4e6278ed55583df4e653d4
2009-08-12 12:21:11 +02:00
Juan RP 24324eb46e Remove util-linux. util-linux-ng is enough.
--HG--
extra : convert_revision : 3a39a6b183a09e2fe710155d0fe53a76ba5ae494
2009-08-12 10:56:08 +02:00
Juan RP 697aecf693 lib/findpkg.c: share some code.
--HG--
extra : convert_revision : c466c6c986821623cebaed2a0eade9cc8658d6f0
2009-08-12 07:57:46 +02:00
Juan RP 5ace634ade Remove unused headers.
--HG--
extra : convert_revision : f845161efa23a3c8c9f18f4febc7087347b0cff2
2009-08-12 07:48:03 +02:00
Juan RP b0ed60c2af xbps-base-pkg: update to 0.6.
--HG--
extra : convert_revision : b82d3ff12a4ab7ce56d7cb4ed3d527c31f8189e0
2009-08-12 07:24:30 +02:00
Juan RP d89b19393b xbps_find_new_packages: iterator_reset -> iterator_release.
--HG--
extra : convert_revision : 2e5a55a859d40cf58fe70c3b7e17373fe3c05810
2009-08-12 07:17:11 +02:00
Juan RP 8cc7f6871d Added xbps_find_new_packages(): checks if there are new versions.
--HG--
extra : convert_revision : dcd764c96c013f8d299849791110af4f9a4a9401
2009-08-12 07:15:09 +02:00
Juan RP bd85f1eae5 .gitignore: ignore static lib.
--HG--
extra : convert_revision : 14452260ceee9f23375522afc5656a96e713b406
2009-08-12 07:14:23 +02:00
Juan RP c7f1ef8f50 xbps-base-files: update to 0.21 for new openrc-service trigger.
--HG--
extra : convert_revision : faacf0a5815afd2a637f056e997ccfcb0d1cea0a
2009-08-12 00:26:49 +02:00
Juan RP ea578470eb triggers/openrc-service: stop services in pre-remove.
--HG--
extra : convert_revision : 33ec8f3658010a878fc7599fba64129e0d653326
2009-08-12 00:26:29 +02:00
Juan RP a2d08743c5 irssi: update to 0.8.14.
--HG--
extra : convert_revision : cb5fb5af9f35e243ef52140f0fd202bc8ea72043
2009-08-11 23:21:17 +02:00
Juan RP 51907e6d81 install_funcs.sh: remove unused perl related files.
--HG--
extra : convert_revision : 1664396d6ffcfd314ca0310f14a5f0ab65c0fbf8
2009-08-11 23:20:32 +02:00
Juan RP fcc65acc69 nfs-utils: update to 1.2.0.
--HG--
extra : convert_revision : 01f66e1ad3f65945218396223147965234d0617f
2009-08-11 23:07:05 +02:00
Juan RP 4c5e76ee12 texinfo: remove /usr/share/info/dir. Bump rev.
--HG--
extra : convert_revision : a42b687f68912ad0ecd630f9562bd974b75beb96
2009-08-11 21:11:11 +02:00
Juan RP 0a2a3873a0 cpio: remove conflictive /usr/libexec/rmt.
Bump revision.

--HG--
extra : convert_revision : a6495a5dddf30ab56f03458ec503b1df335a7ee3
2009-08-11 20:59:23 +02:00
Juan RP db53f42345 xbps_prepare_pkg: don't forget to set 'trans-action' obj.
--HG--
extra : convert_revision : 41c7ec70808ede09d87801ebd8e1b94fe5bd6205
2009-08-11 20:22:01 +02:00
Juan RP b3204eed99 TODO: new item for xbps-repo.
--HG--
extra : convert_revision : fce86191c17af2e0fc412bb72732ec52b626b455
2009-08-11 19:54:34 +02:00
Juan RP 3376aa55fe kernel: INSTALL: create boot/grub if necessary.
--HG--
extra : convert_revision : 423882f57bb91492d092736e79529e1e27e23b1e
2009-08-11 19:42:22 +02:00
Juan RP acdbc4bc1a xbps-bin: simplify even more previous commits.
--HG--
extra : convert_revision : 88633d61b4ec42812467fa071035d888927013c4
2009-08-11 19:23:48 +02:00
Juan RP 5623ad9003 kernel: fix long_desc in firmware subpkg.
--HG--
extra : convert_revision : 1ead6ba00e8589618f769d33e17d46c96d5cfe94
2009-08-11 19:13:06 +02:00
Juan RP 9f95d9dd8c xbps-bin: fix installation of new packages with autoupdate.
--HG--
extra : convert_revision : 3195174fd64a10bb4fad3fc888a3693796bfb212
2009-08-11 19:11:14 +02:00
Juan RP 144caa8cb4 kernel: add kernel-firmware subpkg and depend on it.
Bump revision.

--HG--
extra : convert_revision : 246c9e5718de9d371ee09fefab229faf5a5c4d2d
2009-08-11 18:58:08 +02:00
Juan RP 45a58485eb xbps-bin: show which pkgs are updated and installed before proceeding.
--HG--
extra : convert_revision : 2c2fcd7f3c5909d14d1519ffc7e8ac0cad124b34
2009-08-11 18:53:24 +02:00
Juan RP b8c4131798 xf86-input-vmmouse: update to 12.6.5.
--HG--
extra : convert_revision : a3b9637ec34b0f8a94009a3d30f58f17556775fb
2009-08-11 17:14:16 +02:00
Juan RP e43c9f6221 xbps-base-files: install modprobe.d files with .conf suffix.
Bump to 0.20.

--HG--
extra : convert_revision : 205a5bb376a434e2392983a9c3b97f8d6e69fc01
2009-08-11 17:13:33 +02:00
Juan RP e389069d08 module-init-tools: update to 3.10.
--HG--
extra : convert_revision : 37b9da2d21fcb0bd9857f5d29abcf1ea9960f5b1
2009-08-11 17:13:15 +02:00
Juan RP 8398b6ccaa kernel: update to 2.6.30.4.
Added an INSTALL script that updates GRUB's menu.lst file at
post-installation time... simple but will be improved later.

--HG--
extra : convert_revision : 0ce38f532a8e8d2bfdef21dcd35fe0562732ad09
2009-08-11 15:32:10 +02:00
Juan RP 6443338d35 kernel{,-libc}-headers: update to 2.6.30.4.
--HG--
extra : convert_revision : 59aca89a3e8a372b6f8f8e88f18da5f4b02f375e
2009-08-11 15:31:26 +02:00
Juan RP 3e42bc6410 Flags are named XBPS_FLAG_XXX, add XBPS_FLAG_FORCE.
--HG--
extra : convert_revision : 4f7ad37910303a87788b2daac9b4ba11bf39becd
2009-08-11 14:01:28 +02:00
Juan RP bd8e232a2d xbps-bin: get automatic-install value from installed pkg dict.
--HG--
extra : convert_revision : aa96b498ff3c2b2ce8eac15a6d99ec0306f23b02
2009-08-11 12:39:45 +02:00
Juan RP d584e3c2a8 iso-codes: update to 3.10.2.
--HG--
extra : convert_revision : 7aef3677c8763559fefb6673e5a505dca51b153f
2009-08-11 12:34:43 +02:00
Juan RP 47185e0296 xbps_find_deps_pkg: check if "run_depends" obj is NULL.
--HG--
extra : convert_revision : 1040c5d31199bc110a8ad33c85790c3fc71bbbfb
2009-08-11 12:31:40 +02:00
Juan RP d8bc610313 xbps-bin: don't overwrite "automatic-install" obj in autoupdate.
--HG--
extra : convert_revision : 3e3783b073d1daf3d38f68005ec6ec3aa8757841
2009-08-11 12:19:00 +02:00
Juan RP ccffbaccf7 hal-info: update to 20090716.
--HG--
extra : convert_revision : ae7ef98cd21802ab118ee9465fcd1c5224c70b67
2009-08-11 00:54:15 +02:00
Juan RP 899086421b hal: update to 0.5.13.
--HG--
extra : convert_revision : 87367839f6c26ae42383c843e250ec137e20323c
2009-08-11 00:54:05 +02:00