Re: Howto find packages

2003-10-18 Thread David Fleck
On Thu, 16 Oct 2003, Simon Rutishauser wrote:
 But, apt-cache isn't yet finished there. You can also run

 apt-cache show gnomeicu

 which presents you lots of details about the one package with this name:
[...]
 is there something like that for FreeBSD, too?


pkg_info will provide most, if not all, of that information, provided you
feed it the right command line options.


--
David Fleck
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto find packages

2003-10-17 Thread Simon Rutishauser
Am Thu, 16 Oct 2003 17:03:55 +0100 schrieb Jez Hancock:

 On Thu, Oct 16, 2003 at 05:01:21PM +0100, Jez Hancock wrote:
 /ports/Tools/scripts/portsearch
 Sorry should have been:
 
 /usr/ports/Tools/scripts/portsearch
 
 of course :|

Sounds quite nice...

But, apt-cache isn't yet finished there. You can also run

apt-cache show gnomeicu

which presents you lots of details about the one package with this name:
- dependencies
- version
- architecture
- size
- md5sum
and last but most important
- A description of what the program is about

is there something like that for FreeBSD, too?

MfG Peschmä

---
Attached output of apt-cache show gnomeicu:

Package: gnomeicu
Priority: optional
Section: gnome
Installed-Size: 2672
Maintainer: Raphael Hertzog [EMAIL PROTECTED]
Architecture: i386
Version: 0.98.3-3
Replaces: gtkicq
Provides: gtkicq
Depends: gdk-imlib1, libart2 (= 1.2.13-5), libaudiofile0 (= 0.2.3-4), libc6 (   
   = 2.2.5-13), libdb3 (= 
3.2.9-17), libesd0 (= 0.2.23-1) | libesd-alsa0 (= 0.2.   
   23-1), libgdbmg1, libgdk-pixbuf2 (= 0.18.0-3), 
libglade-gnome0, libglade0, libg   
   lib1.2 (= 1.2.0), libgnet1.1-glib1 (= 1.1.4), libgnome32 (= 1.2.13-5), 
libgno  mesupport0 (= 
1.2.13-5), libgnomeui32 (= 1.4.2-3), libgnorba27 (= 1.2.13-5),   
libgtk1.2 (= 1.2.10-4), liborbit0 (= 
0.5.16), libpanel-applet0 (= 1.4.0.2-3),  
 libxml1 (= 1:1.8.14-3), xlibs ( 4.1.0), zlib1g (= 1:1.1.4)
Suggests: gnome-panel
Filename: pool/main/g/gnomeicu/gnomeicu_0.98.3-3_i386.deb
Size: 712328
MD5Sum: bc7782b71a9d9f99a6152fac97f915c1
Description: Small, fast and functional clone of Mirabilis' ICQ
 GnomeICU is a clone of Mirabilis' popular ICQ written with GTK+.
 ICQ informs you who's online at any time and enables you to contact
 them at will.
 .
  -- Features --
  * URL Transfer (w/transfer to Netscape ability)
  * Sign up as a new user, or with an existing account
  * Allow other users to add you to their list
  * Message History per user
  * Chat
  * Icon and Color Based on Status of User
  * Online and Offline Section
  * Receive Message Queue
  * Changeable Status
  * Sending Messages
  * Sound Events
  * Reply Box in Same Window as Receive Message
  * Send, Reply, Cancel, Read Next buttons in dialog boxes
  * Connection History Window
  * Invisible List
  * Color Customization
  * GUI Configuration
  * V5 Protocol (new)
  * Drag 'n' Drop support for files and URLs (from Netscape)


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Howto find packages

2003-10-16 Thread Dinesh Nadarajah
Hi:

I come form the Debian Linux world and would like to know how I can
information about packages for installation. I use prots to install
some, but many of them I just want to install binary files.

For eample, in Debian, I can use apt-cache search mozilla and this
will list all packages with mozilla in it and then I can select the
package for installation.

In FreeBSD, when I run pkg_add -r mozilla I keep getting an error
stating that it could not download package ftp://../mozilla.tgz.

Is there a better way to find what ackages are available for
installation?

Thanks in advance.

-D
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto find packages

2003-10-16 Thread Matthew Seaman
On Thu, Oct 16, 2003 at 07:59:00AM -0700, Dinesh Nadarajah wrote:

 I come form the Debian Linux world and would like to know how I can
 information about packages for installation. I use prots to install
 some, but many of them I just want to install binary files.

Debian apt is certainly one of the better package management systems.
 
 For eample, in Debian, I can use apt-cache search mozilla and this
 will list all packages with mozilla in it and then I can select the
 package for installation.

The emphasis in FreeBSD is generally on ports rather than packages.
For many ports, downloading the source and compiling doesn't take a
great deal longer than downloading a binary package.  Of course, for
some ports compilation takes quite a lot longer.

You can use the ports tree to search for what ports/packages are
available:

% cd /usr/ports
% make search key=foo
% make search name=bar

and you can also 'make readmes' which builds a series of .html files
that you can browse through to find stuff.  It's essentially the same
as what's at http://www.freebsd.org/ports/index.html

There's also http://www.freshports.org/ which has a lot of port
related stuff.
 
 In FreeBSD, when I run pkg_add -r mozilla I keep getting an error
 stating that it could not download package ftp://../mozilla.tgz.
 
 Is there a better way to find what ackages are available for
 installation?

Generally the way to find out what packages are available is to scan
what's available on the FTP sites.  You can do in a slightly more user
friendly that using /stand/sysinstall (/usr/sbin/sysinstall if you're
on 5.x) by going to the 'Configure' and then 'Packages' menus.

However, sysinstall will try and locate a directory on the FTP servers
that matches the version number of your system.  This quite often
fails: there's not enough room on the FTP servers to keep sets of
packages for more than 4 or 5 releases (plus the packages for old
releases soon start to be a long way behind the times).

Eg. look at:

 http://www.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/ports/i386/

to see which releases have packages available.  Note too that
sysinstall isn't very sophisticated in the way that it tries to work
out what package directory to choose: for instance, if you're tracking
4-STABLE right now, sysinstall complains because it can't find a
directory for 4.9-RC2.

Note too that the packages on the FTP sites are updated when
possible.  There will be an official set of packages built for each
release -- the 4.9-RELEASE packages went up to the FTP sites quite
recently (even though 4.9 hasn't been released yet), which means that
the package building cluster has had to be devoted to doing the
packages for the release and hasn't had much spare time for producing
updated packages for either 4-stable or 5-current recently.  There
will be a 'Latest' directory for recently updated packages: for
4-STABLE packages the last updates where apparently around 24th
September which predates the most recent updates to the ports tree.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Howto find packages

2003-10-16 Thread Jez Hancock
On Thu, Oct 16, 2003 at 04:44:06PM +0100, Matthew Seaman wrote:
 On Thu, Oct 16, 2003 at 07:59:00AM -0700, Dinesh Nadarajah wrote:
  For eample, in Debian, I can use apt-cache search mozilla and this
  will list all packages with mozilla in it and then I can select the
  package for installation.
 
 The emphasis in FreeBSD is generally on ports rather than packages.
 For many ports, downloading the source and compiling doesn't take a
 great deal longer than downloading a binary package.  Of course, for
 some ports compilation takes quite a lot longer.
 
 You can use the ports tree to search for what ports/packages are
 available:
 
 % cd /usr/ports
 % make search key=foo
 % make search name=bar
snip
I noticed a useful looking port tool here recently:

/ports/Tools/scripts/portsearch

which is a perl script that adds some teeth to the method mentioned by
Matthew above.  I've not actually used it but it looks useful.

Another simple way is to search the INDEX file directly:

grep ^mozilla /usr/ports/INDEX

to return a list of all ports starting with 'mozilla'.  The list can be
a bit unreadable so if you add:

grep ^mozilla /usr/ports/INDEX | cut -f1-2 -d|

it gives a more readable listing:

mozilla-thunderbird-0.2|/usr/ports/mail/mozilla-thunderbird
mozilla-1.4,2|/usr/ports/www/mozilla
mozilla-1.5b,1|/usr/ports/www/mozilla-devel
mozilla-gtk2-1.5b|/usr/ports/www/mozilla-devel-gtk2
mozilla-embedded-1.4,2|/usr/ports/www/mozilla-embedded
mozilla-embedded-1.5b,1|/usr/ports/www/mozilla-embedded-devel
mozilla-firebird-0.6.1_1|/usr/ports/www/mozilla-firebird
mozilla-gtk2-1.4|/usr/ports/www/mozilla-gtk2
mozilla-headers-1.4,2|/usr/ports/www/mozilla-headers
mozilla-headers-1.5b,1|/usr/ports/www/mozilla-headers-devel
mozilla-fonts-1.0_1|/usr/ports/x11-fonts/mozilla-fonts

where the first field is the port name and the second is the directory
the port resides in.

For some ports you might want to ommit the leading '^'
(especially in the case of perl packages which generally begin with 'p5-').

This is pretty much what the portsearch tool appears to do (with lots of
extra features packed in too)... don't know why I haven't used it yet :=)

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto find packages

2003-10-16 Thread Jez Hancock
On Thu, Oct 16, 2003 at 05:01:21PM +0100, Jez Hancock wrote:
 /ports/Tools/scripts/portsearch
Sorry should have been:

/usr/ports/Tools/scripts/portsearch

of course :|
-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto find packages

2003-10-16 Thread Dinesh Nadarajah
I guess what FreeBSD needs is a good port of the apt system Should not
be difficult. It can let pkg_xxx do all the installing etc. Would be
cool if one existed :)

-D

--- Jez Hancock [EMAIL PROTECTED] wrote:
 On Thu, Oct 16, 2003 at 05:01:21PM +0100, Jez Hancock wrote:
  /ports/Tools/scripts/portsearch
 Sorry should have been:
 
 /usr/ports/Tools/scripts/portsearch
 
 of course :|
 -- 
 Jez Hancock
  - System Administrator / PHP Developer
 
 http://munk.nu/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto find packages

2003-10-16 Thread Matthew Seaman
On Thu, Oct 16, 2003 at 09:55:49AM -0700, Dinesh Nadarajah wrote:
 I guess what FreeBSD needs is a good port of the apt system Should not
 be difficult. It can let pkg_xxx do all the installing etc. Would be
 cool if one existed :)

I believe that is spelt 'fink' in certain corners of the *BSD world.

   http://fink.sourceforge.net/

We look forward to your patches integrating this with the FreeBSD
ports system.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Howto find packages

2003-10-16 Thread Kent Stewart
On Thursday 16 October 2003 09:03 am, Jez Hancock wrote:
 On Thu, Oct 16, 2003 at 05:01:21PM +0100, Jez Hancock wrote:
  /ports/Tools/scripts/portsearch

 Sorry should have been:

 /usr/ports/Tools/scripts/portsearch

 of course :|

I like this one. I used to use the make search option, which I reduced 
to search name using an alias, but portsearch's output is much 
cleaner because of the formatting.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto find packages

2003-10-16 Thread Shawn Morris
whereis pkgname

eg.
[EMAIL PROTECTED]:~]$ whereis bash2
bash2: /usr/ports/shells/bash2
[EMAIL PROTECTED]:~]$

On Thu, Oct 16, 2003 at 07:59:00AM -0700, Dinesh Nadarajah wrote:
 Hi:
 
 I come form the Debian Linux world and would like to know how I can
 information about packages for installation. I use prots to install
 some, but many of them I just want to install binary files.
 
 For eample, in Debian, I can use apt-cache search mozilla and this
 will list all packages with mozilla in it and then I can select the
 package for installation.
 
 In FreeBSD, when I run pkg_add -r mozilla I keep getting an error
 stating that it could not download package ftp://../mozilla.tgz.
 
 Is there a better way to find what ackages are available for
 installation?
 
 Thanks in advance.
 
 -D
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Shawn Morris
NTT/Verio IP Engineering
v:312.621.7422
f:520.447.7082
[EMAIL PROTECTED]
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto find packages

2003-10-16 Thread Alex de Kruijff
On Thu, Oct 16, 2003 at 09:55:49AM -0700, Dinesh Nadarajah wrote:
 I guess what FreeBSD needs is a good port of the apt system Should not
 be difficult. It can let pkg_xxx do all the installing etc. Would be
 cool if one existed :)
 
Packages should work normaly, but can give some trouble afther you
update. There is a port called portupgrade which has the same goal as
the Debian apt system. You are better of using this if you like to
upgrade you installed packages. Packages however can stil be a problem.
Debian handels packages better.

Its likly that using packages isn't that high on the agenda since
installing application by compiling isn't that hard to do with the ports
system.

i.e.cd /usr/port/www/mozilla; make install  make clean
or  portinstall www/mozilla

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto find packages

2003-10-16 Thread parv
in message [EMAIL PROTECTED],
wrote Jez Hancock thusly...

 On Thu, Oct 16, 2003 at 04:44:06PM +0100, Matthew Seaman wrote:
  On Thu, Oct 16, 2003 at 07:59:00AM -0700, Dinesh Nadarajah wrote:
   For eample, in Debian, I can use apt-cache search mozilla and this
   will list all packages with mozilla in it and then I can select the
   package for installation.
  
  You can use the ports tree to search for what ports/packages are
  available:
  
  % cd /usr/ports
  % make search key=foo
  % make search name=bar
...
 I noticed a useful looking port tool here recently:
 
 /usr/ports/Tools/scripts/portsearch

(path corrected)


 Another simple way is to search the INDEX file directly:
 
 grep ^mozilla /usr/ports/INDEX

There is also a perl module as a port to find various things about
a port...

   /usr/ports/textproc/p5-FreeBSD-Ports


...author's web page...

   http://people.freebsd.org/~tom/portpm/


Now to toot my own horn, solid steel perl wheel reinvented (version
=5.6 syntax that could be easily molded for use w/ version
5.005)...

   http://www103.pair.com/parv/comp/src/perl/parse-index.perl
   http://www103.pair.com/parv/comp/src/perl/parse-index.perl.pod

   Supporting module:
  http://www103.pair.com/parv/comp/src/perl/modules/Util.pm


...mind you that the path for the supporting module, Util.pm, needs
to be manually adjusted in parse-index.perl.


  - Parv

-- 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto find packages

2003-10-16 Thread Dinesh Nadarajah
The prblem is that mozilla takes a heck of a long time to compile on my
machine and all I want to do is browse the web. :) Oh well. :)

-D

--- Alex de Kruijff [EMAIL PROTECTED] wrote:
 On Thu, Oct 16, 2003 at 09:55:49AM -0700, Dinesh Nadarajah wrote:
  I guess what FreeBSD needs is a good port of the apt system Should
 not
  be difficult. It can let pkg_xxx do all the installing etc. Would
 be
  cool if one existed :)
  
 Packages should work normaly, but can give some trouble afther you
 update. There is a port called portupgrade which has the same goal as
 the Debian apt system. You are better of using this if you like to
 upgrade you installed packages. Packages however can stil be a
 problem.
 Debian handels packages better.
 
 Its likly that using packages isn't that high on the agenda since
 installing application by compiling isn't that hard to do with the
 ports
 system.
 
 i.e.cd /usr/port/www/mozilla; make install  make clean
 or  portinstall www/mozilla
 
 -- 
 Alex
 
 Articles based on solutions that I use:
 http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto find packages

2003-10-16 Thread Lowell Gilbert
Dinesh Nadarajah [EMAIL PROTECTED] writes:

 The prblem is that mozilla takes a heck of a long time to compile on my
 machine and all I want to do is browse the web. :) Oh well. :)

Won't pkg_add -r mozilla do it?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto find packages

2003-10-16 Thread S Ellis
On Thu, Oct 16, 2003 at 07:59:00AM -0700, Dinesh Nadarajah wrote:
 stating that it could not download package ftp://../mozilla.tgz.
 
 Is there a better way to find what ackages are available for
 installation?

I've been getting such good use from these Dru Lavigne articles that I
feel obliged posting a link for you,

http://www.onlamp.com/pub/q/FreeBSD_Basics

The recent port related pages have many useful tips for managing your
ports.

--
Sean
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]