Contributed by Dengue on from the anandtech.com dept.
"OpenBSD Ports FAQ was posted to the hardware tech-site today it would appear. Seems a bit incongruous, given that the site seems mostly garnered towards performance-enthusiast users. Though to their benefit they do have the occasional half-decent server-hardware review, unlike tomshardware, et al. Link is here: http://www.anandtech.com/guides/viewfaq.html?i=124The 'sudo make' bit might jump out at those following the irssi debate on misc@ recently who argue that only make install should be done as root. But otherwise it's an OK (if seemingly totally out of place) introduction to ports for joe-newbie. I get the feeling that most anandtech readers might be better off with a "What is OpenBSD?" faq though. ;-) "
(Comments are closed)
By somejackass () on
Comments
By Klaus () on
Thanks to Anandtech.
Comments
By DieNadel () on
"Lots of ports can be built without X Windows requirement and accordingly have a no_x11 flavor."
http://www.openbsd.org/cgi-bin/man.cgi?query=ports&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html
Comments
By Gioffreus () on
the ports(7) man page is a good reference, but i still think you get a much better understanding of the whole ports system and how things are done by just reading the relevant files in $PORTSDIR/infrastructure/mk/ ...
granted, that's just my opinion and what works for me. BTW, it's not like it takes a lot of time to do this either...
--
cheers to all =)
By Pedantic () on
Comments
By Anonymous Coward () on
By Gioffreus () on
i'm not saying it is..? i'm just asking *if* it *is* dangerous. anyway, i have always just done `make fetch' from my normal user account.
in the same vein and for the same reason, i *never* do cvs updates as root or via su/sudo either. am i wrong in my thinking that root should never do cvs updates? am i just a monkey?
Comments
By grey () on
"The 'sudo make' bit might jump out at those following the irssi debate on misc@ recently who argue that only make install should be done as root."
Definitely performing actions as root unnecessarily can potentially lead to compromising situations, you're definitely _not_ being paranoid.
Refer to the recent irssi thread on misc@ for more details of why building a port as root might not be that wise.
One example of a more sane method may be found in this post; but reading the whole thread can give some other interesting alternatives:
http://www.sigmasoft.com/~openbsd/archive/openbsd-misc/200205/msg01669.html
Comments
By Gioffreus () on
> Refer to the recent irssi thread on misc@ for more details
will do!
someday soon i gotta subscribe to misc@ again. always something interesting to read...
By Marc Espie () espie@openbsd.org on mailto:espie@openbsd.org
Not so good FAQ.
Compiling ports as root ? Blech !!! Very, very bad advice.
FLAVOR advice is not good as well... There's a reason
we consistently say
`use env FLAVOR=no_x11 make'
It's because env is a command that works, and is shell-independent. So you don't have to give distinct advice to sh and csh users.
The `make search' stuff is VERY outdated as well.
See `SELECTING A SET OF PORTS'
in the ports(7) manpage to see what I'm talking about...
Comments
By Gioffreus () on
how's that? i learned something new today... ;)
Comments
By Gioffreus () on
ignore me
By Anonymous Coward () on