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

32 comments

  1. Do not use soapy sponges by Dancin_Santa · · Score: 0, Offtopic

    I don't know what they were talking about there.

    Now my BSD cluster smells like Dove moisturizing body wash. This is going to linger...

  2. 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 Brandybuck · · Score: 1

      Maybe I just haven't been invited into that L33t crowd - yet...

      You waiting for an invitation? Hey, this isn't Linux, you don't need one! Just come on.

      --
      Don't blame me, I didn't vote for either of them!
    2. 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".
    3. Re:portsclean by Anonymous Coward · · Score: 0

      Who doesn't know that *BSD is dying? Why, it is a given that if you are tuned in to professional IT trends, the cold hard facts of this shark tank are inescapable: *BSD is dying.

  3. Re:What's that smell? by Anonymous Coward · · Score: 0

    Its now been over a month.

    Havn't you used some Linux and gotten cleaned up?

  4. 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
  5. Re:What I Know About *BSD by Z4rd0Z · · Score: 1, Funny

    1. You can not play games on it.
    BSD is for work, NOT PLAY.

    2. It cannot be used by my grandma.
    Because your grandma is farting dust six feet under.

    3. It lacks a GUI of any note.
    Real Men don't use GUIs.

    4. There is no support available for it.
    Again, Real Men don't need support.

    5. It is an assortment of fragmented OSes.
    Um, this article is about BSD, not Linux. Learn to read.

    6. It cannot be run on the x86 platform.
    Everyone on Slashdot knows x86 is dead, where have you been?.

    7. You have to compile everything and know C.
    This feature helps to keep people like you out of the loop.

    8. Support for the latest hardware is always poor.
    The latest hardware is unstable so there is no use supporting it.

    9. It is incompatiable with GNU/Linux.
    GNU/Linux is incompatible with reality.

    10. It is dying.
    Eventually, decades from now, no one will be using BSD anymore because things will have advanced to the point where current tech is irrelevant. Yes, this means one day even Java will no longer be cutting edge.

    --
    You had me at "dicks fuck assholes".
  6. Re:What I Know About *BSD by Anonymous Coward · · Score: 0

    Feeding the trolls, because someone has to or they'll starve to death...

    You can not play games on it.

    I'm not a big game player, and I certainly don't play fps types, but there are many many games for FreeBSD. If it runs on Linux, it will run on FreeBSD. If it runs on Windows, a lot will still run on FreeBSD with WINE. I played CivIII on mine.

    It cannot be used by my grandma.

    So? Your grandma can't program her VCR either.

    It lacks a GUI of any note.

    KDE, GNOME, Xfce, Windowmaker, Blackbox, etc, etc. Native NVidia drivers. DRI. Just like Linux.

    There is no support available for it.

    DaemonNews, FreeBSDMall, Iron Systems, etc, etc. That's if you want paid support through a company. There's also tens of thousands of contractors for hire, several dozen mailing lists and forums, and unlike Linux, complete documentation.

    It is an assortment of fragmented OSes.

    Like Linux is not? FreeBSD is a single integrated operating system in a single source tree. Linux on the other hand is a welding together of many diverse projects, from the kernel to the various GNU projects, to distro supplied script-glue, to filesystems, to even BSD daemons and utilities.

    It cannot be run on the x86 platform.

    Don't bogart that dooby man! Pass it around, cause it must be good stuff.

    You have to compile everything and know C.

    No and no. Get a clue.

    Support for the latest hardware is always poor.

    Funny, I can't even install Linux on my current system. Because it's a Serial ATA only system. So far no Linux distro comes with SATA support in the install kernel. I could get it installed, but it would be a major pain in the butt, having to create a custom boot floppy on another system first.

    But FreeBSD had absolutely no problem with it. Native drivers for everything on the system, including the NVidia card. Everything worked out of the box with no hiccups. Hardware support under FreeBSD is catching up to Linux very very quickly.

    It is incompatiable with GNU/Linux.

    FreeBSD runs *ALL* userland Linux and GNU software that isn't pathologically dependent upon a kernel driver.

    It is dying.

    Aren't we all. I expect to keel over myself sometime in the next forty to fifty years.

  7. Re:What I Know About *BSD by __aafkqj3628 · · Score: 1

    You can not play games on it.
    Is Quake 3 not good enough for you?

    It cannot be used by my grandma.
    Grandma can't use a toaster, what's your point?

    It lacks a GUI of any note.
    *looks over to freebsd box and sees KDE running*

    There is no support available for it.
    No support for wimps.

    It is an assortment of fragmented OSes.
    You must have it confused with Red Hat. The colours are similar and those might confuse you.

    It cannot be run on the x86 platform.
    *looks at Cyrix 6x86 PR-200 for the second time today*

    You have to compile everything and know C.
    *wonders why my install took less than 2 hours on a 486*

    Support for the latest hardware is always poor.
    *looks at nVidia drivers*

    It is incompatiable with GNU/Linux.
    Has the Linux-compat broken again?

    It is dying.
    Luckily, so are you.

  8. Nice by __aafkqj3628 · · Score: 1

    Good article there, now I can finally remove all of the crap from my file server that I don't need (good timing too since I just got it up).

    Now, if I can only work out why sendmail (or at least the mailqueue) still insists on running *sigh*

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

    2. Re:Nice by __aafkqj3628 · · Score: 1

      Thanks, but WTF?!? Am I asking too much for a list of these options somewhere (or am I totally bind to have missed it?) or it a few dives through the source-code for me?

    3. Re:Nice by atrus · · Score: 1

      There was a big controversy on freebsd-stable awhile back on the evilness of the tri-state option. I think its an ugly fix, but nothing else seemed any prettier.

      You can always check /etc/defaults/rc.conf. I believe it is noted in there.

    4. Re:Nice by __aafkqj3628 · · Score: 2, Interesting

      What about having two -
      SENDMAIL_ENABLE
      SENDMAIL_INBOUND_ENABLE
      ?

      It is noted in there, was it not good enough for the doc guys?

      It's times like these, where I sliently swear that I'll fix it some day.

    5. 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"
    6. Re:Nice by __aafkqj3628 · · Score: 1

      I know, but I'm not going to read through the whole thing before I get started (I usually want to use the system to find out how to use and configure it).
      But I guess I can't have everything (but grouped configuration settings should maybe in in an appendix somewhere?)

  9. Re:What's that smell? by Anonymous Coward · · Score: 0

    Uh oh, gotta spread some quick lime and shovel dirt over it.

  10. Coping with failure by Anonymous Coward · · Score: 0
    Although it is true that BSD is dying, there are some helpful steps you can take ease your sorrow,
    • deal with the inevitable.
    • grieve for your loss.
    • move on.
    Never let your emotions get mixed up with something as silly as a computer operating system. It isn't healthy. So BSD fails. Big whoop. Deal with it and move on.

    Hope this helps.