summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2005-07-05Don't use reserved variable names (${_f_} => ${f}).rillig1-3/+3
2005-07-02Removed the need for the global variable $opt_packagedir. No user-visiblerillig1-33/+31
changes.
2005-07-02Removed very old checks for files/md5, files/patch-sum, COMMENT and pkg/.rillig1-13/+1
2005-07-02Added a parameter to the checkfile_* subroutines that specifies the baserillig1-46/+42
directory of the package. The other parameter, the file to check, is always relative to the current directory.
2005-07-02TODO: make all pathnames relative to the current directory.rillig1-0/+1
2005-07-02The subroutine check_package gets the package directory as argument.rillig1-4/+7
This is the first step to get rid of the global $opt_packagedir variable. While doing this, I will hopefully notice all uses of relative pathnames and repair them, so that pkglint can be called with multiple arguments soon.
2005-07-02Restricted the warning option -Wsort to only apply to PLIST files andrillig3-13/+14
therefore renamed it to -Wplist-sort. This option is disabled by default to avoid excessive warnings. Apart from an unfounded suggestion somewhere in the past, I don't see a reason why PLIST files should be sorted. Remember: The option is still available, it's just disabled by default.
2005-07-02Removed the check for expanded RCS tag completely, assuming no one willrillig1-12/+3
ever need to distinguish between expanded and unexpanded RCS tags while committing.
2005-07-01Clarified the warning message when an uncommitted file has an expandedrillig1-2/+2
NetBSD RCS tag instead of an unexpanded one. A user had complained about it.
2005-06-27This package's installation does not run mtree (NO_MTREE=yes) so useseb1-2/+2
INSTALLATION_DIRS to set up ${PREFIX}/man/man1.
2005-06-27The subroutines checkfile_MESSAGE, checkfile_PLIST, checkfile_distinfo andrillig1-24/+15
checkfile_patches_patch are called with path names relative to the current directory, not to the package directory. The other subroutines will follow.
2005-06-26Actually use PKG_DBDIR and PKGSRCDIR values from the build process,atatat2-5/+5
rather than just pretending to. I know I meant this to work, but somehow I forgot actually to make it work a long time ago. Addresses a problem pointed out in private email.
2005-06-24Don't warn on empty scripts/ directories, which may occur during CVSrillig2-11/+9
updates. Don't write logging messages for Makefiles that are being read but for Makefiles that are included and for those whose inclusion is skipped. Skip include files that contain Make variables. When checking for direct use of shell commands, don't print the line continuation, that is the trailing white-space and backslash. These changes lead to pkglint-4.18.
2005-06-19Avoid creating an empty directory that is not used (and which didn't matchjmmv1-2/+1
the PLIST). Noticed by minskim@.
2005-06-17Fix inappropriate uses of ${LOCALBASE} or ${X11PREFIX} instead ofjlam1-2/+2
${PREFIX}.
2005-06-17Create directories before installing files into them.jlam12-12/+36
2005-06-14Update pkgtools/xpkgwedge to 1.14. Changes from 1.13 include usingjlam2-6/+8
the make required by the imake config files, which is specified by ${IMAKE_MAKE}. This allows differing make programs to be used for the main build versus xmkmf.
2005-06-14Update pkgtools/xpkgwedge to 1.13. Changes from version 1.12 includejlam2-7/+6
invoking the make(1) program as "make" instead of hardcoding the (wrong) path in ${MAKE_PROGRAM}. This will rely on the tools framework to have set up "make" to properly call the correct make(1) program. This should fix cases where pkgxmkmf called the wrong make(1) program on Linux systems.
2005-06-14pkglint complains about empty DESCR files again. Fixes PR 30509. Updatedrillig2-3/+7
version number to 4.17.1.
2005-06-13Use += to not override previous USE_TOOLS setting.jlam1-2/+2
2005-06-10Update pkgtools/x11-links to 0.25. Changes from verison 0.24 includejlam5-7/+50
synchronizing with the files listed in src/distrib/sets/lists/x* for XFree86 4.5.0.
2005-06-10add autoconf test for missing (like in openbsd-3.6) or broken (likedmcmahill5-15/+1429
in AIX-4.3.2) PRIu64. If it is missing or broken, provide one. Should address PR30375. Welcome to pkg_install-20050607
2005-06-07Check for non-normalized dependency lines like package:../package insteadrillig1-0/+1
of package:../../category/package.
2005-06-07List shell tools that are needed by the pkg_view and linkfarm scripts.jlam1-1/+5
2005-06-06Update to 1.21:jmmv3-14/+28
- Make the EXTRA_MK variable be a list of files rather a single one. From brook at biology.nmsu.edu in PR pkg/30099. - Directly recognize pkg_* commands to be executed within the sandbox (i.e., no need to use the chroot keyword). From Robert Elz in PR pkg/29749. - Fix a typo in the manual page.
2005-06-06Change the way the PLIST is generated. We now use a separate loop afterjlam1-14/+8
the files in the work directory are built to discover the directories that need to be removed at deinstall time. This fixes PR pkg/25325 by Georg Schwarz.
2005-06-06Fix the permissions on the directories installed by the x11-linksjlam1-2/+4
package in case the build user's umask is too strict. This change is mostly from the patch in PR pkg/29256 by Ian Leroux.
2005-06-03Remove USE_GIF.wiz1-2/+1
2005-06-03Remove USE_IDEA.wiz1-2/+1
2005-06-03Remove USE_ESOUND.wiz1-2/+1
2005-06-02Include netdb.h for Solaris. From Neil Hoggarth in PR 30399.wiz1-2/+5
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam5-61/+55
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-06-01Fix grammar in comment.wiz1-2/+2
2005-06-01update pkg_chk to 1.59:abs2-4/+4
Fix fallout of 'sh -e' change in 1.58 - make pkg_chk -lb work again
2005-06-01Formatting improvements. Bump date for previous. New sentence, new line.wiz1-20/+37
2005-06-01update pkg_chk to 1.58abs3-233/+223
- sort -l output so that dependencies always come before packages which depend upon them - completely rework -u so that a list of packages to be update is generated, then all mismatched packages are removed, then the list is processed to add in packages. If -u is interrupted, a second run will resume the update - update (-u) works with binary packages
2005-05-31Added PKG_PRESERVE, NO_PKGTOOLS_REQD_CHECK and NO_PKG_REGISTER.rillig1-1/+4
2005-05-31When checking the type of variables, the variable name must begin at therillig1-3/+3
beginning of a line. This fixes false warnings for variables that are commented out. Added ${JAM_COMMAND} to the commands that may have "install" or "test" as arguments.
2005-05-31Removed unused subroutine abspathname. Added the things it did to the TODOrillig2-63/+4
list.
2005-05-31Removed the -N command line option, which had been deprecated before.rillig3-31/+24
Also removed -Cnewpkg. Instead, the warnings for new packages are only emitted if the files have not yet been committed to CVS.
2005-05-30Sync with base 1.53: Comment out too noisy warning.wiz1-2/+6
2005-05-30Update to 20050530:wiz17-108/+167
Sync with base system: Ranges support and some other stuff that wasn't pulled over.
2005-05-29Sync with 20050529 in src/.minskim2-5/+5
If a pattern does not have any suffix, assume that it matches both ".tbz" and ".tgz". This allows to install binary package dependencies that are not exact matches, but satisfy requirements.
2005-05-28- pull in the changes from usr.sbin which prevent an over flowdmcmahill4-19/+25
of a 32 bit signed number when pkg_add-ing a binary package file larger than 512 Mb. - Bump PKGTOOLS_VERSION (NOT!!! PKGTOOLS_REQD) to 20050527
2005-05-26Renamed -Wexpensive to -Wbl3. By default this option is enabled. Added arillig1-4/+25
subroutine checkfile_buildlink3_mk that performs the basic Makefile checks on buildlink3.mk, if it exists.
2005-05-26Added a command line option -Cexpensive, which enables more expensiverillig1-10/+17
checks. Currently the effects are that buildlink3.mk files are read in. Moved around code in checklines_direct_tools to allow $regex_tools to be used in the list of legitimate shell commands. Added a new rule that legitimates tool names inside double quotes.
2005-05-26Renamed $distinfo to $distinfo_file, to match the pkgsrc variable name.rillig1-16/+17
When calculating the value of $distinfo, PKGDIR gets replaced with $pkgdir.
2005-05-26Reduced the debugging messages to the ones that provide useful contextrillig1-38/+16
or additional information about the further checking process.
2005-05-26Made the regular expression for direct use of tools in shell commandsrillig1-6/+10
stricter. Changed capturing groups into non-capturing groups. Added log messages for legitimate uses of tools in shell commands and variables.
2005-05-26Marked a bunch of warnings as "vague". These warnings are enabled byrillig1-61/+63
default, but can be disabled by using the -Wno-vague command line option. These warnings will be replaced step-by-step with new-style warnings.