Commit graph

1827 commits

Author SHA1 Message Date
agc
f889f01b22 Update digest to version 20050731:
Pull in a patch from Vsevolod Stakhov via FreeBSD:

	Because that the 55-bytes input-message becomes just 64 bytes
	block after `the message terminator code(0x80)' and
	`size-field(8-bytes field)' are added.  Perhaps, I think the
	block of a lot of one be made at this time.

Fixes PR 30857
2005-07-31 22:45:24 +00:00
rillig
23eea97776 Inserted empty lines before elsif to make the code more readable. 2005-07-30 23:39:33 +00:00
rillig
8091e8ca7d The global variables are only needed when checking a package, not a
package category.
2005-07-30 23:35:24 +00:00
wiz
56e1c19167 Remove pkgconflict here too. 2005-07-30 21:28:06 +00:00
rillig
8250b297f7 Removed the package as it has not been working since 2001. Ok'ed by
wennmach.
2005-07-30 20:38:30 +00:00
he
829942b695 Allow PATCH_DIST_CAT in the PATCH_SITES section.
Bump version to 4.19.
2005-07-29 16:01:12 +00:00
reed
1014a5d2a8 Add xorg file which has common Xorg file entries.
Forgot in commit a few moments ago.

This was discussed on tech-pkg on July 7.
2005-07-25 20:54:00 +00:00
reed
1a9fbfd351 Added xorg support, based on if ${X11BASE}/lib/X11/config/xorgversion.def
exists. Added new files for the xorg related files.

Version is now x11-links-0.26.
2005-07-25 20:50:25 +00:00
hubertf
fd107baf6b Pull over change from src/usr.sbin/pkg_install:
| Modified Files:
|         src/usr.sbin/pkg_install/add: perform.c
|
| Log Message:
| cleanup: preserve errno. Needed so err() functions ran after running
|          cleanup(0) print the correct error message.
|
|
| To generate a diff of this commit:
| cvs rdiff -r1.109 -r1.110 src/usr.sbin/pkg_install/add/perform.c
2005-07-25 13:13:00 +00:00
hubertf
c762ea0231 Pull over this change from src/usr.sbin/pkg_install (-current):
| Modified Files:
|         src/usr.sbin/pkg_install/add: extract.c
|
| Log Message:
| Fix 'pkg_add -R' handling - not registering really means not touching
| the pkgdb too - useful for pkg_add as non-root!
|
|
| To generate a diff of this commit:
| cvs rdiff -r1.34 -r1.35 src/usr.sbin/pkg_install/add/extract.c
2005-07-25 13:03:59 +00:00
wiz
e730c49186 3.9: Update for pkg-config path change. 2005-07-21 16:25:05 +00:00
wiz
ffd1f9a21f Fix a typo and improve markup. 2005-07-21 09:07:38 +00:00
rillig
41fd3a3447 Updated and rewrote the man page. 2005-07-21 02:47:58 +00:00
rillig
9e5f485a2e Added a new subroutine log_subinfo that has an additional parameter
taking the name of the current subroutine. Removed unnecessary checks
for backup filenames.
2005-07-21 02:01:02 +00:00
rillig
20dd1b05f5 Changed debugging output to reflect the recent split of checkfile_Makefile. 2005-07-21 01:08:05 +00:00
rillig
e22a89a8ab The checkfile_Makefile subroutine is split into load_package_Makefile
and checkfile_package_Makefile. This made another command line option
-CMakefile possible, which allows Makefile checking to be switched off
(it is on by default).
2005-07-21 01:03:34 +00:00
rillig
72b09128cb In the diagnostic messages, multiple adjacent slashes are compressed to
one.
2005-07-21 00:19:11 +00:00
rillig
2020c428e0 Updated to be in sync with mk/replace.mk, revision 1.120. 2005-07-20 23:59:53 +00:00
rillig
5eac6ccafa Don't print "vague" diagnostics by default. A "vague" diagnostic is one
that has been in pkglint before I started hacking it. Mostly, they don't
contain a specific file location where to look for the cause or they are
generated using dubious code. The remaining warnings are only a few, but
they are mostly usable and valid.
2005-07-20 21:09:28 +00:00
rillig
634fbab5eb Don't show warnings for tool names that are enclosed in single quotes.
Replace ${PHPPKGSRCDIR} with ../../lang/php5 when expanding Makefile
variables. Show a warning if Makefile variables contain unresolved
substitutions after expanding them. Fixed a newly introduced bug that
prevented bsd.sites.mk from being found.
2005-07-20 21:04:16 +00:00
rillig
feedddadf3 Added a subroutine expand_variable that replaces certain known ${...}
substrings with reasonable values.
2005-07-20 18:20:27 +00:00
rillig
0e8288f766 Removed global variable for checking type conformity of Makefile variables. 2005-07-20 17:32:15 +00:00
rillig
4cd98ed128 Removed global variable %seen_Makefile_include. 2005-07-20 17:11:56 +00:00
rillig
0461cf930d Removed globally visible variable %predefined_sites. It is now a
"static" variable of the check_predefined_sites subroutine.
2005-07-20 17:08:59 +00:00
rillig
134872c680 Changed the default value of $pkgname from "" to undefined. 2005-07-20 16:56:24 +00:00
rillig
be35fe2dc1 Removed three more global variables. 2005-07-20 16:52:28 +00:00
rillig
696a1c3dc8 Removed global variable $pkgsrc_rootdir. 2005-07-20 16:38:10 +00:00
rillig
ff1cbbd6d6 The package's files are now processed by a large switch inside a loop
instead of many switches, each in its own loop. That way, each file is
only checked once.
2005-07-20 16:28:32 +00:00
hubertf
3d4abdba19 Sync over files from src/usr.sbin/pkg_install to fix PR pkg/30658:
Warn, but don't error out on pkgs that were built with IGNORE_RECOMMENDED.

Bump version to 20050718.
2005-07-18 09:14:04 +00:00
jlam
83147ffa68 Remove some unnecessarily strong dependencies on perl that resulted
from including perl5/buildlink3.mk.  These packages just need the Perl
interpreter, and can just add "perl" to USE_TOOLS instead.
2005-07-16 19:10:37 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
jlam
e26a9ed756 Drop support for TOOLS_DEPMETHOD.<tool>. The new way to specify a
run-time dependency (DEPENDS) on a tool is to append a ":run" modifier
to the tool name, e.g.,

	USE_TOOLS+=	perl:run

Tools without modifiers or with an explicit ":build" modifier will
cause build dependencies (BUILD_DEPENDS) on those tools to be added.
This makes the notation a bit more compact.
2005-07-15 20:14:02 +00:00
jlam
bf9129c41e Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
PKGSRC_USE_TOOLS go away.  There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
2005-07-15 18:27:48 +00:00
rillig
65c501b6e6 Don't use reserved variable names (${_f_} => ${f}). 2005-07-05 01:09:17 +00:00
rillig
79ea6ab3c9 Removed the need for the global variable $opt_packagedir. No user-visible
changes.
2005-07-02 23:13:58 +00:00
rillig
c1037d8c75 Removed very old checks for files/md5, files/patch-sum, COMMENT and pkg/. 2005-07-02 22:31:17 +00:00
rillig
51b3b77959 Added a parameter to the checkfile_* subroutines that specifies the base
directory of the package. The other parameter, the file to check, is
always relative to the current directory.
2005-07-02 22:23:47 +00:00
rillig
e2d2fab6bc TODO: make all pathnames relative to the current directory. 2005-07-02 15:22:52 +00:00
rillig
2b6133ab33 The subroutine check_package gets the package directory as argument.
This is the first step to get rid of the global $opt_packagedir
variable. While doing this, I will hopefully notice all uses of relative
pathnames and repair them, so that pkglint can be called with multiple
arguments soon.
2005-07-02 15:21:13 +00:00
rillig
7d1d2b772c Restricted the warning option -Wsort to only apply to PLIST files and
therefore renamed it to -Wplist-sort. This option is disabled by default
to avoid excessive warnings. Apart from an unfounded suggestion
somewhere in the past, I don't see a reason why PLIST files should be
sorted. Remember: The option is still available, it's just disabled by
default.
2005-07-02 14:46:06 +00:00
rillig
76a7152077 Removed the check for expanded RCS tag completely, assuming no one will
ever need to distinguish between expanded and unexpanded RCS tags while
committing.
2005-07-02 12:02:58 +00:00
rillig
ebdbfd378d Clarified the warning message when an uncommitted file has an expanded
NetBSD RCS tag instead of an unexpanded one. A user had complained about
it.
2005-07-01 21:12:18 +00:00
seb
c7063627c4 This package's installation does not run mtree (NO_MTREE=yes) so use
INSTALLATION_DIRS to set up ${PREFIX}/man/man1.
2005-06-27 23:05:42 +00:00
rillig
607d58548d The subroutines checkfile_MESSAGE, checkfile_PLIST, checkfile_distinfo and
checkfile_patches_patch are called with path names relative to the current
directory, not to the package directory. The other subroutines will follow.
2005-06-27 19:28:08 +00:00
atatat
b1f7ff373a Actually use PKG_DBDIR and PKGSRCDIR values from the build process,
rather than just pretending to.  I know I meant this to work, but
somehow I forgot actually to make it work a long time ago.

Addresses a problem pointed out in private email.
2005-06-26 17:34:19 +00:00
rillig
7b546b206d Don't warn on empty scripts/ directories, which may occur during CVS
updates. Don't write logging messages for Makefiles that are being read
but for Makefiles that are included and for those whose inclusion is
skipped. Skip include files that contain Make variables. When checking
for direct use of shell commands, don't print the line continuation,
that is the trailing white-space and backslash. These changes lead to
pkglint-4.18.
2005-06-24 22:36:59 +00:00
jmmv
1d0097c87f Avoid creating an empty directory that is not used (and which didn't match
the PLIST).  Noticed by minskim@.
2005-06-19 14:42:48 +00:00
jlam
d0915c61c3 Fix inappropriate uses of ${LOCALBASE} or ${X11PREFIX} instead of
${PREFIX}.
2005-06-17 04:49:45 +00:00
jlam
e46a9dd380 Create directories before installing files into them. 2005-06-17 03:50:19 +00:00
jlam
2e07c2fb0d Update pkgtools/xpkgwedge to 1.14. Changes from 1.13 include using
the make required by the imake config files, which is specified by
${IMAKE_MAKE}.  This allows differing make programs to be used for
the main build versus xmkmf.
2005-06-14 20:12:51 +00:00
jlam
8be3e662e0 Update pkgtools/xpkgwedge to 1.13. Changes from version 1.12 include
invoking the make(1) program as "make" instead of hardcoding the
(wrong) path in ${MAKE_PROGRAM}.  This will rely on the tools framework
to have set up "make" to properly call the correct make(1) program.
This should fix cases where pkgxmkmf called the wrong make(1) program
on Linux systems.
2005-06-14 07:23:56 +00:00
rillig
16d5984a59 pkglint complains about empty DESCR files again. Fixes PR 30509. Updated
version number to 4.17.1.
2005-06-14 03:52:01 +00:00
jlam
6725d83ed5 Use += to not override previous USE_TOOLS setting. 2005-06-13 17:19:12 +00:00
jlam
5626c2a62f Update pkgtools/x11-links to 0.25. Changes from verison 0.24 include
synchronizing with the files listed in src/distrib/sets/lists/x* for
XFree86 4.5.0.
2005-06-10 03:44:07 +00:00
dmcmahill
b16a2ef3e0 add autoconf test for missing (like in openbsd-3.6) or broken (like
in AIX-4.3.2) PRIu64.  If it is missing or broken, provide one.  Should
address PR30375.  Welcome to pkg_install-20050607
2005-06-10 01:37:21 +00:00
rillig
25b5a911d7 Check for non-normalized dependency lines like package:../package instead
of package:../../category/package.
2005-06-07 17:53:08 +00:00
jlam
f7bc8ecc4c List shell tools that are needed by the pkg_view and linkfarm scripts. 2005-06-07 16:34:50 +00:00
jmmv
c0fc7c293d Update to 1.21:
- Make the EXTRA_MK variable be a list of files rather a single one.
  From brook at biology.nmsu.edu in PR pkg/30099.
- Directly recognize pkg_* commands to be executed within the sandbox
  (i.e., no need to use the chroot keyword).
  From Robert Elz in PR pkg/29749.
- Fix a typo in the manual page.
2005-06-06 18:50:07 +00:00
jlam
c65b1c3e4b Change the way the PLIST is generated. We now use a separate loop after
the files in the work directory are built to discover the directories
that need to be removed at deinstall time.  This fixes PR pkg/25325 by
Georg Schwarz.
2005-06-06 09:05:25 +00:00
jlam
be22067560 Fix the permissions on the directories installed by the x11-links
package in case the build user's umask is too strict.  This change is
mostly from the patch in PR pkg/29256 by Ian Leroux.
2005-06-06 08:42:53 +00:00
wiz
07a4a586a1 Remove USE_GIF. 2005-06-03 13:54:32 +00:00
wiz
cc0d324a0c Remove USE_IDEA. 2005-06-03 13:26:17 +00:00
wiz
f22fa09090 Remove USE_ESOUND. 2005-06-03 13:20:24 +00:00
wiz
540ce344e5 Include netdb.h for Solaris. From Neil Hoggarth in PR 30399. 2005-06-02 10:31:11 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
wiz
80d0469364 Fix grammar in comment. 2005-06-01 14:54:18 +00:00
abs
9e2946589a update pkg_chk to 1.59:
Fix fallout of 'sh -e' change in 1.58 - make pkg_chk -lb work again
2005-06-01 14:14:47 +00:00
wiz
e14eaa5810 Formatting improvements. Bump date for previous. New sentence, new line. 2005-06-01 11:38:45 +00:00
abs
7715a5d6f2 update pkg_chk to 1.58
- sort -l output so that dependencies always come before packages
  which depend upon them
- completely rework -u so that a list of packages to be update is generated,
  then all mismatched packages are removed, then the list is processed to
  add in packages. If -u is interrupted, a second run will resume the update
- update (-u) works with binary packages
2005-06-01 11:29:45 +00:00
rillig
80e3d86e1a Added PKG_PRESERVE, NO_PKGTOOLS_REQD_CHECK and NO_PKG_REGISTER. 2005-05-31 22:03:02 +00:00
rillig
89368bbb35 When checking the type of variables, the variable name must begin at the
beginning of a line. This fixes false warnings for variables that are
commented out. Added ${JAM_COMMAND} to the commands that may have
"install" or "test" as arguments.
2005-05-31 21:32:45 +00:00
rillig
c338f5dab6 Removed unused subroutine abspathname. Added the things it did to the TODO
list.
2005-05-31 21:15:06 +00:00
rillig
390ee38b79 Removed the -N command line option, which had been deprecated before.
Also removed -Cnewpkg. Instead, the warnings for new packages are only
emitted if the files have not yet been committed to CVS.
2005-05-31 20:44:02 +00:00
wiz
5baac3d7e2 Sync with base 1.53: Comment out too noisy warning. 2005-05-30 19:45:02 +00:00
wiz
810ffe10ac Update to 20050530:
Sync with base system: Ranges support and some other stuff that wasn't
pulled over.
2005-05-30 13:23:31 +00:00
minskim
36e75fce9c Sync with 20050529 in src/.
If a pattern does not have any suffix, assume that it matches both
".tbz" and ".tgz".  This allows to install binary package dependencies
that are not exact matches, but satisfy requirements.
2005-05-29 19:20:53 +00:00
dmcmahill
04a3acbd97 - pull in the changes from usr.sbin which prevent an over flow
of a 32 bit signed number when pkg_add-ing a binary package
  file larger than 512 Mb.

- Bump PKGTOOLS_VERSION (NOT!!! PKGTOOLS_REQD) to 20050527
2005-05-28 02:50:45 +00:00
rillig
95d1b6957c Renamed -Wexpensive to -Wbl3. By default this option is enabled. Added a
subroutine checkfile_buildlink3_mk that performs the basic Makefile
checks on buildlink3.mk, if it exists.
2005-05-26 07:07:00 +00:00
rillig
697bd74e7e Added a command line option -Cexpensive, which enables more expensive
checks. Currently the effects are that buildlink3.mk files are read in.
Moved around code in checklines_direct_tools to allow $regex_tools to be
used in the list of legitimate shell commands. Added a new rule that
legitimates tool names inside double quotes.
2005-05-26 06:50:09 +00:00
rillig
9747906084 Renamed $distinfo to $distinfo_file, to match the pkgsrc variable name.
When calculating the value of $distinfo, PKGDIR gets replaced with $pkgdir.
2005-05-26 06:26:10 +00:00
rillig
5d0fbe27cc Reduced the debugging messages to the ones that provide useful context
or additional information about the further checking process.
2005-05-26 06:17:20 +00:00
rillig
5ed85b2808 Made the regular expression for direct use of tools in shell commands
stricter. Changed capturing groups into non-capturing groups. Added log
messages for legitimate uses of tools in shell commands and variables.
2005-05-26 05:52:34 +00:00
rillig
f41381460b Marked a bunch of warnings as "vague". These warnings are enabled by
default, but can be disabled by using the -Wno-vague command line
option. These warnings will be replaced step-by-step with new-style
warnings.
2005-05-26 00:16:36 +00:00
rillig
99d190a2ee Added the dirname($file) to the search path for include files when
scanning package Makefiles. Changed the output format to include a
newline where necessary. Added the search path to the error message.
This might fix PR 30322.
2005-05-25 17:41:18 +00:00
wiz
c8925d9c73 Sort options, mark up URL. 2005-05-25 16:53:59 +00:00
wiz
31a5af7870 Add: * fatal error if RMD160 missing 2005-05-25 13:12:10 +00:00
reed
4582a2f631 For DragonFly. This is from PR #30262 from Joerg Sonnenberger.
I didn't test under DraginFly myself.
2005-05-25 02:23:15 +00:00
rh
a1db503eb4 Make this compile and install on Darwin 2005-05-25 01:40:05 +00:00
rillig
9637ca8c4c Added EXTRACT_USING, INTERACTIVE_STAGE and MANSOURCEPATH to the list of
variables that accept direct tool names.
2005-05-25 01:07:24 +00:00
rillig
bf484e0863 In checklines_direct_tools, quote shell commands, too. Unquoted shell
commands are too hard to recognize.
2005-05-25 00:53:35 +00:00
rillig
2bbdfbed9b Fixed a regular expression in checklines_direct_tools. Added debugging
output.
2005-05-25 00:00:24 +00:00
rillig
3b9d17fc0b Minor wording fix. 2005-05-24 23:50:07 +00:00
rillig
bc3f2c494f Rewrote the part of detecting direct use of tools in variables and shell
commands. The warnings are precise (file, line, varname, shellcmd) and
can be easily translated into Perl code. They might even be placed in
external files someday.
2005-05-24 23:49:03 +00:00
rillig
f975a8d8d5 When converting USE_PERL5 to USE_TOOLS, the user might want to set
TOOLS_DEPMETHOD.perl=DEPENDS.
2005-05-24 21:29:59 +00:00
rillig
bca3a34da0 Made perl a run-time dependency. 2005-05-24 21:28:21 +00:00
rillig
db31dbdd4b Converted USE_PERL5 into USE_TOOLS. Changed the SUBST stage to
post-configure. Removed DISTVER variable.
2005-05-24 21:24:30 +00:00
rillig
5c413007cc Added USE_PERL5. Added a comment when these definitions may be removed. 2005-05-24 21:19:11 +00:00
rillig
af77e6d3c0 Removed ONLY_FOR_PLATFORM, as I could not see any reason to keep it. If you
really need it, please consider using NOT_FOR_PLATFORM instead.
2005-05-24 20:28:39 +00:00
rillig
f519bf67f7 Replaced the algorithm in check_category with one that is fast, correct and
always terminates. I somehow got the old algorithm into an endless loop.
2005-05-24 20:17:31 +00:00
rillig
dfb3e8627f Renamed category_check to check_category. Using $dir inside
check_directory, as opt_packagedir wasn't named appropriately.
2005-05-24 19:14:19 +00:00
rillig
b4b5823590 Added stricter checking for the RCS Id tags. Now they are always required
to be in the first line of a file, except for MESSAGE files. Rewrote the
warning for RCS Ids in patches (binary => no-keyword).
2005-05-24 18:56:37 +00:00
rillig
e53d0fa6c3 Bugfix release for lintpkgsrc. Now I know why some packages use
${.CURDIR} when including other Makefiles. This is no longer necessary.
Welcome to 4.17.
2005-05-24 15:39:05 +00:00
rillig
22f3d4bdbf Add "." to the list of .include directories when reading package
Makefiles. This fixes PR 30322.
2005-05-24 15:37:17 +00:00
rillig
8a0fc0bbf6 Keep all Makefile lines for processing. Replaced the algorithm for
detecting contiguous empty lines. Better checks for pkg/ directory.
2005-05-24 14:29:52 +00:00
rillig
d1f3a37bf8 Allow multiple USE_TOOLS+= lines. 2005-05-24 12:38:41 +00:00
rillig
4eaf0c5194 Marked USE_GNU_TOOLS as deprecated. 2005-05-24 10:54:20 +00:00
rillig
48ea185224 Write white-space like in SUSv3 and the man pages. 2005-05-23 09:31:20 +00:00
rillig
4cac391a07 Added NO_MTREE. 2005-05-23 09:26:53 +00:00
rillig
7a70bca6f5 lintpkgsrc(1) honors the PKGLINT_FLAGS environment variable, which can be
used together with the -l option.
2005-05-23 08:35:41 +00:00
rillig
762d18bb06 Fixed man page handling on platforms that don't have the mandoc macros.
Together will all the other changes of the last days, this makes up version
4.16. Most changes affected the elimination of false warnings.
2005-05-23 07:50:40 +00:00
rillig
7b3ceac6de When opt_dumpmakefile is activated, only print the contents of the Makefile
once, with line numbers.
2005-05-23 06:52:35 +00:00
rillig
fb5b667885 Only warn about use of $(VARIABLE) if it is not preceded by another $.
This avoids false positives in sed(1) expressions.
2005-05-23 06:47:11 +00:00
rillig
0d0858257f Fixed a bug introduced by the message normalization patch (forgot a !
operator). Don't blame the user for using tool names in PKGSRC_USE_TOOLS
and USE_TOOLS definitions, as this is what they are for.
2005-05-23 00:10:42 +00:00
rillig
244d9e6203 Normalized capitalization of log messages. 2005-05-22 23:53:56 +00:00
rillig
5f24a05a63 Reformatted the initial comment. Changed my mail address to NetBSD.org. 2005-05-22 22:59:41 +00:00
rillig
160d9a4856 Updated the man pages. 2005-05-22 22:53:13 +00:00
rillig
22e5695f16 Don't check the order of the Makefile sections if a Makefile.common is
included. Also added a command line option -Wno-order to force this.
2005-05-22 22:50:41 +00:00
rillig
00ad112223 Made the check for non-empty RCS Id tags independent from the --verbose
command line option.
2005-05-22 22:37:01 +00:00
rillig
dbdfd3d542 Added NO_BUILD. 2005-05-22 22:28:24 +00:00
rillig
e412550a87 Extend the deprecated variables check to the included Makefiles, too. 2005-05-22 22:27:52 +00:00
rillig
b451fb4e8e Added USE_LIBTOOL and USE_PKGLOCALEDIR. 2005-05-22 21:50:08 +00:00
rillig
ab4df27f25 Extended reading of Makefiles to return both---a string containing the
complete Makefile with includes and a list of lines, also with includes.
This list of lines is the first step towards better error and warning
messages (including file and line number). A first effect of this change
is that the use of Makefile variables is checked even in the .include'd
Makefiles.
2005-05-22 21:08:33 +00:00
rillig
f4a7efea2e Simplified the way individual files are checked. 2005-05-22 18:41:44 +00:00
rillig
f6e977c745 Removed a check for *.tgz in the package directory. This check has been
here since revision 1.1, and is very unlikely to occur.
2005-05-22 14:54:18 +00:00
dmcmahill
0cb6a797ab add find to the tools list 2005-05-22 01:33:31 +00:00
rillig
fd8833f5d8 Changed the way trailing empty lines are detected. This adds line
numbers to the warnings and allows to check for trailing empty lines in
patch files. Embedded the check for files not ending with newlines into
the load_file() subroutine.
2005-05-21 12:29:02 +00:00
jlam
f35b224a50 SUBST_FILES.* must be relative to ${WRKSRC}. 2005-05-21 04:10:17 +00:00
rh
bf8e6722cb Use -U $lines instead of -$lines to avoid conflicts with the threeway diff
option.
2005-05-21 01:24:34 +00:00
rillig
f3c0f594e9 Don't include buildlink3.mk files when reading the Makefile. This
results in much less false warnings, but sadly adds some to the
koffice-18n packages. The main reason for this change is that the
execution time of pkglint is reduced by 20%.
2005-05-20 01:36:46 +00:00
rillig
41c6839453 Removed misleading comment. 2005-05-19 11:47:18 +00:00
rillig
da3f2e7c2d Simplified some uses of log_error(), log_warning(), log_info(). 2005-05-19 11:37:47 +00:00
rillig
80cc5559e3 Removed unnecessary code from checkpathname(). 2005-05-19 11:06:18 +00:00
rillig
a30475f574 It is now possible to invoke pkglint with multiple directories to check.
Fixed some instances where filenames were printed only relative to the
checked directory. Now the directory is printed, too.
2005-05-19 11:02:03 +00:00
rillig
7c37786f80 Fixed a typo in the command line options (conblank => contblank). 2005-05-19 08:42:36 +00:00
wiz
bf5a10413d 4.15.1: Fix PLIST (hi Roland!). 2005-05-18 21:06:58 +00:00
rillig
f3dd057ade Removed the check if ${PKGBASE} ends in a digit. This check only
produced false warnings, and it should be clear from the other package
names how PKGNAME should look like. It is even documented in the pkgsrc
guide.
2005-05-18 19:08:42 +00:00
rillig
859bc7f974 Removed the check for absolute filenames, as it has produced too many
false positive warnings. Added a reminder to TODO that a similar check
be added to pkglint. Welcome to 4.15.
2005-05-18 08:28:06 +00:00
dmcmahill
1537deec7e add prereq-readme 2005-05-18 04:49:38 +00:00
dmcmahill
4e133b7c80 import prereq-readme-20050518
This package is used to extract the tools needed by the README.html
generation using the new tools framework.  Suggested by Johnny Lam.
2005-05-18 04:48:24 +00:00
rillig
8c4803e6f8 Renamed PkgLint::FileUtils to PkgLint::FileUtil, for consistency with Util. 2005-05-18 03:48:43 +00:00
rillig
8f0986cd27 Moved print_table() from ::main to PkgLint::Util. 2005-05-18 03:47:24 +00:00
rillig
34a4367906 Renamed PkgLint::Utils to PkgLint::Util, just for fun. 2005-05-18 03:43:13 +00:00
rillig
971bef4d6e Removed unnecessary comment. 2005-05-18 03:38:03 +00:00
minskim
02085799ca Include bdb.buildlink3.mk to build on platforms without native Berkeley DB. 2005-05-16 17:35:29 +00:00
jlam
7425b543e8 Note that gtar is required by the package. 2005-05-16 01:15:30 +00:00
jlam
bc453eae61 Note that this package wants mtree, pax, and tar. 2005-05-16 00:09:33 +00:00
rillig
6f71ee99dc Added a command line option to disable warnings on unsorted things like
PLISTs and SUBDIRs in category Makefiles. The default behavior is
unchanged. Updated the man pages. Bumped PKGREVISION.
2005-05-15 02:38:56 +00:00
reed
96705cee02 Mention that it is also helpful for providing definitions and
functions missing from other Unix platforms.
2005-05-15 02:01:58 +00:00
reed
40717a23cb Add "devel" to categories. 2005-05-15 02:01:14 +00:00
rillig
be9e6c0d80 TODO: Check for C/C++ style comments in Makefiles. 2005-05-14 00:38:56 +00:00