summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
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.
2005-05-25Added the dirname($file) to the search path for include files whenrillig1-2/+8
scanning package Makefiles. Changed the output format to include a newline where necessary. Added the search path to the error message. This might fix PR 30322.
2005-05-25Sort options, mark up URL.wiz1-6/+6
2005-05-25Add: * fatal error if RMD160 missingwiz1-0/+1
2005-05-25For DragonFly. This is from PR #30262 from Joerg Sonnenberger.reed2-4/+4
I didn't test under DraginFly myself.
2005-05-25Make this compile and install on Darwinrh2-4/+4
2005-05-25Added EXTRACT_USING, INTERACTIVE_STAGE and MANSOURCEPATH to the list ofrillig1-3/+4
variables that accept direct tool names.
2005-05-25In checklines_direct_tools, quote shell commands, too. Unquoted shellrillig1-2/+2
commands are too hard to recognize.
2005-05-25Fixed a regular expression in checklines_direct_tools. Added debuggingrillig1-2/+5
output.
2005-05-24Minor wording fix.rillig1-2/+2
2005-05-24Rewrote the part of detecting direct use of tools in variables and shellrillig1-57/+80
commands. The warnings are precise (file, line, varname, shellcmd) and can be easily translated into Perl code. They might even be placed in external files someday.
2005-05-24When converting USE_PERL5 to USE_TOOLS, the user might want to setrillig1-2/+2
TOOLS_DEPMETHOD.perl=DEPENDS.
2005-05-24Made perl a run-time dependency.rillig1-1/+2
2005-05-24Converted USE_PERL5 into USE_TOOLS. Changed the SUBST stage torillig1-7/+4
post-configure. Removed DISTVER variable.
2005-05-24Added USE_PERL5. Added a comment when these definitions may be removed.rillig1-1/+3