Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 2003 10:47:52 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        Andri Kok <akok440@cse.unsw.EDU.AU>
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: Package dependencies
Message-ID:  <20031126074752.GA55349@ns2.wananchi.com>
In-Reply-To: <Pine.LNX.4.58.0311261833230.28414@weill.orchestra.cse.unsw.EDU.AU>
References:  <Pine.LNX.4.58.0311261833230.28414@weill.orchestra.cse.unsw.EDU.AU>

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

--u3/rZRmxL6MmkK24
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Andri Kok <akok440@cse.unsw.EDU.AU> [20031126 10:40]: wrote:
> Hi guys,
>=20
> I know that the ports system that FreeBSD has takes care of dependencies,
> but I'd like to write my own shell/perl script for finding out which
> dependencies a package need. So I guess the 1 million dollar question is
> "How do the ports programmer know what dependencies a package need?" that
> is all :) thx guys.

I believe they just get the application and then do the reading. The develo=
per
of every application will say what other apps it will require to run. If you
write a perl program, you do say what modules it will require for it to per=
form
a certain operation, don't you?

#!/usr/bin/perl

use strict;
use Digest::MD5;
use bla::blah;

Same thing as what the application developer says.

So for starters,

cd /usr/ports/net/gaim
make all-depends-list

Try to investigate what the target 'all-depends-list' does.

For more details, get the Porter's Handbook. Look for it at www.freebsd.org


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+
The first Great Steward, Parrafin the Climber, was employed in King
Chloroplast's kitchen as second scullery boy when the old King met a
tragic death.  He apparently fell backward by accident on a dozen salad
forks.  Simultaneously the true heir, his son Carotene, mysteriously
fled the city, complaining of some sort of plot and a lot of
threatening notes left on his breakfast tray.  At the time, this looked
suspicious what with his father's death, and Carotene was suspected of
foul play.  Then the rest of the King's relatives began to drop dead
one after the other in an odd fashion.  Some were found strangled with
dishrags and some succumbed to food poisoning.  A few were found
drowned in the soup vats, and one was attacked by assailants unknown
and beaten to death with a pot roast.  At least three appear to have
thrown themselves backward on salad forks, perhaps in a noble gesture
of grief over the King's untimely end.  Finally there was no one left
in Minas Troney who was either eligible or willing to wear the accursed
crown, and the rule of Twodor was up for grabs.  The scullery slave
Parrafin bravely accepted the Stewardship of Twodor until that day when
a lineal descendant of Carotene's returns to reclaim his rightful
throne, conquer Twodor's enemies, and revamp the postal system.
		-- Harvard Lampoon, "Bored of the Rings"

--u3/rZRmxL6MmkK24
Content-Type: application/x-pkcs7-signature
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64

MIIIpQYJKoZIhvcNAQcCoIIIljCCCJICAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BikwggLiMIICS6ADAgECAgMK3KkwDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UEBhMC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