Re: How to get a list of all kernel modules

2007-06-17 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
[LoN]Kamikaze [EMAIL PROTECTED] writes:
: [LoN]Kamikaze wrote:
:  M. Warner Losh wrote:
:  Greetings,
: 
:  is there an easy way to get a list of all the ports that compile
:  kernel modules?  I'd like to add them to my kernel build.  I did this
:  once before, but I lost all information on how to do it when I lost my
:  laptop's hard disk after the last bsdcan...
: 
:  Warner
:  
:  # find /boot/ -type f -exec pkg_info -W \{} \;
: 
: Sorry about that, it takes very long. Better is:
: 
: # sh -c 'for mod in `pkg_info -qaL|grep -E ^/+boot`; { pkg_info -W $mod; }

This sounds great, except for one problem.  This will tell me all the
modules that I've installed that are from ports.  Since I've never
installed any from ports, this will not work for what I want.  I want
a list of all the ports in /usr/ports that install kernel modules.
I'd even settle for a list of all the ports in /usr/ports that only
install modules.

Something like
egrep -l '\.ko$' /usr/ports/*/*/pkg-plist | sed -e s=/pkg-plist//
might do the trick, but that blows the command line limits out of the
water.  Replacing egrep with 'find' would need to be carefully
constructed to avoid false positives in any work directories I have
laying around.  I was hoping for something a little easier to do...

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


Re: How to get a list of all kernel modules

2007-06-17 Thread Mark Linimon
On Sun, Jun 17, 2007 at 12:15:16AM -0600, M. Warner Losh wrote:
 I want a list of all the ports in /usr/ports that install kernel modules.

IIRC they're all in misc/.  Let me see if I can come up with a quick list.

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


Re: How to get a list of all kernel modules

2007-06-17 Thread Kris Kennaway
On Sun, Jun 17, 2007 at 01:22:57AM -0500, Mark Linimon wrote:
 On Sun, Jun 17, 2007 at 12:15:16AM -0600, M. Warner Losh wrote:
  I want a list of all the ports in /usr/ports that install kernel modules.
 
 IIRC they're all in misc/.  Let me see if I can come up with a quick list.

Nope, but I'm grepping for them now.

Kris


pgpfuKFR7uV0y.pgp
Description: PGP signature


Re: How to get a list of all kernel modules

2007-06-17 Thread [LoN]Kamikaze
M. Warner Losh wrote:
 In message: [EMAIL PROTECTED]
 [LoN]Kamikaze [EMAIL PROTECTED] writes:
 : [LoN]Kamikaze wrote:
 :  M. Warner Losh wrote:
 :  Greetings,
 : 
 :  is there an easy way to get a list of all the ports that compile
 :  kernel modules?  I'd like to add them to my kernel build.  I did this
 :  once before, but I lost all information on how to do it when I lost my
 :  laptop's hard disk after the last bsdcan...
 : 
 :  Warner
 :  
 :  # find /boot/ -type f -exec pkg_info -W \{} \;
 : 
 : Sorry about that, it takes very long. Better is:
 : 
 : # sh -c 'for mod in `pkg_info -qaL|grep -E ^/+boot`; { pkg_info -W 
 $mod; }
 
 This sounds great, except for one problem.  This will tell me all the
 modules that I've installed that are from ports.  Since I've never
 installed any from ports, this will not work for what I want.  I want
 a list of all the ports in /usr/ports that install kernel modules.
 I'd even settle for a list of all the ports in /usr/ports that only
 install modules.
 
 Something like
   egrep -l '\.ko$' /usr/ports/*/*/pkg-plist | sed -e s=/pkg-plist//
 might do the trick, but that blows the command line limits out of the
 water.  Replacing egrep with 'find' would need to be carefully
 constructed to avoid false positives in any work directories I have
 laying around.  I was hoping for something a little easier to do...
 
 Warner

I see I misunderstood, sorry about that. So how about that one:

# find /usr/ports/ -type f -name pkg-plist -exec grep -El
'[EMAIL PROTECTED]:space:]]+/boot' \{} \; | sed -E 's|^/usr/ports/||1' | sed -E
's|/pkg-plist$||1'

It only works with ports that have a pkg-plist file, though.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to get a list of all kernel modules

2007-06-17 Thread Kris Kennaway
On Sun, Jun 17, 2007 at 02:28:19AM -0400, Kris Kennaway wrote:
 On Sun, Jun 17, 2007 at 01:22:57AM -0500, Mark Linimon wrote:
  On Sun, Jun 17, 2007 at 12:15:16AM -0600, M. Warner Losh wrote:
   I want a list of all the ports in /usr/ports that install kernel modules.
  
  IIRC they're all in misc/.  Let me see if I can come up with a quick list.
 
 Nope, but I'm grepping for them now.

Partial list:

Binary file ./linux-kmod-compat-20070326.tbz matches
Binary file ./biosfont-1.1.tbz matches
Binary file ./iwi-firmware-2.4_7.tbz matches
Binary file ./ipw-firmware-1.3_8.tbz matches
Binary file ./linux-js-2.2.tbz matches
Binary file ./kqemu-kmod-1.3.0.p11.tbz matches
Binary file ./ltmdm-1.4_18.tbz matches

This is from 6.x, and I know there are others, so a more complete grep
will be needed.

Kris


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


Re: How to get a list of all kernel modules

2007-06-17 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
[LoN]Kamikaze [EMAIL PROTECTED] writes:
: M. Warner Losh wrote:
:  In message: [EMAIL PROTECTED]
:  [LoN]Kamikaze [EMAIL PROTECTED] writes:
:  : [LoN]Kamikaze wrote:
:  :  M. Warner Losh wrote:
:  :  Greetings,
:  : 
:  :  is there an easy way to get a list of all the ports that compile
:  :  kernel modules?  I'd like to add them to my kernel build.  I did this
:  :  once before, but I lost all information on how to do it when I lost my
:  :  laptop's hard disk after the last bsdcan...
:  : 
:  :  Warner
:  :  
:  :  # find /boot/ -type f -exec pkg_info -W \{} \;
:  : 
:  : Sorry about that, it takes very long. Better is:
:  : 
:  : # sh -c 'for mod in `pkg_info -qaL|grep -E ^/+boot`; { pkg_info -W 
$mod; }
:  
:  This sounds great, except for one problem.  This will tell me all the
:  modules that I've installed that are from ports.  Since I've never
:  installed any from ports, this will not work for what I want.  I want
:  a list of all the ports in /usr/ports that install kernel modules.
:  I'd even settle for a list of all the ports in /usr/ports that only
:  install modules.
:  
:  Something like
:  egrep -l '\.ko$' /usr/ports/*/*/pkg-plist | sed -e s=/pkg-plist//
:  might do the trick, but that blows the command line limits out of the
:  water.  Replacing egrep with 'find' would need to be carefully
:  constructed to avoid false positives in any work directories I have
:  laying around.  I was hoping for something a little easier to do...
:  
:  Warner
: 
: I see I misunderstood, sorry about that. So how about that one:
: 
: # find /usr/ports/ -type f -name pkg-plist -exec grep -El
: '[EMAIL PROTECTED]:space:]]+/boot' \{} \; | sed -E 's|^/usr/ports/||1' | sed 
-E
: 's|/pkg-plist$||1'
: 
: It only works with ports that have a pkg-plist file, though.

This won't quite work because there are things like:

% cat multimedia/pvr250/pkg-plist
@unexec rm %%MODULESDIR%%/cxm.ko
@unexec rm %%MODULESDIR%%/cxm_iic.ko
bin/pvr250-setchannel

I'd kinda hoped there was a pseudo category that I could key off of.
pvr250 is also kinda a mess too, since I can't build it w/o a CD I
don't have...

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


Re: How to get a list of all kernel modules

2007-06-17 Thread [LoN]Kamikaze
[LoN]Kamikaze wrote:
 M. Warner Losh wrote:
 In message: [EMAIL PROTECTED]
 [LoN]Kamikaze [EMAIL PROTECTED] writes:
 : [LoN]Kamikaze wrote:
 :  M. Warner Losh wrote:
 :  Greetings,
 : 
 :  is there an easy way to get a list of all the ports that compile
 :  kernel modules?  I'd like to add them to my kernel build.  I did this
 :  once before, but I lost all information on how to do it when I lost my
 :  laptop's hard disk after the last bsdcan...
 : 
 :  Warner
 :  
 :  # find /boot/ -type f -exec pkg_info -W \{} \;
 : 
 : Sorry about that, it takes very long. Better is:
 : 
 : # sh -c 'for mod in `pkg_info -qaL|grep -E ^/+boot`; { pkg_info -W 
 $mod; }

 This sounds great, except for one problem.  This will tell me all the
 modules that I've installed that are from ports.  Since I've never
 installed any from ports, this will not work for what I want.  I want
 a list of all the ports in /usr/ports that install kernel modules.
 I'd even settle for a list of all the ports in /usr/ports that only
 install modules.

 Something like
  egrep -l '\.ko$' /usr/ports/*/*/pkg-plist | sed -e s=/pkg-plist//
 might do the trick, but that blows the command line limits out of the
 water.  Replacing egrep with 'find' would need to be carefully
 constructed to avoid false positives in any work directories I have
 laying around.  I was hoping for something a little easier to do...

 Warner
 
 I see I misunderstood, sorry about that. So how about that one:
 
 # find /usr/ports/ -type f -name pkg-plist -exec grep -El
 '[EMAIL PROTECTED]:space:]]+/boot' \{} \; | sed -E 's|^/usr/ports/||1' | sed 
 -E
 's|/pkg-plist$||1'
 
 It only works with ports that have a pkg-plist file, though.

It's all a bit tricky, now. This only returns a very small number of ports.
Changing '[EMAIL PROTECTED]:space:]]+/boot' to '[EMAIL PROTECTED]:space:]]+/' 
helps, but returns
lots of false positives, too:

archivers/dpkg
audio/mt-daapd
comms/hylafax
comms/smstools
databases/cyrus-imspd
databases/firebird-server
databases/firebird2-server
databases/sqlrelay
devel/linux-js
emulators/vmware-guestd6
emulators/snespp
emulators/its
emulators/vmware-guestd4
emulators/vmware-guestd5
games/freebsd-games
games/barrage
games/childsplay
games/lbreakout
games/wanderer
games/xpat2
german/staroffice5
mail/fetchmail
mail/dspam-devel
mail/dspam
mail/mimedefang
mail/py-spambayes
mail/zmailer
multimedia/linux-gspca-kmod
multimedia/linux-ov511-kmod
multimedia/pwcbsd
net-mgmt/cisco_conf
net-mgmt/ng_ipacct
net/acx100
net/asterisk-bristuff
net/asterisk12
net/ipvs
net/ipw-firmware-kmod
net/ipw-firmware
net/iwi-firmware-kmod
net/iwi-firmware
net/openldap23-server
net/openpbx.org
net/asterisk
net/ng_netflow
net/nvnet
net/openldap24-server
news/noffle
print/bjfilter360
print/bjfilter850
print/bjfilter850ug
print/bjfilter860
print/bjfilter870
print/bjfilters600
print/bjfilters630
print/bjfilters6300
print/bjfiltercom
russian/tac+ia
security/bioapi
security/cyrus-sasl
security/drweb
security/ipsec-tools
security/pam-pgsql
security/vncrypt
sysutils/apt
sysutils/devcpu
sysutils/fcron
sysutils/graphicboot
sysutils/heartbeat
sysutils/pmap
textproc/dixit
www/hinventory-client
www/interchange
www/linux-flashplugin9
www/middleman
www/wwwoffle
x11/nvidia-driver

I suppose these would have to be hand-checked.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to get a list of all kernel modules

2007-06-17 Thread Edwin Groothuis
On Sun, Jun 17, 2007 at 08:33:22AM +0200, [LoN]Kamikaze wrote:
 I see I misunderstood, sorry about that. So how about that one:
 
 # find /usr/ports/ -type f -name pkg-plist -exec grep -El
 '[EMAIL PROTECTED]:space:]]+/boot' \{} \; | sed -E 's|^/usr/ports/||1' | sed 
 -E
 's|/pkg-plist$||1'
 
 It only works with ports that have a pkg-plist file, though.

And which do @cwd in it. Doesn't work with multimedia/pvr250 for
example.

This reminds me of a pet-project of me which I would like to restart,
but which needs to cooperation from the maintainers of the package
building clusters: A database of installed files. And a historical
list of package build failures, but that one isn't relevant here.

What does it require? Not much: after each package built, somehow
a notice gets send to a database backend which grabs the tarball,
grabs the +CONTENTS files and stores that data.

What can it be used for? Questions like this for example. Or better
CONFLICTS determination. Or historical information (I get this
file /usr/local/share/foo, but I can't find out who installed it)

Edwin

-- 
Edwin Groothuis  |Personal website: http://www.mavetju.org
[EMAIL PROTECTED]|  Weblog: http://www.mavetju.org/weblog/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to get a list of all kernel modules

2007-06-17 Thread Erik Trulsson
On Sun, Jun 17, 2007 at 01:22:57AM -0500, Mark Linimon wrote:
 On Sun, Jun 17, 2007 at 12:15:16AM -0600, M. Warner Losh wrote:
  I want a list of all the ports in /usr/ports that install kernel modules.
 
 IIRC they're all in misc/.  Let me see if I can come up with a quick list.

Not all of them are in misc/.  One counter-example is emulators/kqemu-kmod,
another is x11/nvidia-driver.




-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to get a list of all kernel modules

2007-06-17 Thread Edwin Groothuis
On Sun, Jun 17, 2007 at 12:42:01AM -0600, M. Warner Losh wrote:
 I'd kinda hoped there was a pseudo category that I could key off of.
 pvr250 is also kinda a mess too, since I can't build it w/o a CD I
 don't have...

Don't blame me, there are lots of ports which require distfiles
which you can't just download :-)

Edwin
-- 
Edwin Groothuis  |Personal website: http://www.mavetju.org
[EMAIL PROTECTED]|  Weblog: http://www.mavetju.org/weblog/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to get a list of all kernel modules

2007-06-17 Thread Erik Trulsson
On Sun, Jun 17, 2007 at 12:15:16AM -0600, M. Warner Losh wrote:
 In message: [EMAIL PROTECTED]
 [LoN]Kamikaze [EMAIL PROTECTED] writes:
 : [LoN]Kamikaze wrote:
 :  M. Warner Losh wrote:
 :  Greetings,
 : 
 :  is there an easy way to get a list of all the ports that compile
 :  kernel modules?  I'd like to add them to my kernel build.  I did this
 :  once before, but I lost all information on how to do it when I lost my
 :  laptop's hard disk after the last bsdcan...
 : 
 :  Warner
 :  
 :  # find /boot/ -type f -exec pkg_info -W \{} \;
 : 
 : Sorry about that, it takes very long. Better is:
 : 
 : # sh -c 'for mod in `pkg_info -qaL|grep -E ^/+boot`; { pkg_info -W 
 $mod; }
 
 This sounds great, except for one problem.  This will tell me all the
 modules that I've installed that are from ports.  Since I've never
 installed any from ports, this will not work for what I want.  I want
 a list of all the ports in /usr/ports that install kernel modules.
 I'd even settle for a list of all the ports in /usr/ports that only
 install modules.
 
 Something like
   egrep -l '\.ko$' /usr/ports/*/*/pkg-plist | sed -e s=/pkg-plist//
 might do the trick, but that blows the command line limits out of the
 water.  Replacing egrep with 'find' would need to be carefully
 constructed to avoid false positives in any work directories I have
 laying around.  I was hoping for something a little easier to do...

Keep in mind that not all ports have a 'pkg-plist' file.  Some ports list
that info directly in the Makefile.

I don't think there is any way of doing what you want without searching
through every single Makefile/pkg-plist file in the entire ports tree.



-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to get a list of all kernel modules

2007-06-17 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Edwin Groothuis [EMAIL PROTECTED] writes:
: On Sun, Jun 17, 2007 at 12:42:01AM -0600, M. Warner Losh wrote:
:  I'd kinda hoped there was a pseudo category that I could key off of.
:  pvr250 is also kinda a mess too, since I can't build it w/o a CD I
:  don't have...
: 
: Don't blame me, there are lots of ports which require distfiles
: which you can't just download :-)

I don't blame you.  I understand the reasons for it, but it makes it
harder to automatically check them.

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


Re: How to get a list of all kernel modules

2007-06-17 Thread Mark Linimon
On Sun, Jun 17, 2007 at 12:42:01AM -0600, M. Warner Losh wrote:
 I'd kinda hoped there was a pseudo category that I could key off of.

Kinda sounds like there should be.

Here's my list so far:

audio/aureal-kmod
audio/emu10kx
comms/hcfmdm
comms/ixj
comms/ltmdm
comms/uticom
comms/vpb-driver
graphics/kix-kmod
graphics/plasma-kmod
misc/zaptel
multimedia/pvr250
multimedia/pwcbsd
net/acx100
net/ipw-firmware
net/iwi-firmware
net/ng_daphne
net/nvnet
net/p54u
palm/uppc-kmod
security/vncrypt
sysutils/cd9660_unicode
sysutils/est
sysutils/fusefs-kmod
sysutils/ipmi-kmod
x11/nvidia-driver
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to get a list of all kernel modules

2007-06-17 Thread [LoN]Kamikaze
M. Warner Losh wrote:
 In message: [EMAIL PROTECTED]
 [LoN]Kamikaze [EMAIL PROTECTED] writes:
 : I see I misunderstood, sorry about that. So how about that one:
 : 
 : # find /usr/ports/ -type f -name pkg-plist -exec grep -El
 : '[EMAIL PROTECTED]:space:]]+/boot' \{} \; | sed -E 's|^/usr/ports/||1' | 
 sed -E
 : 's|/pkg-plist$||1'
 : 
 : It only works with ports that have a pkg-plist file, though.
 
 This won't quite work because there are things like:
 
 % cat multimedia/pvr250/pkg-plist
 @unexec rm %%MODULESDIR%%/cxm.ko
 @unexec rm %%MODULESDIR%%/cxm_iic.ko
 bin/pvr250-setchannel
 
 I'd kinda hoped there was a pseudo category that I could key off of.
 pvr250 is also kinda a mess too, since I can't build it w/o a CD I
 don't have...
 
 Warner

The only completely reliable way I see is to install all ports, because the
TMPPLIST only reaches its final state in the post-install target.

Then you could use my first solution, to grep through the output of
pkg_info -qaL
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to get a list of all kernel modules

2007-06-17 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
Kris Kennaway [EMAIL PROTECTED] writes:
: On Sun, Jun 17, 2007 at 02:28:19AM -0400, Kris Kennaway wrote:
:  On Sun, Jun 17, 2007 at 01:22:57AM -0500, Mark Linimon wrote:
:   On Sun, Jun 17, 2007 at 12:15:16AM -0600, M. Warner Losh wrote:
:I want a list of all the ports in /usr/ports that install kernel 
modules.
:   
:   IIRC they're all in misc/.  Let me see if I can come up with a quick list.
:  
:  Nope, but I'm grepping for them now.
: 
: Partial list:
: 
: Binary file ./linux-kmod-compat-20070326.tbz matches
: Binary file ./biosfont-1.1.tbz matches
: Binary file ./iwi-firmware-2.4_7.tbz matches
: Binary file ./ipw-firmware-1.3_8.tbz matches
: Binary file ./linux-js-2.2.tbz matches
: Binary file ./kqemu-kmod-1.3.0.p11.tbz matches
: Binary file ./ltmdm-1.4_18.tbz matches
: 
: This is from 6.x, and I know there are others, so a more complete grep
: will be needed.

Grepping for '\.ko$' does fairly well at coming up with a good list.
However, there are a few interesting false positives:

./editors/emacs/pkg-plist
./editors/emacs-devel/pkg-plist
./editors/emacs20/pkg-plist
./editors/xemacs/pkg-plist
./editors/xemacs-devel/pkg-plist
./editors/xemacs-devel-mule/pkg-plist
./editors/xemacs21-mule/pkg-plist
./editors/emacs.app/pkg-plist
./korean/hlatex/pkg-plist
./korean/msdosfs/pkg-plist
./korean/pgp.language/pkg-plist
./korean/texinfo/pkg-plist

All of these because there are files that I think are in korean with a
.ko suffix.

and there's only one in misc:

./misc/zaptel/pkg-plist

which lists a bunch of .ko's installed into /usr/local/lib/zaptel that
turn out to be kernel drivers, but no mention of /boot at all.

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


Re: How to get a list of all kernel modules

2007-06-17 Thread Edwin Groothuis
On Sun, Jun 17, 2007 at 05:04:47PM +1000, Edwin Groothuis wrote:
 On Sun, Jun 17, 2007 at 01:54:57AM -0500, Mark Linimon wrote:
  On Sun, Jun 17, 2007 at 12:42:01AM -0600, M. Warner Losh wrote:
   I'd kinda hoped there was a pseudo category that I could key off of.
  
  Kinda sounds like there should be.
  
  Here's my list so far:
  
  multimedia/pvr250
 
 Plus multimedia/pvrxxx.

Plus emulators/snespp. I think you can better grep for \\.ko$, and
then later manually remove the ones which install it a /compat
directory.

Edwin

-- 
Edwin Groothuis  |Personal website: http://www.mavetju.org
[EMAIL PROTECTED]|  Weblog: http://www.mavetju.org/weblog/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with xorg 7.2 upgrade - xorg-docs and xorg-apps

2007-06-17 Thread [LoN]Kamikaze
Hello Nasty wrote:
 
 [LoN]Kamikaze [EMAIL PROTECTED] wrote: Hello Nasty wrote:
 I upgraded to xorg 7.2 a while ago, and everything seems to be working well, 
 but my ports list shows the following out-of-date ports, and I can't seem to 
 do anything about them:

 xorg-clients-6.9.0_3   needs updating (port has 7.2)
 xorg-documents-6.9.0   needs updating (port has 1.3,1)
  
 Use pkg_delete.
 
 I try: pkg_delete xorg-clients.
 
 I get: pkg_delete: no such package 'xorg-clients' installed.
 
 Similar for xorg-documents.
 
 Looking at the man page for pkg_delete, I tried -f (Force removal of the 
 package), but the same thing occurred.
 
 Am I doing something wrong? Or any other suggestions?
 
 Thanks.

Yes, you're not using the wohle package name. Use the complete package name.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to get a list of all kernel modules

2007-06-17 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
[EMAIL PROTECTED] (Mark Linimon) writes:
: On Sun, Jun 17, 2007 at 12:42:01AM -0600, M. Warner Losh wrote:
:  I'd kinda hoped there was a pseudo category that I could key off of.
: 
: Kinda sounds like there should be.

That would make grepping the info out of INDEX easy

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


Re: How to get a list of all kernel modules

2007-06-17 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
[EMAIL PROTECTED] (Mark Linimon) writes:
: On Sun, Jun 17, 2007 at 12:42:01AM -0600, M. Warner Losh wrote:
:  I'd kinda hoped there was a pseudo category that I could key off of.
: 
: Kinda sounds like there should be.
: 
: Here's my list so far:
: 
: audio/aureal-kmod
: audio/emu10kx
: comms/hcfmdm
: comms/ixj
: comms/ltmdm
: comms/uticom
: comms/vpb-driver
: graphics/kix-kmod
: graphics/plasma-kmod
: misc/zaptel
: multimedia/pvr250
: multimedia/pwcbsd
: net/acx100
: net/ipw-firmware
: net/iwi-firmware
: net/ng_daphne
: net/nvnet
: net/p54u
: palm/uppc-kmod
: security/vncrypt
: sysutils/cd9660_unicode
: sysutils/est
: sysutils/fusefs-kmod
: sysutils/ipmi-kmod
: x11/nvidia-driver

I think you missed:

multimedia/kbtv
sysutils/pmap
sysutils/biosfont
sysutils/devcpu
net/ng_car
net/ng_netflow
net/ipvs

although some of these install a lot more than just a single driver.

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


Re: How to get a list of all kernel modules

2007-06-17 Thread [LoN]Kamikaze
M. Warner Losh wrote:
 In message: [EMAIL PROTECTED]
 [EMAIL PROTECTED] (Mark Linimon) writes:
 : On Sun, Jun 17, 2007 at 12:42:01AM -0600, M. Warner Losh wrote:
 :  I'd kinda hoped there was a pseudo category that I could key off of.
 : 
 : Kinda sounds like there should be.
 
 That would make grepping the info out of INDEX easy
 
 Warner
 

I'm with Mark here, there definitely should be one.

I think it would be best to create it and send a HEADS UP to ports@ or to all
maintainers.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to get a list of all kernel modules

2007-06-17 Thread Edwin Groothuis
On Sun, Jun 17, 2007 at 09:18:55AM +0200, [LoN]Kamikaze wrote:
 M. Warner Losh wrote:
  In message: [EMAIL PROTECTED]
  [EMAIL PROTECTED] (Mark Linimon) writes:
  : On Sun, Jun 17, 2007 at 12:42:01AM -0600, M. Warner Losh wrote:
  :  I'd kinda hoped there was a pseudo category that I could key off of.
  : 
  : Kinda sounds like there should be.
  
  That would make grepping the info out of INDEX easy

 I'm with Mark here, there definitely should be one.
 
 I think it would be best to create it and send a HEADS UP to ports@ or to all
 maintainers.

If you decide on a name for the category, I'll send-pr it and ask
the maintainer of portlint to incoperate a check for it.

Edwin
-- 
Edwin Groothuis  |Personal website: http://www.mavetju.org
[EMAIL PROTECTED]|  Weblog: http://www.mavetju.org/weblog/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to check and fix breakage on ia64?

2007-06-17 Thread KIMURA Yasuhiro
Hello.

I'm maintaiter of japanese/eb. I took its maintainership about one and
half year ago, and it was already marked broken on ia64 at that time.

According to the log of Makefile, it was done about three years ago
when version is 3.3.4. But current version is 4.3, and it is not clear
if it is still broken.

I would like to check if latest one is broken on ia64. But I don't
have account of FreeBSD/ia64 envirionment, nor I can afford to prepare
Itanium mainframe.

Then are there any way to check (and fix if it is still the case) the
breakage?

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


Re: Keeping track of automatically installed dependency-only ports

2007-06-17 Thread Peter Jeremy
On 2007-Jun-16 20:44:53 -0700, Stephen Hurd [EMAIL PROTECTED] wrote:
 Agreed, but this situation is not easy to detect with the automated
 ports checks that are in place.

 Impossible even since we're not using automated tools.

I was thinking of pointyhat

 Yes - but since it requires the maintainer to manually determine what
 features are automatically detected and enabled, it is something that
 is error-prone - the maintainer could easily accidently overlook it.

 A maintainer needs to do this anyways.

A maintainer _should_ do this.  They may accidently miss a dependency
or they might be too lazy to do a proper job.

 Of course, simply not automatically deinstalling SDL would help out quite a 
 bit.  If I decide to remove SDL, all the results of that are my fault.  If 
 removing portXXX also removes SDL, I can blame the ports system for removing 
 stuff out from under me.

A normal 'pkg_delete' will not remove any ports other than those
specified and will only remove the port(s) specified iff those ports
have no other ports depending on them.  If portXYZ registers a
dependency on SDL then it will not be possible to remove SDL without
disabling the dependency check (via '-f').  The problematic scenario
is where the GNU configure script (or equivalent) for portXYZ senses
the presence of SDL and decides to use it even though the port doesn't
list SDL as a dependency.

-- 
Peter Jeremy


pgp6Q8dut5wQb.pgp
Description: PGP signature


How to make a make install without questions?

2007-06-17 Thread TooMany Secrets

Hi!

Excuse me if this is a estupid question, but in six years with
FreeBSD, today I haven't still an answer to this:
- If I make a make install clean, in a port like x11/kde3, are
there any way to make the lack of questions? Or maybe better, are
there any way to make anything like make -y (or -Y for YES options)
install clean?

The trouble is ports like KDE, with platform independency (more or
less cpu power), take more time because you need to stay (more or
less) in front of computer to choose and accept the port options.
I understand that you don't need this with other ports (like apache,
php, etc), for obvious reasons. But I think that with ports like
gnome2 or kde3, maybe I believe that it would be a great saving of
time.

Sorry if the question is understandable for my bad english.

--
Have a nice day  ;-)
TooManySecrets


Dijo Confucio:
Exígete mucho a ti mismo y espera poco de los demás. Así te ahorrarás
disgustos.

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

Re: Upgrading to amd64 requires recompilation of ports?

2007-06-17 Thread Roland Smith
On Sat, Jun 16, 2007 at 06:21:40PM -0400, Indigo 23 wrote:
  Does anyone think that its worth the hassle? If you do manage to get
  it up and running, will you see any noticeable advantages or is it
  better to just stick with i386? The only caveat that I can see is a
  recompilation of all the ports.  Any thoughts?

You don't really _need_ it unless you've got more than four gigs of RAM
and are routinely running out of memory on i386. Then again, I installed
amd64 instead of i386 because I could. :-) No regrets so far.

Some stuff like binary drivers, flash player, is not available on
amd64 (not necessarily a bad thing :-). I think i386 has more ports
available as packages.

Amd 64 will use some more disk space and RAM.

Doing a clean reinstall instead of an upgrade will probably less of a hassle.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpAC0HPmdICd.pgp
Description: PGP signature


Re: How to make a make install without questions?

2007-06-17 Thread Lars Engels
On Sun, Jun 17, 2007 at 12:10:29PM +0200, TooMany Secrets wrote:
  Hi!
 
  Excuse me if this is a estupid question, but in six years with
  FreeBSD, today I haven't still an answer to this:
  - If I make a make install clean, in a port like x11/kde3, are
  there any way to make the lack of questions? Or maybe better, are
  there any way to make anything like make -y (or -Y for YES options)
  install clean?
 
  The trouble is ports like KDE, with platform independency (more or
  less cpu power), take more time because you need to stay (more or
  less) in front of computer to choose and accept the port options.
  I understand that you don't need this with other ports (like apache,
  php, etc), for obvious reasons. But I think that with ports like
  gnome2 or kde3, maybe I believe that it would be a great saving of
  time.
 
  Sorry if the question is understandable for my bad english.
 

Hello Mr. TooMany,

the portupgrade suite is what you probably want to use.
You can set BATCH=YES or use the --batch switch which suppresses the
OPTIONS menu.
e.g.: portupgrade --batch -a to upgrade all ports or
portinstall --batch sysutils/screen


Lars


pgpmuQpIFtXX3.pgp
Description: PGP signature


Re: The committed package speedup is a little bit flawed

2007-06-17 Thread Pav Lucistnik
Alexander Leidinger píše v ne 17. 06. 2007 v 12:02 +0200:

 somehow you didn't got the final patch. 

I went with the latest patch available in the PR.

 Attached is the fastest version
 we where able to come up with. Additionally it contains a safety net
 (-gt part) in case there's something wrong (no ORIGIN in +CONTENTS).
 With the current version you run into an error, with the patch you
 don't.

Okay, I'll see when we have space for another exprun.

 On a related note, have you got a PR for the make clean-speedup?

What PR number would that be?

-- 
Pav Lucistnik [EMAIL PROTECTED]
  [EMAIL PROTECTED]

Just because you're an angel doesn't mean you have to be a fool.


signature.asc
Description: Toto je digitálně	 podepsaná část	 zprávy


Re: opensync ports

2007-06-17 Thread Pav Lucistnik
Gabor Tjong A Hung píše v ne 17. 06. 2007 v 11:49 +0200:

 I am new to porting and have tried to port opensync, and the result is
 included as attachment.

.pc files must go to libdata/pkgconfig, not in lib/pkgconfig.

What's up with pkg-message? It does not seem to be referenced anywhere
in the port.

- There is a devel/libopensync. I'm not sure if this is the same port.
It appears to be, but this port is version 0.17. This was released
04/23/05, so I thought I better start anew.
 
 Should the port be called libopensync? or is opensync the correct name?

It's the same port, do it as an update on that directory.

- The following lines were also part of the install instructions.
 
 # this is required that frontends and plugins find the opensync-1.0.pc file
 export PKG_CONFIG_PATH=$OPENSYNC_BUILD/lib/pkgconfig:$PKG_CONFIG_PATH
 
 was it correct of me to assume that
 CONFIGURE_ENV=  PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig would be
 equivalent?

Have you tried without it? Did it worked? I have a feeling this line
will have zero effect on the build.

- Based on the pkg-plist I also assumed it had some libraries, so I
added a USE_LDCONFIG=   yes, although I am hesitating if USE_LDCONFIG=
${PREFIX}/lib/ ${PREFIX}/lib/opensync/formats ${PREFIX}/lib/pkgconfig
 
 it does compile fine *with* and *without* USE_LDCONFIG

It will compile with or without USE_LDCONFIG. USE_LDCONFIG is ment to
expose libraries for other ports. You don't need to expose libraries to
ldconfig, if they are never linked again, only dl_open()ed on runtime.
Typically, this covers all plugins. I'm quite sure the content of
lib/opensync will be dl_open plugins.

lib/pkgconfig does not contain any shared libraries.

- Library dependencies. Is there a way to *know* what the port depends
on except from the documentation provided? I couldn't find any dependancies
in the documentation of opensync. My port does seem to clean
scons-0.97, python24-2.4.4 and opensync-0.30.

You should read make configure output, it usually checks for
dependencies there. If it uses scons for build instead of make, I think
you might have the dependency list right here.

Clean space test will help you verify this. You could set up Tinderbox
for that.

 Furthermore, since this is not an application, how can I *know if this port
 is succesfully ported?

Port the application too :)

-- 
Pav Lucistnik [EMAIL PROTECTED]
  [EMAIL PROTECTED]

Mischief managed.


signature.asc
Description: Toto je digitálně	 podepsaná část	 zprávy


Re: How to make a make install without questions?

2007-06-17 Thread David N

On 17/06/07, TooMany Secrets [EMAIL PROTECTED] wrote:

Hi!

Excuse me if this is a estupid question, but in six years with
FreeBSD, today I haven't still an answer to this:
- If I make a make install clean, in a port like x11/kde3, are
there any way to make the lack of questions? Or maybe better, are
there any way to make anything like make -y (or -Y for YES options)
install clean?

The trouble is ports like KDE, with platform independency (more or
less cpu power), take more time because you need to stay (more or
less) in front of computer to choose and accept the port options.
I understand that you don't need this with other ports (like apache,
php, etc), for obvious reasons. But I think that with ports like
gnome2 or kde3, maybe I believe that it would be a great saving of
time.

Sorry if the question is understandable for my bad english.

--
Have a nice day  ;-)
TooManySecrets


Dijo Confucio:
Exígete mucho a ti mismo y espera poco de los demás. Así te ahorrarás
disgustos.


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




Hi,

What i do is
make config-recursive
make install clean

The make config-recursive will go through all the depending ports and
set the options, this is the only time you set the options and when
you'll have to be at the keyboard. Then when you do a make install
clean, it wont ask for the options anymore since you've already set
them.

I hope it helps

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


Re: How to make a make install without questions?

2007-06-17 Thread Sam Lawrance


On 17/06/2007, at 8:10 PM, TooMany Secrets wrote:


Hi!

Excuse me if this is a estupid question, but in six years with
FreeBSD, today I haven't still an answer to this:
- If I make a make install clean, in a port like x11/kde3, are
there any way to make the lack of questions? Or maybe better, are
there any way to make anything like make -y (or -Y for YES options)
install clean?

The trouble is ports like KDE, with platform independency (more or
less cpu power), take more time because you need to stay (more or
less) in front of computer to choose and accept the port options.
I understand that you don't need this with other ports (like apache,
php, etc), for obvious reasons. But I think that with ports like
gnome2 or kde3, maybe I believe that it would be a great saving of
time.

Sorry if the question is understandable for my bad english.


make -DBATCH ...

See the ports man page ;-)

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


Re: How to check and fix breakage on ia64?

2007-06-17 Thread KIMURA Yasuhiro
From: Pav Lucistnik [EMAIL PROTECTED]
Subject: Re: How to check and fix breakage on ia64?
Date: Sun, 17 Jun 2007 12:45:38 +0200

 I just tried on FreeBSD/ia64 6.2-STABLE system, and it compiled fine.
 I haven't tried installing it.

Very good news. Then following lines in Makefile does not match
current status.

.if ${ARCH} == ia64
BROKEN=Configure fails on ia64
.endif

And now I can remove these lines.

Thank you for your trying and reporting to me.

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


Re: How to make a make install without questions?

2007-06-17 Thread Ion-Mihai Tetcu
On Sun, 17 Jun 2007 12:10:29 +0200
TooMany Secrets [EMAIL PROTECTED] wrote:

 Hi!
 
 Excuse me if this is a estupid question, but in six years with
 FreeBSD, today I haven't still an answer to this:
 - If I make a make install clean, in a port like x11/kde3, are
 there any way to make the lack of questions? Or maybe better, are
 there any way to make anything like make -y (or -Y for YES options)
 install clean?
 
 The trouble is ports like KDE, with platform independency (more or
 less cpu power), take more time because you need to stay (more or
 less) in front of computer to choose and accept the port options.
 I understand that you don't need this with other ports (like apache,
 php, etc), for obvious reasons. But I think that with ports like
 gnome2 or kde3, maybe I believe that it would be a great saving of
 time.
 
 Sorry if the question is understandable for my bad english.

`make config-recursive` in the port's directory will help, except for
ports that choose not to implement OPTIONS but their own custom script
(poking their maintainers might be a .. useful idea).


-- 
IOnut - Un^d^dregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as Intellect



signature.asc
Description: PGP signature


PR 11367 subversion -- compile fail - requires lgssapi_krb5 on Freebsd 6.2

2007-06-17 Thread David Southwell
I posted the PR below. I know it ios early days, but there has, so far been no 
response.

Until this is dealt with I felt it might be useful to have the PR , and the 
temporary method I used to solved it, posted here.
**

Subject: subversion -- compile fail - requires lgssapi_krb5 on Freebsd 6.2
X-Send-Pr-Version: www-3.0

Number: 113677
Category:   ports
Synopsis:   devel/subversion -- compile fail - requires lgssapi_krb5 on 
Freebsd 6.2
Confidential:   no
Severity:   serious
Priority:   high
Responsible:lev
State:  open
Quarter:
Keywords:   
Date-Required:  
Class:  change-request
Submitter-Id:   current-users
Arrival-Date:   Thu Jun 14 10:30:04 GMT 2007
Closed-Date:
Last-Modified:  Fri Jun 15 18:00:15 GMT 2007
Originator: David Southwell
Release:6.2
Organization:
vizion communications
Environment:
# uname -a
FreeBSD dns1.vizion2000.net 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 
04:15:57 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  
amd64

Description:
Attempted to install subversion.
Options were chosen to support webdav  ssl 
Therefore neon had to be installed as a dependency,
Neon was not then present on the system.


2   -L/usr/local/lib -L/usr/local/lib/db42  -rpath /usr/local/lib -o 
libsvn_ra_dav-1.la  commit.lo fetch.lo file_revs.lo log.lo merge.lo 
options.lo props.lo replay.lo session.lo 
util.lo ../../subversion/libsvn_delta/libsvn_delta-1.la 
../../subversion/libsvn_subr/libsvn_subr-1.la /usr/local/lib/libaprutil-1.la 
-lgdbm -ldb-4.2 -lexpat -liconv /usr/local/lib/libapr-1.la -lcrypt  -lpthread 
-L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lneon -lintl 
-lssl -lcrypto -lz -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -O2 
-fno-strict-aliasing -pipe -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lexpat 
-lintl  -lz
/usr/bin/ld: cannot find -lgssapi_krb5
*** Error code 1

Stop in /usr/ports/devel/subversion/work/subversion-1.4.3.
*** Error code 1

Stop in /usr/ports/devel/subversion.

I raised the problem on [EMAIL PROTECTED]
Here is an extract from my email reporting my solution to the problem:

*
 On 6/13/07, David Southwell [EMAIL PROTECTED] wrote:
  here is what I have:
 
  [EMAIL PROTECTED] /usr/bin]# ls -l /usr/lib/libgss*
  -r--r--r--  1 root  wheel  141960 Feb 27 10:24 /usr/lib/libgssapi.a
  lrwxr-xr-x  1 root  wheel  14 Mar 23 07:59 /usr/lib/libgssapi.so -
  libgssapi.so.8
  -r--r--r--  1 root  wheel   63056 Mar 23 07:59 /usr/lib/libgssapi.so.8
  -r--r--r--  1 root  wheel  146556 Feb 27 10:24 /usr/lib/libgssapi_p.a
 
  I have a hazy recolection that, at some time, there was a conflict
  between kerberos and something else.

 Heimdal and MIT Kerberos 5?

That sounds familiar

 On -CURRENT, src/kerberos5/lib/libgssapi/Makefile builds
 libgssapi_krb5*,  but on RELENG_6 it only builds libgssapi.*.
Ok I am working with this and commenting as I go.

I am on 6.1 :
# uname -a
FreeBSD dns1.vizion2000.net 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 
04:15:57 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  
amd64

 Have a look at the configure script and try to determine why it is
 choosing the wrong version of Kerberos 5 for your system.

I presume you mean the subversion configure script?
Only one reference to kerberos found in the port files:

[EMAIL PROTECTED] /usr/ports/devel/subversion]# fgrep -R kerberos ./*
./work/subversion-1.4.3/INSTALL:  --with-libs=/usr/kerberos for OpenSSL 
to be found.  The zlib library
[EMAIL PROTECTED] /usr/ports/devel/subversion]# 

In INSTALL:

 On Unix systems, if you are building neon as part of the Subversion
  build process (as described in section I.4 above), you can pass flags
  to Subversion's ./configure, and they will be passed on to neon's
  ./configure.  You need OpenSSL installed on your system, and you
  must add --with-ssl as a ./configure parameter.  If your OpenSSL
  installation is hard for Neon to find, you may need to use
  --with-libs=/path/to/lib in addition.  In particular, on Red Hat
  (but not Fedora Core) it is necessary to specify
  --with-libs=/usr/kerberos for OpenSSL to be found.

 Section 1.4
We recommend that you keep the neon installation out of the
  Subversion working copy.  This is because most developers have
  multiple working copies of Subversion, and it is easier to use a
  single instance of the Neon library for all instances.  To do
  this, just unzip/untar Neon, and build and install it according
  to its own standard installation instructions.  Then follow the
  steps below to use the installed Neon when building 

  Subversion's configuration mechanism should auto-detect the
  installed Neon. 

CONCLUSION:
I wonder if neon packaged with subversion does not test for the correct 
version? 

What happenes if  in 

Re: Upgrading to amd64 requires recompilation of ports?

2007-06-17 Thread Mike Andrews

On Sat, 16 Jun 2007, Kris Kennaway wrote:


I may have had to use the statically linked /rescue to do some things,
I don't remember.  It's not completely trivial, but someone who knows
their way around a FreeBSD system can do it.

We did it by using miniroot on swap partition of the system disk.
This approach has an advantage of keeping at least one good bootable
base system installation in any moment. Also, it allows move in both
directions, i.e. i386 - amd64.


Yeah, that's a neat trick to remember.  Another trick for doing
i386-amd64 is to install your new world into a DESTDIR, tar it up,
put the tarball onto the root filesystem, boot the new amd64 kernel
into single-user mode and use /rescue/tar to spam the amd64 tarball
over the i386 world.


I've used the miniroot-on-swap approach before.  Another trick I used this 
week (when I had to do four i386-amd64 migrations) was to build a 
netbootable amd64 system, PXE-boot that, and then installworld to the 
local disks that way.

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


mysql-server-5.1.19 path variable error created on upgrade compilation

2007-06-17 Thread David Southwell
# uname -a
 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:15:57 UTC 2006     
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  amd64
#
Just upgraded mysql to include:

# pkg_info |grep mysql
mysql-client-5.1.19 Multithreaded SQL database (client)
mysql-server-5.1.19 Multithreaded SQL database (server)
p5-DBD-mysql51-4.005 MySQL 5.1 driver for the Perl5 Database Interface (DBI)
php5-mysql-5.2.3    The mysql shared extension for php
#

Seems we have an oddity here after compiling:
Extract from show variables:
show variables;
+-+---+
| Variable_name                   | Value                                 |
+-+---+
| basedir                         | /usr/local/  
| character_sets_dir              | /usr/local/share/mysql/charsets/      |
                           
| datadir                         | /usr2/datadb/                         |

| general_log_file                | /usr2/datadb/dns1.log                 |

| language                        | /usr/local/share/mysql/english/       |

| pid_file                        | /usr2/datadb//dns1.vizion2000.net.pid |

                                                         ^^Why '//'

| plugin_dir                      | /usr/local/lib/mysql                  |

| slow_query_log_file             | /usr2/datadb/dns1-slow.log            |
| socket                          | /tmp/mysql.sock                       |

So I thought I would:
(a) RESET the variable

mysql set pid_file = /usr2/datadb/dns1.vizion2000.net.pid ;
ERROR 1193 (HY000): Unknown system variable 'pid_file'
mysql set GLOBAL pid_file = /usr2/datadb/dns1.vizion2000.net.pid ;
ERROR 1193 (HY000): Unknown system variable 'pid_file'
mysql set GLOBAL pid_file = '/usr2/datadb/dns1.vizion2000.net.pid' ;
ERROR 1193 (HY000): Unknown system variable 'pid_file'
mysql set @@GLOBAL pid_file = '/usr2/datadb/dns1.vizion2000.net.pid' ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual 
that corresponds to your MySQL server version for the right syntax to use 
near 'pid_file = '/usr2/datadb/dns1.vizion2000.net.pid'' at line 1
mysql set @@GLOBAL.pid_file = '/usr2/datadb/dns1.vizion2000.net.pid' ;
ERROR 1193 (HY000): Unknown system variable 'pid_file'
mysql  

But I cannot seem to get the Syntax right - can someone please point me in the 
right direction.

(b) Ask why this might be happening.

It might be worth recording that /usr2/ is a seperate physical device and 
emphasize that the base-dir is /usr/local/.

Thanks in advance

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


anacron: suggest adding an entry in /etc/crontab in pkg-message.in

2007-06-17 Thread Frank Steinborn
Hi,

the pkg-message.in from the anacron-port is incomplete, IMO. It shows
this:

- Edit %%PREFIX%%/etc/anacrontab
- Deactivate the 'periodic' commands in /etc/crontab
- Add anacron_enable=YES to /etc/rc.conf
- Read anacron(8) and anacrontab(5)

The problem is that anacron will just execute one time, namely when
the machine is booted. The maintainance-scripts would never run again,
then.

I suggest adding the following line to pkg-message.in before Add
anacron_enable=YES to /etc/rc.conf:

- Add an entry for anacron in /etc/crontab for the early morning hours


What do you think?

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


Re: The committed package speedup is a little bit flawed

2007-06-17 Thread Alexander Leidinger
Quoting Pav Lucistnik [EMAIL PROTECTED] (Sun, 17 Jun 2007 12:27:52 +0200):

 Alexander Leidinger píše v ne 17. 06. 2007 v 12:02 +0200:
 
  somehow you didn't got the final patch. 
 
 I went with the latest patch available in the PR.

Yeah... somehow we didn't provided the latest version there...

  On a related note, have you got a PR for the make clean-speedup?
 
 What PR number would that be?

I don't know, the patch is not by me.

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org  : PGP ID = 72077137
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The committed package speedup is a little bit flawed

2007-06-17 Thread Garrett Cooper

Pav Lucistnik wrote:

Alexander Leidinger píše v ne 17. 06. 2007 v 18:41 +0200:

  

On a related note, have you got a PR for the make clean-speedup?


What PR number would that be?
  

I don't know, the patch is not by me.



I don't have that patch locally, so, it's probably lost.

  

I think you mean this PR, and it was just committed:

http://www.freebsd.org/cgi/query-pr.cgi?pr=112765

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


Re: The committed package speedup is a little bit flawed

2007-06-17 Thread Pav Lucistnik
Alexander Leidinger píše v ne 17. 06. 2007 v 18:41 +0200:

   On a related note, have you got a PR for the make clean-speedup?
  
  What PR number would that be?
 
 I don't know, the patch is not by me.

I don't have that patch locally, so, it's probably lost.

-- 
Pav Lucistnik [EMAIL PROTECTED]
  [EMAIL PROTECTED]

Sword ownership rights have been under heavy fire since they were
determined to be the leading cause of death during the Siege of Acre
in the third crusade.


signature.asc
Description: Toto je digitálně	 podepsaná část	 zprávy


Re: CTF: compat6x port

2007-06-17 Thread Abdullah Ibn Hamad Al-Marri

On 6/7/07, Marcus Alves Grando [EMAIL PROTECTED] wrote:

Hi lists,

I finish compat6x port and i need testers. If you are interested you can
download shar file in http://people.freebsd.org/~mnag/compat6x.shar

Feedbacks are welcome. I expect commit this until 09 Jun.

Regards

--
Marcus Alves Grando
marcus(at)sbh.eng.br | Personal
mnag(at)FreeBSD.org  | FreeBSD.org


Works with no issues, Thank You!

When it will be in ports? :D


--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to get a list of all kernel modules

2007-06-17 Thread Edwin Groothuis
On Sun, Jun 17, 2007 at 01:36:40AM -0600, M. Warner Losh wrote:
 In message: [EMAIL PROTECTED]
 Edwin Groothuis [EMAIL PROTECTED] writes:
 : On Sun, Jun 17, 2007 at 09:18:55AM +0200, [LoN]Kamikaze wrote:
 :  M. Warner Losh wrote:
 :   In message: [EMAIL PROTECTED]
 :   [EMAIL PROTECTED] (Mark Linimon) writes:
 :   : On Sun, Jun 17, 2007 at 12:42:01AM -0600, M. Warner Losh wrote:
 :   :  I'd kinda hoped there was a pseudo category that I could key off of.
 :   : 
 :   : Kinda sounds like there should be.
 :   
 :   That would make grepping the info out of INDEX easy
 : 
 :  I'm with Mark here, there definitely should be one.
 :  
 :  I think it would be best to create it and send a HEADS UP to ports@ or to 
 all
 :  maintainers.
 : 
 : If you decide on a name for the category, I'll send-pr it and ask
 : the maintainer of portlint to incoperate a check for it.
 
 'kmod' would be my first choice.  But I don't care as long as I know
 what it is.

ports/113802: [patch] add virtual category: kmod

What has been suggested to make too is a description on how to build
packages which install kernel modules (The use of kldxref for example)

Edwin

-- 
Edwin Groothuis  |Personal website: http://www.mavetju.org
[EMAIL PROTECTED]|  Weblog: http://www.mavetju.org/weblog/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CTF: compat6x port

2007-06-17 Thread Marcus Alves Grando

Abdullah Ibn Hamad Al-Marri wrote:

On 6/7/07, Marcus Alves Grando [EMAIL PROTECTED] wrote:

Hi lists,

I finish compat6x port and i need testers. If you are interested you can
download shar file in http://people.freebsd.org/~mnag/compat6x.shar

Feedbacks are welcome. I expect commit this until 09 Jun.

Regards

--
Marcus Alves Grando
marcus(at)sbh.eng.br | Personal
mnag(at)FreeBSD.org  | FreeBSD.org


Works with no issues, Thank You!


Thanks to test too.


When it will be in ports? :D


After CURRENT bump all necessary libs. Maybe tomorrow.

Regards

--
Marcus Alves Grando
marcus(at)sbh.eng.br | Personal
mnag(at)FreeBSD.org  | FreeBSD.org
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]