summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2009-05-02Add PREV_PKGPATH and/or SUPERSEDES for various packages thatreed1-1/+4
were moved or renamed. This was for some from 2008 and 2009 and one from 2001. Also I noticed that a CHANGES entry was wrong as said "Renamed" when should have said "Moved" (lua-OSBF) because PKGBASE stayed the same.
2009-05-02Add new metadata: PREV_PKGPATH and SUPERSEDES.reed3-6/+18
These will be available from pkg_summary(5) database. To be used to find previous packages when a package is moved or renamed. (Even though that is not recommended.) Documented in pkgsrc Guide and in the pkg_summary(5) manual page. Upcoming commit will have some packages modified to add them.
2009-04-26Removed unnecessary code.rillig1-33/+23
2009-04-26Optimized the doc/CHANGES handling to get the get_doc_CHANGES functionrillig1-10/+10
out of the top-15 time consumers, as measured by DProf. The execution time decreased by about 15 percent.
2009-04-26Documented the recent addition of the PkgPath type.rillig1-1/+8
2009-04-26Added a check that ensures that all types in makevars.map actually existrillig1-8/+36
in the code, avoiding "Type not found" fatal errors at runtime. In this case, only the variables *_SPECIFIC_PKGS were affected. The real problem that induced the above change was the unknown type "List of Pathname", which was a bug in the pkglint code itself, introduced three years ago (revision 1.574).
2009-04-26Added <para> tags so the document validates again.rillig2-14/+14
2009-04-26Removed unused functions.rillig1-14/+1
2009-04-25Regen.joerg2-2/+19
2009-04-25pkg_install-20090425:joerg8-15/+351
Add logic to evaluate license conditions. As frontend for pkgsrc, pkg_admin gets two new commands (check-license and check-single-license), which can be used to evaluate a given condition. pkg_add will be changed to honour licenses at a later point.
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.