Re: p5-XML-SAX and portupgrade

2012-05-14 Thread Armin Pirkovitsch

On 2012-05-14 10:16, n dhert wrote:
There is an update of p5-XML-SAX in the ports, /usr/ports/UPDATING 
says:


20120512:
  AFFECTS: users of textproc/p5-XML-SAX
  AUTHOR: cr...@freebsd.org
  p5-XML-SAX (X-S) was split into p5-XML-SAX-Base (X-S-B) and 
p5-XML-SAX for
  version 0.99.  Since X-S-B now installs some files formerly 
installed by

X-S
  the package for X-S must be deinstalled before updating X-S.
  # pkg_delete -fx p5-XML-SAX
  # portmaster textproc/p5-XML-SAX
  (users of pkgng can substitute pkg_delete with pkg delete)
But what is the instruction for users of  portupgrade ?


Susbstitude portmaster with portupgrade is my guess.

Armin
___
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: New FreeBSD User | HP Doesn't Boot

2011-10-09 Thread Armin Pirkovitsch

On 10/09/11 01:11, Michael Starr wrote:

Hello Everyone,

I am a brand new FreeBSD user with minimal Unix knowledge. I have
successfully installed FreeBSD on a computer dedicated to the operating
system. However, after rebooting, the machine can't boot, nor get into BIOS.
I installed the system from a bootable USB stick. I would try another fresh
install, but currently I can't do anything. Could someone please direct me
to a solution? I hope I did not irrevocably alter my BIOS. Any help would be
deeply appreciated. Thank you.

Computer: HP dvr6 2150us (laptop)


First of all - I looked for you notebook and it looks like you have an 
Intel Core i3 with an Intel GMA HD.
If that is the case you will have troubles running Xorg on that notebook 
due to the lack of KMS in FreeBSD. There is a patch for HEAD (the 
development version of FreeBSD) but quiet some work is needed to get it 
running.
KMS is under development right now - but not yet available in any 
releases...


Regarding your problem:

I have the same problem on my notebook - my solution is dirty but I was 
not able find a better one: (or better - not any other at all)


- Install FreeBSD, remove the disk from your computer, put it in an 
external case and run fdisk (e.g. linux fdisk - i used fdisk from the 
parted magic boot cd for that)
Mark the correct partition as active (even if it's already marked as 
such - remove the flag, write it, set it back and again write)
- put it back into your notebook - now everything should work fine - 
don't ever press any of the F keys during the boot (it usually prompts 
for it) - it would result in the same problem as before
- if you want to install eg windows now would be the time (if so - use 
the windows boot manager to boot freebsd - do NOT use the freebsd boot 
manager (the F1, F2, ... thing) )

[ http://bastian.rieck.ru/howtos/windows_boot_manager/ ]

To be honest - I haven't tried booting FreeBSD after that fix without 
Windows - so no promises there - it might happen that it boots eg only 
once...


An alternative solution would be to install FreeBSD using GPT instead of 
MBR (works if you a.) don't care about windows, or b.) have UEFI BIOS to 
install Windows on a GPT disk)


Armin
___
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: Opening Opera as user

2011-02-01 Thread Armin Pirkovitsch

Could you post your environment variables?

btw. how do you login / start x? (eg login in the console and use 
startx, or using any login manager like xdm, kdm, gdm, slim...)


Armin

On 02/02/11 06:47, Rem P Roberti wrote:



On Tue, Feb 1, 2011 at 6:17 PM, Rem P Robertiremeg...@comcast.net
wrote:

I installed linux-opera, and I guess I made a mistake by opening it the
first time as root, when I should have opened as user. At any rate, I
can
now only open the browser as root, and when I do I get this message:

opera: $HOME set to /root. Use -personaldir if you do not want to use
/root/.opera/

Can someone give me a heads up on how to fix this, as the above
message is a
mystery to me.


Most likely, it is trying to use /root/.opera for your profile and is
crashing early in the startup because the regular user can't write
there. I would save any bookmarks or other useful items and then
delete the folder. I haven't run into this in FreeBSD but you can get
similar problems in Windows if a global profile is created in
C:\Program Files\Opera by an administrator.



That's interesting. The problem is that there is no /root/.opera folder.
As a matter of fact there doesn't seem to be any folders at all that
refer to the linux-opera browser, in my /home/user directory, or
anywhere else. So I have no idea where the program is storing the
profile info.

Rem
___
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



___
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: Broken port?

2010-11-29 Thread Armin Pirkovitsch

Hi!

The current version of databases/py-sqlite3 is 2.6.6_1 (python version 
2.6.6) - therefore I suggest you update your ports tree and your ports.
See http://www.freebsd.org/doc/handbook/ports-using.html for more 
information on how to do that if you have not done that before.


If the problem still occurs afterward you should file a problem report. 
( http://www.freebsd.org/send-pr.html )


Armin

On 11/29/10 19:34, Modulok wrote:

List,

I tried to install django with sqlite support from ports and got the
error shown below. What do I do to fix this? Do I email a port
maintainer or something? I used portsnap to update my ports collection
before trying the install. I'm on 8.1-RELEASE amd64.

Thanks!
-Modulok-

Error Below:

===   Installing for py26-django-1.2.3
===py26-django-1.2.3 depends on file: /usr/local/bin/python2.6 - found
===py26-django-1.2.3 depends on file:
/usr/local/lib/python2.6/site-packages/mod_python/_psp.so - found
===py26-django-1.2.3 depends on file:
/usr/local/lib/python2.6/site-packages/psycopg2/_psycopg.so - found
===py26-django-1.2.3 depends on package: py26-MySQLdb=1.2.2 - found
===py26-django-1.2.3 depends on file:
/usr/local/lib/python2.6/site-packages/_sqlite3.so - not found
=== Verifying install for
/usr/local/lib/python2.6/site-packages/_sqlite3.so in
/usr/ports/databases/py-sqlite3
===   Vulnerability check disabled, database not found
===   License check disabled, port has not defined LICENSE
=  Python-2.6.5.tgz is not in /usr/ports/lang/python26/distinfo.
=  Either /usr/ports/lang/python26/distinfo is out of date, or
=  Python-2.6.5.tgz is spelled incorrectly.
*** Error code 1

Stop in /usr/ports/databases/py-sqlite3.
*** Error code 1

Stop in /usr/ports/www/py-django.
*** Error code 1

Stop in /usr/ports/www/py-django.
___
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



___
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: Undefined symbol php_pcre_exec

2010-10-29 Thread Armin Pirkovitsch

I'd try
`pkg_info -W /usr/local/lib/php/20090626/filter.so`
to determine which port is responsible for that file - however it sounds 
imho quiet old. (I'd say it comes from security/php5-filter)


My guess would be that it is a leftover from some older not properly 
removed library/program which now causes problems.



On 10/29/10 19:34, Andy Wodfer wrote:

Hi FreeBSD-Questions-readers,
This question is not exactly FreeBSD, but since I'm running FreeBSD 8.0
RELEASE on this server I was hoping this community would be able to give me
some help.

I'm trying to install the latest version (3.8.2144) of ResourceSpace (
http://www.resourcespace.org/ - open source digital assets management)  on a
FreeBSD 8.0 server running the latetst version of Apache 2.2.16, PHP5.3.3
and mysql 5.1.45.

On the first installation html page (/pages/setup.php) I fill inn all the
fields (database user, name, host and path to binaries etc) and click Begin
installation. This is as far as I get.

In Firefox I get a download window asking me to save or open setup.php, in
Safari I get an error message and in IE I get IE cannot display this page
error.

So I begin to dig... Tried several databases/user/passwords, with or without
paths to binaries, but still the same problem. So I check my http error log
and I notice that every time I click Begin installation I get a line with
this in my logfile:

My http error log shows this line every time I click Begin installation:
/libexec/ld-elf.so.1: /usr/local/lib/php/20090626/filter.so: Undefined
symbol php_pcre_exec

So I thought maybe my PHP installation is broken or I have missed some
modules. Tried reinstalling (with make rmconfig first), I even installed all
modules and did the same with Apache - several times. Problem still there.

So I start search for an answer and a Google search comes up with a
reference to /usr/ports/UPDATING where it says something like php_pcre is
from version 5.x now a part of the php core and can't be installed alone as
an
additional package to PHP. Could this have anything to do with my problems?

I'm running out of ideas here and I was hoping someone could help me out or
give me some pointers..

Thanks a lot!

Best regards,
Andy
___
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



___
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: How can I extract differences between 2 folders ?

2009-05-05 Thread Armin Pirkovitsch
First of all I suppose you're talking about 2 files, not folders.
In which case the command you're using isn't looking so bad since it
shows the differences between file a and file b:

  diff --suppress-common-lines -w -y a b
 abcde | xyasz

But since you do not seem to be happy with the output - what should it
look like?

Armin

On Tue 05 May 2009, Yavuz Maşlak wrote:

 I have two folders which contains some expressions in everyline as 
 following;
 File A:
 abcde
 12345
 etc.
 
 File B:
 xyzas
 12345
 etc
 
 As above some strings are same and some strings are different.
 There are several differents between these two files.
 
 When I run diff command diff --suppress-common-lines -y -w file1 file2  
 fileresult   like I couldn't result right.
 How can I extract differences between 2 folders ?
 
 Which command do I need to use ?

-- 
Armin Pirkovitsch
a.pi...@inode.at
___
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: Groups problems

2009-05-04 Thread Armin Pirkovitsch
Have you relogged in after adding the user to the group file?
(su -l should do the trick as well if you can't log out/relog in for
some reason)

Otherwise you'll get exactly the behaviour you described below.

Armin

On Mon 04 May 2009, Shaun Friedle wrote:

 Hi,
 I seem to have a weird problem with groups, it seems like the system
 doesn't notice that I am in certain groups when it comes to file
 permissions, and if I run groups or id with no arguments it also has
 some groups missing from the list, but with my username as an argument
 it is complete. I've never encountered this before, does anyone know
 what the problem might be?
 
 [sh...@strange] ~ $ ls -lh /tmp/group_test
 -rw-rw-r--  1 www  mercurial 0B  4 May 14:08 /tmp/group_test
 [sh...@strange] ~ $ echo test  /tmp/group_test
 bash: /tmp/group_test: Permission denied
 [sh...@strange] ~ $ whoami
 shaun
 [sh...@strange] ~ $ grep shaun /etc/group
 wheel:*:0:root,shaun
 www:*:80:shaun
 shaun:*:1002:
 svn:*:1004:svn,shaun
 mercurial:*:1006:shaun,www
 [sh...@strange] ~ $ groups
 shaun wheel svn
 [sh...@strange] ~ $ groups shaun
 shaun wheel www svn mercurial
 [sh...@strange] ~ $ id
 uid=1002(shaun) gid=1002(shaun) groups=1002(shaun),0(wheel),1004(svn)
 [sh...@strange] ~ $ id shaun
 uid=1002(shaun) gid=1002(shaun)
 groups=1002(shaun),0(wheel),80(www),1004(svn),1006(mercurial)

-- 
Armin Pirkovitsch
a.pi...@inode.at
___
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: Apache errors.

2009-05-03 Thread Armin Pirkovitsch
Hi!

Have you tried to recompile the port from which that library came?
(pkg_info -W /usr/local/lib/libavahi-common.so.3 should help you finding
the correct port if you do not know which port that is)

Armin


On Sun 03 May 2009, Jeff Molofee wrote:

 Just started getting this.. can anyone tell me how to fix it?
 
 Performing sanity check on apache22 configuration:
 httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf: 
 Cannot load /usr/local/libexec/apache22/mod_dnssd.so into server: 
 /usr/local/lib/libavahi-common.so.3: Undefined symbol 
 libintl_bindtextdomain

-- 
Armin Pirkovitsch
a.pi...@inode.at
___
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: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread Armin Pirkovitsch
[EMAIL PROTECTED] wrote:
 I am trying for several days now to get 3d acceleration working on
 FreebSD for my XFX 7800 GS. But nothing what I've tried worked :-( .
 Below is a collection of useful information I've gathered thus far. Who
 can help me?

 *# glxinfo | fgrep direct*
 Xlib: connection to :0.0 refused by server
 Xlib: No protocol specified

try glxinfo as the user which runs the xserver not as root (and only
when the x server is running)
(or run xhost + as the user who runs the xserver before you use glxinfo
as root or any other user - however i wouldn't recommend this version)

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


Re: Fail to start KDE and Gnome

2007-02-28 Thread Armin Pirkovitsch
Stephen Liu wrote:
[...]
 
 Something strange happened here.  If copying xorg.conf.new on
 /etc/X11/ and renaming it as xorg.conf. I can't start X, the HD only
 turning.  Now I don't have /etc/X11/xorg.conf.  I can start KDE (not
 Gnome).  I don't know which xorg.conf I am now running.

just have a look at /var/log/Xorg.0.log - it will tell you which config
file is used

 
 I can toggle resolution to increase font size on browser witn
 [Ctrl]+[Alt]+[+]


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


Re: Fail to start KDE and Gnome

2007-02-27 Thread Armin Pirkovitsch
Stephen Liu wrote:
 Hi Jonathan Chen,
 
 Tks for your advice.
 
  
 If you're going to use startx you will need a ${HOME}/.xinitrc with
 the following contents:

  #/bin/sh
  startkde

 Make sure the file is 755 permissions. This will start up X with KDE.
 I would suggest you configure /etc/ttys to start up KDM instead of
 using startx
 
 Your advice worked here starting KDE.
 
 What I'm trying to do is running;
 
 $ startkde
 will start K desktop
 
 $ gnome-session
 will start Gnome desktop

This won't work since those are just the windowmanagers - you need an X
server to start them.
However you could solve it with some small scripts:


start-gnome.sh:

#!/bin/sh
rm -f ~/.xinitrc
ln -s ~/.xinitrc_gnome ~/.xinitrc
startx



.xinitrc_gnome:

#!/bin/sh
exec /usr/local/bin/gnome-session



start-kde.sh:

#!/bin/sh
rm -f ~/.xinitrc
ln -s ~/.xinitrc_kde ~/.xinitrc
startx



.xinitrc_gnome:

#!/bin/sh
exec /usr/local/bin/startkde



make sure all of these files are executable (chmod 755 file)
the .xinitrc* files have to be in your home directory - start-gnome.sh
and start-kde.sh in any directory in your PATH (eg. ~/bin if it's only
for one user)

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


Re: Fail to start KDE and Gnome

2007-02-27 Thread Armin Pirkovitsch
Stephen Liu wrote:
 Hi folks,
 
 FreeBSD-6.2-amd64
 
 This is a test, I insalled aprox 80% of the packages on Disc 2
 After installation completed PC rebooted to runlevel 3.  Login as user
 and run;
 
 $ startkde
 warning:
 Kpersonalizer : Cannot connect to Xserer
 - repeated-
 
 $ gnome-session
 (gnome-session 1968) gtk-Warning  ** cannot open displayed
 
 $ startx
 3 xterm windows started.  On xterm I can start KDE with a lot of
 warning displayed on xterm windonw.  But I can't start Gnome on xterm.
 
 I can start firefox on xterm.  Now I'm posting on firefox browser.
 
 Please advise where I have to check fixing the problems.  TIA

There are two files that control which windowsmanager shall be used
(depending on whether you use a login manager or just startx)
One is called .xinitrc the other one .xsession - they are both in your
home directory - create them (you can create one of them and symlink the
other one) and add the start command to the file (full path) - and make
sure they are set executable (chmod 755 filename)
eg. for kde:
exec /usr/local/bin/startkde
eg for gnome:
exec /usr/local/bin/gnome-session


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


Re: make config

2006-11-24 Thread Armin Pirkovitsch
Michael P. Soulier wrote:
 Hello,
 
 When I type make config for a port and set some options, where are
 they stored?

/var/db/ports/portname/options

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


Re: Fresh System: Kernel should be Rebuilded FIRST or cvsup should be Run FIRST?

2006-11-18 Thread Armin Pirkovitsch
VeeJay wrote:
 Hello
 
 On a freshly installed FreeBSD System, what step should be taken first?
 
 Kernel should be Rebuilded FIRST or cvsup should be Run FIRST?
 
If you want to update your system (base, not ports), you first have to
run cvsup and then make buildworld, kernel etc
If you just want to modify your kernel there is no need for a cvsup at
all (except you want to update of the ports tree)

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


Re: win32 codecs not fixed?

2006-11-14 Thread Armin Pirkovitsch
Tuc at T-B-O-H.NET wrote:
 Yousef Adnan Raffah wrote:
 I have tried to portsnap this morning in order to see if the security
 issue with the multimedia/win32-codecs was resolved, which seems like it
 is not.
 What does usually happen when such a thing is happening, does the
 package/port stay restricted until the developer/port owner fix the
 security issue or does something else happens?
 Run portaudit -F to fetch the most current database. The Issue has been
 removed some time ago by adding the option to not install quicktime (see
 http://www.freshports.org/multimedia/win32-codecs )

   Probably needs to remove /var/db/ports/win32-codecs/options and
 then reconfigure it w/o Quicktime. Then it won't give the error anymore.
 
   Is there a better way to have a port forget its previous
 options?

make config in the ports' directory (eg multimedia/win32-codecs) will
show you the configuration menu (if available)

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


Re: win32 codecs not fixed?

2006-11-14 Thread Armin Pirkovitsch
Yousef Adnan Raffah wrote:
 I have tried to portsnap this morning in order to see if the security
 issue with the multimedia/win32-codecs was resolved, which seems like it
 is not.
 What does usually happen when such a thing is happening, does the
 package/port stay restricted until the developer/port owner fix the
 security issue or does something else happens?

Run portaudit -F to fetch the most current database. The Issue has been
removed some time ago by adding the option to not install quicktime (see
http://www.freshports.org/multimedia/win32-codecs )

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


Re: slimserver port

2006-10-28 Thread Armin Pirkovitsch
Vincent Zee wrote:
 Hello,
 
 I'm relatively new to FreeBSD and installed 6.1 on my computer.
 Then installed Slimserver from /usr/ports/audio/slimserver.
 But I have no idea how to start the program. There is no man page,
 or information in /usr/local/share.
 
 Can anyone shed some light on this?

/usr/local/etc/rc.d/ holds the startup scripts for this kind of server.
Further you'll need slimserver_enable=YES in your /etc/rc.conf

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


Re: cvsup and portupgrade

2006-10-08 Thread Armin Pirkovitsch
Zbigniew Szalbot wrote:
 Hello,
 
 On Sun, 8 Oct 2006, Erik Norgaard wrote:
 
 I just csup'ed my ports tree and ran make on python without any problem.

 portupgrade is a convenient tool but sometimes it fail for whatever
 reason, no idea in your case.
 
 I tried make as you suggest and:
 
 $ sudo make
 ===  python-2.4.3_1 has known vulnerabilities:
 = python -- buffer overrun in repr() for unicode strings.
Reference:
 http://www.FreeBSD.org/ports/portaudit/fe83eb5b-55e1-11db-a5ae-00508d6a62df.html
 
 = Please update your ports tree and try again.
 *** Error code 1

run portaudit -F
it will update your database.
btw. just a sidenote - if you have not done it - after a cvsup of the
portstree you should also update your index (dependencies etc) by
running make index (takes long) or make fetchindex (fast) in /usr/ports.

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


Re: cvsup and portupgrade

2006-10-08 Thread Armin Pirkovitsch
Zbigniew Szalbot wrote:
 Hello,
 
 On Sun, 8 Oct 2006, Armin Pirkovitsch wrote:
 
 run portaudit -F
 it will update your database.
 btw. just a sidenote - if you have not done it - after a cvsup of the
 portstree you should also update your index (dependencies etc) by
 running make index (takes long) or make fetchindex (fast) in /usr/ports.
 
 That was it! Thank you! It did help with python. However, I still have a
 problem with php. I am now trying to cvsup again and then upgrade php.

Well another cvsup won't solve the problem since php hasn't been patched
yet. However if you're really sure you need and want this kind of port
installed just set the environment variable DISABLE_VULNERABILITIES.
However - you should be aware that you'd install a program with a
security hole.

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


Re: cvsup and portupgrade

2006-10-08 Thread Armin Pirkovitsch
Zbigniew Szalbot wrote:
 Hello,
 
 On Sun, 8 Oct 2006, Armin Pirkovitsch wrote:
 
 Well another cvsup won't solve the problem since php hasn't been patched
 yet. However if you're really sure you need and want this kind of port
 installed just set the environment variable DISABLE_VULNERABILITIES.
 However - you should be aware that you'd install a program with a
 security hole.
 
 You are right - it did not help. I do not so much want to install php
 with a security hole as much as I want to patch the hole. From the
 portaudit report I understood that I need to update immediately. And
 hence I am trying to do just that. But as a newbie, I guess I am making
 lots of mistakes on the way.
 
 I would prefer to use portupgrade, since I have pkgtools.conf configured
 so that php is kept with certain flags like CLI, etc.
 

Reference:
 http://www.FreeBSD.org/ports/portaudit/edabe438-542f-11db-a5ae-00508d6a62df.html

 Many, many thanks for such prompt replies and helpful advice to you all!

Just have a look at the reference - to be exactly at the Affects: list.
It concerns all versions ( 0 ) which means there is no patch yet.
So best thing to do is to watch that page and update as soon as there is
a patch.

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


Re: Portsnap Update Question

2006-10-06 Thread Armin Pirkovitsch
Chris wrote:
 I would like to verify whether my active installed ports are updated
 when I run the portsnap fetch update. I've read the handbook and man but
 I don't get a comfortable feeling that the question is answered in
 definitive terms that have meaning to me.
 
 I'm preparing to apply all the recent updates to the production servers
 I have on 6.1 R P6 tomorrow morning and want to make certain I fully
 update the servers with the window of I have. I'll cvsup, build and
 install world and kernel through the normal process. What I've been
 doing is then running portsnap fetch update to apply patches to the
 ports. In doing so, I've not seen recompilations take place and remained
 somewhat fuzzy as to whether I was merely retrieving snapshots of source
 for whatever is in /usr/ports or if in addition, somehow binary changes
 were being applied to programs I've already installed (e.g., I have
 mysql and rsync installed from ports on every machine, would they be
 updated). Perhaps I should be remaking them?
 
 Is the process I described, not updating the binaries of installed
 ports? I could have answered this had I compared /usr/local/bin before
 and after, but I have no example systems to play with at the moment. I
 note that portupgrade is far more involved but clearly does
 this.

portsnap only fetches the patches for your ports which means you have to
recompile the programs (best using portupgrade) yourself.
portupgrade -rRa might be useful in your case (and -nrRa to look which
ports will be updated without updating them)
portsnap does not update any binaries installed on your system.

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


Re: Sounblaster Audigy SE: no driver support/No OSS

2006-09-29 Thread Armin Pirkovitsch
O. Hartmann wrote:
 Hello.
 running FreeBSD 6.2-PRE/AMD64 and bougth a Soundblaster Audigy SE, based
 on the CS0106-DAT DSP.
 I search Google and the mailing list and found some notes about this
 sound card and it seems not to be supported yet. Are there plans of
 supporting this sound card in the near future?
 
 The commercial OSS drivers seems to support this Soundblaster, but with
 FreeBSD 6.2-PRE/AMD64, I only get weird noises out of my speakers and my
 box behaves a bit 'jumping' (driver problem?). I would appreciate a
 FreeBSD native driver.

You might want to try audio/emu10kx (however afaik there is some work on
importing that driver into the base system on CURRENT)

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


Re: PortUpgrade multiple packages?

2006-09-28 Thread Armin Pirkovitsch
Bob wrote:
  
 Is it safe to portupgrade several packages in parallel? Open several root 
 consoles and do a portupgrade in each one at the same time?

That might cause problems if the programs have the same dependencies
(fetch conflict or even worse, build conflict)
However you can tell portupgrade to install more programs which is
probably not really slower than running them parallel (smp etc is
excluded from this assumption)

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


Re: NFS configuration

2006-09-24 Thread Armin Pirkovitsch
David Bila wrote:
 Dear All,
 
 Im triyng to get NFS installed in one of my FreeBSD server so I can share 
 some folders on it and be able to save documents on the shared folders 
 remotely. I did all the configuration both in the server and the client. 
 When I try to mount the exported folders I get a message saying Permission 
 Dined. I did check the export file under /etc, the client I was trying to 
 mount from is listed. What I might be missing? 

Have you restarted mountd and nfsd after you added the hosts and mount
points?
(are you aware that you can only share whole mountpoints?)
When you type mount, does it say NFS exported for the partitions
you've made available?

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


Re: GAIM not capable of sending files, but can receive

2006-09-24 Thread Armin Pirkovitsch
O. Hartmann wrote:
 Sorry, maybe a little bit off-topic here.
 
 I tried using GAIM as IM, but ran into trouble. Receiving documents is
 working, but with or without any kind of firewall sending files is not
 possible.
 
 The GAIM installation is as is taken from the ports collection, firewall
 disabled ... Tried ICQ/MSN/Yahoo and IRC, always the same, no sending,
 but receiving ...
 
 Any help appreciated,

Are you connceted directly to the net or over a router / server with nat?
If it's not directly you have to forward ports to the client pc for
direct connections (like  file sending)

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


Re: GAIM not capable of sending files, but can receive

2006-09-24 Thread Armin Pirkovitsch
O. Hartmann wrote:
 Armin Pirkovitsch wrote:
 O. Hartmann wrote:
  
 Sorry, maybe a little bit off-topic here.

 I tried using GAIM as IM, but ran into trouble. Receiving documents is
 working, but with or without any kind of firewall sending files is not
 possible.

 The GAIM installation is as is taken from the ports collection, firewall
 disabled ... Tried ICQ/MSN/Yahoo and IRC, always the same, no sending,
 but receiving ...

 Any help appreciated,
 

 Are you connceted directly to the net or over a router / server with nat?
 If it's not directly you have to forward ports to the client pc for
 direct connections (like  file sending)

   
 My box at home is connected to the net via a DSL router. The box has a
 192.168.xxx.xxx Ip, and therefore, I think you sketched the problem the
 right way. Is there a way to do this automatically via pf(1)? It would
 be weird to forward each connection, most of them DHCP obtained IPs, by
 hand. Sorry, I'm not very familiar with that stuff ...

Well the portforward has to be done on the router, and the clients need
to know which ports they own on the inet ip. It's part of the file
sending protocol (at least icq and irc work that way)
So a portforward table which defines which ports are forwarded to which
ip is imho the only option.

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


Re: Please Help, My natd/firewall Not Work :(

2006-09-23 Thread Armin Pirkovitsch
ExTaZyTi wrote:
 Hi again,
 
 I have problem with my network, I use 2 Network Cards in my FreeBSD
 computer
 and 1 Network Cards in WinXP Prof sp2,
 one of the network card - rl0 is my real static ip address with DHCP, 2
 network card is - rl1 is my local gateway ip: 192.168.0.1,
 I don't set the gateway for the rl1, just ip: 192.168.0.1, DNS from the
 ISP,
 mask: 255.255.255.0,..
 I precompiled my kernel with options FIREWALL, IPDIVER,
 IPFIREWALL_DEFAULT_TO_ACCEPT, IPFIREWALL_VERBOSE.
 -
 my /etc/rc.conf is:
 -
 gateway_enable=YES
 firewall_enable=YES
 firewall_script=/etc/firewall.sh
 natd_enable=YES
 natd_interface=rl1
 natd_flags=
 sendmail_enable=NONE
 hostname=root.extremebg.biz
 ifconfig_rl0=DHCP
 linux_enable=YES
 sshd_enable=YES
 usbd_enable=YES
 inetd_enable=NO
 ifconfig_rl1=inet 192.168.0.1  netmask 255.255.255.0
 hostname=root.extremebg.biz
 -
 my /etc/firewall.sh is:
 -
 #!/bin/sh
 /sbin/ipfw -f flush
 /sbin/ipfw add 1000 pass all from any to any via lo0
 /sbin/ipfw add 1100 deny all from any to 127.0.0.0/8
 /sbin/ipfw add 1200 deny icmp from any to any frag
 /sbin/ipfw add 1300 deny icmp from any to any in icmptype
 5,9,13,14,15,16,17
 /sbin/ipfw add 1400 deny tcp from any to any not established tcpflags fin
 /sbin/ipfw add 1500 deny tcp from any to any tcpflags
 fin,syn,rst,psh,ack,urg
 /sbin/ipfw add 1600 deny tcp from any to any tcpflags
 !fin,!syn,!rst,!psh,!ack,!urg
 /sbin/ipfw add 4000 deny udp from any 137-139 to any via rl0
 /sbin/ipfw add 4100 deny udp from any to any 137-139 via rl0
 /sbin/ipfw add 5000 divert natd ip from 192.168.0.0:255.255.255.128 to any
 out xmit rl1
 /sbin/ipfw add 5100 divert natd ip from any to 192.168.0.1

you should have a look at http://www.freebsddiary.org/ipfw.php -
especially the natd divert part (your divert uses the wrong interface imho)

 /sbin/ipfw add 5500 deny all from 192.168.0.0/24 to not
 192.168.0.0/2480,21,443
 /sbin/ipfw add 600 allow all from any to any

i guess the last rule was just for test purpose, if not - first rule
that matches takes it - which means rule number 600 would kill your
whole firewall

 -
 my ifconfig is:
 -
 rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet6 fe80::2c0:26ff:fe5e:72a4%rl0 prefixlen 64 scopeid 0x1
inet 85.239.153.142 netmask 0xff80 broadcast 85.239.153.255
ether 00:c0:26:5e:72:a4
media: Ethernet autoselect (100baseTX full-duplex)
status: active
 rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet6 fe80::2e0:4cff:fe3c:f2f%rl1 prefixlen 64 scopeid 0x2
inet 192.168.0.1 netmask 0xff80 broadcast 192.168.0.127
ether 00:e0:4c:3c:0f:2f
media: Ethernet autoselect (100baseTX full-duplex)
status: active
 plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff00
 -
 my /etc/sysctl.conf is:
 -
 net.inet.ip.forwarding=1
 -
 My network ISP gateway is: 85.239.153.129, submask: 255.255.255.128, my
 static real ip is: 85.239.153.142, my ISP DNS server is:
 85.239.155.1.
 -
 
 my pc start natd successfully, and other services ..
 -- 
 
 my WinXP network configuration is:
 
 DNS 85.239.155.1, gateway: 192.168.0.1, mask: 255.255.255.0, ip addess:
 192.168.0.2.
 
 I connected my computers in LAN, but not going traffic from my freebsd to
 the windows :(
 I don't know how to route traffic from FreeBSD to the windows :(
 please help

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


Re: downloading Free BSD

2006-09-21 Thread Armin Pirkovitsch
Ryan and Sabrina Tardi wrote:
 What do I do with the ISO files once they are downloaded?  Do I burn
 them directly to a CD then use the CD to install?  Forgive me for my
 ignorance of ISO files!

correct.
the 1st iso/cd is bootable and contains most of the basic programs.

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


Re: Realtek High Definition Audio on Asus A6Q Laptop

2006-09-19 Thread Armin Pirkovitsch
Bubbles Bug wrote:
 Hello:
 
 I installed FreeBSD 6.1 Release on my Asus A6Q Laptop.
 
 There is no built-in driver for Realtek High Definition Audio.
 
 OSS (Open Sound System) can drive it,
 
 but there were some problems.
 
 Gnome's default media player Totem cannot play (device problem).
 mp3blaster cannot find device.
 
 XMMS can play normally, but volume control and  balance malfunction.
 /dev/mixer exists.
 My head phone plugged had no sound.
 
 During the test done by OSS
 I can hear music from my head phone.
 
 It seems to be a problem abount switching output channel.
 How can I switch it dynamically and easily?

the channel switching sounds like an oss problem to me imho...
however - some developers currently work on a native driver for HDA
which works fine for me.
You can fetch it at http://people.freebsd.org/~ariff/HDA/
you also might want to have a look at
http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-September/thread.html
and you should probably send further questions to the multimedia list

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


Re: sata trouble

2005-08-26 Thread Armin Pirkovitsch

[EMAIL PROTECTED] wrote:

On Fri, 26 Aug 2005 20:16:55 +0200
Armin Pirkovitsch [EMAIL PROTECTED] wrote:



 I wonder whether anyone here can help me with a little problem:
I just bought a notebook with a VIA VT 6421 sata controller and a 
Samsung HM080JI sata harddisk.
The controller is recognized with 6.0 B3 but it can't identify the 
harddisk - i get the following error:


unknown: timeout waiting to issue command
unknown: error issueing ATA_IDENTIFY command
unknown: timeout waiting to issue command
unknown: error issueing ATA_IDENTIFY command



not really an answer to your question, but.. i'm using 6.0-BETA3 here
with basically the same controller and a SATA maxtor disc (and 1
IDE-disc + 2 dvd-drives) without problems :

pciconf -lv|grep SATA
device   = 'VT8237  VT6410 SATA RAID Controller'


that's a diffrent one...



$ dmesg |grep ad6
ad6: 190782MB Maxtor 6B200M0 BANC1980 at ata3-master SATA150


again a diffrent piece of hardware :p


are there possible BIOS-options for the SATA on your machine ?


nope, nothing in bios about it (but the preinstalled windows works)

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


sata trouble

2005-08-26 Thread Armin Pirkovitsch

Hi!

 I wonder whether anyone here can help me with a little problem:
I just bought a notebook with a VIA VT 6421 sata controller and a 
Samsung HM080JI sata harddisk.
The controller is recognized with 6.0 B3 but it can't identify the 
harddisk - i get the following error:


unknown: timeout waiting to issue command
unknown: error issueing ATA_IDENTIFY command
unknown: timeout waiting to issue command
unknown: error issueing ATA_IDENTIFY command

when I boot the system in verbose mode I can see that there is a hd
ata2: SATA connect ready time=0ms
ata2: sata_connect devices=0x1ATA_MASTER
ata2: [MPSAFE]

after that the error from above follows...

Does anyone have an idea how to solve my problem (I honestly hate the 
idea to use Linux or worse Windows on the notebook)


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