Age | Commit message (Collapse) | Author | Files | Lines |
|
and CHANGES.
|
|
For each file listed in INFO_FILES the installed files matching
${PREFIX}/${INFO_DIR}/filename(-[0-9]+)? are registered as belonging
to the package.
Also ignore the same files in print-PLIST target.
Info files should not be listed in PLIST files anymore but the awk code
snippet (_PLIST_AWK_INFO) in charge of actually dealing with info files for
the plist target will strip any it finds in them.
Now for the reason behind this...
Older makeinfo command (before pre-release version 4.5.90 or before release
version 4.6) had SPLIT_SIZE_THRESHOLD: when an info file size was
>= SPLIT_SIZE_THRESHOLD then the info file was split in chunks of
DEFAULT_SPLIT_SIZE size.
DEFAULT_SPLIT_SIZE in older versions of makeinfo was 50000 (bytes)
and SPLIT_SIZE_THRESHOLD was 70000.
So if an info file has a size < 70000 and is processed by makeinfo < 4.6
it is not split in chunks. But if it is processed by makeinfo >= 4.6
texinfo.mk to emulate older version automatically adds `--split-size=50000'
to makeinfo's command line and this time the info file is split in chunks...
This can lead to PLIST inconsistency from platform to platform or more
exactly from version to version of makeinfo.
Now we don't have to care about this problem and the info files removal
from PLIST files can happen.
|
|
There are problems with the hosting and the machine will be offline for
unknown time period..
|
|
ok'd by grant.
|
|
|
|
|
|
when (de)compressing manual pages. This fixes problems caused by the
output format of NetBSD-current's and shouldn't hurt any other platform.
|
|
|
|
unintentionally.
Also revert revision 1.6 as part of the overall change, as I suspect
the change might be unnecessary. While I'm not 100% sure, this does
just revert to the previous behaviour.
|
|
accordingly.
|
|
|
|
|
|
|
|
convert it to uppercase to make checks in packages like "bind9" work.
|
|
before subst'ing it.
previously, only a warning would be printed and the .subst_done
cookie(s) would be created, indicating that the subst target was
successful when it really was not.
|
|
output of file(1) which reports too many false negatives (not
detecting a file as a text file when it really is).
package developers are aware of which files the subst operation
applies to, since they need to specify the filenames, so this test is
not really required.
it's also not inconceivable that one would want to subst over a
non-text file, which is now possible.
|
|
- reduce the number of components with pervasive awk usage.
- handle Info directory file when it is not `info/dir'.
Notice that print-PLIST substitutions are now made globally (awk's gsub())
when previously the sed substitution commands did not have the 'g'lobal
flag.
While here fix PKGVERSION substitution just like PLIST_SUBST's PKGVERSION
element is handled in ${PLIST} target i.e. without considering
the 'nb${PKGREVISION}' suffix.
While here give COMMON_DIRS variable a more "internal type" name:
_PRINT_PLIST_COMMON_DIRS.
|
|
- properly quote any filenames in ${PLIST} before feeding them
to xargs. This allows latest textproc/docbook-xsl package
to be registered with its correct size because it contains a file with
a single quote in its name.
XXX pkg_add does not like this filename anyway.
- fix the awk script that parse ${PLIST} so pathname containing space
(hence awk's NF > 1) are not removed from size calculation.
Many thanks to atatat@ to remind me the proper way to quote a shell
word.
|
|
This should (really, this time) close pkg/23682.
|
|
supporting code.
While here comment the message target a bit.
|
|
have the packages any more.
|
|
|
|
|
|
|
|
|
|
environment into sub-makes for pre-requisite packages, rather than
using ${MAKEFLAGS} and the command line.
|
|
|
|
{MAKE,OWN}_DIRS (i.e., the .pkgsrc file exists in them).
|
|
|
|
This way font directories are not automatically removed; the package must
define OWN_DIRS if it wants them to be deleted during deinstallation.
This is done to avoid removal of standard font directories (those that
appear in *.dist files).
|
|
|
|
|
|
|
|
in every package which uses it.
|
|
From Dave B <netbsd-current (at) dberg (dot) net> to www@
While there, s/netbsd.org/NetBSD.org/g.
|
|
|
|
echo "message" | ${MAIL} -s"subject" add@ress.example
|
|
different patch programs). Ok by agc
|
|
|
|
|
|
|
|
target.
|
|
`\' needs to be quoted in a string.
Also remove some unnecessary `\' in awk strings.
|
|
|
|
default to it until all packages have been fixed.
|
|
|
|
|
|
(1.4.20010614nb18 has support for bsdi* instead of just bsdi4*.)
|
|
LOWER_OPSYS to that.
|
|
unreachable for weeks. replace with public.planetmirror.com.au.
|