makerepo − Create package repositories compatible with Tukaani pkgtool and other tools, such as slapt-get.
makerepo [options] directory
makerepo creates the list files which contain the filenames, package descriptions and checksums in the root of the directory. The directory is always scanned recursively.
If no options
are given makerepo defaults to −fcpm.
−f, −−filelist
Create FILELIST.TXT containing the recursive list of all files and directories in the directory. The created file is of the same format and compatible with FILELIST.TXT found in the official Slackware FTP tree.
−a, −−manifest
Create MANIFEST.bz2 which contains filelists of all the packages in the repository. The list will not include symlinks.
−A, −−manifest-lzma
Like −−manifest but use LZMA compression instead of bzip2.
−c, −−changelog
Update the ChangeLog file. You probably want to edit ChangeLog manually to add more detailed comments. −−changelog implies −−filelist.
−p, −−packages
Create PACKAGES.TXT containing package descriptions. The created file is of the same format and compatible with PACKAGES.TXT found in the official Slackware FTP tree.
−m, −−md5
Create CHECKSUMS.md5. The created file is of the same format and compatible with CHECKSUMS.md5 found in the official Slackware FTP tree.
−s, −−sha1
Create CHECKSUMS.sha1. The created file is similar to CHECKSUMS.md5 except that it uses SHA1. pkgtool does not support checking the SHA1 checksums and this file is not used by it.
−g, −−only-gzip
By default, makerepo will create both uncompressed and gzipped versions of the requested files. The gzipped versions are used by pkgtool and slapt-get(8) to make downloading faster. −−only-gzip disables creation of uncompressed versions.
−G, −−no-gzip
Create only uncompressed versions of the requested files.
−o, −−official
By default, makerepo creates the requested files to the root of the package tree. When −−official is specified, makerepo will handle subdirectories named slackware, extra, testing, pasture, patches and contrib specially and create the requested files into these directories separately, similar to how they are in the official Slackware FTP tree. Repositories created with this option are (in most cases) splitted into disksets when viewed in pkgtool.
−S, −−slapt
Include the fields ’required’, ’conflicts’ and ’suggests’ to PACKAGES.TXT. The fields are constructed from the files slack-required, slack-conflicts and slack-suggests, if they are present in the packages. These fields are used by slapt-get(8). They are not used by pkgtool(8) expect that they are shown when viewing package information.
−M, −−mirror URL
Add the ’mirror’ field to PACKAGES.TXT, which is used by slapt-get to download packages from another location than that of PACKAGES.TXT. The mirror field is not supported by pkgtool in any way; the repositories created with this option probably work only with slapt-get.
Lasse Collin <lasse.collin at tukaani.org>, Ville Koskinen <w−ber at iki.fi>
pkgtool(8), installpkg(8), removepkg(8), upgradepkg(8), viewpkg(1), explodepkg(1), makepkg(1), convertpkg(1), md5sum(1), sha1sum(1)