summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2006-07-27DYNAMIC_MASTER_SITES is gone.rillig3-15/+6
2006-07-27Some minor tweaks.rillig1-7/+9
2006-07-27Updated the man page.rillig2-25/+10
2006-07-27Removed the --debug option, which has been superseded by the variousrillig1-85/+211
-D... options. Removed the check for the :Q operator in C preprocessor macro definitions, since we generally don't expect directory names with embedded special characters in pkgsrc. In buildlink3.mk files, the only BUILDLINK_* variables that may be set are those of the current package. The shell variables $@ and $? are now recognized. Since the shell parser is able to parse the complete code in all pkgsrc packages, make parse errors show in the normal pkglint output. These errors had been hidden before. Fixed the regular expressions in the shell parser to only match at the beginning of the string. That way, when the shell command contains $$@, the $@ is not removed, leaving a single $ behind. Added some code to deal with the different parsing styles of bmake in variable assignments and shell commands. For that, the PkgLint::Line class has been extended to contain arbitrary additional data. This will also allow to reduce the number of duplicate warnings later. The assert() procedure has got a second parameter, the message to be printed. Variable assignment lines start start with a space character (\u0020) are now recognized, but no warning is printed. In pathnames and pathmasks, the '#' character is allowed, since some packages need to remove the .#* files from CVS before installing.
2006-07-27Fixed a duplicate ID.rillig1-2/+2
2006-07-24In addition to ${SED} and ${TR}, sed and tr should not be used in therillig1-8/+35
install phase. Stricter checks for manual pages in PLIST files.
2006-07-22Update pkg_chk to 1.77:abs2-16/+33
- Resolve PR/31909 - use tr rather than fmt to avoid issue on Solaris - Resolve PR/33370 - always show fatal messages to STDERR - Resolve PR/32326 - Correctly extract PKG_DBDIR Also, when -v is used display the state of all extracted variables at the start of the run
2006-07-22Policy change: Instead of the tool variables (for example ${CP}), therillig1-14/+38
simple commands (for example "cp") should be used, since the tools framework provides wrappers for them. This applies only to the cases where the tool variables appears as the first word in a shell command. When doing substitutions in files that are later installed, the full name should still be used.
2006-07-22Don't warn about the GNU_CONFIGURE/USE_LANGUAGES combination when arillig1-3/+8
comment in that line contains the word "c" in either case, or if objc is specified, since that enables the C compiler, too.
2006-07-21Fixed the regular expression to detect whether USE_LANGUAGES containsrillig2-4/+4
"c" or not.
2006-07-21BUILD_ENV has been renamed to PKGSRC_MAKE_ENV.jlam1-1/+2
2006-07-21Modify the shlib-type script so that it doesn't need to compile anythingjlam1-2/+2
-- instead, we just check "pkg_info", which should exist on all pkgsrc platforms. XXX Note that this may need to change when we later support other package XXX system flavors. Back out revision 1.79 of pkgtools/x11-links/Makefile which was only to work around needing a C compiler for shlib-type to work.
2006-07-21Remove "foo" target that's clearly a debuggging target.jlam1-4/+1
2006-07-21Mark as using c language. This fix PLIST problem while doingseb1-2/+2
'make package' (make; make package works): without this SHLIB_TYPE is set to 'none' while doing 'make package', resulting in mk/plist/shlib-none.awk being used hence missing PLIST entries. XXX I suppose this may not really be the right fix (barrier problem?) but for the time being 'pkg_comp makeroot' succeed XXX What is this 'foo' target?
2006-07-21Parameters to subroutines are passed in @_, not in $@. Added a paragraphrillig1-2/+10
explaining the extreme slowliness of the current Perl interpreter.
2006-07-21Warn if GNU_CONFIGURE is set but USE_LANGUAGES does not contain "c", sincerillig1-1/+14
that one is needed in almost all cases.
2006-07-20Remove USE_GNU_GETTEXT from pkgsrc. Packages generally only neededjlam1-1/+2
it for plurals support, but that is already handled correctly (FSVO "correctly") by the pkgsrc/mk/tools/msgfmt.sh script. Also remove _USE_GNU_GETTEXT definitions from pkgsrc/mk/platform/*.mk files as that value has been unused by pkgsrc for quite some time (going back several branches).
2006-07-20Import the following change to add/perform.c from src to pkgsrc:gson2-4/+6
Fix uninitialized variable which was causing pkg_add -u to randomly dump core. This may fix PR pkg/30292. Also bump the pkgsrc PKGTOOLS_VERSION to 20060720.
2006-07-19Drop support for LTCONFIG_OVERRIDE. For quite a long time, pkgsrcjlam1-1/+2
had actually been ignoring LTCONFIG_OVERRIDE anyway and just using the default LIBTOOL_OVERRIDE to replace libtool scripts in packages. This just formalizes the fact that LTCONFIG_OVERRIDE is not used meaningfully by pkgsrc.
2006-07-18USE_DIGEST is no more.jlam3-8/+8
2006-07-18If, in a "case" statement of a shell command, foo|bar appears, this isrillig1-2/+2
not a pipe, so don't warn about an ignored exitcode.
2006-07-18Oops. Debugging messages should only appear when -D<anything> is set onrillig1-2/+2
the command line.
2006-07-18- Added PKG_CONFIG to makevars.map.rillig2-4/+11
- Make sure that the bsd.pkginstall.mk file exists before mentioning it in diagnostic messages. Noticed by Martti Kuparinen.
2006-07-17Add sysutils/install-sh and pkgtools/bootstrap-extras.jlam1-1/+2
2006-07-17This package provides extra files and scripts needed to bootstrap pkgsrcjlam6-0/+146
on this platform. These files come from pkgsrc/bootstrap.
2006-07-17Whenever a user-defined variable is used in a package, its name shouldrillig1-1/+45
be added to BUILD_DEFS.
2006-07-17Reworked the way that .include lines are parsed, in order to get therillig1-15/+15
recent buildlink3 check correct. A buildlink3 file that appears in the package but not in the buildlink3.mk file is not worth a warning, since there are legitimate reasons for doing this, which is also documented in the buildlink3 documentation.
2006-07-17Improved the wording of a warning a little bit.rillig1-2/+2
2006-07-17Added warnings for the case when the buildlink3.mk files in the packagerillig1-2/+51
Makefile and the buildlink3.mk file differ, as this is most likely a bug that has been introduced somewhere in the past when updating a package. Suggested by Thomas Klausner.
2006-07-17Renamed makevar to pkgctx_vardef and varuse to pkgctx_varuse to make theirrillig1-41/+41
intention cleaner.
2006-07-16Extended the check for absolute pathnames from Makefile-patches only torillig1-39/+165
all kinds of patches, especially source code.
2006-07-16Added REPLACE_AWK, REPLACE_BASH, REPLACE_SH.rillig1-3/+6
2006-07-15Fixed the regular expression again. Now the stack limits are 1024 kB forrillig1-2/+4
wip/gforge and 256 kB for databases/pgadmin3.
2006-07-15Updated pkglint to 4.67.rillig1-2/+2
Changes since 4.66: - Fixed the stack overflow in Perl in long variable assignment lines. - Improved the SUBST check. - For all files in bin/ and sbin/, pkglint now complains if the package does not have a manual page, too. (Only with -Wextra) - Lists of pathnames may be used in .for loops, since they are _assumed_ to not contain any additional white-space. - Some more small improvements.
2006-07-15Fixed the very stack-consuming regular expression regex_varassign sorillig1-3/+4
that it only needs 256 kB of stack memory instead of more than 2 MB. See also http://rt.perl.org/rt3/Public/Bug/Display.html?id=39774
2006-07-14Add but don't enable bootstrap-mk-files. We don't enable because this isjlam1-1/+2
a key bootstrap package.
2006-07-14Import pkgtools/bootstrap-mk-files, which is the collection of bmake *.mkjlam46-0/+8774
files from the bootstrap kit. This package is used during bootstrap to properly register the installed *.mk files. The bootstrap bmake(1) utility uses some customised .mk files in order to pre-define certain definitions and targets, which guide the build process. This package provides those *.mk files for the bmake(1) utility.
2006-07-14Update pkgmanpages to the latest version of packages.7 from HEAD src.jlam2-10/+754
Include the file in-line in pkgsrc instead of fetching it. This will be used by the bootstrap to register the packages.7 manpage.
2006-07-14Create a separate pkgtools/tnftp package that is installed as part ofjlam2-1/+31
the bootstrap process and which may be needed by pkg_install. This is distinct from the net/tnftp package that is now a "normal" package. Modify the bootstrap script to use pkgtools/tnftp instead, and clean up some of the registration code.
2006-07-14For the pkgtools versions of mtree and pax, always use libnbcompatjlam3-9/+5
"in-place", and for the normal versions of mtree and pax, always use libnbcompat as a normal build dependency.
2006-07-14Create a separate sysutils/mtree package that is a "normal" package,jlam3-25/+41
distinct from the pkgtools/mtree package which is installed as part of the bootstrap process and which may be needed by pkg_install.
2006-07-14Set the CATEGORIES separately for the archivers and pkgtools versionsjlam1-1/+3
of pax.
2006-07-14Create a separate "pax" package in the pkgtools category that installsjlam2-1/+24
into ${PKG_TOOLS_BIN}. This package is used in the case where pax is a requirement for the pkg_install tools. The archivers/pax package is now a normal package with no special PKG_PRESERVE flags set.
2006-07-14Register and package pkgtools/mtree and populate the PLIST. Alsojlam2-13/+17
copy the manpage handling from pkg_install/Makefile.
2006-07-14Set NO_MTREE since this package will be used during bootstrap and wejlam1-1/+2
don't need to generate the whole directory hierarchy for it.
2006-07-14Another tool modifier, :bootstrap, has been added.rillig1-2/+2
2006-07-13Add BOOTSTRAP_DEPENDS, which has the exact same semantics asjlam1-1/+2
BUILD_DEPENDS.
2006-07-12Added "umask" to the list of known shell commands.rillig1-2/+2
2006-07-12Added UNPRIVILEGED_USER and UNPRIVILEGED_GROUP. Fixed MAKEFILE.rillig1-2/+4
2006-07-123.13: add BUILDLINK_ORDER lines.wiz2-4/+5