Re: Setting a locale globally

2013-06-15 Thread Mike.
On 6/14/2013 at 3:46 PM staticsafe wrote:

|On Fri, Jun 14, 2013 at 12:13:34PM -0400, Mike. wrote:
|> 
|> 
|> I would like to set the locale of my 9.1 server to
|> 
|>LANG="en_US.ISO8859-1"
|> 
|> 
|> globally, i.e., put the locale entry in one file, and then have the
|> locale propagate as I go into other shells and run various scripts.
|> 
|> 
|> I have spent some quality time with google, and the best I have been
|> about to ascertain is that I need to sprinkle the LANG setting
|> throughout the various ENV variables and .profile, .cshrc, .bashrc,
and
|> whatever files spread across my directory tree.
|> 
|> 
|> That really seems counter-intuitive to me.
|> 
|> 
|> Is it at all possible for me to specify in once place *somewhere"
that
|> the entire server is to use the locale setting
LANG="en_US.ISO8859-1" ?
|> 
|> I need a clue...
|> 
|> 
|> thanks.
|> 
|> 
|24.3.3.1.1. Login Classes Method
|"This method allows environment variables needed for locale name and
|MIME character sets to be assigned once for every possible shell
instead
|of adding specific shell assignments to each shell's startup file.
User
|Level Setup can be performed by each user while Administrator Level
|Setup requires superuser privileges."
|
|Source:
|http://www.freebsd.org/doc/en/books/handbook/using-localization.html#lo
gin-class
|-- 
=

Thank-you!  That does what I need.

I added the lang keyword to the default and root sections of
/etc/login.conf, then ran 

cap_mkdb /etc/login.conf

as mentioned in the handbook.


Thanks again for the assist.







___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


How can I install dialog4ports in my qjail3 environment?

2013-06-15 Thread Masayoshi Fujimoto
Hi,
How can I install dialog4ports in my qjail3 environment?
I will be grateful for any help you can provide.


root # cd /usr/ports/sysutils/qjail
root # qjail create -n em0 webserver 192.168.0.50
root # pkg_info | grep qjail
qjail-3.0   Utility to quickly deploy and manage jails


webserver /usr/ports/ports-mgmt/dialog4ports >make install clean
=> dialog4ports-0.1.4.tar.gz doesn't seem to exist in /var/ports/distfiles/.
=> Attempting to fetch http://m1cro.tk/dialog4ports/dialog4ports-0.1.4.tar.gz
dialog4ports-0.1.4.tar.gz 100% of    9 kB   61 kBps
===> Fetching all distfiles required by dialog4ports-0.1.4 for building
===>  Extracting for dialog4ports-0.1.4
=> SHA256 Checksum OK for dialog4ports-0.1.4.tar.gz.
===>  Patching for dialog4ports-0.1.4
===>  Configuring for dialog4ports-0.1.4
===>  Building for dialog4ports-0.1.4
"/dev/null", line 1: Need an operator
make: fatal errors encountered -- cannot continue
*** [do-build] Error code 1

Stop in /usr/ports/ports-mgmt/dialog4ports.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"