summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2007-08-25Only gcc understands those -W* flags for warnings.rillig1-1/+3
2007-08-24Drop -RELEASE and similiar components of the OS version on FreeBSD asjoerg2-2/+2
well.
2007-08-24Clean up the old log files when retrying to build a package.rillig1-2/+3
2007-08-24Added some comments to the configuration file, to help the uninitiatedrillig1-2/+21
reader.
2007-08-23regen.wiz1-4/+4
2007-08-23Replace reference to (obsolete) -M with tar(1). Bump date.wiz1-5/+6
Requested by joerg.
2007-08-23Added support for installation to DESTDIR.heinz1-3/+5
2007-08-23xorg-dirs is gone. Bump to 4.79.joerg2-4/+3
2007-08-22Fix a bug in the processing of GPG in audit-packages.conf. This should fixadrianp1-8/+28
PR# 36773 opened by David A. Holland. While we're here look for settings with no values in audit-packages.conf and ignore them. Tighten up processing of audit-packages.conf for the situation where settings are specified multiple times. (report from joerg@).
2007-08-21When looking for a package with a wildcard pattern, don't add thejoerg2-5/+5
suffix. find_best_matching_file does that already and doing it twice is actually counterproductive. Bump to 20070821.
2007-08-20Add DESTDIR supportagc2-11/+27
Make symbolic links to directories in the appropriate way Change email addres sto match current preferences
2007-08-20Add DESTDIR supportagc1-3/+6
2007-08-18x11/xorg-libs/version.mk was removed, catch up.joerg1-2/+1
2007-08-17Remove leading spaces from PKGNAME, to cope with an old bug.gdt2-4/+4
2007-08-16close is a function, fix C&P errors. From Aleksey Cheusov.joerg4-15/+14
Bump version, remove pkgrevision.
2007-08-16Work around broken default visibility in Linux (PR 36790).joerg2-3/+7
Linux has sin_len either (PR 36791).
2007-08-16Revbump sweep of all libevent consumers due to update to libevent-1.3d.tnn1-1/+2
2007-08-15Don't hard-code tar as tar, but make it an option and use the tooljoerg5-11/+12
version correctly. Fixes issues on platforms where the first tar in path doesn't support -z. Bump to pbulk-0.12.
2007-08-15Shorten wording.joerg1-3/+3
2007-08-15Fix grammar. From salo@joerg1-2/+2
2007-08-15Start abstracting pkgdb access by introducing pkgdb_pkg_file.joerg5-44/+46
The function returns the path name of the given file for the package. The memory needs to be freed by the caller.
2007-08-15Make _pkgdb_getPKGDB_DIR return const char * and fix fallout.joerg6-20/+21
2007-08-15Bail out if the PLIST contains no @name field. This check existed sincejoerg1-3/+8
the initial revision in 2002, so assume it just works...
2007-08-15Split off the part dealing with already installed packages intojoerg1-155/+177
a subfunction. Bail out if the package name doesn't have a version name. Bail out if the internal rename failed (it was an assert before). Invert some of the branches to cut off three levels of indirection.
2007-08-14Add new option -m to pkg_add. This allows to override MACHINE_ARCHjoerg6-24/+38
for the purpose of installing a package and enables cross-compiled pkgsrc to not use -f all the time. Bump version to 20070815.
2007-08-14Fix indentation.joerg1-5/+9
2007-08-13Merge tmppkg into main variable block and remove indentation.joerg1-82/+79
2007-08-13Check explictly for argc == 0 to find out if options where specified.joerg2-24/+12
Don't depend on NULL termination of argv, count instead. Remove more traces of slave mode.
2007-08-13Added mk/misc/category.mk, which contains the definitions that are onlyrillig1-2/+2
useful for category Makefiles, as opposed to bsd.pkg.subdir.mk, which is also relevant for the top-level directory. Adjusted the category Makefiles.
2007-08-13Documented expect() and prepared pkglint for the upcoming introductionrillig1-12/+14
of category.mk.
2007-08-12pkg_admin: when retrying with a wildcard pattern, use the computedjoerg7-38/+117
pattern and not the base name. pkg_info: add -E option to return the best matching installed package. Bump to 20070813.
2007-08-12Restore ignorance of entry types for lsbest and lsall for now.joerg4-18/+21
The check for already installed packages depends on being able to run them in PKGDB_DIR. This is clearly obnoxius, but leave it for later.
2007-08-12Reference correct variable.joerg1-3/+3
2007-08-12- Introduce find_best_matching_file and match_local_files. This replacejoerg8-201/+214
the functionality offered by findmatchingname and findbestmatching name. They optionally strip the suffix from the filename before matching it, instead of modifying the pattern directly. Drop the old functions. - Fix a bug in pkg_order where the version strings where inverted - Make pkg_admin lsbest and lsall use the new functions. - Make ftpio use pkg_order directly. Bump version to 20070812.
2007-08-10* Use stdout for printing results of vulnerable/eol packages found.adrianp3-10/+46
Reported by Greg Troxel on tech-pkg@ * Add -q which operates the same as 'pkg_info -q' and only displays the package name of any vulnerable/eol packages found. Suggestion by joerg@ * man page updates for -q * Document the required permissions for audit-packages and download-vulnerability-list in the man page.
2007-08-10Remove comment about importing from NetBSD.joerg1-3/+1
2007-08-10Reword description of rebuild-tree, and point to pkg_delete -f as agdt2-7/+8
possible cause of inconsistencies. Remove comment about make replace, since it does not, absent pkgsrc/mk bugs, result in incorrect dependency records.
2007-08-10pkg_delete In the list of options, note -ff option to remove {\bfgdt2-1/+9
preserved} packages, and caution the reader that it is dangerous. Ride hours-earlier version bump.
2007-08-10Not my day. If I write "return 0 when at least one match was found",joerg1-4/+4
actually return 0...
2007-08-10Add "rebuild-tree" command to pkg_admin. It recomputes the dependenciesjoerg4-7/+111
and builds the +REQUIRED_BY files from that. Bump to 20070810.
2007-08-10Contrary to its comments, CheckForPkg is meant to print all matchingjoerg1-14/+44
packages (see pkg_info -e). Restore this behaviour. Still print a warning when the pkgdb can't be processed. Reported by Daniel Horecki and pointed to the option by tnn@.
2007-08-10Don't use ld -x or ld -X. Bump version to 20070810.joerg6-88/+88
Discussed with and tested by various people over the last two month. This problem was exposed by pbulk.
2007-08-10regen.wiz1-82/+89
2007-08-10More indent for tagged lists; add key to FILES and addwiz1-7/+13
descriptions there.
2007-08-10Actually assign variable that tells the caller that we got a match.joerg1-2/+3
2007-08-09Make var_set and var_get arguments always use full path names.joerg4-12/+17
2007-08-09Remove @option extract-in-place support for now (will be the defaultjoerg5-87/+34
later) and document @option preserve in pkg_add(1).
2007-08-09Change interface of is_automatic_installed andjoerg5-53/+47
mark_as_automatic_installed to take a package name and not a full path. Add assertions to test for this. Drop a few islinktodir checks. Change pkg_info to use iterate_pkg_db instead of scanning the directory by hand. As a side effect don't try to check for the pkgdb dir first, let pkgdb_dump and iterate_pkg_db handle that. Make pkgdb_dump return failure if it can't open the package db.
2007-08-09Pass a number of strings around as const char *.joerg3-18/+18
2007-08-09Fix segmentation fault when the package has no variables set andjoerg2-10/+17
no info file. Patch from Dieter Baron in pkg/36741. Bump version to 20070809 for today's fixes.