Commit graph

2421 commits

Author SHA1 Message Date
rillig
bcac3b22f7 - Allow the lines in makevars.map to be folded like in Makefiles.
- Removed some legacy definitions for ACL subjects.
2006-05-11 09:16:53 +00:00
rillig
752797eed3 Some ideas about the contexts in which variables may be used. 2006-05-11 09:05:33 +00:00
rillig
2c922e44cc - ACL subjects may contain * as a placeholder. 2006-05-10 17:14:08 +00:00
rillig
4c76990d32 The := or != operators can be used for unconditional assignment, too. 2006-05-10 17:01:44 +00:00
rillig
c9d4049caf clean up after doing a quick-install. 2006-05-10 15:42:03 +00:00
rillig
e5bfdfbb0a - Improved ACL definitions in makevars.map.
- Added checks for deprecated and nonexistent licenses. (suggested by gdt)
- Added detection for /foo/s/bar/baz/ sed command that appears without a
  leading "-e" in a SedCommands variable. (suggested by wiz)
2006-05-10 15:31:41 +00:00
rillig
1ecffb1d73 ACL entries are separated by a comma and optional white-space, since that
looks nicer.
2006-05-10 13:52:49 +00:00
rillig
8f57ebdf56 - Removed the types Readonly and Userdefined.
- Aligned the ACL permission letters with the documentation. The old "c"
  letter has been removed because from the definition's point of view,
  there is no difference between the "=" and the ":=" operator. All the
  differences lie on the right hand side, which will be covered later.
- Updated the variables in makevars.map with mk/defaults/mk.conf, 1.118.
2006-05-10 11:34:52 +00:00
rillig
e4b8bd8ff5 Rewrote the section on ACLs. Now I must adjust the implementation to
this specification.
2006-05-10 10:06:03 +00:00
rillig
c0f3775f92 * In the vartypes.map, distinguish FOO and FOO.*. 2006-05-10 09:01:15 +00:00
rillig
3bb1ece210 - Added the class PkgLint::Type.
- Added the -Wacl command line option, which is disabled by default.
- Extended the type definitions in makevars.map by ACLs, which specify
  in which files the variables may be defined.
- Trailing white-space in DESCR files can be fixed automatically.
- Use of the $$ shell variable is not flagged as "strange" anymore.
- Added ACL-based checks for variable definitions.
- PKGREVISION should not be set to 0.
- Improved the diagnostics text for RESTRICTED.
- Added the types Unchecked and Version.
- Dashes are allowed in library names in wrapper reordering commands.
- More than one DISTFILES definition is allowed in the variable ordering
  check.
2006-05-10 08:17:25 +00:00
jlam
65b866d2f4 Make pkg_install build on platforms that don't define the PRIu64 integer
format modifier.  We include "defs.h" in the files that use PRIu64 as
that is the header that contains stand-in definition.
2006-05-10 04:25:30 +00:00
rillig
92d6f0ad3e Took maintainership. 2006-05-09 02:42:43 +00:00
reed
c47f2f75d0 PKGMANDIR instead of "man". 2006-05-06 03:38:06 +00:00
reed
a6ed61ce3b This doesn't use c, c++, fortran, java, or objc. 2006-05-06 03:37:10 +00:00
dillo
2ad82a153c Bump version to 1.72:
Make it use pkg_summary(5) (with a fallback to the old pkg_chk-summary).
Retire capability to create pkg_chk-summary.
2006-05-04 22:08:05 +00:00
rillig
edba88d675 In Makefiles, the level of indentation of directives should not be
affected by multiple-inclusion guards.
2006-05-02 10:12:10 +00:00
rillig
ae1b142935 Non-optimal white-space is not worth a warning. A note is enough. 2006-05-02 07:12:19 +00:00
rillig
9854211ccd It is an error if a RESTRICTED package does not have a LICENSE. 2006-05-01 22:01:21 +00:00
rillig
1b6d4ec0f2 The only valid value for NO_{SRC,BIN}_ON_{CDROM,FTP} is ${RESTRICTED},
as documented in the pkgsrc guide.
2006-05-01 20:19:04 +00:00
rillig
0d6b6cd6d9 Don't warn about unknown lines in paragrpah five of buildlink3.mk files
by default. Just skip them and only issue diagnostics when in --debug
mode.
2006-05-01 18:08:00 +00:00
rillig
f7786d5700 - Added specific checks for buildlink3.mk files.
- Found a bug in the SimpleMatch and StringMatch classes, which had worked
  up to now, although I knew that the code was wrong.
2006-05-01 13:47:54 +00:00
wiz
0e496329b5 1.71: Fix typo in message. PR 33401 by MASUDA Hideo. 2006-05-01 09:34:33 +00:00
rillig
4a59ee2b78 - Added the shell command that is hidden to the diagnostics, so they
look more precise.
- Added checks for proper indentation of make(1) directives.
2006-05-01 00:15:04 +00:00
rillig
b5f475eed2 Marked all variables from mk/defaults/mk.conf as Readonly. 2006-05-01 00:13:47 +00:00
rillig
9edb975e6d List! has been replaced by InternalList. 2006-04-30 21:43:42 +00:00
rillig
dc39fd32e2 Added a warning that shell commands should not be hidden unconditionally
(by starting with the @ character).
2006-04-30 21:31:32 +00:00
rillig
60583f9991 Distinguish the variables pkgname and effective_pkgname. The latter can
also be derived from distname. Added more checks for PLIST files.
2006-04-29 10:12:36 +00:00
jlam
02acc7170a Honor PKGMANDIR. 2006-04-28 06:51:14 +00:00
dillo
ffd2c03b44 Sync with src: HOMEPAGE is optinal, noted by wiz.
Regen catman page.
2006-04-25 13:33:18 +00:00
wiz
cc17cf1e8e Sync with usr.sbin/pkg_install/lib/pkg_summary.5 v1.2: Sort. 2006-04-24 22:05:13 +00:00
dillo
10da79a1a1 Sync with src, version 20060424:
Add support for creating summary file containing all information
	about a package repository needed by package managing software.
	This allows better use of remote binary package repositories.

	Discussed on tech-pkg.
2006-04-24 13:52:04 +00:00
abs
af81038321 Update pkg_chk to 1.70 - list -q in usage, noted by Rui Paulo 2006-04-23 19:50:46 +00:00
wiz
757bf3a7f3 Assume existence of string.h too; needed for Irix 5,
reported by schwarz@.
2006-04-23 16:18:24 +00:00
rillig
f6f2976090 Removed the word "possible" from the diagnostics, as the number of false
positives is near epsilon.
2006-04-23 09:48:53 +00:00
rillig
3c80b2e1e5 Determining the tool names automatically does not work without cheating,
as not all necessary files are included by bsd.tools.mk. Instead,
defaults.mk is included by bsd.prefs.mk.
2006-04-23 08:59:55 +00:00
rillig
6ad02eac06 The list of files that define the TOOLS is extracted from bsd.tools.mk
instead of specifying it explicitly.
2006-04-22 11:22:40 +00:00
rillig
9fc2d7d281 Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-22 09:22:05 +00:00
rillig
fff7c773b6 Updated pkglint to 4.60.
Changes since 4.59:
- For many variables the :Q operator is not needed (by definition), for
  example some pathnames, user names, group names.
- Improved the diagnostics for planned package updates.
- Various catch-ups to recent changes in the infrastructure, among them
  BUILDLINK_ABI_DEPENDS and gettext.mk.
- When the PLIST contains a libtool archive, the *.a and *.so files don't
  have to be mentioned explicitly.
2006-04-21 10:37:51 +00:00
rillig
0b63ee04f7 - Added checks for wrapper transformation and reordering rules.
- Added checks for redundant library files in PLISTs.
2006-04-21 09:42:01 +00:00
reed
b3c1423e9c Add xfree.randrproto and xfree.renderproto files.
It doesn't like this would ever be needed currently.
The native XFree86 shipped with NetBSD has versions of
randr and render headers that are too old so pkgsrc will
force use of pkgsrc versions instead. (And anyways, the default
PREFER_PKGSRC choosed pkgsrc versions too.)

Also, these files are used for native X.org.

I will just ride on same version from a little earlier.
2006-04-19 17:03:28 +00:00
reed
3667118593 Add xorg.compositeproto, xorg.xextproto and xorg.fixesproto files.
Bump version to 0.30.
2006-04-19 15:56:38 +00:00
joerg
7633711ecd Possible warnings if the PLIST contains libtool archives, but the
package doesn't say it uses libtool. Warn for redundant libraries,
when the libtool archive is also included in the PLIST.
2006-04-19 15:05:34 +00:00
reed
540342c31e Add another libXaw and libXt entry.
This is from Bernd Ernesti (also on pkgsrc-users list)
for upcoming Xfree*^ 4.6.0 release.

Package version was just update a couple minutes ago, so
ride on that version.
2006-04-19 12:33:28 +00:00
reed
4b4390245a Update to change package names that have been changed.
(And add include of xproto buildlink3.mk for x.org.)
Increase package version to 0.29.
2006-04-19 12:30:25 +00:00
hubertf
8f17059838 Sync with NetBSD's src/usr.sbin/pkg_install Version 20060418,
mostly for the timeout fix in ftpio.c.
2006-04-18 20:41:44 +00:00
rillig
20898fe52d Files called "manual-*" in the patches directory are not checked at all. 2006-04-18 00:35:18 +00:00
rillig
0f20f9fa28 In PLIST files, "share/locale" isn't deprecated anymore. 2006-04-18 00:01:48 +00:00
wiz
9a48b00282 Correct man page: PKGREVISION bumps need to be completed
before buildlink3.mk files can be updated. Update to 1.7.
2006-04-17 13:40:17 +00:00
rillig
fbf3c9f5f0 Added gettext.mk to the list of files that define the tool names. 2006-04-14 12:27:00 +00:00