INSTALLPKG

Section: Maintenance Commands (8)
Updated: 22 May 2007
Index Return to Main Contents
 

NAME

servepkg - manage local package repositories.  

SYNOPSIS

servepkg [ --create-repo REPONAME DIR ]

servepkg [ --delete-repo REPONAME ]

servepkg [ --add-pkg FILE REPO/CATEGORY ]

servepkg [ --remove-pkg FILE REPO/CATEGORY ]

servepkg [ --list-repo REPONAME ]  

DESCRIPTION

Pkg-style repositories are fairly simple in practice, but manually maintaining their uniformity can be mundane. servepkg provides a simple interface for managing local package repositories through one interface. It maintains the repository package listing, and ensures that each package served has a corresponding header and checksum file.  

OPTIONS

--create-repo REPONAME DIR
This option creates a repository by the name REPONAME that is located at the directory DIR. servepkg will create the directories listed in the repos.conf file as subdirectories of DIR.
--delete-repo REPONAME
This option removes an entire repository and its subdirectories from the filesystem, and removes the entry in the repos.conf file.
--add-pkg FILE REPO/CATEGORY
This option adds a package file into the given repository and the given package category, creates the required headers and checksums, and remakes the repository files listing.
--remove-pkg FILE REPO/CATEGORY
This option removes the package file (if found) from the given repository category, and regenerates the repository files listing.
--list-repo REPONAME
This option lists the package contents of a given locally managed repository.
 

AUTHOR

Bradley A. Worley <geekysuavo@gmail.com>  

SEE ALSO

buildpkg(8), explodepkg(8), infopkg(8), installpkg(8), makepkg(8), pkg(8), removepkg(8), upgradepkg(8)
 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 19:04:52 GMT, July 10, 2007