OpenBSD Journal

Ports Testing Needed

Contributed by jose on from the urgent-call-for-testers dept.

As the 3.3 development cycle draws to a close, trees start freezing. Right now the ports tree has frozen. To quote a message from Peter ,
Nothing goes in unless there is a good reason for it (an important fix for something, or along those lines). In about a week, there will be a complete lock after which even if something is discovered to be broken, it stays broken.
So, please test the snapshot packages as much as possible. Lots of changes in the system this development period, so lots of potential for breakage. Test now, test hard, and get stuff fixed.

(Comments are closed)


Comments
  1. By Anonymous Coward () on

    MESA not in the tree?

    Comments
    1. By Anonymous Coward () on

      no jar-jar, you are not in the tree.

      Comments
      1. By Anonymous Coward () on

        good catch :)

      2. By Anonymous Coward () on

        HA!

      3. By Anonymous Coward () on

        I see, lots of nerds.

      4. By Anonymous Coward () on

        This is the funnies thing I have read in a long time. *CLAP* *CLAP*

  2. By Sean () null@tfh.ca on mailto:null@tfh.ca

    Is there a nice clean way to update the ports tree when using a non-'current' source tree? (I've done it before but lots of ports were broken afterwards, hence the question).

    Is there a clean way update applications from an updated source tree (such as new versions of php,mysql etc.)?

    Are there global options to have the ports tree search for a pre-built package on ftp.XX.openbsd.org before downloading source and compiling?

    Just curious.

    Comments
    1. By tedu () on

      there's a stable branch created for ports, like src. but only important fixes go in, same rules as normal stable. or do you mean, can i update all my out of date ports? not automatically. some people have posted scripts to remove all old packages though.

      for most ports, editing the Makefile and checksums is all you need, if you want to use the latest version of some software.

      no, i'd recommend just using packages as much as possible if you don't want to compile things. note that packages from different versions of openbsd really don't work well.

      Comments
      1. By Anonymous Coward () on

        The part of the original question stating: "Is there a clean way update applications from an updated source tree (such as new versions of php,mysql etc.)?" leads me to think that what he means is "Is there a command like portsupdate in freebsd to update all yoru installed ports/packages to latest versions?".

        Simple answer: no

        I normally...

        1. update ports tree to whatever the version of obsd is that you're running using cvs or cvsup

        2. cd /usr/ports/some_port && make

        3. pkg_delete some_port

        4. make install

        You'd have to do that for each one though.

        Cheers,

        Schwack

        Comments
        1. By Anonymous Coward () on

          and you have to jump through hoops for dependant packages.

          for example...
          jed depends on slang and slang has been updated.
          you have to build slang, uninstall jed and slang, install slang, and then rebuild jed.

          which is clearly not acceptable on a multi user system for commonly used stuff.

          Comments
          1. By Anonymous Coward () on

            You can always schedule a bit extended downtime and update the packages also when you do a OS update.

          2. By couderc () on

            which is clearly not acceptable on a multi user system for commonly used stuff.

            So, Mister Anonymous, where is the code ?
            We wait for you to fix this problem ...

          3. By tedu () on

            cd /tmp
            ftp ftp.mirror.openbsd.org
            get packages

            cd /var/db/pkg
            pkg_delete -f `ls`

            cd /tmp
            pkg_add *

    2. By Anonymous Coward () on

      1)No, current ports tree is designed for the current source tree.

      2)cd /usr/ports
      make index
      /usr/ports/infrastructure/build/out-of-date
      build your out-of-date ports manually

      3)Not that I know of.

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.]