Re: package dependencies
On Wed, 22 Nov 2006 14:23:03 -0800 Brian wrote: Is there a way to tell either portupgrade or make install in a ports folder to use a package for dependencies, even if one isn't available for port/package I'm installing/upgrading? May be you need a command portupgrade -RPP? WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Package dependencies
* Andri Kok [EMAIL PROTECTED] [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[EMAIL PROTECTED] 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 smime.p7s Description: S/MIME cryptographic signature
Re: Package dependencies
ok then. i'll start reading the porters handbook :) thx a lot for the reply Regards, Andri Kok On Wed, 26 Nov 2003, Odhiambo Washington wrote: * Andri Kok [EMAIL PROTECTED] [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[EMAIL PROTECTED] 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]