niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » OpenBSD
Any non-GNU compilers? sick of GNU copylefts
Post new topic   Reply to topic Page 2 of 5 [71 Posts] View previous topic :: View next topic
Goto page:  Previous  1, 2, 3, 4, 5 Next
Author Message
Charlie Gibbs
*nix forums beginner


Joined: 12 Mar 2005
Posts: 45

PostPosted: Sat Feb 19, 2005 7:59 pm    Post subject: Re: Firewall stops working - how to diagnose? Reply with quote

In article <41ffec65_2@news.dnainternet.net>, marko@where.ever.invalid
(Marko Vihoma) writes:

Quote:
John McGrail wrote:

On 2005-02-01, Marko Vihoma <marko@where.ever.invalid> wrote:

I believe that pf needs to be flushed & reloaded when the $ext_if IP
changes, so it will know the correct $ext_if IP again.

This depends very much on the version of OpenBSD the original poster
is using, as well as the syntax used in the rule-set.

He said it's OpenBSD 3.3 (time to update maybe?).

<sigh> You can escape Windows, but you can't escape updates.

Quote:
As of OpenBSD version 3.mummble, surrounding the interface name with
parentheses causes PF to automatically update the rule whenever the
interface changes its address. The ruleset does not need to be
reloaded.

That was the way with my former NetBSD & ipfilter router/firewall,
I don't know about OpenBSD 3.6 pf's situation yet, because my
external IP hasn't changed in these few month's of using it as
my router/firewall.

The above-mentioned feature is in 3.6 so if you use the right syntax
with your rules, you should never have to think about it.

Great, this was good to hear!

I had a hunch I read something about this somewhere...
My rdr & nat rules already contained these mysterious parentheses, as
they were essentially copied from the pf.conf(5) examples Wink Well,
changed rest of my rules from "to $ext_if" to "to ($ext_if)" as well
now, thank You for pointing this out!

Even on my 3.3 system, I found the following in the pf.conf man page:

Host name resolution and interface to address translation are
done at ruleset load-time. When the address of an interface
(or host name) changes (under DHCP or PPP, for instance), the
ruleset must be reloaded for the change to be reflected in the
kernel. Surrounding the interface name in parentheses changes
this behaviour. When the interface name is surrounded by
parentheses, the rule is automatically updated whenever the
interface changes its address. The ruleset does not need to
be reloaded. This is especially useful with _nat_.

Thanks, everyone, for your help. I'm off to check my pf.conf...

--
/~\ cgibbs@kltpzyxm.invalid (Charlie Gibbs)
\ / I'm really at ac.dekanfrus if you read it the right way.
X Top-posted messages will probably be ignored. See RFC1855.
/ \ HTML will DEFINITELY be ignored. Join the ASCII ribbon campaign!
Back to top
manicmarvin@hotmail.com
*nix forums beginner


Joined: 19 Feb 2005
Posts: 1

PostPosted: Sat Feb 19, 2005 7:59 pm    Post subject: Re: mac mini Reply with quote

brionius pinkish <brionius [ at ] gmail ish com> wrote in message news:<2005012914512316807%brioniusatgmailishcom@news.panic.com>...
Quote:
anyone gotten their mac mini yet and installed openbsd?

Yes.

Quote:
any issues?

If you want to run X, put Option "iBookHacks" "On" in your XFree86conf
in the device section for the radeon. Otherwise the video signal won't
reset when exiting X. Other than that no sound yet.
Back to top
Peter N. M. Hansteen
*nix forums addict


Joined: 19 Feb 2005
Posts: 86

PostPosted: Sat Feb 19, 2005 7:59 pm    Post subject: Re: Any non-GNU compilers? sick of GNU copylefts Reply with quote

linux62i@yahoo.com (Vlad) writes:

Quote:
I wonder if there is BSD licensed compiler that can be used for
commercial purpose. Would be nice to find good replacement for GNU
C/C++ libs/compiler.

Well, there is a project to produce one, at least - TenDRA.

In ports as /usr/ports/lang/tendra/, it lives at http://www.tendra.org/.
I'm not sure how far along they are feature wise though.

--
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"
Back to top
Tim Hammerquist
*nix forums Guru Wannabe


Joined: 25 Mar 2005
Posts: 159

PostPosted: Sat Feb 19, 2005 7:59 pm    Post subject: Re: Any non-GNU compilers? sick of GNU copylefts Reply with quote

Vlad <linux62i@yahoo.com> wrote:
Quote:
i am C/C++ developer and having big problem with customers using our
C++ programs. Sofar we use GCC on different platforms and have to use
LGPL shared libraries. Because of the libraries mess and mismatch one
has to distribute complete gcc lib chain within a product.

Are you talking about compilers? Or libraries? You mention compilers,
but your gripe seems to be with the libraries.

There's nothing that says you have to use L?GPL'd libs with gcc. My
former employer, who not only had no intention of disclosing their
source but was also prohibited by regulations from releasing source,
used gcc exclusively for one particular platform. We used no L?GPL'd
libs.

Quote:
Compiling comercial products statically and selling them is
prohibited due to GPL/LGPL - the only possibility is to distribute
libstdc++,libgcc... with the libs source code and link everything
dynamically.

The GPL licenses do not specify that you must include a CD-ROM
containing source with the product at time of delivery, only that you
make it available to customers.

Quote:
I wonder if there is BSD licensed compiler that can be used for
commercial purpose. Would be nice to find good replacement for GNU
C/C++ libs/compiler.

Again, are we talking about libs? or compilers?

Nevertheless, having BSD-licensed libraries available to use with any
compiler is an excellent idea.

Tim Hammerquist
Back to top
Markus Elfring
*nix forums addict


Joined: 19 Feb 2005
Posts: 51

PostPosted: Sat Feb 19, 2005 7:59 pm    Post subject: Re: Any non-GNU compilers? sick of GNU copylefts Reply with quote

Quote:
What I did find out is that there is a huge problem with binary
incompatibility in gcc between anything but minor revisions. Additionally
the lack of compatibility in C++ libraries doesn't help on the case either.
What strikes me is that if you code your program in C then you don't have
all these problems (or atleast fewer).

"How to mix C and C++"
http://www.inf.uni-konstanz.de/~kuehl/c++-faq/mixing-c-and-cpp.html


Quote:
I'm just surprised that a language beeing as old as C++ still gives that
many problems.

But it's not a new problem ... so why havn't someone thought of fixing it
before? I assume somewhere deep on the net there must be someone who wrote
aproaches for best practice of how to avoid these problems.

Would you like to read the chapters "7 ABI" and "8 Objects Across Broders" of the book
"Imperfect C++" (ISBN 0-321-22877-4) by Matthew Wilson?
http://imperfectcplusplus.com/

Regards,
Markus
Back to top
Rich Teer
*nix forums Guru


Joined: 21 Feb 2005
Posts: 1038

PostPosted: Sat Feb 19, 2005 7:59 pm    Post subject: Re: Any non-GNU compilers? sick of GNU copylefts Reply with quote

On Thu, 17 Feb 2005, Vlad wrote:

Quote:
i am C/C++ developer and having big problem with customers
using our C++ programs. Sofar we use GCC on different platforms
and have to use LGPL shared libraries. Because of the libraries mess
and
mismatch one has to distribute complete gcc lib chain within a
product.
Compiling comercial products statically and selling them is prohibited
due to
GPL/LGPL - the only possibility is to distribute libstdc++,libgcc...
with the libs source code and link everything dynamically.

It's not open source (at least, not yet), but SUn's compiler are great.
The potential downside is that they're Solaris based (which is now free).

--
Rich Teer, SCNA, SCSA, author of "Solaris Systems Programming"

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich
Back to top
Ryoko
*nix forums beginner


Joined: 19 Feb 2005
Posts: 12

PostPosted: Sat Feb 19, 2005 7:59 pm    Post subject: Re: Any non-GNU compilers? sick of GNU copylefts Reply with quote

In article <8771330c.0502170525.4540cfa4@posting.google.com>,
linux62i@yahoo.com (Vlad) wrote:

Quote:
Compiling comercial products statically and selling them is prohibited
due to
GPL/LGPL - the only possibility is to distribute libstdc++,libgcc...
with the libs source code and link everything dynamically.

Doesn't appear to be the case with libstdc++
http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/license.html
the above url seems to indicate that you can statically link libstdc++
without requiring to release your source.
It also highlights that libstdc++ v3 does not use the LGPL, it is the
GPL with a runtime exception.
with C libs you could supply the object files to allow relinking ...

R.
Back to top
John Smith
*nix forums Guru


Joined: 15 Oct 2003
Posts: 561

PostPosted: Sat Feb 19, 2005 7:59 pm    Post subject: Re: Any non-GNU compilers? sick of GNU copylefts Reply with quote

Hello,

Since I have more or less the same problem I already tried to research a
little on it. I also have C++ code which must be supplied in libraries and
compiled at end-user site and since I also choosed to use libstdc++ I'm also
facing the same as you.

What I did find out is that there is a huge problem with binary
incompatibility in gcc between anything but minor revisions. Additionally
the lack of compatibility in C++ libraries doesn't help on the case either.
What strikes me is that if you code your program in C then you don't have
all these problems (or atleast fewer).
I'm just surprised that a language beeing as old as C++ still gives that
many problems.

But it's not a new problem ... so why havn't someone thought of fixing it
before? I assume somewhere deep on the net there must be someone who wrote
aproaches for best practice of how to avoid these problems.

The ultimate goal is naturally to compile the C++ code with a C frontend and
absolutely no references to external C++ code. This would solve atleast one
problem.
However the answer of how to deploy software is still to be found. Because
as you discovered theres just too many posibilities for various
distributions to be able to support them all.

But honestly theres so many problem. I was looking at vmware and then it
struck me that to support "linux" they released almost 20 unique versions of
their software to ensure it works. Wheres the compatibility in that? The
thing I didn't understand yet is why they had to do it.
See their list at
http://www.vmware.com/products/desktop/ws_specs.html#sysreqs

-- John
Back to top
William Ahern
*nix forums addict


Joined: 14 Mar 2005
Posts: 90

PostPosted: Sat Feb 19, 2005 7:59 pm    Post subject: Re: Any non-GNU compilers? sick of GNU copylefts Reply with quote

In comp.unix.bsd.openbsd.misc Rich Teer <rich.teer@rite-group.com> wrote:
Quote:
On Thu, 17 Feb 2005, William Ahern wrote:

It's not open source (at least, not yet), but SUn's compiler are great.
The potential downside is that they're Solaris based (which is now free).

Are you talking about the CDDL? Have you read it?

How on Earth could you infer that I was?! But yes, I've read the CDDL.
In fact, as a member of the open source pilot, I was one of the people
outside of SUn who was in a position give them feedback about it.

This is a discussion about the availability of compilers, not licenses.

I think what the discussion was about is not exactly agreed upon. I was
speaking to the OP wishing to ship with different libraries.

In any event, I suppose statically linking w/ LGPL libraries was the real
issue and I missed the boat.
Back to top
Rich Teer
*nix forums Guru


Joined: 21 Feb 2005
Posts: 1038

PostPosted: Sat Feb 19, 2005 7:59 pm    Post subject: Re: Any non-GNU compilers? sick of GNU copylefts Reply with quote

On Thu, 17 Feb 2005, William Ahern wrote:

Quote:
It's not open source (at least, not yet), but SUn's compiler are great.
The potential downside is that they're Solaris based (which is now free).

Are you talking about the CDDL? Have you read it?

How on Earth could you infer that I was?! But yes, I've read the CDDL.
In fact, as a member of the open source pilot, I was one of the people
outside of SUn who was in a position give them feedback about it.

This is a discussion about the availability of compilers, not licenses.

--
Rich Teer, SCNA, SCSA, author of "Solaris Systems Programming"

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich
Back to top
Marko Vihoma
*nix forums beginner


Joined: 21 Feb 2005
Posts: 44

PostPosted: Sat Feb 19, 2005 7:59 pm    Post subject: Re: Real time log analysis and action Reply with quote

Johnny Kim wrote:

Quote:
Is there a program that can constantly monitor a log file (i.e.
/var/log/messages) and take action in real time when a certain action
is logged?

I know I can run a script that runs every minute as a cron job but I
want something even more responsive than that, like on the order of
3-5 seconds.

I don't really know anything about scripting or programming, but most
languages seem to have a sleep function, and there is /bin/sleep too.
--
marko [dot] vihoma [at] dnainternet [dot] net

Keskustelua zombeista c.u.b.freebsd.misc:
Thanks, parents were stuck and had to be killed.
Back to top
Sharif Torpis
*nix forums beginner


Joined: 19 Feb 2005
Posts: 1

PostPosted: Sat Feb 19, 2005 7:59 pm    Post subject: Re: Real time log analysis and action Reply with quote

In article <pan.2005.02.02.12.41.55.533921@sneakemail.com>,
Johnny Kim <bhhie8u02@sneakemail.com> wrote:
Quote:
Is there a program that can constantly monitor a log file (i.e.
/var/log/messages) and take action in real time when a certain action is
logged?

I know I can run a script that runs every minute as a cron job but I want
something even more responsive than that, like on the order of 3-5
seconds.

http://swatch.sourceforge.net/

--
Plus ca change, plus c'est la meme chose.
Back to top
William Ahern
*nix forums addict


Joined: 14 Mar 2005
Posts: 90

PostPosted: Sat Feb 19, 2005 7:59 pm    Post subject: Re: Any non-GNU compilers? sick of GNU copylefts Reply with quote

In comp.unix.bsd.openbsd.misc Rich Teer <rich.teer@rite-group.com> wrote:
Quote:
On Thu, 17 Feb 2005, Vlad wrote:

i am C/C++ developer and having big problem with customers
using our C++ programs. Sofar we use GCC on different platforms
and have to use LGPL shared libraries. Because of the libraries mess
and
mismatch one has to distribute complete gcc lib chain within a
product.
Compiling comercial products statically and selling them is prohibited
due to
GPL/LGPL - the only possibility is to distribute libstdc++,libgcc...
with the libs source code and link everything dynamically.

It's not open source (at least, not yet), but SUn's compiler are great.
The potential downside is that they're Solaris based (which is now free).

Are you talking about the CDDL? Have you read it?

3. Distribution Obligations.

3.1. Availability of Source Code.

Any Covered Software that You distribute or otherwise make available
in Executable form must also be made available in Source Code form
and that Source Code form must be distributed only under the terms
of this License. You must include a copy of this License with every
copy of the Source Code form of the Covered Software You distribute
or otherwise make available. You must inform recipients of any such
Covered Software in Executable form as to how they can obtain such
Covered Software in Source Code form in a reasonable manner on or
through a medium customarily used for software exchange.

How is that different from the LGPL? In fact, the CDDL is worse than the
LGPL because you can lose your license:

6. TERMINATION

6.2. If You assert a patent infringement claim (excluding
declaratory judgment actions) against Initial Developer or a
Contributor (the Initial Developer or Contributor against whom You
assert such claim is referred to as "Participant") alleging that the
Participant Software (meaning the Contributor Version where the
Participant is a Contributor or the Original Software where the
Participant is the Initial Developer) directly or indirectly
infringes any patent, then any and all rights granted directly or
indirectly to You by such Participant, the Initial Developer (if the
Initial Developer is not the Participant) and all Contributors under
Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice
from Participant terminate prospectively and automatically at the
expiration of such 60 day notice period, unless if within such 60
day period You withdraw Your claim with respect to the Participant
Software against such Participant either unilaterally or pursuant to
a written agreement with Participant

Source: http://www.sun.com/cddl/cddl.html
Back to top
Steven G. Kargl
*nix forums Guru Wannabe


Joined: 02 Dec 2003
Posts: 146

PostPosted: Sun Feb 20, 2005 8:02 pm    Post subject: Re: Installation hangs Reply with quote

In article <37s8c0F5i6c61U1@individual.net>,
Madhusudan Singh <spammers-go-here@spam.invalid> writes:
Quote:
Hi

I am trying to install OpenBSD 3.6 (no prior OpenBSD or BSD experience, but
plenty of Linux experience) on a Dell Poweredge server (SC420).


This is FreeBSD forum. You may wish to try a forum
that actually cares about OpenBSD.

--
Steve
http://troutmask.apl.washington.edu/~kargl/
Back to top
Gregory Toomey
*nix forums Guru Wannabe


Joined: 26 Feb 2005
Posts: 152

PostPosted: Sun Feb 20, 2005 9:24 pm    Post subject: Re: Installation hangs Reply with quote

Steven G. Kargl wrote:

Quote:
This is FreeBSD forum.

No its not moron.

gtoomey
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 2 of 5 [71 Posts] Goto page:  Previous  1, 2, 3, 4, 5 Next
View previous topic :: View next topic
The time now is Thu Jan 08, 2009 5:53 pm | All times are GMT
navigation Forum index » *nix » BSD » OpenBSD
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Huge and sick Postfix Karel Chromik Postfix 0 Wed Jul 19, 2006 7:03 pm
No new posts commercial c compilers vs free c compilers limescale C 33 Sun Jul 02, 2006 8:30 pm
No new posts What are the popular c++ compilers? junw2000@gmail.com C++ 3 Tue Jun 20, 2006 3:50 am
No new posts Just another difference between compilers. nutty C++ 4 Sun Jun 11, 2006 9:13 pm
No new posts Compilers should have an option to ignore unknown flags? Dave (from the UK) Solaris 21 Tue Jun 06, 2006 12:50 pm

PS2 Cheat Codes | Samsung Tocco | Debt Consolidation | Debt Consolidation | Advertising
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.6267s ][ Queries: 16 (0.4642s) ][ GZIP on - Debug on ]