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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] * Andri Kok <akok440@cse.unsw.EDU.AU> [20031126 10:40]: wrote: > Hi guys, > > 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 developer 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 perform 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 -- +======================================================================+ |\ _,,,---,,_ | 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 +======================================================================+ 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" [-- Attachment #2 --] 0 *H 010 + 0 *H )00K ܩ0 *H 0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0 031004083542Z 041003083542Z0C10UThawte Freemail Member1 0 *H wash@wananchi.com0"0 *H 0 ,IeG;p60A2Y,;9+fl^Au+S,#?wYD}pdFQ a(wѶO>l5 bjY5PQ{y5MA;aty}Lst\'jqOp!?2])@33 Is~:K&!(2s@a~݆/]Gcĝ5PE<E[{@*>sD@D7QX1 A0?0 `HB0U0wash@wananchi.com0U0 0 *H @E)x<QɝY2U ЍeSd?p]Hg9# VeT Gf8Z1+P^ێpCuXoIf)E"ܑ@0?0 0 *H 010 UZA10UWestern Cape10U Cape Town10U Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H personal-freemail@thawte.com0 030717000000Z 130716235959Z0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00 *H 0 Ħ<UsUNʙZhup[v:aQP 0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr` 00U0 0CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380 *H HP. fgCL!6-6/P p<ab:~ t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1D0@0i0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA ܩ0 + 0 *H 1 *H 0 *H 1 031126074752Z0# *H 1ѣeg1</ܨd0R *H 1E0C0 *H 0*H 0 *H @0+0 *H (0 *H ]drؐ0K-߄|&[¨$5=bwlU?Z TuqU+ k &0}!]^ryGsdKUT85"x#14T'iTjyJ&p81{T~| ,*W2xj*fw-WY9+;w*\Bi;.N7N96o`= /O1 (dWyh~kX|hK(DbTBhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031126074752.GA55349>
