Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 2, 2012
  1. Don't limit FD_SETSIZE on Solaris, causes conflicts in 64-bit mode.

    jperkin authored
Commits on Oct 3, 2011
  1. Add LICENSE.

    hiramatsu authored
Commits on Sep 14, 2011
Commits on Sep 7, 2010
  1. don't install the pthread drop-in emulation header and library in case

    drochner authored
    native pthreads are present and used, to avoid surprises due to
    conflicting implementations mixed up (in case of no bl3 use), from
    Rumko per followup mail on PR pkg/43845
Commits on Aug 6, 2010
  1. deal with connect(2) returning EINPROGRESS/EALREADY/EISCONN on non-bl…

    drochner authored
    sockets (allowed by POSIX, but apparently not done usually on other OSes)
Commits on Jul 15, 2009

    joerg authored
Commits on Jun 14, 2009
  1. Remove @dirrm entries from PLISTs

    joerg authored
Commits on Mar 20, 2009
  1. Simply and speed up files and processing.

    joerg authored
    This changes the files to use an include guard for the
    recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
    BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
    variable BUILDLINK_TREE. Each file adds a pair of
    enter/exit marker, which can be used to reconstruct the tree and
    to determine first level includes. Avoiding := for large variables
    (BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
    The include guard reduces system time by avoiding reading files over and
    over again. For complex packages this reduces both %user and %sys time to
    half of the former time.
Commits on Jun 12, 2008
  1. Add DESTDIR support.

    joerg authored
Commits on Feb 18, 2007
  1. Update to 2.0.7:

    wiz authored
      Changes between 2.0.6 and 2.0.7 (22-Nov-2005 to 08-Jun-2006)
       *) Let AC_CHECK_PTH use "pth-config --libs --all" instead of just
          "pth-config --libs" to allow it to work under platforms like
          Solaris where additional libraries are required.
          [Ralf S. Engelschall]
      Changes between 2.0.5 and 2.0.6 (05-Oct-2005 to 22-Nov-2005)
       *) Add a missing "break" in pth_attr.c:pth_attr_ctrl().
          [Stefan Schippers <>]
       *) Return an error if pth_kill() is called before pth_init().
          [Martin Kraemer <>]
      Changes between 2.0.3 and 2.0.4 (03-Dec-2004 to 18-Feb-2005)
       *) Fix internal determination of maximum number in a size_t in
          the string formatter engine.
          [Ralf S. Engelschall]
       *) Add quotes around function names for AC_DEFUN in pth.m4 to avoid
          warnings about "underquoted definitions".
          [Stephane Loeuillet <>]
       *) Do not insist on writing to the source directory on "make install"
          in order to more closely follow GNU standards.
          [Bruno Haible <>]
       *) Remove "*.bak" and "*~" files under "make distclean"
          instead of "make clean".
          [Bruno Haible <>]
      Changes between 2.0.2 and 2.0.3 (12-Sep-2004 to 03-Dec-2004)
       *) Resurrect the old "make striptease" command by fixing the
          configure run-time in the stripped down source tree and fixing the
          list of source files.
          [Ralf S. Engelschall]
       *) The pth_uctx_save() and pth_uctx_restore() API functions
          unfortunately were broken by design because they are C
          _functions_. This leads to one more deadly nesting on the
          run-time stack which effectively caused the pth_mctx_restore()
          in pth_uctx_restore() to return to the end of pth_uctx_save()
          but then the control flow unfortunately returns to the
          pth_uctx_restore() caller instead of the pth_uctx_save() caller
          because the call to pth_uctx_restore() had already overwritten the
          run-time stack position where the original return address for the
          pth_uctx_save() call was stored.
          The only workaround would be to #define pth_uctx_save() and
          pth_uctx_restore() as C _macros_, but this then would require that
          lots of the GNU Pth internals from pth_mctx.c would have to be
          exported in the GNU Pth API (which in turn is not acceptable). So,
          the only consequence is to remove the two functions again from the
          GNU Pth API.
          [Ralf S. Engelschall, Stefan Brantschen <>]
       *) Enhance internal pth_mctx_save() if getcontext(3) is used for the
          machine context saving by better emulating the setjmp(3) style
          return code semantics.
          [Ralf S. Engelschall]
       *) Do not break in pth_msgport_find() if a message port
          was created with a NULL name.
          [Ralf S. Engelschall]
       *) Better error checking in pth_key_xxx() functions.
          [Ralf S. Engelschall]
       *) Added PTH_CTRL_FAVOURNEW control which allows the user
          to disable the favouring of new threads on scheduling
          to get more strict priority based scheduling behavior.
          [Ralf S. Engelschall, Vinu V <>]
      Changes between 2.0.1 and 2.0.2 (13-Jul-2004 to 12-Sep-2004)
       *) Added hard syscall wrappers for send(2) and recv(2).
          [NetBSD pkgsrc patches]
       *) Internally handle errors returned from pth_event() in order
          to pass them upstream to the caller in pth_high.c functions.
          [Ralf S. Engelschall, NetBSD pkgsrc patches]
       *) Fix syscall wrapper for sendto(2).
          [NetBSD pkgsrc patches]
       *) Use "(char *)NULL" instead of plain "NULL" in last argument to
          execl(2) to avoid GCC 3.5's "warning: missing sentinel in function call".
          [Ralf S. Engelschall]
       *) Workaround Autoconf/m4 problems in pth.m4 by using "m4_define"
          instead of just "define" and no using m4_undefine at all.
          [Dr. Andreas Mueller <>]
       *) Avoid side-effects by defining _XOPEN_SOURCE only temporarily
          for inclusion of <poll.h> instead of permanently.
          [Graham Nash <>]
       *) Workaround GCC 2.x and 3.5 (3.4 worked fine) macro parsing
          behaviour by using a pre-declared function pointer type "typedef
          int (*pth_event_func_t)(void *);" instead of using an inlined
          "int (*)(void *)".
          [Ralf S. Engelschall, Robert Anderson <>]
       *) Fixed prototype for pthread_attr_setschedparam(3) from
          to use a "const struct sched_param *" argument.
          [Rafael Ávila de Espíndola <>]
      Changes between 2.0.0 and 2.0.1 (17-Feb-2003 to 13-Jul-2004)
       *) Fix handling/casting of "int (*)(void *)" callback functions.
          [Ralf S. Engelschall]
       *) Resolve symbol conflict in pth_string.c between pow10/round
          and GCC builtins.
          [Ralf S. Engelschall]
       *) Use GCC 3.3 option "-fno-strict-aliasing" (if available) under
          Autoconf option "--enable-debug" because mainly pth_mctx.c
          contains important and correct pointer casting constructs which
          are not acceptable in "strict aliasing" for GCC.
          [Ralf S. Engelschall]
       *) Fixed implementation so that --enable-pthread now correctly
          implies --enable-syscall-soft.
          [Steve Alstrin <>, Ralf S. Engelschall]
       *) Replace some 0 by more politically correct NULL in pth_string.c
          [Ralf S. Engelschall]
Commits on Jul 8, 2006
  1. Change the format of BUILDLINK_ORDER to contain depth information as …

    jlam authored
    and add a new helper target and script, "show-buildlink3", that outputs
    a listing of the files included as well as the depth at
    which they are included.
    For example, "make show-buildlink3" in fonts/Xft2 displays:
  2. Track information in a new variable BUILDLINK_ORDER that informs us

    jlam authored
    of the order in which files are (recursively) included
    by a package Makefile.
Commits on Apr 6, 2006
  1. Over 1200 files touched but no revisions bumped :)

    reed authored
    RECOMMENDED is removed. It becomes ABI_DEPENDS. becomes becomes
    BUILDLINK_DEPENDS does not change.
    IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
    which defaults to "yes".
    Added to checking for IGNORE_RECOMMENDED.
    I did not manually go through and fix any aesthetic tab/spacing issues.
    I have tested the above patch on DragonFly building and packaging
    subversion and pkglint and their many dependencies.
    I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
    have used IGNORE_RECOMMENDED for a long time). I have been an active user
    of IGNORE_RECOMMENDED since it was available.
    As suggested, I removed the documentation sentences suggesting bumping for
    "security" issues.
    As discussed on tech-pkg.
    I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
    Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
    later (within day).
Commits on Mar 4, 2006
  1. Point MAINTAINER to in the case where no

    jlam authored
    developer is officially maintaining the package.
    The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
    that it implies that any user can try to maintain the package (by
    submitting patches to the mailing list).  Since the folks most likely
    to care about the package are the folks that want to use it or are
    already using it, this would leverage the energy of users who aren't
Commits on Nov 8, 2005
Commits on Apr 11, 2005
Commits on Feb 23, 2005
  1. Add RMD160 digests.

    agc authored
Commits on Oct 3, 2004
  1. Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10

    tv authored
    in the process.  (More information on tech-pkg.)
    Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
    installing .la files.
    Bump PKGREVISION (only) of all packages depending directly on the above
    via a buildlink3 include.
Commits on Sep 22, 2004
  1. Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.

    jlam authored
    All library names listed by *.la files no longer need to be listed
    in the PLIST, e.g., instead of:
    one simply needs:
    and will automatically ensure that the additional library
    names are listed in the installed package +CONTENTS file.
    Also make LIBTOOLIZE_PLIST default to "yes".
Commits on Jul 6, 2004
  1. Unused.

    wiz authored
Commits on Apr 19, 2004
  1. Enable wrappers for waitpid, recv, and send per PR 24704.

    skrll authored
    PR and patch from ITOH Yasufumi.
Commits on Mar 5, 2004
  1. Reorder location and setting of BUILDLINK_PACKAGES to match template

    jlam authored file in revision 1.101 of
Commits on Feb 14, 2004
  1. LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs

    jlam authored
    relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
    are automatically handled by the default setting in
  2. remove unneeded CONFIG_{GUESS,SUB}_OVERRIDE, as does this

    grant authored
    automatically now.
Commits on Jan 24, 2004
  1. Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In

    jlam authored
    the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
    a value only once due to the multiple inclusion protection in the files.  In the case where a package includes several files that each want a slightly different version of another
    dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
    strictest <pkg> dependency to be matched.
Commits on Jan 5, 2004
  1. bl3ify

    jlam authored
  2. Use S/+$// instead of C/\+$// to save a backslash. Very highly

    jlam authored
    recommended by seb :)
Commits on Jan 4, 2004
Commits on Jan 3, 2004
  1. Initial sprinkling of work-in-progress files for using the

    jlam authored
    buildlink3 framework.
Commits on Jul 17, 2003
  1. s/

    grant authored
Commits on Jul 12, 2003
  1. use TEST_TARGET instead of custom test target

    dillo authored
Commits on Jun 2, 2003
  1. Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.

    jschauma authored
    Should anybody feel like they could be the maintainer for any of thewe packages,
    please adjust.
Commits on May 6, 2003
  1. Drop trailing whitespace. Ok'ed by wiz.

    jmmv authored
Commits on May 2, 2003
  1. Update to 2.0.0, supplied by skrll@netbsd.

    wiz authored
       *) Make pth_poll(3) more compliant to POSIX.1-2001/SUSv3 poll(2).
       *) Make pth_select(3) more compliant to POSIX.1-2001/SUSv3 select(2).
       *) Replaced pth_event_occurred() with pth_event_status().
       *) Add Autoconf option --with-fdsetsize=NUM for enlarging FD_SETSIZE.
       *) Added thread attribute PTH_ATTR_DISPATCHES.
       *) Added sub-API pth_uctx_* for user-space context switching.
       *) Add a Pth variant of the new POSIX pselect(2) function.
       *) Internally cleaned up the error handling macros.
       *) Added POSIX-compliant sanity checks for bad fds.
       *) Added pth_nanosleep() function.
       *) Allow a NULL name for pth_msgport_create()
       *) Completely rewrote the "hard syscall mapping".
       *) Added support to pth_poll(3) for POLLD{RD,WR}{NORM,BAND}.
       *) Fixed a long-standing termination bug in pth_exit(3).
       *) Upgraded to Autoconf 2.57, Shtool 1.6.2 and Libtool 1.4.3.
       *) Add optional support for OSSP ex based exception handling.
Commits on Feb 4, 2003
  1. PTH_SYSCALL_HARD's fork() replacement didn't work on archs where the

    drochner authored
    system call's return values are postprocessed by the libc stub
    (eg alpha).
    Change pth to call libc's internal _fork(). This is only available
    since NetBSD-1.5, older releases are SOL -- sorry, but we need something
    working for 1.6.1.
    We should audit all the PTH_SYSCALL_HARD plugins whether they neglect
    libc assembler magic...
Something went wrong with that request. Please try again.