summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2013-04-19+arphic-public +ofl-v1.0 +ofl-v1.1 -open-font-licenserodent1-2/+3
2013-04-18Update to 0.74.obache5-6/+10
pick up some *.pc files in share/pkgconfig (for Cygwin).
2013-04-14Minor tidyup to error reporting. (This has been sitting in one of my treesdholland1-2/+3
for a year and a half and I don't remember the context.) ok'd by joerg
2013-04-08Remove "Trailing empty lines." and/or "Trailing white-space."rodent1-2/+2
2013-04-07Edited DESCR in the case of:rodent1-3/+1
File too long (should be no more than 24 lines). Line too long (should be no more than 80 characters). Trailing empty lines. Trailing white-space. Trucated the long files as best as possible while preserving the most info contained in them.
2013-04-06".for variable names should not contain uppercase letters"rodent1-7/+7
2013-04-06"Definition of PKG_SKIP_REASON is deprecated. Use PKG_FAIL_REASON instead."rodent1-2/+2
2013-04-06Fixes:rodent2-4/+4
COMMENT should not be longer than 70 characters. COMMENT should not begin with 'A'. COMMENT should not begin with 'An'. COMMENT should not begin with 'a'. COMMENT should not end with a period. COMMENT should start with a capital letter. pkglint warnings. Some files also got minor formatting, spelling, and style corrections.
2013-03-26Respond to wiz's code review:schmonz2-5/+5
* In test, match the "make makesum" warning more loosely. * In test, find packages to run against in $PKGSRCDIR explicitly. * Bump version. This is the last commit in a set developed for my "Rehabilitating pkglint" talk at pkgsrcCon 2013. Reviewed-at-pkgsrcCon-and-approved-during-the-freeze-by: wiz
2013-03-26Excessive self-grepping causes bugginess. Don't!schmonz2-7/+4
This regex almost certainly didn't intend to match an occurrence of "ARRAY" in PkgLint::Line, but it did match.
2013-03-26Mechanically refactor vartype_basic to dispatch table.schmonz1-542/+605
Leave the silly self-grep in place, adjusting to also match the lines that initialize the dispatch table. The underlying code is better and the tests still pass. (No functional change intended.)
2013-03-26Bag-compare all vartypes_basictypes, not just two.schmonz2-6/+34
pkglint greps itself (really) to generate this list of types. Test exhaustively for all types in the list today, so that the tested code can become more civilized tomorrow. Adds a test-time dependency on Test::Deep for cmp_bag().
2013-03-26Declare package pkglint (not main) in pkglint.pl.schmonz2-12/+10
This is more correct and more polite. For instance, pkglint.t no longer needs to declare a package of its own just for tests.
2013-03-26Subst paths for both test and install.schmonz1-3/+8
In the configure stage, tell pkglint to find *.map in ${FILESDIR}. That lets tests run even when pkglint isn't installed (which means it also makes the tests less wrong when pkglint is installed!). In the install stage, tell pkglint to find *.map under ${PREFIX}, as before (no functional change to the installed package). Specify USE_TOOLS=perl to quell pkglint. :-)
2013-03-26Document the need for many more automated tests.schmonz2-2/+8
2013-03-26Extract PkgLint::* to files, then inline them.schmonz13-1058/+1108
These bits of non-main functionality are distracting to the casual reader, and also to your intrepid refactorer. Since we recently added some characterization tests that run the pkglint executable against real packages, we can safely extract bits of code to separate files and prove nothing broke in the move. Instead of installing the new Perl modules where pkglint can find them at runtime, I've added a build step to inline them right back where they used to be (same order and everything). This is a little annoying, but less annoying than suddenly needing to deal with Perl runtime paths just for these few tiny modules. Also, loading modules at runtime would affect pkglint's performance, and I don't yet have performance tests to prove that this would be fine (or not), so I can't safely do it. No functional change intended.
2013-03-26Sanity-check pkglint on some reference packages.schmonz1-5/+86
2013-03-26Give test_unit() better defaults for easier calling.schmonz1-3/+5
This is the first commit in a set developed for my "Rehabilitating pkglint" talk at pkgsrcCon 2013. Reviewed-at-pkgsrcCon-and-approved-during-the-freeze-by: wiz
2013-03-25USE_FEATURES must come before bsd.prefs.mk is included.sbd1-5/+5
2013-03-18Use `` instead of $(), fixes bootstrap on older SunOS versions which havejperkin1-3/+3
the legacy /bin/sh. Fix from asau.
2013-03-17avoid to match commnented out lines (createbuildlink will create such linesobache1-2/+2
by default).
2013-03-16Bump PKGREVISION from default PHP version change to 5.4.obache1-2/+2
2013-03-14Sync licenses with mk/wiz1-21/+25
2013-03-08Version 0.61.0, by Aleksey Cheusov, Fri, 8 Mar 2013 16:23:05 +0300cheusov2-6/+6
All script use TMPDIR environment variable for creating temporary files if it is set. makefiles2deps works dramatically faster!
2013-03-08Version 0.11.0, by Aleksey Cheusov, Fri, 8 Mar 2013 15:56:56 +0300cheusov3-11/+18
nih install: - Order of packages does matter ("nih install emacs- editors/emacs22" is correct) - Option -P and new config variable NO_REQPROV_CHECK were added - Option -L and new config variable NO_REMOVE_LEAVES were added - "Nothing to be done" message is output if everything is up-to-date - Download failures and cksum failures are handled differently - Handling CONFLICTS between installed packages and packages to install are handled differently. Now package splits and similar problems are resolved with a help of "fake" packages. Fake packages are always marked for updates. New option -f for "nih list" was added in order to list them - Improvemed download progress messages nih uninstall: - Option -L was added, see "nih install -L" - Options -p and -P were added. See "nih install" nih leaf: - Command was reimplemented and simplified - Option -t option was removed pkg_status doesn't have -ltRn options anymore - Option -r was added nih search: - Option -I uses pkg_digger_installed provided by pkg_summary-utils pkg_update_plan: - Fixes in error messages nih search|meta|info: - Option -p was added. With a help of it one may search in pkgsrc packages offline. Also see "nih refresh -p" and man page Now nih works correctly if REPOSITORY is a directory Fixes for shell's "trap" command.
2013-03-08tell UAC_REQD_EXECS pkglint.obache1-1/+2
2013-03-06tell Cygwin and Haiku to pkglint.obache1-3/+3
2013-03-04Add FLEX_REQD.wiz1-1/+2
2013-03-02Bump PKGREVISION for mysql default change to 55.wiz1-2/+2
2013-02-25NetBSD specific: repositories.conf is configured using OS release number.imil2-9/+16
2013-02-24Fix missing '$' in regex in sh in bmake.obache1-2/+2
noticed by gson@.
2013-02-23Help people using mk files outside pkgsrc, provide saner default values.asau1-0/+8
2013-02-23Update x11-links to 0.73.obache1-9/+20
Let to expand libtool archive (.la) automatically, so no need to mainain X11 file list manually anymore (every OS update may include shlib version change), if the OS provide .la file (and no need to mind shlib type).
2013-02-23normalize OS_VERSION for Cygwin, same as in mk/bsd.prefe.mk.obache1-1/+4
2013-02-21Fix build with clang.wiz2-2/+14
2013-02-16Recursive bump for png-1.6.wiz2-4/+4
2013-02-16Stop recommending lintpkgsrc -d -- it's output is unreadable nowadayswiz2-8/+5
since it lacks too much knowledge about multi-version packages.
2013-02-14Fix OPSYS for Cygwin (formerly using CYGWIN before importing Cygwin support).obache1-2/+2
2013-02-11Remove lbx packages. Unsupported since xorg-server-1.2 and markedwiz1-2/+1
as BROKEN for a long time.
2013-02-10Also set NUMERIC_VERSION_ONLY for Cygwin,obache2-3/+3
eliminate (api_major.api_minor/shared_data/mount_registory) part.
2013-02-10As noted in libarchive/archive_entry.h, need to define LIBARCHIVE_STATICobache1-1/+5
for Windows (Cygwin) to using static library.
2013-02-10check missing declaration of setpassent(3) for Cygwin.obache4-4/+18
2013-02-10Add Cygwin support, mainly borrowed from Interix's one.obache2-0/+666
2013-02-10Just increase version if the package belongs us.wiz1-3/+2
2013-02-10bump pkgrevision after making some changes to the sourcemspo1-2/+2
2013-02-09Add new scripts.wiz2-0/+33
2013-02-09Add script to list TODO entries for installed packages.wiz2-7/+15
Previously included in pkg_chk, but it doesn't fit there well. Bump version.
2013-02-09this should address 47516mspo1-15/+4
2013-02-06PKGREVISION bumps for the security/openssl 1.0.1d update.jperkin2-3/+4
2013-02-02patches/patch-distbb__chroot.in is not needed anymorecheusov1-11/+0