Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
BSD Operating Systems

Cleaning and Customizing Your FreeBSD Ports 32

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."
This discussion has been archived. No new comments can be posted.

Cleaning and Customizing Your FreeBSD Ports

Comments Filter:
  • portsclean (Score:5, Informative)

    by Dukebytes ( 525932 ) <dukebytes@ya[ ].com ['hoo' in gap]> on Friday September 19, 2003 @11:20AM (#7004286) Homepage
    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

  • ... cd /usr/ports/distfiles then rm -rf *
  • 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*
    • Re:Nice (Score:4, Informative)

      by atrus ( 73476 ) <atrus.atrustrivalie@org> on Saturday September 20, 2003 @01:34AM (#7010461) Homepage
      You need to set sendmail_enable to NONE, not NO. NO simply disables the actual port 25 server, but not the mail queue.
      • 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?
        • 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.
          • Re:Nice (Score:3, 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.
        • Re:Nice (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 [freebsd.org]

          -Frank

          • 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?)

One man's constant is another man's variable. -- A.J. Perlis

Working...