ZPM - the ultimate package manager ================================== Features -------- binary installs package metadata package integrity gpg signatures sha256 sums sha3 sums package contents integrity sha256 sums of installed files sha3 sums sha1 sums lists of directory contents package database editing mark a file as a configuration file repackaging creating a package from the current state of an installed package package a tarball create a package from a tarball package from stdin like cpio package a directory like tar build from shell scripts rebuild a package write ahead log for package filesystem operations it should always be possible for the package system to figure out if it was interrupted install, uninstall, upgrade, and downgrade hooks dependency tracking network fetching of packages and package databases reference counting of dynamic libs simple packaging constructs use shell scripts where possible use shell functions as hooks and callbacks A package is an SQLite database file. Multiple packages in the same file. need to mark a package as held for no automatic upgrade configure to run a command after any package work System Administration --------------------- Install a package zpm install Add a repository zpm repo add List the files owned by a package zpm contents Capture current state of configuration files zpm capture Create a package file from an installed package zpm export Extract file content from a package zpm extract Packaging Software ------------------ Build a package in the current directory zpm build Create a package from a tarball zpm build -t Import the contents of one package file into another zpm merge Create a package from a list of file names on stdin find | zpm build -s Create a new empty package zpm newpackage Add a file to a package in a package db zpm addtopackage Mark a file as a configuration file zpm mark -c Mark a package as finished building zpm complete Utilities --------- Show the elf libraries needed by a program or library zpm soneed Show the elf library provided by a library file zpm soname Get the sha256 hash of a file zpm hash Get the unix timestamp of a file zpm stat -f '%m' Get the uid of a file zpm stat -f '%u'