summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
AgeCommit message (Collapse)AuthorFilesLines
2007-01-15Now it's possible to define optional sections when checking the variablerillig1-10/+27
order in package Makefiles. This allows for a legal section, which is also added. I'm not yet sure about the correct order of all these variables.
2007-01-15Added some new variables.rillig1-2/+6
2007-01-11* Warn if LICENSE/RESTRICTED/NO_*_ON_* are misordered.gdt1-1/+3
2007-01-11From the discussion in #pkgsrc of build problems of wip/gxmms2:joerg1-1/+3
Packages using lang/python/extension.mk must follow the naming scheme or otherwise they can't be depended on.
2007-01-06Fixed the definition of Python-related variables.rillig1-2/+5
2007-01-06No substitutions are needed for the pkglint manual page.rillig1-3/+6
Re-added a post-install selftest to detect syntax errors in pkglint.pl.
2007-01-04Added code to check for shared directories from the *-dirs packages.rillig1-2/+102
2007-01-03Fixed a little inconsistency (log_error/explain_warning).rillig1-2/+2
2007-01-02Outside of packages, the :M* operator has to be used sometimes.rillig1-2/+12
When .PHONY appears as the source in a dependency line, all targets are considered "virtual" targets.
2007-01-02Converted NOT_FOR_PLATFORM and ONLY_FOR_PLATFORM from List torillig1-3/+3
InternalList, so they can be used in .for loops.
2007-01-02In PYTHON_VERSIONS_ACCEPTED, all version numbers should be in decreasingrillig1-2/+41
order, so that the newer ones are selected more often.
2007-01-02+ MASTER_SITE_GENTOOrillig1-1/+2
2006-12-27PostgreSQL-7.4 support is about to be removed.joerg2-4/+4
2006-12-16xdg-1.4 is valid.wiz1-2/+2
2006-12-15DESTDIR support.joerg1-13/+11
2006-12-12In buildlink3.mk files, bsd.fast.prefs.mk should be included instead ofrillig1-2/+7
bsd.prefs.mk. Fixed the regular expression for buildlink3.mk files containing PKG_BUILD_OPTIONS code.
2006-12-12Added c99 to the list of known languages.rillig2-6/+8
Following existing practice, the variable PKG_BUILD_OPTIONS.* may be queried in buildlink3.mk files in the .include section, and no warning is generated anymore.
2006-12-06Fixed the Assertion error on .include lines that end in trailingrillig1-3/+6
white-space. Instead of including intltool/buildlink3.mk directly, a simple USE_TOOLS+=intltool suffices.
2006-12-06texmf-dirs is up to 1.4.wiz1-1/+2
2006-12-01Added the CHECK_* variables.rillig1-3/+12
2006-11-25Fixed some typos in the pkglint documentation. Reported by OKANOrillig2-5/+5
Takayoshi in a private mail.
2006-11-22+ BSD_MAKE_ENVrillig1-1/+2
2006-11-18PKG_SKIP_REASON is marked as deprecated, since it is usually used torillig1-1/+2
mark a package as not being able to build, due to some fatal error. I don't see any reason _not_ to use PKG_FAIL_REASON in those cases.
2006-11-09Variable names don't need to be quoted.rillig1-3/+3
2006-11-09Some minor tweaks; added DESTDIR.rillig1-4/+5
2006-11-09+ SKIP_PORTABILITY_CHECKrillig1-1/+4
2006-11-01Add PKG_DESTDIR_SUPPORT to variable list. Bump to 4.73.joerg2-3/+4
2006-10-30Added a warning that ${VARIABLES} in the DESCR file are not expanded.rillig1-2/+8
(Requested in PR 34920.) The warning about uncommitted patch files only appears when the distinfo file is already committed.
2006-10-24Fixed a typo in the absolute pathname checks.rillig1-4/+8
${PREFIX}/${PKGMANDIR} is preferred over ${PREFIX}/man. {ONLY,NOT}_FOR_PLATFORM may appear multiple times in the package Makefile.
2006-10-23Update to 4.72: check for .tbz as well as .tgzabs2-4/+4
2006-10-22Fixed a heading.rillig2-4/+3
2006-10-22Absolute pathnames may appear in the form basedirvar + '/man1' in sourcerillig1-1/+4
code.
2006-10-18Added CHECK_FILES_SUPPORTED and some Postgres variables.rillig1-1/+5
2006-10-17The absolute pathname /bin/sh is allowed, despite the Solaris /bin/sh.rillig1-1/+6
The WRKSRC variable (among others) is checked to consist of ony one word. The url2pkg tool had created lines like WRKSRC= ${WRKDIR}/Makefile PLIST distinfo in the past, which happened to work in most cases up to now, but really shouldn't.
2006-10-12${MARCH_ARCH}-${LOWER_OPSYS}elf and related constructs should be fixed.joerg1-1/+3
2006-10-07When patch files are registered in the distinfo file, but not added orrillig1-8/+22
committed to CVS, a warning is printed.
2006-10-06Added a check that suggests using meta-pkgs/kde3/kde3.mk instead ofrillig1-1/+9
hand-tuning the directories where KDE files are installed.
2006-10-05Improved the heuristics for absolute pathnames.rillig1-5/+8
2006-10-05In package Makefiles, SITES.* should be defined right below DISTFILES.rillig1-24/+43
Added an explanation for why ${DESTDIR}/foo is considered an absolute pathname.
2006-10-02Update pkgtools/pkglint to 4.71 - lintpkgsrc changes:abs2-1380/+1538
- Handle 'badly named' patch files - In the event of a distint checksum mismatch, report the affected file as well as package - If we need to call out to make to parse a makefile and it returns any errors, ensure we prefix the error output with the Makefile path - run through perltidy. Ugly, but consistent
2006-10-01SITES.* may be used in package Makefiles.rillig1-2/+3
2006-09-27De-recognise XFree86. Update to 4.70.joerg2-5/+4
2006-09-20MAKEFILE has been deprecated in September, not November.rillig1-2/+2
2006-09-19Added a check for tools that are used but not mentioned in USE_TOOLS.rillig1-20/+37
Since many package fail to build in exotic environments because of that, it is worth having this check even though we are currently in a freeze. Improved the detection of absolute pathnames once more.
2006-09-18Fixed a huge memory leak in pkglint. Checking the complete pkgsrc treerillig1-6/+21
took about 300 MB of memory. Now it takes 27 MB, which is still much, but quite better. The cause for the memory leak was that I wrote my ($result) = @_; instead of my ($result) = ($1); after successfully matching a regular expression. That way, pkglint created some cyclic data structures, and since Perl does not have garbage collection, these didn't get cleaned up. Added some checks so that this cannot easily happen again. Also fixed some other instances where @_ appeared in the source code.
2006-09-16Updated pkglint to 4.69.rillig1-2/+2
Changes since 4.68: - Improved the checks for BUILD_DEFS. - Improved the shell word parser. - Improved the heuristics for detecting absolute pathnames. - The :M* operator is only required with GNU configure scripts. Committed during the freeze to have a unique version number that includes the features from the last days.
2006-09-15The :M* operator is only needed when the package has a GNU-stylerillig1-3/+17
configure script.
2006-09-09MAKEFILE has been renamed to MAKE_FILE.obache2-3/+6
2006-09-08TODO:rillig1-1/+2
* Check all the shell commands to see if they are mentioned in USE_TOOLS.
2006-09-08Improved the heuristics for detecting absolute pathnames.rillig2-6/+9
Not only CFLAGS, but also {FOO}_CFLAGS should be passed through the :M* operator before being passed to the shell.