summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2009-04-24Regen.joerg2-28/+11
2009-04-24pkg_install-20090424:joerg13-193/+218
Make pkg_delete -d the default behavior, remove the option. Remove pkg_create -R support (reorder @dirrm entries). Introduce new plist command @pkgdir, which makes pkg_add add this directory if it doesn't exist already and pkg_delete remove it only if no other package has a @pkgdir entry for it. Otherwise directories are pruned when the last file or directory in them is removed. @dirrm is now a pure hint, if the directory doesn't exist, it will be silently skipped.
2009-04-24Constify.joerg2-5/+5
2009-04-23If the plist doesn't have a @name tag in it, fake one up based on thejoerg1-1/+7
directory name.
2009-04-23Update "rpm2pkg" package to version 2.2. Changes since version 2.1.1:tron2-16/+15
- Switch to 2-clause BSD license. - Compile with extra warnings (again) if GCC is used as the compiler. - Fix build warnings reported by "-Wsign-compare".
2009-04-23Require all plist commands to be in lower case. Nothing depends on thatjoerg1-3/+3
and it was never documented that it worked either way, so being strict doesn't hurt.
2009-04-23Remove support to spell of @cwd as @cd.joerg1-3/+2
2009-04-23Remove remaining parts of @mtree support.joerg5-19/+13
2009-04-23Remove support and documentation for @ignore_inst.joerg6-32/+13
2009-04-22pkg_install-20090422:joerg3-12/+16
Consider EOF during signature scan a fatal error. At the very least, the package is missing the +CONTENTS file at that point. Correctly reset the entry pointer in that case and make the meta data extraction stricter, avoiding NULL dereferences for invalid archives. Fixes pkg_info -X crash on empty files as reported by Daniel Horecki.
2009-04-22Regen.joerg1-1/+3
2009-04-22Document pkg_admin fetch-pkg-vulnerabilities -u.joerg1-1/+5
2009-04-22Include LICENSE in the template Makefile. Bump version.schmonz2-4/+5
2009-04-14Always declare optreset.joerg1-5/+5
XXX optreset should be removed here, it can't be used correctly with a GNU getopt_long implementation without touching the environment.
2009-04-13libnbcompat-20090409:joerg5-34/+86
Resort and improve getopt_long detection. Should fix issues on Interix reported by mishka@ and QNX problems reported by Sean Boudreau.
2009-04-10Remove mention to install security/audit-packages (which no longerreed3-12/+12
exists) and suggest audit capabilities of pkg_admin instead. Update version. Regeneration of cat page also caught up with some previous cleanups.
2009-04-09NO_MTREE and NO_PACKAGE are obsolete.joerg2-4/+6
2009-04-09Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.joerg40-97/+40
2009-04-08Remove the remaining NO_MTREE definitions, it has been a nop for ajoerg6-12/+6
while.
2009-04-07Much simpler fix for PR/41125tez1-3/+3
Approved by agc
2009-04-06pkg_install-20090406:joerg2-7/+4
Remove premature return that broke dependency tracking for pkg_add -u. Fixes PR 41143.
2009-04-05take case-insensitive filesystems into account.rillig1-1/+8
2009-04-04Added a warning for the old buildlink3.mk format.rillig1-1/+7
2009-04-03Corrected pkg_select version in DISTNAME, new PKGREVISIONimil1-2/+3
2009-03-30Remove trailing \n in warnx call. Pointed out by seb@joerg1-2/+2
2009-03-29Fix substitution per PR 41092 from Steven Drake.wiz1-3/+3
Bump version.
2009-03-27Fix build with gtk-2.16.wiz4-4/+50
Convert to user-destdir.
2009-03-26pkg_install-20090326:joerg2-5/+5
Fix diagnostic message to be less confusing to read.
2009-03-25Improve explanation for missing man pages for sbin/ programs.wiz1-4/+4
2009-03-25Added explanations for all warnings that currently appear in wip/dcc.rillig1-1/+34
2009-03-25+ LICENSE_FILErillig1-1/+2
2009-03-25Updated pkgtools/pkg_chk to 1.98abs2-8/+9
- Avoid using -. to pkg_info - Indicate when using a pkg_summary.gz rather than running pkg_info -X on all binary packages
2009-03-23pkg_leaves-1.2: Silence error messages from pkg_info.joerg2-3/+3
2009-03-22Improve markup.joerg1-2/+5
2009-03-22libnbcompat-20090322:joerg5-85/+210
Don't use getopt_long as replacement for getopt. It behaves different and doesn't work well in combination with optreset. Instead use getopt(3) from NetBSD if requested. Sync getopt_long.c with NetBSD while here. Addresses issues with pkg_admin on Solaris reported by Tim Zingelman.
2009-03-22Added BUILDLINK_CONTENTS_FILTER.*rillig1-1/+2
2009-03-22Fixed the .if/.endif handling in the new buildlink3.mk format.rillig1-2/+2
2009-03-22Oops. :)rillig1-2/+2
2009-03-22Updated pkglint to 4.91.rillig1-2/+2
Important changes since 4.90: - Fixed some issues with "package has been downgraded" warnings. - The doc/CHANGES-* files can be checked individually now. - Emit a warning if a package does not define PKG_DESTDIR_SUPPORT. - In patch files, warnings about absolute pathnames, CPP macros and the like are only emitted if the line starts with a "+". If the -Wextra option is given, the context lines (starting with a " ") are also checked. - Added support for the new buildlink3.mk format.
2009-03-22Adjusted pkglint to the new format of the buildlink3.mk files, which isrillig2-14/+173
pretty neat.
2009-03-21pkg_delete: add missing setprogname(argv[0]);tnn1-1/+2
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg7-70/+36
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2009-03-20More portable way to print st_size which is off_t. Fixes build on DragonFly.hasso2-1/+17
2009-03-10Specify width for tag list.joerg2-4/+4
2009-03-10Implemented the suggestion by abs@ of reducing the number of warnings inrillig1-21/+34
patch files. Up to now, the lines that only provide the context for the patches have been checked for absolute pathnames and the like. Now, only those lines that really add something to the patched file are checked. The context lines are checked when the -Wextra option is given. While here, added some comments to help me understand the code that I wrote years ago.
2009-03-09Use archive_read_finish and avoid double-free if the archive couldn't bejoerg1-4/+3
opened.
2009-03-09pkg_install-20090309:joerg2-5/+4
Fix a double free. Reported by seb.
2009-03-08If writing to the archive failed, tell user the file it tried to write.joerg1-3/+4
2009-03-08Updated pkg_select to version 20090308imil2-6/+6
. fixed background color on VTE terminals . fixed live pkgsrc over ftp . fixed dependencies display . code cleanup OK'd by seb@
2009-03-08pkg_install-20090307:joerg7-67/+45
Simplify archive handling by depending on archive_read_finish and the close callback where needed. Fixes a file descriptor leak as side effect as reported by wiz.