summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2005-11-17Properly quoted variables.rillig1-21/+17
2005-11-17To support variants of make that run the shell so 'set -e' is true (shellerh1-3/+3
exits on any command failing), add a '|| ${TRUE}' when running the check-vulnerable target in do-fetch.
2005-11-17Back out the previous change. The output _will_ be visible to the user.erh1-4/+4
See the "*)" case in the do-fetch target.
2005-11-17The message that audit-packages is out-of-date is printed on stderr insteadrillig1-4/+4
of stdout because the latter would not show up to the user.
2005-11-17Only show the message about fiddling with mk.conf if the output oferh1-3/+5
check-vulnerable actually contains some vulnerability ids.
2005-11-17Minimum audit-packages version is _1_.40, not 0.40erh1-3/+3
2005-11-17Clarified the wording of the comment regarding the use of ".if" and ".for"rillig1-3/+4
in MAKECONF.
2005-11-17Don't set SKIP_AUDIT_PACKAGES unconditionally to "no". Because this filerillig1-2/+2
is included _after_ mk.conf, it could not be overridden in that file.
2005-11-16Changes for separation of BULKFILESDIR and PKGSRCDIR.rillig1-26/+53
- Added a bunch of internal variables that determine the correct places for the build log files of the current package. - Added section headings. - Moved a sanity check out of the configuration section to not confuse the reader. - mk/bulk/print{depends,index} are called with two arguments, which allows separation of BULKFILESDIR and PKGSRCDIR. - Replaced uses of BUILDLOG, BROKENFILE and BROKENWRKLOG with their internal counterparts, which use ${BULKFILESDIR} instead of ${PKGSRCDIR}.
2005-11-16Changes for enabling separate BULKFILESDIR and PKGSRCDIR.rillig1-6/+13
- The main .make file is stored in ${BULKFILESDIR} instead of ${PKGSRCDIR}. - The PKGLIST variable from the configuration file is passed to the bulk-cache command in the environment. There are very few variables left that have to be exported via export_config_vars(). Maybe that function can be avoided alltogether.
2005-11-16Made printdepends very similar to printindex, as both iterate over allrillig1-53/+114
pkgsrc packages, collecting different information. - BMAKE is taken from the environment instead of querying `uname -s`. - package-specific log files can be saved in a directory tree different from PKGSRCDIR. - Added sanity checks for BMAKE, bulkfilesdir and brokenfile. - The .pkglist cache is saved in ${BULKFILESDIR} instead of ${PKGSRCDIR}. - Reformatted the diagnostics.
2005-11-16As I'm not sure for what things ${BULKFILESDIR}/${BROKENFILE} is used,rillig1-2/+2
error messages from failed "cd" commands simply go to stderr.
2005-11-16Another rewrite:rillig1-21/+65
- Changed the implementation how package-specific log files are generated. No user-visible changes. - Stricter preconditions: - bulkfilesdir must be an absolute path. - brokenfile must not contain slashes. - The .pkglist file is taken from BULKFILESDIR, not from PKGSRCDIR. - Error messages use the prefix "[printindex]" instead of "===>", as the latter is already reserved for pkgsrc. Everything else would be confusing. - If a "cd" into a package directory fails, an error message is written to ${BULKFILESDIR}/${BROKENFILE}.
2005-11-16Missed a couple of underscores. Add them.erh1-3/+3
2005-11-16Improve the handling of allowed vulnerabilities. Instead of the singleerh3-24/+46
ALLOW_VULNERABLE_PACKAGES settings that applies to all packages, there can now be per-package lists of allowed vulnerability ids: ALLOW_VULNERABILITIES.<pkgname>=<space separated list of vulnids> To avoid duplication of code, audit-packages is now used to do these checks. It can be skipped altogether by setting: SKIP_AUDIT_PACKAGES=yes
2005-11-16- Improved the "man page" comment a little.rillig1-17/+14
- Renamed the second parameter from "brokenbasedir" to "bulkfilesdir". The latter name is already used in bsd.bulk-pkg.mk for the same purpose. - Renamed "cwd" to "pkgsrcdir" for the same reason.
2005-11-16Interix cannot use the generic mksandbox procedure. Exit with error.tv1-1/+6
(A future Interix-specific mksandbox procedure is in work.)
2005-11-16Add lo and ss locale directories, used by the upcoming audio/amarokseb13-13/+117
update.
2005-11-15Rewrote the _PATH_CMD command, which could not handle a PATH environmentrillig1-5/+8
variable before if it had multiple adjacent white-space characters in it. Removed the dependency on awk(1), as a simple shell script can do this job, too. Another change is that all kinds of weird pathnames can be used for PREPEND_PATH, like /bin, "/bin/Program Files", "/ ", /foo\ bar, and so on. This had not been possible before, too. Related to PR 32079. Ok'ed by jlam.
2005-11-15make install doesn't work when updating pkg_install. Recommend make updategavan1-2/+2
instead.
2005-11-15Correct the file name in comments.minskim1-2/+2
2005-11-15Allow white-space in the PATH environment variable. Fixes PR 32079. Therillig1-3/+3
shell quoting still isn't completely correct for some other variables. This needs to be fixed, too.
2005-11-15Define the user-settable variable TEX_DEFAULT in defaults/mk.conftonio2-5/+9
The default value is still teTeX2
2005-11-14Fixed singleton variable which had been left over by one of the lastrillig1-2/+2
changes.
2005-11-14Removed the code for printing progress information again, as printindexrillig1-17/+1
is mostly used in batch mode. Impatient users should count the number of lines in the output file if they can't wait.
2005-11-14Removed trailing white-space.rillig2-5/+5
2005-11-14Removed trailing white-space.rillig2-11/+10
2005-11-14Removed trailing white-space from a comment.rillig1-2/+2
2005-11-14Add PRINT_PLIST_AWK patterns for bibtex directories.minskim1-2/+2
2005-11-13Add descriptions for new options.mk in ircd-hybridadrianp1-1/+4
2005-11-13Renamed spamassassin options to follow the naming conventions.heinz1-5/+6
2005-11-13Update a lot of the IRCD_HYBRID_* options as we are now on 7.1 in pkgsrcadrianp1-109/+25
2005-11-13Reverted the change that moved the definition of MANINSTALL from mk.conf torillig2-7/+7
bsd.prefs.mk. Alistair has told me that Stoned had told him that MANINSTALL actually belongs to mk.conf.
2005-11-12Fix a typo that in some cases prevented a BROKENFILE from beingkristerw1-2/+2
created.
2005-11-12Please, really only export MAKECONF if it is set.seb1-2/+5
2005-11-11Remove some master sites that are not serving/resolvable.wiz1-10/+1
From Zafer Aydogan in private mail.
2005-11-11Replace French CPAN mirror with a working one, add Finnishwiz1-3/+4
CPAN mirror, fix protocol for cpan.perl.org. From Zafer Aydogan in private mail.
2005-11-11Rename LATEX_ACCEPTED and LATEX_DEFAULT to TEX_ACCEPTED and TEX_DEFAULTtonio1-32/+32
It is more consistent with the tex.buildlink3.mk name. Also, if a package really needs latex, it just has to set TEX_ACCEPTED to latex distributions altough today, all TEX_ACCEPTED possibilities are latex distributions
2005-11-11Remove some redundant printing of messages when we are cleaningkristerw1-6/+2
before/after building the package.
2005-11-11Change default PostgreSQL version to 8.0.joerg1-2/+2
2005-11-11- A warning is printed if there is no PKGNAME matching for a PKGPATH in therillig1-10/+14
.index file. - Condensed the code for printing to another package's .broken file in case of failure. (Added a variable pkg_brokenfile.)
2005-11-11Indentation fix.rillig1-3/+3
2005-11-11Removed the "BULK>" prefix from a message, as that prefix is reserved forrillig1-2/+2
bsd.bulk-pkg.mk.
2005-11-11Added two variables BULK_MSG and BULK_MSG_CONT that are used for printingrillig1-45/+54
messages. Replaced all instances of ${ECHO_MSG} "BULK> " with ${BULK_MSG}.
2005-11-11Properly handle package directories containing shell special charactersrillig1-2/+11
like [], ?, *. They _really_ should not exist, but you never know. While here, added a rationale for the not-so-obvious :detect_duplicates: delimiter.
2005-11-11PKGBASE is defined too late to be used in PKG_OPTIONS_VAR, so it cannotrillig1-2/+4
be used here.
2005-11-10Add PRINT_PLIST_AWK patterns to replace PKG_LOCALTEXMFPREFIX and skipminskim1-1/+7
shared directories.
2005-11-10Added a description of the purpose of this file to the header comment,rillig1-2/+6
based on what this file had been intended for in revision 1.1. Also added a note about the .include order.
2005-11-10Moved default definition of MANINSTALL from defaults/mk.conf torillig2-7/+7
bsd.prefs.mk, as it is not intended to be set in mk.conf.
2005-11-10Moved the PKG_INSTALLATION_TYPES variable from defaults/mk.conf torillig2-12/+12
bsd.prefs.mk as it is not intended to be set in mk.conf.