Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2013 17:45:52 +0000
From:      "Teske, Devin" <Devin.Teske@fisglobal.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        markham breitbach <markham_breitbach@ssimicro.com>, Devin Teske <dteske@freebsd.org>, questions <questions@freebsd.org>
Subject:   Re: .sh script code to determine IPv4 or IPv6
Message-ID:  <13CA24D6AB415D428143D44749F57D72020071EE@ltcfiswmsgmb21>
In-Reply-To: <20130806193908.bb4ff02a.freebsd@edvax.de>
References:  <51FCE9C7.7020407@a1poweruser.com> <20988.61897.78070.312049@jerusalem.litteratus.org> <13CA24D6AB415D428143D44749F57D720200229A@ltcfiswmsgmb21> <52012235.3050006@ssimicro.com> <20130806184332.ff7f0c4d.freebsd@edvax.de> <13CA24D6AB415D428143D44749F57D7202006F51@ltcfiswmsgmb21> <20130806193908.bb4ff02a.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On Aug 6, 2013, at 10:39 AM, Polytropon wrote:

> On Tue, 6 Aug 2013 16:50:37 +0000, Teske, Devin wrote:
>> And yes... to clarify... the port is a mirror of what's in 9.x base.
>> (however, see my recent notes in a separate reply; TL;DR: port is
>> 9.x only; proceed only if you know you don't care about the dialog(1)
>> aspects of the library code).
>=20
> I think it should be relatively unproblematic to fetch the
> port and only use the subroutines "as is", even if it's just
> for educational purposes. :-)
>=20

Right.

Just a warning though, what is "fetched" in ports is actually in the format=
 of what's in HEAD (read: not in the format of what gets installed).

For example, there are things that end up in /usr/share/bsdconfig that aren=
't in the "bsdconfig/share/" source directory (e.g., all the stuff under /u=
sr/share/bsdconfig/networking is under the source directory "bsdconfig/netw=
orking/share"). This may be counter-intuitive from an "exploratory" view if=
 looking at the source directory (what's fetched by ports).

And since the port Makefile will prevent you from turning that fetch'ed sou=
rce directory into an installed software (putting things where they end up)=
, it might be easier to grab this pre-built package that I stashed...

http://druidbsd.sf.net/download/bsdconfig/bsdconfig-0.9.0.tbz

Because then you can say "pkg_add" and everything will be in the right plac=
e (/usr/share/bsdconfig/ will be flush with everything and you won't have t=
o hunt-and-peck through the source with a "maintainers" view).
--=20
Devin

_____________
The information contained in this message is proprietary and/or confidentia=
l. If you are not the intended recipient, please: (i) delete the message an=
d all copies; (ii) do not disclose, distribute or use the message in any ma=
nner; and (iii) notify the sender immediately. In addition, please be aware=
 that any message addressed to our domain is subject to archiving and revie=
w by persons other than the intended recipient. Thank you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13CA24D6AB415D428143D44749F57D72020071EE>