* 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
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
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
This fixes all cases that previous code has with no changes...
sorry pancake.
--HG--
extra : convert_revision : 993d0aa060daf36d1b5ffa63725002dda122c091
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
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
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
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
- 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