Age | Commit message (Collapse) | Author |
|
for instance, pkg_create -Dvar=value -Dvar2=value2 will work.
|
|
|
|
more prototypes.
use Error module for system calls.
|
|
|
|
|
|
|
|
|
|
new visit method, to do anything on a packing-list.
|
|
|
|
|
|
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.
|
|
|
|
- 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.
|
|
|
|
|
|
|
|
- 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.
|
|
|
|
@mandir and @fontdir keywords recognition.
|
|
|
|
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.
|
|
|
|
directory/
instead of
@dir directory
okay naddy@
|
|
- 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@
|
|
Add @dir, more powerful than @dirrm, so that we can get rid of those
pesky @exec mkdir -p.
okay naddy@
|
|
instead of computing size and md5.
okay naddy@, sturm@
|
|
okay naddy@, sturm@
|
|
Brad Webb.
|
|
prompted by miod@, okay miod@ millert@.
|
|
are supposed to.
|
|
Approved by at least sturm@ and fries@
|
|
Non absolute mount points ? give me a break.
Fix for ugly nonsense. Problem reported by David Mazieres.
|
|
|
|
|
|
okay pvalchev@
|
|
- pkg_add -A arch, to make believe we are extracting on a given arch
(matches pkg_create).
- pkg_add -P cdrom/-P ftp, to enforce extracting only cdrom'able packages
or ftp'able packages. Helps a lot for checking cdrom lists.
- dependency look-up will look through local directory listings to solve
dependencies, so that non-default dependencies will work more seemlessly.
(doing the same thing for distant repository will happen after 3.5, but
this requires more apparatus: caching package lists, and killing/restoring
existing connections, plus more error handling).
okay pval
|
|
new method in Logger, annotate, so that the pkg_delete log script can
set
PKG_DESTDIR= conditionally, and use ${PKG_DESTDIR} later on in filenames.
|
|
(so far and intentionally) undocumented interface.
|
|
problem found by John L. Scarfone, who runs a paranoid root.
|
|
properly contain a dot and other fun characters.
Reported by Jason Ish. Survives a full ports build.
|
|
|
|
okay pvalchev.
|
|
minor optimization: don't try to open pipe to local file that doesn't
exist anyways.
track connections per-host for ftp/http.
Don't allow more than maxcount() connections per-host (for now, one
connection).
tests by sturm@, fries@
|
|
Okay sturm@
|
|
catch more error conditions and die in a systematic way.
okay sturm@
|
|
|
|
|
|
|
|
Factor common method code in write, keep variations in stringize.
|
|
Reorg and clean Vstat a bit.
okay naddy@
|