Quick Nav
FreeBSD has a very neat 'ports' system, which lets you install software easily.
If the ports tree is installed, all you have to do is:
cd /usr/ports/ftp/proftpd make make install make clean
That will download the software you've chosen (proftpd in this case), configure it, make it, install it, and then cleanup. You can even shorten it to one command if you want to be brave:
make install clean
What if you don't want the default options for your particular install? There are a number of ways to customize your install:
If you type make config, and the port supports it (not all ports do), you'll get a menu with the various options you can use for that port. For example, for proftpd, you'll see a bunch of options such as MYSQL (enable MySQL support), QUOTA (enable quota management), and IPV6 (enable IPv6 support). Check the ones you want, uncheck the ones you don't, and you're off to the races.
To see the current config, type make showconfig, and reset the config to the default, type make rmconfig.
If you look at the makefile for a given port, you'll see most of the options are included if some variable (such as WITH_RADIUS or WITH_IPV6) is defined. For example, here is a snippet from the proftpd ports makefile:
.if defined(WITH_RADIUS)
MODULES:=${MODULES}:mod_radius
.endif
The -D command line switch lets you define a variable to be 1 (thus making it defined). If you do:
make -DWITH_RADIUS
you'll trigger the if statement in the makefile, and thus proftpd will get compiled with Radius support. You can use multiple -D options, e.g.
make -DWITH_RADIUS -DWITH_IPV6 -DWITH_BAN
To figure out what options are available, look at the documentation (or just look at the makefile!)
make also lets you set variables manually via the command line, which is useful if you need to set a variable to a specific value:
make WITH_RADIUS=1 LOCALBASE=/usr/local
Setting WITH_RADIUS=1 does almost, but not quite, the same thing as -DWITH_RADIUS. To understand the difference, you need to understand make's idea of 'variable context'. Basically, a variable can exist in any of four different levels (or 'contexts'); if the same variable is defined in two contents, the one with the higher (bigger) number on the following list will override the one with the lower number. The contexts are:
1. Environment variables: Variables defined as part of make's environment.
2. Global variables: Variables defined in the makefile or in included makefiles.
3. Command line variables: Variables defined as part of the command line.
4. Local variables: Variables that are defined specific to a certain target.
If you look at the man page for make, you'll see it says:
-D variable
Define variable to be 1, in the global context.
variable=value
Set the value of the variable variable to value.
That part about in the global context is key. If you set a variable with -D, the makefile can change or overwrite it, because it is in the same context as variables defined in the makefile (#2 on the above list). But, if you define it to the exact same value with VARIABLE=1, the makefile cannot change it, because it has been defined in the 'command line context' (#3), and is thus higher than #2.
This is a subtle difference, but has caused no end of frustration in the past, so keep it in mind.
-D can only set a variable to a value of 1. So how do you set a variable to a specific value (e.g. /usr/local) in the global context (and thus let the makefile change it)? I'm not aware of a way to set a variable in the global context without altering the makefile, but you can set an environment variable, which is a lower context, and then let make read it. So you might do:LOCALBASE=/usr/local export LOCALBASE make make install LOCALBASE=
This isn't ideal, but certainly works. Comments welcome.
Discussion
Hey everyone,
Have just acquired my first iphone and really enjoy it, though that is definitely beside the point. The catch is, I just have to have a shot at some of those iphone casino programs and simply do not know where to begin. I realize, I can easily Google and bing everything, nonetheless I would like to get some guidelines from you.
My question is simple: what sort of <a href=http://2fresh.gdefect.com/ipnone-casino-games-at-the-forefront-of-mobile-gaming/>iphone casino games</a> could you recommend? As far as I know there will be apps that you need to download and install and casinos that may be played without any saving. But which of them could you call a more rewarding solution? I will also appreciate it a lot if you guys give your reasons and maybe examples.
Just in case it is necessary: my iphone is iphone 3gs and I plan to play for real.
Many thanks.
Want free X-Rumer 7.0.10 Elite?
Give me URL please!
Specializes in the <a href=http://pfgfx.net/forex/>online foreign exchange</a> market, providing both asset management and consulting.
Unique and award winning forex platform for online trading opportunities (incl. <a href=http://pfgfx.net/demo_account/>forex demo account</a> opportunities).Weekly forex market reports, daily graphs, research, and analysis of the forex market.
Where download for free XRumer 7.0.10 Elite?
Send me URL please!
Hello people,
Just got my very first iphone and actually love it, although this is a different story. The idea is, I wish to try out one of those <a href=http://2fresh.gdefect.com/uk-gamers/>iphone casino games</a> and simply just don't know how to begin. I understand, I can Google and bing something, nevertheless I prefer to get some good ideas from real people.
My question is not intricate: which kind of iphone casino do you recommend? As far as I know there are those that you'll have to download and the ones that may be used with no downloading. But which of these casinos could you recommend as a more rewarding solution? I will also appreciate it a lot if you give your reasons and maybe examples.
In case this information is important: I use iphone 4s and I mean to play for real money.
Adios for now.
Hello guys,
Have just bought my 1st iphone and definitely like it, but that is definitely a different story. Apparently, I want to test one of those <a href=http://2fresh.gdefect.com/>iphone casino apps</a> and simply have no idea where to start. I realize, I may easily Google and bing all sorts of things, yet somehow I want to get some advice from people.
The question is, what sort of iphone casino could you highly recommend? As far as I know there will be applications that you will need to download and casinos that can be used without any installing. So which of them would you recommend as a better type of software? I will additionally appreciate it a lot if you give your reasons.
If it's important: I use iphone 3gs and I intend to play for real.
Adios for now.