summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
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.
2007-08-09Use the passed in string and Pkgdeps when calling strsep, fixingjoerg1-3/+3
processing of the build options. Reported by tron@ in PR 36754 and Mark E. Perkins on pkgsrc-users.
2007-08-09For user-destdir installation, we need to ues the REAL_ROOT_USER.joerg1-2/+2
It doesn't hurt in the other cases, so do it consistently.
2007-08-09Add DESTDIR support.joerg1-4/+6
2007-08-09When matching a non-pattern (aka a base name), assign the correctjoerg1-3/+3
variable. This fixes pkg_info -e and in turn pkg_tarup.
2007-08-08Replace note_whats_installed, add_to_list_fn and generally mostjoerg13-340/+586
users of findbestmatchingname and findmatching name with more descriptive and easier to use iterator functions. This functions are a first step to abstract away pkgdb layout from most parts of the code. It also helps to reduce side effects and point out potential bugs in this code. Fix a potential, but practically irrelevant buffer overflow. No longer allow symbolic links directly in pkgdb to store the meta data of individual packages outside. E.g. /var/db/pkg/atk-1.18.0 must be a directory and not point to it. This is not yet enforced in all parts of the code, more changes will follow. Bump version to 20070808.
2007-08-08New sentence, new line; use more markup; fix a typo.wiz1-6/+13
2007-08-08Fix build on Solaris by including fcntl.h, needed for O_RDONLY definition.tnn2-2/+8
2007-08-08pkg_rolling-replace-0.10:tnn3-37/+74
- Abort if any of rebuild, unsafe_depends, unsafe_depends_strict are still set after "make replace". - Following changes in pkgsrc, does not replace by default if the dependencies' ABI is still compatible. - Add option -s that retains the old behaviour of always replacing. - Add option -r for "replace only", this supresses creation of binary pkgs. - The -n option has not been fully updated for these changes. - versions 0.[7-9] were skipped to avoid any ambiguity from the 0.04 -> 0.5 transition.
2007-08-07Drop trailing whitespace.wiz1-2/+2
2007-08-07No need for PKGREVISION for tnftp-20070806.lukem1-2/+1
2007-08-06Update to pkg_rolling-replace-0.6:tnn2-21/+31
- Explicitly unset 'unsafe_depends' and 'rebuild' tags after replacing. Needed after changes in pkgsrc/mk/flavor/pkg/replace.mk, fixes PR 36738. - Introduce ${PKG_ADMIN}, ${PKG_INFO}, ${PKG_CHK} variables instead of calling the tools directly by name.
2007-08-05Use full parameter lists in macros to avoid bogus replacements.tnn1-5/+5