I would appreciate comments on pkg-busybox_recovery. Suggestions for preserving existing configuration files or running as root without suid would be appreciated.
]]>I had seen makedep - it sort of achieves what a submitted patchset did for pacman but that never got revised based on comments so only extra informational stuff for optdepends is added in pacman-4.1. If only someone paid me to implement everything I want to in pacman...
]]>FYI, pacman-4.1 also puts makedepends and checkdepends into the repos, so your topological rebuild script could get a boost.
You lost me here (I'm ridiculously tired, bear with me). Do you mean that it somehow uses local repos for building?
Btw, have you seen makedep?
]]>I quite like the package groups checking script - not sure that is right for pacman (although group handling does need improved) but something like that would be quite useful for pacman-contrib.
FYI, pacman-4.1 also puts makedepends and checkdepends into the repos, so your topological rebuild script could get a boost.
]]>Xyne wrote:* detect incomplete packages (i.e. packages missing installed files)
Um - you do know about "pacman -Qk" (or -Qqk for less noise).
Note, in the upcoming pacman-4.1 pacman will confirm file size, permissions, ownership, creation times, symlink targets. Checksum checking needs additional libarchive support.
As I said, these are scripts that have collected over time. I don't bother to delete them whenever Pacman catches up.
But yeah, when I posted this thread, I didn't have that in mind.
]]>* detect incomplete packages (i.e. packages missing installed files)
Um - you do know about "pacman -Qk" (or -Qqk for less noise).
Note, in the upcoming pacman-4.1 pacman will confirm file size, permissions, ownership, creation times, symlink targets. Checksum checking needs additional libarchive support.
]]>Some examples:
* detect incomplete packages (i.e. packages missing installed files)
* recursively list unpackages files in a given directory (e.g. can be used to find leftover packages in /usr)
* extract original version of file from package cache (e.g. to see what a configuration file was before you butchered it)
* clean custom package cache while keeping a certain number of versions for each package
etc.
You can get them here: http://xyne.archlinux.ca/scripts/pkg/. If there is enough interest I will probably package these.
There is now a package. You can find repo and AUR links here: http://xyne.archlinux.ca/projects/pkg_scripts/
]]>