summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2004-09-16Add LibraryOnly routine to check on @lib files.Marc Espie
Forgot to add shell to the list of files...
2004-09-15Support for -Dvar=value in pkg_create:Marc Espie
- do the substitution for ${var} - handle fragments %%var%% depending on value being 0 or 1.
2004-09-15new getopt module, that allows for option-specific processing, so thatMarc Espie
for instance, pkg_create -Dvar=value -Dvar2=value2 will work.
2004-09-15shell keyword...Marc Espie
2004-09-14add support for info directories.Marc Espie
more prototypes. use Error module for system calls.
2004-09-14better wording for documentation.Marc Espie
use System more or less everywhere. prepare to delete info directories properly.
2004-09-14use System or Vsystem everywhere.Marc Espie
2004-09-14better reporting of conflicts, suggested by naddy@Marc Espie
2004-09-14report issues while installing configuration files.Marc Espie
2004-09-14use chown/chmod system calls directly where possible.Marc Espie
some System instead of system.
2004-09-14basic error wrapper for system and such.Marc Espie
2004-09-14use IdCache.Marc Espie
2004-09-14IdCache module, that deals with uid/gid caches.Marc Espie
2004-09-14install mtree.Marc Espie
2004-09-14new categories, modules and manual-installation, not active yet.Marc Espie
new visit method, to do anything on a packing-list.
2004-09-14Handle basic mtree for directory creation.Marc Espie
2004-08-27make sure pkg_create keeps track of cwd.Marc Espie
okay naddy, pvalchev, millert.
2004-08-25typos from -f (PR #3908);Jason McIntyre
2004-08-12add missing $Brad Smith
ok espie@
2004-08-12ditch File::Copy so that buffering is consistent.Marc Espie
Problem noticed by niklas@. okay and function name suggestion by markus@
2004-08-11allow for a fonts.dir.dist, for cases where mkfontdir doesn't know what to do.Marc Espie
2004-08-11protect main loop of pkg_delete with an eval, so thatMarc Espie
ldconfig, directory removal, manpage handling, and fontdir handling always happen.
2004-08-10Document @man, @info, @lib, @mandir, @fontdir.Marc Espie
2004-08-10typoMarc Espie
2004-08-10cosmetic tweak: ensure all dirs always get exactly one / at the end.Marc Espie
cosmetic tweak: do not show a space after a keyword without args. dir support reworked: keep clones() of dir objects, and call cleanup/reload routines at end. @mandir/fontdir support: both mandir and fontdir remove extra files on delete. @fontdir creates alias files, runs mkfontdir, and uses fc-cache.
2004-08-09record remaining DirRms.Marc Espie
2004-08-07use chroot DESTDIR ldconfig in DESTDIR case.Marc Espie
2004-08-06Use .Dl instead of a literal block when we only have a single line. HasTodd C. Miller
the side effect of fixing some ugly indentation (or the lack thereof).
2004-08-06Fix typo (.Bd that should be .Ed)Todd C. Miller
2004-08-06protect makewhatis calls inside eval.Marc Espie
failing makewhatis should be a warning at best.
2004-08-06use OpenBSD::Makewhatis, avoid forking extra makewhatis.Marc Espie
Note: requires you to update makewhatis to work.
2004-08-06fix one of the most bizarre bugs in a while...Marc Espie
found by henning@.
2004-08-06@lib shared library marker.Marc Espie
- runs ldconfig to find out search library path. - if library is in path, mark directory for updating cache. - run ldconfig when needed, e.g., right before executing something that might depend on the library. Doesn't handle destdir case yet.
2004-08-06Document filename semantics, @sample, @extra.Marc Espie
Clean up.
2004-08-06unneeded switch to main package.Marc Espie
2004-08-06avoid pulling in OpenBSD::md5 and File::Copy if we can.Marc Espie
2004-08-06block-scoped require is way simpler than weird AUTOLOAD hack.Marc Espie
2004-08-06unified headers, switch to smaller copyright notice.Marc Espie
2004-08-06Extradir name.Marc Espie
Don't bother deleting it if it's not there.
2004-08-06deinstall DirRm like DirBase.Marc Espie
2004-08-05kill 3 lines of unused codeMarc Espie
2004-08-05refactor classes in PackingElement to share more code.Marc Espie
- all files go through FileBase, all directories go through DirBase. - dirclass() is used to switch classes based on final /, so that @sample, @extra, and @file all take directories as well. - set NoDuplicateNames() more thoroughly. - make sure all no-default-conflict objects are correct. compute_fullname() checks for absolute paths, allowed for @sample and @extra. lastfile only gets set for actual files. special names like INSTALL are only checked for normal files. add a CVSTag class for @comment $OpenBSD$, so that these get sorted first. Changes for make-plist rewrite: clone() method that can create copies of all hash objects, to specialize if needed. add_object() method so that add() is now new() followed by add_object() for most objects (useful for cloned objects). Check that plist has a name in pkg_create, allowing PackingList to write unnamed plists.
2004-08-03forgot mandir. reorder slightly.Marc Espie
2004-08-03Support @sample, tested by fries@.Marc Espie
@mandir and @fontdir keywords recognition.
2004-08-02@man type file for manpages.Marc Espie
2004-08-02Reuse first component of @newdepends, @libdepends to containMarc Espie
a PKG_PATH (easy backward compatibility: is there a slash ?) That's missing info to enable pkg_add to launch package building in the ports tree as an alternate source of binary packages.
2004-07-22fast-scanner should now about dir/ too.Marc Espie
2004-07-22useMarc Espie
directory/ instead of @dir directory okay naddy@
2004-07-20support for gnu-info, with @info keyword.Marc Espie
- modify pkg_create so that it will look for info-[0-9]+ and add them to the packing-list. - deal with installing the info file/de-installing it at pkg_add/pkg_delete time. tested by naddy@
2004-07-18when deleting @link, don't bother checking for md5, since we don't have any.Marc Espie
The check will have been done for the `parent' file anyways. noticed by krw@, seems all heavy-duty porters use -q, so we didn't notice it...