OpenBSD Journal

patches available - fix to fifofs, fix to cvs.

Contributed by grey on from the more patches dept.

Thanks to Brad Smith pointing out there are two new patches available today.

First is a reliability fix for fifofs, a patch can be found for 3.5, 3.4 is not affected.

Additionally, there were several new security problems identified in CVS as outlined here. A patch that resolves these issues may be found for 3.5 and 3.4.

Be sure to check http://www.openbsd.org/errata.html for more detailed updates.

(Comments are closed)


Comments
  1. By CyberB0b (192.35.35.36) on

    I thought I had a standard 3.4 system, all up to date with patches, but the cvs patch failed to compile. This is what I get (second time compiling):
    # make -f Makefile.bsd-wrapper
    make CC="cc" CFLAGS="-O2   " LDFLAGS= all info
    make  all-recursive
    Making all in lib
    cd /usr/src/gnu/usr.bin/cvs &&  true --gnu  lib/Makefile
    Making all in diff
    cd /usr/src/gnu/usr.bin/cvs &&  true --gnu  diff/Makefile
    Making all in src
    make  all-am
    cd /usr/src/gnu/usr.bin/cvs &&  true --gnu  src/Makefile
    source='client.c' object='client.o' libtool=no  depfile='.deps/client.Po' tmpdepfile='.deps/client.T
    Po'  depmode=gcc /bin/sh /usr/src/gnu/usr.bin/cvs/depcomp  cc -DHAVE_CONFIG_H -I. -I/usr/src/gnu/usr
    .bin/cvs/src -I.. -I. -I/usr/src/gnu/usr.bin/cvs/lib -I/usr/src/gnu/usr.bin/cvs/diff -I/usr/src/gnu/
    usr.bin/cvs/zlib -I/usr/include/kerberosV     -O2    -c -o client.o `test -f client.c || echo '/usr/
    src/gnu/usr.bin/cvs/src/'`client.c
    In file included from client.c:81:
    /usr/src/gnu/usr.bin/cvs/lib/xgssapi.h:20: gssapi.h: No such file or directory
    *** Error code 1
    
    Stop in /usr/src/gnu/usr.bin/cvs/src.
    *** Error code 1
    
    Stop in /usr/src/gnu/usr.bin/cvs/src (line 284 of Makefile).
    *** Error code 1
    
    Stop in /usr/src/gnu/usr.bin/cvs (line 209 of Makefile).
    *** Error code 1
    
    Stop in /usr/src/gnu/usr.bin/cvs (line 152 of Makefile).
    *** Error code 1
    
    Stop in /usr/src/gnu/usr.bin/cvs (line 24 of Makefile.bsd-wrapper).
    

    Am I doing something wrong?

    Comments
    1. By Jan Pieter Kunst (213.84.233.220) on

      See here

      To repair and install gssapi.h again:cd /usr/src/lib/libgssapimake includes

      HTH,

      JP

      Comments
      1. By Anonymous Coward (213.84.233.220) on

        Apologies for the disappearing linebreaks: it should be

        cd /usr/src/lib/libgssapi

        make includes

        JP

        Comments
        1. By CyberB0b (68.80.13.47) on

          Yes, that fixed it, thanks. I think clicking preview removes all line breaks. weird

      2. By Andreas Lundin (217.31.178.176) on

        I had the exact same problem on 3.5 and my fix was to run 'make cleandir' and then re-run the compilation.

        Comments
        1. By Otto (82.197.192.49) otto@drijf.net on http:/./www.drijf.net

          That might work, but it will compile cvs without gssapi support.

          It is better to reinstall gssapi.h

          In the meantime, patch instructions have been updated.

          Comments
          1. By Howard Owen (64.121.64.42) on

            I just got bit by this on my 3.5 system today. Patch instructions freshly downloaded from openbsd.org:

            Apply by doing:        cd /usr/src        patch -p0 < 011_cvs3.patchAnd then rebuild and install cvs:        cd gnu/usr.bin/cvs        make -f Makefile.bsd-wrapper obj        make -f Makefile.bsd-wrapper        make -f Makefile.bsd-wrapper install

            Comments
            1. By Howard Owen (208.59.199.232) on

              Okaaay, preview is evil. I get it, I hope.
              
              Apply by doing:
                      cd /usr/src
                      patch -p0 < 011_cvs3.patch
              
              And then rebuild and install cvs:
                      cd gnu/usr.bin/cvs
                      make -f Makefile.bsd-wrapper obj
                      make -f Makefile.bsd-wrapper
                      make -f Makefile.bsd-wrapper install
              
              
              
              

Latest Articles

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]