Re: c++11 question: clang++ 3.3 header not found

2013-08-27 Thread Quark
- Original Message - > From: Tijl Coosemans > To: Quark > Cc: "freebsd-questions@freebsd.org" > Sent: Tuesday, 27 August 2013 1:41 PM > Subject: Re: c++11 question: clang++ 3.3 header not found > > On Tue, 27 Aug 2013 15:22:49 +0800 (SGT) Quark wr

Fwd: c++11 question: clang++ 3.3 header not found

2013-08-27 Thread Константин Беседин
AFAIK, the easiest way to get C++11 support in clang is to use libc++ (see http://blogs.freebsdish.org/theraven/2013/01/03/the-new-c-stack-in-9-1/). See also https://lists.freebsd.org/pipermail/freebsd-toolchain/2013-May/000841.html . 2013/8/27 Quark > % uname -a > FreeBSD cobalt 9

Re: c++11 question: clang++ 3.3 header not found

2013-08-27 Thread Tijl Coosemans
error generated. > > I guess clang is re-using system headers which belong to older gcc 4.2 > I also have gcc48 installed, how can I make clang to refer gcc48 headers? There two C++ runtime libraries, the old gcc libstdc++ which is used by default and the new C++11 libc++. You can use the latter like this: clang++ -std=c++11 -stdlib=libc++ -otest test.cc signature.asc Description: PGP signature

Re: c++11 question: clang++ 3.3 header not found

2013-08-27 Thread Quark
list, please pardon my stupid mail client hung, giving me impression that e-mail was not sent. apologies for spam. - Original Message - > From: Quark > To: "freebsd-questions@freebsd.org" > Cc: > Sent: Tuesday, 27 August 2013 12:52 PM > Subject: c++11 question

c++11 and clang question

2013-08-27 Thread Quark
tions -fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops -o /tmp/test-jIvr1p.o -x c++ test.cc clang -cc1 version 3.3 based upon LLVM 3.3 default target x86_64-unknown-freebsd9.2 ignoring nonexistent directory "/usr/include/c++/4.2/backward/backward" ignoring no

clang and c++11 question

2013-08-27 Thread Quark
Thread model: posix clang 3.3 is C++11 feature complete, but it fails to find and/or headers. since it is looking in system compiler path, which is old gcc4.2, not C++11 ready how to make clang refer headers from gcc48's installation( via pk

c++11 question: clang++ 3.3 header not found

2013-08-27 Thread Quark
% uname -a FreeBSD cobalt 9.2-RC3 FreeBSD 9.2-RC3 #0 r254795: Sat Aug 24 20:25:04 UTC 2013     r...@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64 % clang++ --version FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Target: x86_64-unknown-freebsd9.2 Thread model: posix

C++11 not working anymore with clang 3.2

2013-07-06 Thread David Demelier
Hello there, I've installed the c++ (libc++ library) like this : make -C /usr/src/lib/libcxxrt all install make CXX=clang -C /usr/src/lib/libc++ all install Then, I was able to compile with clang++ using -std=c++11 -stdlib=libc++. And now, after the clang-3.2 update I can't build

Re: script or c prog to record live audio?

2013-05-06 Thread Gary Kline
On Mon, May 06, 2013 at 11:40:06PM -0400, rpratt wrote: > On Mon, 6 May 2013 16:19:02 -0700 > Gary Kline wrote: > > I've been meaning to ask one of the Nix lists if there is a script that > > will record something from kuow.org > > To play audio stream: > > mplayer -playlist 'http://shoutcas

Re: script or c prog to record live audio?

2013-05-06 Thread Gary Kline
On Mon, May 06, 2013 at 07:24:29PM -0500, Joshua Isom wrote: > On 5/6/2013 6:19 PM, Gary Kline wrote: > > > >guys, > > > >I've been meaning to ask one of the Nix lists if there is a script that > >will record something from kuow.org while I watch one of my favorite tv > >broadcasts. most of the t

Re: script or c prog to record live audio?

2013-05-06 Thread rpratt
On Mon, 6 May 2013 16:19:02 -0700 Gary Kline wrote: > I've been meaning to ask one of the Nix lists if there is a script that > will record something from kuow.org To play audio stream: mplayer -playlist 'http://shoutcast.kuow.org:8002/listen.pls' To dump the audio stream to file: mpla

Re: script or c prog to record live audio?

2013-05-06 Thread Joshua Isom
On 5/6/2013 6:19 PM, Gary Kline wrote: guys, I've been meaning to ask one of the Nix lists if there is a script that will record something from kuow.org while I watch one of my favorite tv broadcasts. most of the time, nothing is on tv, but this one radio broadcast, "AR" co-insides with "NOV

script or c prog to record live audio?

2013-05-06 Thread Gary Kline
guys, I've been meaning to ask one of the Nix lists if there is a script that will record something from kuow.org while I watch one of my favorite tv broadcasts. most of the time, nothing is on tv, but this one radio broadcast, "AR" co-insides with "NOVA" at 21:00. anybody know? -- Gar

Re: C++ headers

2013-04-14 Thread David Demelier
Le dimanche 14 avril 2013 13:26:17 Shane Ambler a écrit : > On 13/04/2013 21:45, Jason Lenthe wrote: > >> Is it possible to get C++11 support on FreeBSD? Currently the 9.1-RELEASE > >> has some compiler C++11 capable but the /usr/include/c++ headers lacks > >> so

Re: C++ headers

2013-04-13 Thread Shane Ambler
On 13/04/2013 21:45, Jason Lenthe wrote: Is it possible to get C++11 support on FreeBSD? Currently the 9.1-RELEASE has some compiler C++11 capable but the /usr/include/c++ headers lacks some c++11 features (and missing headers). Is there any port of c++11 available? There sure is. Just get

Re: C++ headers

2013-04-13 Thread Jason Lenthe
> Is it possible to get C++11 support on FreeBSD? Currently the 9.1-RELEASE has > some compiler C++11 capable but the /usr/include/c++ headers lacks some c++11 > features (and missing headers). > > Is there any port of c++11 available? There sure is. Just get the latest ve

C++ headers

2013-04-13 Thread David Demelier
Hello folks, Is it possible to get C++11 support on FreeBSD? Currently the 9.1-RELEASE has some compiler C++11 capable but the /usr/include/c++ headers lacks some c++11 features (and missing headers). Is there any port of c++11 available? Regards, -- David Demelier

Re: pkg -c/pkg -j question

2013-02-13 Thread Matthew Seaman
On 13/02/2013 15:58, Arthur Chance wrote: > A question for pkgng gurus. When using pkg -c or pkg -j to work within > chroots or jails, how much of the pkg infrastructure needs to be present > in the chroot/jail? > > The reason I ask is because I'm thinking of building a se

pkg -c/pkg -j question

2013-02-13 Thread Arthur Chance
A question for pkgng gurus. When using pkg -c or pkg -j to work within chroots or jails, how much of the pkg infrastructure needs to be present in the chroot/jail? The reason I ask is because I'm thinking of building a server which has all services running in jails, with the nece

Re: Entry level C++ projects

2013-01-12 Thread C. P. Ghost
On Sat, Jan 12, 2013 at 11:10 AM, alwin doss wrote: > Hi All, > > I am a C++ developer and I want to contribute to FreeBSD. > There are so many applications. > Is there any C++ project which is simple enough to start with. > > Thanks in advance for your help. Hi Alwin, th

Entry level C++ projects

2013-01-12 Thread alwin doss
Hi All, I am a C++ developer and I want to contribute to FreeBSD. There are so many applications. Is there any C++ project which is simple enough to start with. Thanks in advance for your help. -- Alwin Doss God's Beloved ___ freebsd-ques

Re: Using the new C++11 stack on 9.1

2012-12-31 Thread Herbert J. Skuhra
On Mon, 31 Dec 2012 11:39:27 +0100 Marcus Karlsson wrote: > Hello. > > I was very happy when I received the 9.1 announcement in my mailbox, > especially when I read about the inclusion of the new C++11 stack > including LLVM libc++ and libcxxrt. So I decided to test it on

Using the new C++11 stack on 9.1

2012-12-31 Thread Marcus Karlsson
Hello. I was very happy when I received the 9.1 announcement in my mailbox, especially when I read about the inclusion of the new C++11 stack including LLVM libc++ and libcxxrt. So I decided to test it on a 9.1 system: clang++ foo.cc -stdlib=libc++ However, the compilation fails: /usr

Re: which C function is best to check for directory EXISTANCE?

2012-12-18 Thread Karl Vogel
>> On Tue, 18 Dec 2012 16:26:10 -0800, >> Gary Kline said: G> which C function is best to check for the existence of a *directory*? G> say that I am want to make postitve that "/tmp/foo/" exists. ALso: G> which will make sure that the directory AND file G>

Re: which C function is best to check for directory EXISTANCE?

2012-12-18 Thread Polytropon
On Tue, 18 Dec 2012 16:26:10 -0800, Gary Kline wrote: > > which C function is best to check for the existence of a > *directory*? say that I am want to make postitve that "/tmp/foo/" > exists. That can be done with the opendir() function; its manpage l

which C function is best to check for directory EXISTANCE?

2012-12-18 Thread Gary Kline
which C function is best to check for the existence of a *directory*? say that I am want to make postitve that "/tmp/foo/" exists. ALso: which will make sure that the directory AND ffile "tmp/foo/filename12345" exists and that I ha

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-24 Thread Warren Block
On Sat, 24 Nov 2012, Matthias Apitz wrote: El día Wednesday, November 21, 2012 a las 09:19:24PM -0700, Warren Block escribió: On Wed, 21 Nov 2012, Warren Block wrote: The fdisk/bsdlabel section of my disk setup article has been rewritten to use gpart. Feedback welcome. http://www.wonkity.

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-23 Thread Matthias Apitz
El día Wednesday, November 21, 2012 a las 09:19:24PM -0700, Warren Block escribió: > On Wed, 21 Nov 2012, Warren Block wrote: > > > The fdisk/bsdlabel section of my disk setup article has been rewritten > to use gpart. Feedback welcome. > > http://www.wonkity.com/~wblock/docs/html/disksetup.

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-22 Thread Warren Block
On Fri, 23 Nov 2012, Shane Ambler wrote: On 22/11/2012 14:49, Warren Block wrote: On Wed, 21 Nov 2012, Warren Block wrote: Got a chance to set up a scratch drive and check this. Turns out I left out the step of creating a "slice" (MBR partition) to hold the FreeBSD partitions. Also, GPT lab

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-22 Thread Shane Ambler
On 22/11/2012 14:49, Warren Block wrote: On Wed, 21 Nov 2012, Warren Block wrote: Got a chance to set up a scratch drive and check this. Turns out I left out the step of creating a "slice" (MBR partition) to hold the FreeBSD partitions. Also, GPT labels cannot be used in an MBR. Fixed below.

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-22 Thread Warren Block
On Thu, 22 Nov 2012, Leslie Jensen wrote: Warren Block skrev 2012-11-22 05:19: On Wed, 21 Nov 2012, Warren Block wrote: Got a chance to set up a scratch drive and check this. Turns out I left out the step of creating a "slice" (MBR partition) to hold the FreeBSD partitions. Also, GPT labels

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-22 Thread Leslie Jensen
Thank you very much for your work on this. I have found this conversation and your article very informative. I've already installed W7 on my SSD but I let the installation program create the windows (MBR) partition. I'm going to install FreeBSD 9.1 as soon as it is ready so I want to ask i

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-21 Thread Warren Block
On Wed, 21 Nov 2012, Warren Block wrote: Got a chance to set up a scratch drive and check this. Turns out I left out the step of creating a "slice" (MBR partition) to hold the FreeBSD partitions. Also, GPT labels cannot be used in an MBR. Fixed below. I will probably add this to my disk set

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-21 Thread Warren Block
On Tue, 20 Nov 2012, Snow Mountains wrote: 2012/11/20 Warren Block : On Tue, 20 Nov 2012, Snow Mountains wrote: Just one small problem. Here I got this: # gpart create -s bsd ada2s1 gpart: geom 'ada2s1': File exists # gpart set -a active -i 1 ada2s1 gpart: index '1': No such file or director

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-19 Thread Snow Mountains
2012/11/20 Warren Block : > I know I've seen that, but can't recall what causes it. You can try > retasting before creating the BSD partitions: > > # true > /dev/ada2 > # gpart create -s bsd ada2s2 Sorry, no difference: # gpart show ada2 => 63 468862065 ada2 MBR (223G) 63

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-19 Thread Warren Block
On Tue, 20 Nov 2012, Snow Mountains wrote: 2012/11/20 Warren Block : On Tue, 20 Nov 2012, Snow Mountains wrote: Just one small problem. Here I got this: # gpart create -s bsd ada2s1 gpart: geom 'ada2s1': File exists # gpart set -a active -i 1 ada2s1 gpart: index '1': No such file or director

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-19 Thread Snow Mountains
2012/11/20 Warren Block : > On Tue, 20 Nov 2012, Snow Mountains wrote: > >> Just one small problem. Here I got this: >> >> # gpart create -s bsd ada2s1 >> gpart: geom 'ada2s1': File exists >> # gpart set -a active -i 1 ada2s1 >> gpart: index '1': No such file or directory >> >> Expected? Anyway, is

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-19 Thread Warren Block
On Tue, 20 Nov 2012, Snow Mountains wrote: Just one small problem. Here I got this: # gpart create -s bsd ada2s1 gpart: geom 'ada2s1': File exists # gpart set -a active -i 1 ada2s1 gpart: index '1': No such file or directory Expected? Anyway, is it any way to but FreeBSD on something like s2?

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-19 Thread Snow Mountains
2012/11/19 Warren Block : > On Mon, 19 Nov 2012, Snow Mountains wrote: > >> 2012/11/18 Shane Ambler : >>> >>> On 18/11/2012 06:49, Snow Mountains wrote: >>> Could you recommend a reliable document on how to do a correct block alignment for new FreeBSD 9 install? FreeBSD Handbook doesn't >

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-19 Thread Warren Block
On Mon, 19 Nov 2012, Snow Mountains wrote: 2012/11/18 Shane Ambler : On 18/11/2012 06:49, Snow Mountains wrote: Could you recommend a reliable document on how to do a correct block alignment for new FreeBSD 9 install? FreeBSD Handbook doesn't mention this at all, although I can find a lot of

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-19 Thread Snow Mountains
2012/11/18 Shane Ambler : > On 18/11/2012 06:49, Snow Mountains wrote: > >> Could you recommend a reliable document on how to do a correct block >> alignment for new FreeBSD 9 install? FreeBSD Handbook doesn't >> mention this at all, although I can find a lot of (not quite >> consistent) advises on

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-17 Thread Shane Ambler
On 18/11/2012 06:49, Snow Mountains wrote: Could you recommend a reliable document on how to do a correct block alignment for new FreeBSD 9 install? FreeBSD Handbook doesn't mention this at all, although I can find a lot of (not quite consistent) advises on the net on how to do it with gpart/new

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-17 Thread Snow Mountains
2012/11/17 ill...@gmail.com : > On 17 November 2012 12:26, Snow Mountains wrote: >> * How will FreeBSD 9 behave in such situations? Any special tweaking needed? > > I wouldn't expect any special behaviour, though you need to take care > with block alignment. Perhaps in the future FreeBSD will hav

Re: FreeBSD on SSD on ASUS P5KPL-C

2012-11-17 Thread ill...@gmail.com
On 17 November 2012 12:26, Snow Mountains wrote: > Hello, > > I'm about to upgrade hardware on my desktop and to install FreeBSD 9 > on it. I have ASUS P5KPL-C and want to buy a SSD or SATA-III 6Gb/s > drive for it. > > Please advise me: > > * does it make sens

FreeBSD on SSD on ASUS P5KPL-C

2012-11-17 Thread Snow Mountains
Hello, I'm about to upgrade hardware on my desktop and to install FreeBSD 9 on it. I have ASUS P5KPL-C and want to buy a SSD or SATA-III 6Gb/s drive for it. Please advise me: * does it make sense to buy SSD drive for a mb that supports 4x SATA 3Gb/s (of couse, expecting a possible futu

bsdlabel: partition c doesn't cover the whole unit!

2012-11-10 Thread
d 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: # bsdlabel /dev/aacd1s1 # /dev/aacd1s1: 8 partitions: # size offsetfstype [fsize bsize bps/cpg] b: 33554432 0 swap c: 3510620127

Re: Converting C++ to C

2012-02-24 Thread Robert Bonomi
"Julian H. Stacey" wrote; > per...@pluto.rain.com wrote: > > Reason: I want to make what I think would be a fairly minor > > change to a small (1100-line) C++ program, but I don't know C++ > > -- only C -- and I don't understand the program well enough &

Re: Converting C++ to C

2012-02-24 Thread Da Rock
On 02/24/12 22:07, Julian H. Stacey wrote: per...@pluto.rain.com wrote: Some early implementations of C++ operated as preprocessors that emitted C code. Is there any current tool that will do that? I didn't recognize any such option in the g++ manpage, although I suppose it's pos

Re: Converting C++ to C

2012-02-24 Thread Mehmet Erol Sanliturk
On Fri, Feb 24, 2012 at 4:37 AM, wrote: > Some early implementations of C++ operated as preprocessors > that emitted C code. Is there any current tool that will do > that? I didn't recognize any such option in the g++ manpage, > although I suppose it's possible that

Re: Converting C++ to C

2012-02-24 Thread Julian H. Stacey
per...@pluto.rain.com wrote: > Some early implementations of C++ operated as preprocessors > that emitted C code. Is there any current tool that will do > that? I didn't recognize any such option in the g++ manpage, > although I suppose it's possible that one of the -fdump

Converting C++ to C

2012-02-24 Thread perryh
Some early implementations of C++ operated as preprocessors that emitted C code. Is there any current tool that will do that? I didn't recognize any such option in the g++ manpage, although I suppose it's possible that one of the -fdump-tree- options would come close enough. Reason:

Re: (c)dialog working differently during boot in script called by rc system than after boot?

2012-02-23 Thread Robarrght
riable is not set when booting.  Not a big surprise > really.  Try setting > > TERM=cons25 > > in your script before it calls dialog > > Dan > > > >> >> So, what is the hangup?  Are there dependencies that (c)dialog needs >> which aren't started yet

Re: (c)dialog working differently during boot in script called by rc system than after boot?

2012-02-23 Thread Dan Busarow
prise really. Try setting TERM=cons25 in your script before it calls dialog Dan > > So, what is the hangup? Are there dependencies that (c)dialog needs > which aren't started yet? > > (Troubleshooting) > If I simply run > dialog --msgbox "Test message&quo

Re: (c)dialog working differently during boot in script called by rc system than after boot?

2012-02-23 Thread CyberLeo Kitsana
On 02/23/2012 12:21 PM, Robarrght wrote: > Does anyone out there see what I'm missing? Setting TERM in your script's environment? To my knowledge, the boot scripts have a VERY minimal environment. Tried on 9.0-RELEASE: $ dialog --msgbox "Test message" 6 25 shows a message, whereas $ TERM="" di

(c)dialog working differently during boot in script called by rc system than after boot?

2012-02-23 Thread Robarrght
the script works normally.  I even have the script running in getty on a virtual console, where it works like a champ. So, what is the hangup?  Are there dependencies that (c)dialog needs which aren't started yet? (Troubleshooting) If I simply run dialog --msgbox "Test message" 6 25 in

Re:[SOLVED] bash LC_COLLATE or LC_ALL set “C” not sort in dictionary order.

2012-02-01 Thread Edward Martinez
On 01/31/12 12:22, Robert Bonomi wrote: ` Edward wrote: On 01/31/12 06:31, Robert Bonomi wrote: Hi, Been trying to get BASH to sort set characters in dictionary order. I typed "locale" and it shows LC_COLLATE and LC_ALL are set to "C" thought tha

Re: bash LC_COLLATE or LC_ALL set “C” not sort in dictionary order.

2012-01-31 Thread Jerry
On Tue, 31 Jan 2012 12:05:57 -0800 Edward Martinez articulated: > I meant LC_COLLATE being set to en_US.UTF-8 not C. linux and > solaris shows both upper and lowercase when set characters like > [a-cx-y] and others are used. when LC_COLLATE is set to > en_US.UTF-8.

Re: bash LC_COLLATE or LC_ALL set “C” not sort in dictionary order.

2012-01-31 Thread Edward Martinez
?_in_dictionary_order=2E?= Hi, Been trying to get BASH to sort set characters in dictionary order. I typed "locale" and it shows LC_COLLATE and LC_ALL are set to "C" thought that was enough to work, however when i type metacharacters: set character; any chara

Re: bash LC_COLLATE or LC_ALL set “C” not sort in dictionary order.

2012-01-31 Thread Robert Bonomi
ictionary_order=2E?= > > > > > Hi, > > Been trying to get BASH to sort set characters in dictionary order. > I typed "locale" and it shows LC_COLLATE and LC_ALL are set to "C" > thought that was enough to work, > however when i type m

bash LC_COLLATE or LC_ALL set “C” not sort in dictionary order.

2012-01-31 Thread Edward Martinez
Hi, Been trying to get BASH to sort set characters in dictionary order. I typed "locale" and it shows LC_COLLATE and LC_ALL are set to "C" thought that was enough to work, however when i type metacharacters: set character; any character, something like t

Re: OT: C|Net's Download.com adware, spyware, malware hijinkx.

2011-12-11 Thread Chad Perrin
On Sun, Dec 11, 2011 at 05:32:00AM -0600, Ryan Coleman wrote: > On Dec 10, 2011, at 12:30 AM, Polytropon wrote: > > On Fri, 9 Dec 2011 13:05:05 -0600, Ryan Coleman wrote: > >> > >> So, wait, Firefox is Malware? Did you notice that with FF4 > >> they changed it so that you didn't get prompted on la

Re: OT: C|Net's Download.com adware, spyware, malware hijinkx.

2011-12-11 Thread Ryan Coleman
On Dec 10, 2011, at 12:30 AM, Polytropon wrote: > On Fri, 9 Dec 2011 13:05:05 -0600, Ryan Coleman wrote: >> >> On Dec 9, 2011, at 12:03 PM, Polytropon wrote: >> >>> On Fri, 9 Dec 2011 09:38:59 -0600, Ryan Coleman wrote: It's still not malware, it's bloatware. Why would you not go to t

Re: OT: C|Net's Download.com adware, spyware, malware hijinkx.

2011-12-09 Thread Polytropon
On Fri, 9 Dec 2011 13:05:05 -0600, Ryan Coleman wrote: > > On Dec 9, 2011, at 12:03 PM, Polytropon wrote: > > > On Fri, 9 Dec 2011 09:38:59 -0600, Ryan Coleman wrote: > >> It's still not malware, it's bloatware. Why would you > >> not go to the development website to get the program anyway? > >

Re: OT: C|Net's Download.com adware, spyware, malware hijinkx.

2011-12-09 Thread Ryan Coleman
On Dec 9, 2011, at 12:03 PM, Polytropon wrote: > On Fri, 9 Dec 2011 09:38:59 -0600, Ryan Coleman wrote: >> It's still not malware, it's bloatware. Why would you >> not go to the development website to get the program anyway? > > Uninvitedly adding toolbars, changing web browser > home page and d

Re: OT: C|Net's Download.com adware, spyware, malware hijinkx.

2011-12-09 Thread Polytropon
On Fri, 9 Dec 2011 09:38:59 -0600, Ryan Coleman wrote: > It's still not malware, it's bloatware. Why would you > not go to the development website to get the program anyway? Uninvitedly adding toolbars, changing web browser home page and default search engine are - in my opinion - malicious acts,

Re: OT: C|Net's Download.com adware, spyware, malware hijinkx.

2011-12-09 Thread Ryan Coleman
On Dec 9, 2011, at 9:41 AM, Chris Brennan wrote: > On Fri, Dec 9, 2011 at 10:38 AM, Ryan Coleman > wrote: > Yeah, someone on my LUG list tried to claim that the TCLUG list was the > reason for the /. article… > > stupid peons… > > It's still not malware, it's bloatware. Why would you not go

Re: OT: C|Net's Download.com adware, spyware, malware hijinkx.

2011-12-09 Thread Chris Brennan
On Fri, Dec 9, 2011 at 10:38 AM, Ryan Coleman wrote: Yeah, someone on my LUG list tried to claim that the TCLUG list was the > reason for the /. article… > > stupid peons… > > It's still not malware, it's bloatware. Why would you not go to the > development website to get the program anyway? S

Re: OT: C|Net's Download.com adware, spyware, malware hijinkx.

2011-12-09 Thread Ryan Coleman
On Dec 9, 2011, at 9:35 AM, Chris Brennan wrote: > Sorry for the cross post I hadn't seen any chatter about this on the lists. > It > would seem that Download.com got caught with their pants down and were > re-wrapping F/OSS with their own installer and bundling adware, spyware > and malware with

OT: C|Net's Download.com adware, spyware, malware hijinkx.

2011-12-09 Thread Chris Brennan
Sorry for the cross post I hadn't seen any chatter about this on the lists. It would seem that Download.com got caught with their pants down and were re-wrapping F/OSS with their own installer and bundling adware, spyware and malware with it. NMap's author, over at insecure.org got pretty hot abou

Custom compiler/{C,CXX,F}FLAGS and /etc/make.conf - how to?

2011-11-09 Thread Vladimir Kushnir
Dear ALL, The subject says it all. I'm trying to push out of my box every ounce of performance, perhaps even with (yet experimental) path64 compiler. So my question is as simple as that: what is the precise spell to put in make.comf to get (while not disrupting the ports infrastructure!) -marc

Re: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Conrad J. Sabatier
On Thu, 3 Nov 2011 13:48:47 -0500 (CDT) Robert Bonomi wrote: [snip] > I am likely _not_ the typical user -- I run a monolithic kernel, with > everything I need 'compiled in'; *no* loadable modules. Yeah, it can > be a nuisance if I need something that isn't compiled in, but I don't > get ny une

Re: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread RW
Is it safe to interrupt (Ctrl + C) while building a port > > or kernel? >> > > Is it clear to interrupt the building process just by pressing Ctrl > > + ? > > Yes. Whilst it's not strictly-speaking "building", I would avoid interrupting an install. __

Re: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Conrad J. Sabatier
On Thu, 03 Nov 2011 22:48:26 +0400 Антон Клесс wrote: > 03.11.2011, 21:20, "Robert Bonomi" : > > >>   If it's so, do I need to run "make clean" before I start "make" > >> one more time? > >  Authoritative answer:  "It depends". > > > >  On what you 'did wrong", and what it takes to fix it. > > >

Re: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Erik Trulsson
r?B?4c7Uz84g68zF09M=?= > > >> To: freebsd-questions@freebsd.org > > >> Date: Thu, 03 Nov 2011 21:10:19 +0400 > > >> Subject: Is it safe to interrupt (Ctrl + C) while building a port or > > >> kernel? > > >> > > >> Sometimes, while b

Re: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Warren Block
On Thu, 3 Nov 2011, ? ? wrote: Is it clear to interrupt the building process just by pressing Ctrl + ? If it's so, do I need to run "make clean" before I start "make" one more time? With ports, a "make clean" before rebuilding is a good idea. The build might not be able to continue

Re: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Robert Bonomi
ate: Thu, 03 Nov 2011 21:10:19 +0400 > >> Subject: Is it safe to interrupt (Ctrl + C) while building a port or > >> kernel? > >> > >> Sometimes, while building process of some port or system kernel are in > >> progress, you suddenly remember that you did s

Re: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Антон Клесс
03.11.2011, 21:20, "Robert Bonomi" : >>   If it's so, do I need to run "make clean" before I start "make" one more >> time? >  Authoritative answer:  "It depends". > >  On what you 'did wrong", and what it takes to fix it. > >  e.g.,  if you're building a kernel the 'classial' way, that is 'confi

Re: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Damien Fleuriot
On 11/3/11 6:20 PM, Robert Bonomi wrote: >> From owner-freebsd-questi...@freebsd.org Thu Nov 3 12:10:08 2011 >> From: =?koi8-r?B?4c7Uz84g68zF09M=?= >> To: freebsd-questions@freebsd.org >> Date: Thu, 03 Nov 2011 21:10:19 +0400 >> Subject: Is it safe to interru

Re: Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org Thu Nov 3 12:10:08 2011 > From: =?koi8-r?B?4c7Uz84g68zF09M=?= > To: freebsd-questions@freebsd.org > Date: Thu, 03 Nov 2011 21:10:19 +0400 > Subject: Is it safe to interrupt (Ctrl + C) while building a port or kernel? > > Some

Is it safe to interrupt (Ctrl + C) while building a port or kernel?

2011-11-03 Thread Антон Клесс
Sometimes, while building process of some port or system kernel are in progress, you suddenly remember that you did something wrong and have to stop, solve your mistake and start one more time. Is it clear to interrupt the building process just by pressing Ctrl + ? If it's so, do I need to run

Re: OT: Old books (before c. 2009) for the price of shipping

2011-11-02 Thread Julian H. Stacey
t; > * Java in a Nutshell > -- O'Reilly - David Flangan > > * Core Java, Volume 1 - Fundamentals > -- Cay S. Horstmann, Gary Cornell > > * Managed C++ and .Net Development > -- Stephen R G Fraser, Forward by Arthur Laksberg > > * Counter Hack - A St

Re: OT: Old books (before c. 2009) for the price of shipping

2011-11-02 Thread Jerry
Bryan Costales with Eric Allman > > * Java in a Nutshell > -- O'Reilly - David Flangan > > * Core Java, Volume 1 - Fundamentals > -- Cay S. Horstmann, Gary Cornell > > * Managed C++ and .Net Development > -- Stephen R G Fraser, Forward by Arthu

OT: Old books (before c. 2009) for the price of shipping

2011-11-01 Thread parv
damentals -- Cay S. Horstmann, Gary Cornell * Managed C++ and .Net Development -- Stephen R G Fraser, Forward by Arthur Laksberg * Counter Hack - A Step by Step Guide to Computer Attacks and Effective Defenses -- Ed Skoudis * Scene of the Cybercrime: Computer Forensics

Re: need to check for hex in C: how/

2011-10-17 Thread perryh
Matthew Seaman wrote: > '32/' is not any sort of syntax I've ever seen before to > indicate hexadecimal. I suspect it's a typo, intending '32.' My fingers are forever mixing up slashes and periods, since the keys are adjacent (on a US/English keyboard, dunno about other arrangements). _

Re: need to check for hex in C: how/

2011-10-16 Thread Robert Bonomi
> Date: Sun, 16 Oct 2011 16:06:54 -0700 > From: Gary Kline > Subject: Re: need to check for hex in C: how/ > > this will bbe my 'sanity-checck' of sorts. the ck function will > have something like: > > if ((char)x == 'a') > { > } > And, yo

Re: need to check for hex in C: how/

2011-10-16 Thread Polytropon
On Sun, 16 Oct 2011 16:06:54 -0700, Gary Kline wrote: > this will bbe my 'sanity-checck' of sorts. the ck function will > have something like: > > if ((char)x == 'a') > { > } I'm not sure this is required. Many functions that deal with characters (in this case: letters) do operate on (int) inste

Re: need to check for hex in C: how/

2011-10-16 Thread Gary Kline
On Sun, Oct 16, 2011 at 11:58:03PM +0200, Polytropon wrote: > Date: Sun, 16 Oct 2011 23:58:03 +0200 > From: Polytropon > Subject: Re: need to check for hex in C: how/ > To: Gary Kline > Cc: FreeBSD Mailing List > X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.

Re: need to check for hex in C: how/

2011-10-16 Thread Gary Kline
On Sun, Oct 16, 2011 at 11:07:59PM +0100, Matthew Seaman wrote: > Date: Sun, 16 Oct 2011 23:07:59 +0100 > From: Matthew Seaman > Subject: Re: need to check for hex in C: how/ > To: freebsd-questions@freebsd.org > > On 16/10/2011 22:26, Gary Kline wrote: > > if n == 15 and

Re: need to check for hex in C: how/

2011-10-16 Thread Matthew Seaman
On 16/10/2011 22:26, Gary Kline wrote: > if n == 15 and x is the int. i can say > > if ((int)x == 15) Or to check if x == 'A' i can cast x to (char)x. > > what's the syntax to chec if x is , say, 32/ In C code you can write an integer constant in hexadecimal by p

Re: need to check for hex in C: how/

2011-10-16 Thread Polytropon
ed, no matter if you compare (int) or (char) to a numerical or character value. int i; char c; if(i == 32 || i == ' ') ... if(c == 32 || c == ' ') ... Functions or macros that deal with characters usually do return (int), even though one would expect (char). -- Polytropon

Re: need to check for hex in C: how/

2011-10-16 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org Sun Oct 16 16:27:46 2011 > Date: Sun, 16 Oct 2011 14:26:31 -0700 > From: Gary Kline > To: FreeBSD Mailing List > Cc: > Subject: need to check for hex in C: how/ > > > if n == 15 and x is the int. i can say > > if

need to check for hex in C: how/

2011-10-16 Thread Gary Kline
if n == 15 and x is the int. i can say if ((int)x == 15) Or to check if x == 'A' i can cast x to (char)x. what's the syntax to chec if x is , say, 32/ -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thoug

Re: Simplest way to deny access to a class C

2011-03-04 Thread Patrick Gibson
.@freebsd.org >> > [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Patrick Gibson >> > Sent: Thursday, March 03, 2011 5:58 PM >> > To: Jorge Biquez >> > Cc: freebsd-questions@freebsd.org >> > Subject: Re: Simplest way to deny access to a class C

Re: Simplest way to deny access to a class C

2011-03-04 Thread Gary Gatten
class C > >I wonder why nobodies mentioned a quite simple method with tcpwrappers and >hosts.allow / hosts.deny also Hello. I guess something simple could work For some reason, don ask me why becasue I did not find why, the: Order Deny, Allow Deny IP Allow all under httpd.conf an

Re: Simplest way to deny access to a class C

2011-03-04 Thread Jorge Biquez
.htaccess does not work but for now teh thing is simple, to block a class C, those guys are stupiod and programmed bad an application (I guess) and are pointing to one of my domains... since 4 weeks ago I am receiving this kind of access: 189.254.19.93 - - [04/Mar/2011:19:43:48 -0600] "OP

Re: Simplest way to deny access to a class C

2011-03-04 Thread Robison, Dave
Check out portsentry perhaps? I used to use it quite a bit. Whenever someone would hit one of a number of defined ports, I'd automatically add a rule denying them in IPFW and also drop their route to a non-existent IP on my class C. On 03/04/11 16:14, Patrick Gibson wrote: fail2b

Re: Simplest way to deny access to a class C

2011-03-04 Thread Outback Dingo
sday, March 03, 2011 5:58 PM > > To: Jorge Biquez > > Cc: freebsd-questions@freebsd.org > > Subject: Re: Simplest way to deny access to a class C > > > > You might consider mod_security (/usr/ports/www/mod_security) which > > can be set up to ban hosts based on beh

Re: Simplest way to deny access to a class C

2011-03-04 Thread Patrick Gibson
tion... > > -Original Message- > From: owner-freebsd-questi...@freebsd.org > [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Patrick Gibson > Sent: Thursday, March 03, 2011 5:58 PM > To: Jorge Biquez > Cc: freebsd-questions@freebsd.org > Subject: Re: Simple

Re: Simplest way to deny access to a class C

2011-03-04 Thread David Brodbeck
On Thu, Mar 3, 2011 at 4:02 PM, Gary Gatten wrote: > Be careful of automated responses.  What if someone spoofs IP's of legit > users / customers / whatever and your automated response blocks them?  Not > good. Fortunately this is a relatively low risk with fail2ban, because to spoof a failed S

Re: Simplest way to deny access to a class C

2011-03-04 Thread krad
] On Behalf Of Patrick Gibson >> Sent: Thursday, March 03, 2011 5:58 PM >> To: Jorge Biquez >> Cc: freebsd-questions@freebsd.org >> Subject: Re: Simplest way to deny access to a class C >> >> You might consider mod_security (/usr/ports/www/mod_security) which >

  1   2   3   4   5   6   7   8   9   10   >