Slashdot Mirror


Cleaning and Customizing Your FreeBSD Ports

BSD Forums writes "One of FreeBSD's biggest benefits is its ports collection. It seems like magic, but a little maintenance can make it work even better for your system. Dru Lavigne explains how to keep your ports collection clean and how to customize individual ports."

5 of 32 comments (clear)

  1. portsclean by Dukebytes · · Score: 4, Informative
    Good article on this. I checked and had a pile of stuff in dist files....

    That portsclean -DC works really well! Very through, updated the database and cleaned out a bunch of stuff. It seems like everything that the BSD people do is very stable and does exactly what they say it will do.

    I really don't understand why the BSD's don't get more involvement... Maybe I just haven't been invited into that L33t crowd - yet...
    Duke

    --

    FreeBSD: Nothing runs like a daemon with a pitch fork.
    1. Re:portsclean by Z4rd0Z · · Score: 3, Informative

      My method has always been
      # find /usr/ports -type d -name work |xargs rm -rf
      # cd /usr/ports/distfiles
      # rm everything except_big_stuff_like_X

      --
      You had me at "dicks fuck assholes".
  2. Also a disk space saver is... by horcy · · Score: 2, Informative

    ... cd /usr/ports/distfiles then rm -rf *

    --
    Check my site: http://pixel.pagina.nl
  3. Re:Nice by atrus · · Score: 3, Informative

    You need to set sendmail_enable to NONE, not NO. NO simply disables the actual port 25 server, but not the mail queue.

  4. Re:Nice by frankmanowar · · Score: 3, Informative

    It's in the freebsd handbook, in the sendmail section. it tells you to set sendmail_enable to none if you want to turn it off completely, or no if you want to just disable the daemon, but still wish to be able to send outgoing mail... you can find most basic stuff listed in the freebsd handbook, you really should be using it a lot in the beginning!

    http://www.freebsd.org/doc/en_US.ISO8859-1/books/h andbook/mail-changingmta.html

    -Frank
    --

    "Other bands play, but Manowar KILLS"