rillig
58e89bfad3
Properly check the return value of load_lines("PLIST.common").
2007-11-14 16:03:07 +00:00
rillig
800c101860
Some shells, for example /bin/ksh on Solaris, don't like "else fi"
...
without any commands in between.
2007-11-14 12:38:18 +00:00
rillig
485e264ceb
Provide more useful details in the error message for conflicting packages:
...
- The package that cannot be installed
- The pattern of the conflict
- The name of the installed (conflicting) package.
2007-11-13 19:53:11 +00:00
rillig
32b2e77b19
There are several error messages with the same words. To make finding
...
the cause easier, add more information to one of them.
2007-11-13 19:30:26 +00:00
martti
9afb20a137
Added commented-out LICENSE=something.
2007-11-11 11:35:48 +00:00
joerg
b97a055750
Don't use the build time version to find packages, we want to pick up
...
the newest version. Bump version to 20071109.
2007-11-08 23:24:56 +00:00
joerg
e725e20c42
Bump version or revision of all packages that have a runtime dependency
...
on gzip.
2007-11-08 19:39:42 +00:00
joerg
2021db9549
Supports DESTDIR.
2007-11-08 19:00:56 +00:00
rillig
c2c24d424f
Mention that RUN does more error checking than _PKG_SILENT + _PKG_DEBUG.
2007-11-07 17:25:33 +00:00
rillig
c3d161ff5d
In variable assignments in the shell you can sometimes leave out the
...
double quotes.
2007-11-07 17:01:24 +00:00
rillig
299c46b883
Filemasks and Pathmasks may very well contain special characters, so the
...
:Q operator should not be removed from them.
2007-11-07 16:47:27 +00:00
rillig
23d42df84f
In shell commands, handle backticks inside double quotes. By the way,
...
double quotes inside backticks inside double quotes are error prone.
2007-11-07 16:42:56 +00:00
rillig
e50a5ca891
When checking a single *.mk file, determine the used variables. This
...
avoids many false positive warnings when checking files in the mk/
directory.
2007-11-07 16:19:01 +00:00
rillig
0522f0e913
Fixed the XXX from the last commit. PLIST conditionals are read in when
...
a package is checked and discarded for the directory and filename
checks.
2007-11-07 12:11:18 +00:00
rillig
168edd6650
Directories may be removed in a PLIST if there is a corresponding @exec
...
${MKDIR}.
In PLIST.common_end, directories that have been populated in
PLIST.common may also be removed.
XXX: The PLIST_SUBST macros that may expand to "@comment " are currently
not distinguished from pathname macros. This leads to some false
positive warnings.
2007-11-07 11:58:57 +00:00
rillig
0e0e1a73df
Warn about removal of unrelated directories in the PLIST.
2007-11-07 11:09:07 +00:00
rillig
8247838eb8
The "short" names for tools may only be used in the predefined
...
{pre,do,post}-* targets, not in user-defined ones.
2007-11-06 14:22:03 +00:00
joerg
91812f0d5f
Also add -E to usage(). From PR 37265.
2007-11-05 09:39:38 +00:00
rillig
b85607e796
The fifth field in a CVS/Entries file is the keyword mode. It doesn't
...
have to be always empty.
2007-11-04 12:17:10 +00:00
minskim
829766824a
Teach bootstrap-mk-files about groff-1.19.2 on Darwin.
2007-11-04 08:08:52 +00:00
rillig
a99d7b98d6
Reverted the deprecation of USE_NCURSES.
...
XXX: To discuss: How is this variable different from PREFER_PKGSRC=ncurses?
Why do we need it at all? Why isn't it documented anywhere?
2007-11-03 14:49:43 +00:00
joerg
6a334feaf4
pkg_install does the right things with the files, so CHECK_PERMS is not
...
useful and creates cyclic dependencies if pkg_install is outdated.
From Peter Bex.
2007-11-03 14:49:00 +00:00
joerg
e7633a92f1
Tag pkg_install as 20071103.
2007-11-03 13:54:14 +00:00
rillig
755071e255
USE_NCURSES is deprecated. It has no effects anymore.
2007-11-03 11:48:53 +00:00
joerg
e47f81c12a
Remove obsolete option r from usage() and man page. I can't even
...
remember what is was for. From Yakovetsky Vlad in PR 37265.
2007-11-02 16:03:37 +00:00
rillig
5ea2c37615
Added quotes around the filenames, as suggested by joerg@.
...
While here, removed an unnecessary variable.
2007-11-01 23:08:29 +00:00
rillig
23369be14a
When rename(2) fails, it is useful to know some details about the
...
filenames that have been involved.
Do not use assert() for error checking.
2007-11-01 21:57:37 +00:00
rillig
3334e27105
"Safe" variables should not have the :Q operator, since it only makes
...
the code harder to read and does not have any effect anyway.
2007-10-31 19:24:52 +00:00
rillig
c31aa0c714
Do not print warnings about missing PLIST definitions for Perl modules
...
and other packages that set GENERATE_PLIST.
2007-10-31 12:24:48 +00:00
rillig
48bf740968
Added a function for checking bmake conditionals.
2007-10-31 12:20:07 +00:00
rillig
65662084d9
Second try to deprecate LICENCE. ACCEPTABLE_LICENCES continues to exist,
...
since the reasons for keeping two variables for one purpose seem to be
greater than the ones for simplicity. Don't ask _me_ why.
2007-10-31 12:15:09 +00:00
seb
2acd20e5db
Update to version 1.30.
...
Approved by MAINTAINER, jmmv@.
Add option -N: with the expection of pkgtools/libkver (see manual
page about NETBSD_RELEASE) avoid installation of default packages as well as
INSTALL_PACKAGES and BUILD_PACKAGES during the creation of the chroot.
Note: This is useful for running pbulk in a sandbox created by
pkg_comp as binary packages , possibly very low in the build
dependencies tree like pkgtools/digest, won't be built by pkg_comp
while creating the sandbox hence pbulk won't have to rebuild nearly
all packages otherwise already up-to-date.
The maintainer notes that this seems like abusing pkg_comp to just
create sandboxes. And well... yes indeed!
2007-10-27 17:11:24 +00:00
grant
7f3230db8c
bump PKGREVISION for archivers/pax fix (largefile support).
2007-10-27 11:19:34 +00:00
jlam
ae9b935fd0
* If PLIST_SRC is explicitly set to an empty value in a package Makefile,
...
then automatically generate a PLIST that says "${PKGNAME} has no files".
* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
and no PLIST files exist, then fail during the package build with
PKG_FAIL_REASON.
* Remove "intentionally empty" PLISTs again.
Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:
PLIST_SRC= # empty
2007-10-25 22:00:39 +00:00
jlam
38c496d6c0
Re-add "intentionally empty" PLISTs for meta-packages and other packages
...
that directly manipulate empty PLISTs.
Modify plist/plist.mk so that if the PLIST files are missing and no
GENERATE_PLIST is defined, then the package fails to build.
2007-10-25 17:49:45 +00:00
jlam
56ba4d2690
Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
...
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
rillig
488acb7bba
Reverted the deprecation of LICENCE and ACCEPTABLE_LICENCES, since there
...
is no consensus among the pkgsrc developers about them. Some want to
keep them (proper British spelling), others want to eliminate them
(redundancy).
2007-10-25 16:12:04 +00:00
rillig
0fd5c8dfaf
It's not very useful to have empty PLIST files, so warn about it. This
...
may happen when a package has been newly created and the print-PLIST
target has not yet been run.
2007-10-25 16:08:48 +00:00
joerg
a82568cd03
Make language lawyers happy and rename report_recipient to plural.
2007-10-17 20:42:30 +00:00
rillig
e304c3352a
LICENCE and ACCEPTABLE_LICENCES (British English) are deprecated.
2007-10-17 10:50:59 +00:00
rillig
f44cba8d1a
I just removed the $bulklog directory once again, due to running
...
bin/bulkbuild when instead I wanted to resume the bulk build. To prevent
this frustration, added a warning and a five second waiting period.
2007-10-15 07:26:34 +00:00
rillig
9d0009f173
Fixed the problem with package name matching that Klaus Heinz discovered
...
in http://mail-index.netbsd.org/tech-pkg/2007/10/14/0004.html
The pattern "pkg_install" matched "pkg-install-20070828", but "pkg*all"
didn't. Now it does.
2007-10-14 23:24:24 +00:00
rillig
095814e759
Updated the URLs for ftp.NetBSD.org, so that they will work after the
...
upcoming clean-up.
2007-10-13 19:38:27 +00:00
rillig
f07791f522
Whew. pkglint didn't know FAIL_MSG at all.
2007-10-13 08:57:09 +00:00
rillig
4de0af6841
FAIL_MSG may be a hidden command.
2007-10-13 08:55:48 +00:00
rillig
d37d9f955a
As pointed out in PR 37113, it is dangerous to set MAINTAINER
...
unconditionally in Makefile.common, so warn about it.
2007-10-12 20:16:01 +00:00
rillig
db967c35eb
X11_TYPE=xorg is no longer supported.
2007-10-12 07:04:15 +00:00
rillig
4d0642f1f2
When installing the bootstrap kit from a directory, correctly handle the
...
case when ${prefix} already exists.
2007-10-10 09:04:21 +00:00
martti
bd986edbc7
Remove trailing spaces.
2007-10-09 19:19:08 +00:00
kano
abdb54b351
fix obsolete URLs for www.NetBSD.org
...
close PR pkg/37071
reviewd by xtraeme@
2007-10-07 12:59:11 +00:00