Re: Pain finding packages

2010-01-31 Thread Mike Clarke
On Saturday 30 January 2010, Kurt Buff wrote:

 For make, do the following, after csup (or an alternative):

      cd /usr/ports
      make search name=samba | less
 or
      cd /usr/ports
      make search key=samba | less

 Then browse that list to see what most particularly applies to your
 needs.

Or, for more compact output, try this script:

#!/bin/sh
cd /usr/ports
make search name=$1 | egrep ^(Port|Path|Info|Moved) | less

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Pain finding packages

2010-01-31 Thread krad
On 30 January 2010 23:42, Kurt Buff kurt.b...@gmail.com wrote:

 On Sat, Jan 30, 2010 at 10:48, Joe Springer joe...@yahoo.com wrote:
  Hi.
 
  I am very new to FreeBSD with several years of Linux experience. After
 installed FreeSDB for the first time, I wanted to install some packages. For
 example, samba.
 
  I found that
 
pkg_add -r samba
 
  fails. I need to know specifically the samba version to install it.
 
  To install, I needed do this:
pkg_add -r samba3
 
  This is difficult. Do I need to look up every package in advance on your
 website to understand what version I need to install?
 
  Isn't there a way to specify Install the latest version of some package
 that is appropriate to the version of my installed FreeBSD?
 
  Thanks,
  Joe

 Not really.

 However, you should have installed a copy of the ports tree during the
 creation of your machine.

 Here are your tools: csup (or portsnap, either of which will keep your
 ports tree current), portupgrade (or portmaster or one of a couple of
 others, to upgrade your current ports) and make. csup is native, and
 portupgrade seems to be more commonly used than the others of its
 kind.

 For make, do the following, after csup (or an alternative):

 cd /usr/ports
 make search name=samba | less
 or
 cd /usr/ports
 make search key=samba | less

 Then browse that list to see what most particularly applies to your needs.


 HTH,

 Kurt
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org



he is a one liner to update your ports tree

csup -h cvsup.uk.FreeBSD.org  /usr/share/examples/cvsup/ports-supfile

you might want to replace uk with your country code though
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Pain finding packages

2010-01-30 Thread Joe Springer
Hi.

I am very new to FreeBSD with several years of Linux experience. After 
installed FreeSDB for the first time, I wanted to install some packages. For 
example, samba.

I found that

   pkg_add -r samba 

fails. I need to know specifically the samba version to install it. 

To install, I needed do this:
   pkg_add -r samba3

This is difficult. Do I need to look up every package in advance on your 
website to understand what version I need to install?

Isn't there a way to specify Install the latest version of some package that 
is appropriate to the version of my installed FreeBSD?

Thanks,
Joe



  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Pain finding packages

2010-01-30 Thread Tim Judd
On Sat, Jan 30, 2010 at 11:48 AM, Joe Springer joe...@yahoo.com wrote:

 Hi.

 I am very new to FreeBSD with several years of Linux experience. After
 installed FreeSDB for the first time, I wanted to install some packages. For
 example, samba.

 I found that

   pkg_add -r samba

 fails. I need to know specifically the samba version to install it.

 To install, I needed do this:
   pkg_add -r samba3

 This is difficult. Do I need to look up every package in advance on your
 website to understand what version I need to install?

 Isn't there a way to specify Install the latest version of some package
 that is appropriate to the version of my installed FreeBSD?

 Thanks,
 Joe


Since the ports tree (for which packages are made from) can house multiple
versions of a software package (samba 3.0, 3.2 and 3.3 IIRC), specifying
samba alone sometimes work for the default, and sometimes it's samba32
or similar.  It's up to the port maintainer to name it and what the
resulting package name will be.  Like most distributions, a search online
can yield the version you want.  Go to http://ports.freebsd.org and query
any part of a substring to search for.



--TJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Pain finding packages

2010-01-30 Thread Jerry
On Sat, 30 Jan 2010 10:48:23 -0800 (PST)
Joe Springer joe...@yahoo.com articulated:

 Hi.
 
 I am very new to FreeBSD with several years of Linux experience.
 After installed FreeSDB for the first time, I wanted to install some
 packages. For example, samba.
 
 I found that
 
pkg_add -r samba 
 
 fails. I need to know specifically the samba version to install it. 
 
 To install, I needed do this:
pkg_add -r samba3
 
 This is difficult. Do I need to look up every package in advance on
 your website to understand what version I need to install?
 
 Isn't there a way to specify Install the latest version of some
 package that is appropriate to the version of my installed FreeBSD?

You didn't specify exactly what you wanted installed. Just specifying
'samba' is useless. There are several versions of samba, as well as
ports that begin with samba. For example:

Port:   ja-samba-3.0.35,1
Path:   /usr/ports/japanese/samba3
Info:   Japanese Samba

Port:   gnosamba-0.3.3_5
Path:   /usr/ports/net/gnosamba
Info:   Samba configuration tool for X Window System

Port:   gsambad-0.1.9_3
Path:   /usr/ports/net/gsambad
Info:   Gtk2 Frontend for samba daemon

Port:   p5-Samba-LDAP-0.05_1
Path:   /usr/ports/net/p5-Samba-LDAP
Info:   Manage a Samba PDC with an LDAP Backend

Port:   py26-samba-3.0.37
Path:   /usr/ports/net/py-samba
Info:   Python bindings for Samba

Port:   samba-libsmbclient-3.0.37
Path:   /usr/ports/net/samba-libsmbclient
Info:   Shared libs from the samba package

Port:   samba-nmblookup-3.0.37
Path:   /usr/ports/net/samba-nmblookup
Info:   NetBIOS Name lookup tool

Port:   samba-pdbsql-0.3.1_1
Path:   /usr/ports/net/samba-pdbsql
Info:   Multiplexor, MySQL and PostgeSQL passdb backends for Samba3

Port:   samba-smbclient-3.0.37
Path:   /usr/ports/net/samba-smbclient
Info:   Samba ftp-like client

Port:   samba-3.0.37,1
Path:   /usr/ports/net/samba3
Info:   A free SMB and CIFS client and server for UNIX

Port:   samba-3.2.15
Path:   /usr/ports/net/samba32
Info:   A free SMB and CIFS client and server for UNIX

Port:   samba-3.3.9
Path:   /usr/ports/net/samba33
Info:   A free SMB and CIFS client and server for UNIX

Port:   samba4-devel-4.0.0.a8_2
Path:   /usr/ports/net/samba4-devel
Info:   A free SMB and CIFS client and server for UNIX

Port:   samba4wins-1.0.7_1
Path:   /usr/ports/net/samba4wins
Info:   A full featured replicating WINS server for UNIX

Port:   sambasentinel-0.1_5
Path:   /usr/ports/net/sambasentinel
Info:   SambaSentinel is a gtk-frontend to smbstatus with
additional features

Port:   cups-samba-6.0_2
Path:   /usr/ports/print/cups-samba
Info:   The Common UNIX Printing System: MS Windows client drivers

Port:   samba-vscan-0.3.6c_2
Path:   /usr/ports/security/samba-vscan
Info:   On-access virus scanning with Samba

Port:   japanese/samba20
Moved:  japanese/samba
Date:   2003-04-13
Reason: security vulnerability

Port:   net/samba-tng
Moved:  
Date:   2003-08-07
Reason: port was marked broken for 3 months with no fix submitted

Port:   net/samba-devel
Moved:  net/samba3
Date:   2004-06-07
Reason: considered stable

Port:   net/samba
Moved:  net/samba3
Date:   2006-09-02
Reason: Security vulnerabilities

Port:   japanese/samba
Moved:  japanese/samba3
Date:   2008-07-21
Reason: Superseded by japanese/samba3

Port:   net/samba32-devel
Moved:  net/samba32
Date:   2009-02-16
Reason: Samba 3.2 became stable enough to be used in production.

Did you read man pkg_add(1) thoroughly before using the utility?

-- 
Jerry
ges...@yahoo.com

|===
|===
|===
|===
|

Systems programmers are the high priests of a low cult.

R. S. Barton

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Pain finding packages

2010-01-30 Thread Chad Perrin
On Sat, Jan 30, 2010 at 10:48:23AM -0800, Joe Springer wrote:
 Hi.
 
 I am very new to FreeBSD with several years of Linux experience. After
 installed FreeSDB for the first time, I wanted to install some
 packages. For example, samba.
 
 I found that
 
pkg_add -r samba 
 
 fails. I need to know specifically the samba version to install it. 
 
 To install, I needed do this:
pkg_add -r samba3
 
 This is difficult. Do I need to look up every package in advance on
 your website to understand what version I need to install?
 
 Isn't there a way to specify Install the latest version of some
 package that is appropriate to the version of my installed FreeBSD?

Unfortunately, there isn't -- sometimes.  Some ports (and their
associated packages) will have the name you expect.  Some will not.

The names of binary packages should have the same names as their
respective ports, at least most of the time, as far as I'm aware.  Thus,
if you have the ports tree on your system, you can at least check locally
to see what various software installs will be called.  If not, you may
have to search online.

I don't use binary packages much, personally, so I'm not exactly an
expert in that regard.  Something I said may turn out to be mistaken.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpDnQDYwu3mc.pgp
Description: PGP signature


Re: Pain finding packages

2010-01-30 Thread Kurt Buff
On Sat, Jan 30, 2010 at 10:48, Joe Springer joe...@yahoo.com wrote:
 Hi.

 I am very new to FreeBSD with several years of Linux experience. After 
 installed FreeSDB for the first time, I wanted to install some packages. For 
 example, samba.

 I found that

   pkg_add -r samba

 fails. I need to know specifically the samba version to install it.

 To install, I needed do this:
   pkg_add -r samba3

 This is difficult. Do I need to look up every package in advance on your 
 website to understand what version I need to install?

 Isn't there a way to specify Install the latest version of some package that 
 is appropriate to the version of my installed FreeBSD?

 Thanks,
 Joe

Not really.

However, you should have installed a copy of the ports tree during the
creation of your machine.

Here are your tools: csup (or portsnap, either of which will keep your
ports tree current), portupgrade (or portmaster or one of a couple of
others, to upgrade your current ports) and make. csup is native, and
portupgrade seems to be more commonly used than the others of its
kind.

For make, do the following, after csup (or an alternative):

 cd /usr/ports
 make search name=samba | less
or
 cd /usr/ports
 make search key=samba | less

Then browse that list to see what most particularly applies to your needs.


HTH,

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org