Commit graph

4375 commits

Author SHA1 Message Date
wiz
e177f7f52b Remove openssl reference, found by obache. 2013-05-18 13:22:57 +00:00
martin
cea747688b var_get_memory():
if no eol is found in the string we set "next" to NULL, assign it
to "buf" and then check the loop condition by dereferencing it - which
does not work well.
Change the loop condition to first check for buf == NULL.
2013-05-17 07:27:29 +00:00
cheusov
d97ac5b9fd Adapted for TOOL_DEPENDS recently introduced to pkgsrc.
++pkgrevision
2013-05-16 01:26:08 +00:00
cheusov
2375594f61 Version 0.62.0
pkg_src_summary:
     - Option -t was added. If applied a value of TOOL_DEPENDS
       is added to BUILD_DEPENDS. This option works just like -b
       does for BOOTSTRAP_DEPENDS.

  pkg_cmp_summary:
     - Fixes for -A and -O. Now they output an empty line after each
       compared package even if it appeares multiple times in
       pkg_summary1. So, the output is now consistent.

  Last change time was updated for manual pages
2013-05-16 01:24:09 +00:00
wiz
8f615eefc3 Remove second '#' line in generated Makefile. Not necessary, since there's
already an empty line as third, now second, line per default.
2013-05-14 19:42:38 +00:00
obache
cfa4f34d48 Allow to use glib deprecated API, for g_thread_suppoted() 2013-05-11 02:23:54 +00:00
riastradh
be08346321 Fix cross-build of pkgtools/pkg_install.
Can't execute the newly built tools if they were cross-built.

(This is not especially useful until we do cross-bootstrap, though.)

ok agc
2013-05-10 00:49:00 +00:00
adam
1ab43a036f Massive revbump after updating graphics/ilmbase, graphics/openexr, textproc/icu. 2013-05-09 07:39:04 +00:00
wiz
1881965f07 Add EXTRACT_DIR. 2013-05-07 08:45:06 +00:00
obache
3b4b559d91 pkglint-4.129
* explain when desktop-file-utils is required.
* error missing {hicolor,gnome}-icon-theme.
2013-05-06 02:53:24 +00:00
rodent
c839138986 Adding sgi-free-software-b-v2.0 to DEFAULT_ACCEPTABLE. Approved by FSF:
http://www.gnu.org/licenses/license-list.en.html#SGIFreeB
2013-05-05 21:09:59 +00:00
rodent
6b5369c4bd +arphic-public +ofl-v1.0 +ofl-v1.1 -open-font-license 2013-04-19 17:22:23 +00:00
obache
ce192b6af9 Update to 0.74.
pick up some *.pc files in share/pkgconfig (for Cygwin).
2013-04-18 13:19:35 +00:00
dholland
6bc842729f Minor tidyup to error reporting. (This has been sitting in one of my trees
for a year and a half and I don't remember the context.) ok'd by joerg
2013-04-14 17:03:30 +00:00
rodent
b65af7be2b Remove "Trailing empty lines." and/or "Trailing white-space." 2013-04-08 11:17:08 +00:00
rodent
6b46c62d2e Edited DESCR in the case of:
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-07 20:49:31 +00:00
rodent
dea2f05b46 ".for variable names should not contain uppercase letters" 2013-04-06 13:24:18 +00:00
rodent
cdd3752457 "Definition of PKG_SKIP_REASON is deprecated. Use PKG_FAIL_REASON instead." 2013-04-06 04:07:24 +00:00
rodent
a0a1f2e57c Fixes:
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-04-06 03:45:05 +00:00
schmonz
3745e6657e Respond to wiz's code review:
* 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-26 15:11:36 +00:00
schmonz
5bc6512909 Excessive self-grepping causes bugginess. Don't!
This regex almost certainly didn't intend to match an occurrence
of "ARRAY" in PkgLint::Line, but it did match.
2013-03-26 15:11:20 +00:00
schmonz
8d80249ed9 Mechanically refactor vartype_basic to dispatch table.
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-26 15:10:57 +00:00
schmonz
433e28db3b Bag-compare all vartypes_basictypes, not just two.
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-26 15:10:31 +00:00
schmonz
084f44268e Declare package pkglint (not main) in pkglint.pl.
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-26 15:10:03 +00:00
schmonz
b9fdf029c6 Subst paths for both test and install.
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-26 15:09:35 +00:00
schmonz
6ac8ad3cf0 Document the need for many more automated tests. 2013-03-26 15:08:53 +00:00
schmonz
4745eea58d Extract PkgLint::* to files, then inline them.
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-26 15:08:28 +00:00
schmonz
f8ed933125 Sanity-check pkglint on some reference packages. 2013-03-26 15:05:27 +00:00
schmonz
f2cc14dc84 Give test_unit() better defaults for easier calling.
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-26 15:04:30 +00:00
sbd
b164c0612f USE_FEATURES must come before bsd.prefs.mk is included. 2013-03-25 10:09:04 +00:00
jperkin
a8acbb58b8 Use `` instead of $(), fixes bootstrap on older SunOS versions which have
the legacy /bin/sh.

Fix from asau.
2013-03-18 11:24:42 +00:00
obache
baab130eb5 avoid to match commnented out lines (createbuildlink will create such lines
by default).
2013-03-17 15:27:18 +00:00
obache
778bed8bfb Bump PKGREVISION from default PHP version change to 5.4. 2013-03-16 07:21:18 +00:00
wiz
d45d04850b Sync licenses with mk/ 2013-03-14 16:23:11 +00:00
cheusov
57a488b474 Version 0.61.0, by Aleksey Cheusov, Fri, 8 Mar 2013 16:23:05 +0300
All script use TMPDIR environment variable for creating temporary
  files if it is set.

  makefiles2deps works dramatically faster!
2013-03-08 14:21:26 +00:00
cheusov
d8bf346d05 Version 0.11.0, by Aleksey Cheusov, Fri, 8 Mar 2013 15:56:56 +0300
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-08 13:04:32 +00:00
obache
c12201ee5f tell UAC_REQD_EXECS pkglint. 2013-03-08 12:35:43 +00:00
obache
6c750afd72 tell Cygwin and Haiku to pkglint. 2013-03-06 12:30:01 +00:00
wiz
56c6edb53d Add FLEX_REQD. 2013-03-04 16:28:18 +00:00
wiz
a8730d5aa1 Bump PKGREVISION for mysql default change to 55. 2013-03-02 20:33:21 +00:00
imil
b8c8d88a3e NetBSD specific: repositories.conf is configured using OS release number. 2013-02-25 19:35:38 +00:00
obache
67f9a2a5a8 Fix missing '$' in regex in sh in bmake.
noticed by gson@.
2013-02-24 01:27:16 +00:00
asau
269e6f18d5 Help people using mk files outside pkgsrc, provide saner default values. 2013-02-23 23:52:32 +00:00
obache
5feb1bc139 Update x11-links to 0.73.
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-23 13:30:18 +00:00
obache
244ac78b78 normalize OS_VERSION for Cygwin, same as in mk/bsd.prefe.mk. 2013-02-23 05:47:59 +00:00
wiz
c6588da40e Fix build with clang. 2013-02-21 22:39:58 +00:00
wiz
d1b820f37b Recursive bump for png-1.6. 2013-02-16 11:18:58 +00:00
wiz
ce1195c437 Stop recommending lintpkgsrc -d -- it's output is unreadable nowadays
since it lacks too much knowledge about multi-version packages.
2013-02-16 11:18:47 +00:00
obache
d237803594 Fix OPSYS for Cygwin (formerly using CYGWIN before importing Cygwin support). 2013-02-14 09:13:41 +00:00
wiz
70e9df8298 Remove lbx packages. Unsupported since xorg-server-1.2 and marked
as BROKEN for a long time.
2013-02-11 09:16:11 +00:00