Commit graph

30 commits

Author SHA1 Message Date
Juan RP
f28419db7d TODO: updated an item.
--HG--
extra : convert_revision : 94bb4cbee658815f9601571ee697cdbf54c6fdfd
2009-02-27 17:48:47 +01:00
Juan RP
750f467fe6 Take into account $conf_files and $keep_dirs when removing a pkg.
* If a dir is listed in $keep_dirs it won't be removed (anyway any
  directory that is not empty won't either).
* If a config file hasn't been modified (SHA256 hash matches) the
  file will be removed, otherwise it won't be removed.

There's still missing support to handle new configuration files when
there's an existing file, but will do later.

--HG--
extra : convert_revision : 448af95876fc7a47da07a9a910d6111047f72271
2009-02-27 17:41:31 +01:00
Juan RP
f211c85e6d Updated TODO.
--HG--
extra : convert_revision : 6b37e23d827b9fabb0305e1de5c1a8ac780bd9da
2009-02-27 16:00:38 +01:00
Juan RP
255c48b198 Added support to check SHA256 integrity for binary pkgs.
This currently checks:
 - While removing, any file is checked and if hash doesn't match the
   file is ignored and not removed.
 - While installing, if a binary pkg file doesn't match with the one
   reported by the repository's pkg index file, the process will be
   stopped.

--HG--
extra : convert_revision : 42bb64e89a092f0ff3e7d951e5b26e45d63a60fe
2009-02-26 05:41:49 +01:00
Juan RP
028cacdd2a Add support to set automatic install flag for srcpkgs.
--HG--
extra : convert_revision : fa0e103ce44a4758858124ecd63aea0dec400720
2009-02-18 00:28:35 +01:00
Juan RP
3b3d788c7c Improve the build deps strategy, this is now pkgsrc-alike.
The list of build dependencies is shown, and if any of them
has deps, the list is shown for it and so on. This has the effect
of installing the deps in the order that they were specified
in the template, at the expense of a minor performance ratio.

--HG--
extra : convert_revision : 231ed52da19201bdeab65d0f9db78ab83b51e010
2009-02-17 17:15:12 +01:00
Juan RP
0bb1780f8e shutils: use xbps-pkgdb getpkg{name,version}, remove item from TODO.
--HG--
extra : convert_revision : 69927380509b3bc6b3f80ee3cbc44953bdd2b729
2009-02-17 13:58:34 +01:00
Juan RP
fda3da1543 Use string version comparator code from FreeBSD.
This fixes all cases that previous code has with no changes...
sorry pancake.

--HG--
extra : convert_revision : 993d0aa060daf36d1b5ffa63725002dda122c091
2009-02-17 03:49:02 +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
2b24128059 xbps-bin: added support for the show target.
--HG--
extra : convert_revision : 24b2d30a94c95b22b1c524203cf578da03314335
2009-02-16 16:24:33 +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
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
cf830c8b04 TODO: add item about noarch binpkgs.
--HG--
extra : convert_revision : 08816d99cf80a5a7284f6263efd3513cc1afa5af
2009-02-15 19:28:46 +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
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
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
Juan RP
d7b5f20e26 TODO: another item for xbps-bin.
--HG--
extra : convert_revision : ce16b1379f9c29e426566b28083e008c7cdf27b4
2009-02-05 16:20:51 +01:00
Juan RP
65d1c71008 Update TODO.
--HG--
extra : convert_revision : 2fb3e5cbd814d6b17645cdc78a05883942099353
2009-02-05 15:26:59 +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
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
74b213b519 TODO: add another bug.
--HG--
extra : convert_revision : a1daa1ea882b1877ff8ed7a71697757bdc71bdb1
2009-01-28 16:26:42 +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
a1425f164d TODO: add new items.
--HG--
extra : convert_revision : 636dec5341d934ef18f0686a84d08e7e8a230a14
2008-12-28 11:38:40 +01:00
Juan RP
4148b5e4b6 Added support for pre/post installation script with binary packages.
For now all is handled in a script "prepost-action.sh" in package's
metadata directory, with a target in the shell script.

--HG--
extra : convert_revision : 93ed92d9fbb12939c751354cff464cc097379520
2008-12-28 08:44:01 +01:00
Juan RP
7f5a76ace3 TODO: add some new items for binary packages.
--HG--
extra : convert_revision : 2989daa26335b8a43fab576b0bfcb1489a6fc94e
2008-12-27 06:10:26 +01:00
Juan RP
d9fb96533f Rename xbps.sh to xbps-src.sh.
In preparation for the utility that will handle binary packages.

--HG--
extra : convert_revision : c67f42bccad28f1b5313ae0e1739979a477fd2f1
2008-12-18 11:07:33 +01:00
Juan RP
0f4c3a385a Update TODO with reality.
--HG--
extra : convert_revision : 7f19cdb77433b553d95d3cfa802e4f610c76d5c9
2008-12-17 00:53:12 +01:00
Juan RP
8df38b299b TODO: mention mpfr hardcoded gmp rpath.
--HG--
extra : convert_revision : 284b726032ac10260632ebbebbcd89f1a5f547f2
2008-12-13 07:44:19 +01:00
Juan RP
23fa45a18b Reorganize the tree for easier and better handling.
- Template helpers have been moved to templates/helpers.
- Documentation to docs/.
- Common scripts have been moved to utils/sh.
- Fixed install-destdir when executed via chroot.
- Added a build-pkg target that builds a binary package.
  The package must be installed into destdir before using.
- Misc tweaks and fixes.

--HG--
extra : convert_revision : 0896e8f24bb7592116aaf77ae9c776033818a3d8
2008-12-13 03:01:24 +01:00
Renamed from TODO (Browse further)