1 ZPM - the ultimate package manager
2 ==================================
16 package contents integrity
17 sha256 sums of installed files
20 lists of directory contents
22 package database editing
23 mark a file as a configuration file
26 creating a package from the current state of an installed package
29 create a package from a tarball
37 build from shell scripts
41 write ahead log for package filesystem operations
42 it should always be possible for the package system
43 to figure out if it was interrupted
45 install, uninstall, upgrade, and downgrade hooks
49 network fetching of packages and package databases
50 reference counting of dynamic libs
52 simple packaging constructs
53 use shell scripts where possible
54 use shell functions as hooks and callbacks
56 A package is an SQLite database file.
58 Multiple packages in the same file.
60 need to mark a package as held for no automatic upgrade
62 configure to run a command after any package work
73 zpm repo add <repo_url>
75 List the files owned by a package
77 zpm contents <pkgname>
79 Capture current state of configuration files
83 Create a package file from an installed package
87 Extract file content from a package
89 zpm extract <hash> <path>
94 Build a package in the current directory
98 Create a package from a tarball
100 zpm build -t <tarfile> <packagefile>
102 Import the contents of one package file into another
104 zpm merge <basefile> <otherfile>
106 Create a package from a list of file names on stdin
108 find <find_options> | zpm build -s <packagefile>
110 Create a new empty package
112 zpm newpackage <packagefile>
114 Add a file to a package in a package db
116 zpm addtopackage <packagefile> <filepath>
118 Mark a file as a configuration file
120 zpm mark -c <packagefile> <path>
122 Mark a package as finished building
124 zpm complete <packagefile> <packagename>
129 Show the elf libraries needed by a program or library
133 Show the elf library provided by a library file
137 Get the sha256 hash of a file
141 Get the unix timestamp of a file
143 zpm stat -f '%m' <file>
145 Get the uid of a file
147 zpm stat -f '%u' <file>