Re: [Bulk] Re: FreeBSD Port: emu10kx-20051021

2008-03-17 Thread Brodey Dover
So to install/enable one can lkdload or add the emu10kx driver option in 
the kernel?


Yuri Pankov wrote:

Brodey Dover wrote:

Hello,

I just recently installed FreeBSD 7.0 and attempted to install the 
emu10kx drivers for my Audigy 2 Value {emu10k doesn't work}. I rang 
up a list of errors and fixed the driver via the following changes:


snd_emu10kx is included in base starting with 7.0, port probably 
should be marked as IGNORE on 7.x and up.




#emu10kx.c
Line 895
/*OLD*/
if ((!(sc-irq)) || bus_setup_intr(dev, sc-irq, INTR_MPSAFE | INTR_TYPE
_AV, emu_intr, sc, sc-ih))
/*NEW*/
if ((!(sc-irq)) || bus_setup_intr(dev, sc-irq, INTR_MPSAFE | INTR_TYPE
_AV, ***NULL***, emu_intr, sc, sc-ih)) //Without *** of course.

#emu10kx-pcm.c
Line 980
/*OLD*/
if (sndbuf_alloc(ch-buffer, sc-card-parent_dmat, sc-card-bufsz) 
!= 0)

/*NEW*/
if (sndbuf_alloc(ch-buffer, sc-card-parent_dmat, sc-card-bufsz, 
NULL) != 0)


It appears that quite a few functions changed (I think for SMP fine 
grain techniques) but their uses weren't updated.


Regards,
Brodey Dover


Yuri



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


Re: after X.org upgrade, pcidata module is missing

2008-03-17 Thread Marcin Cieslak
Scott Bennett wrote:
  Can someone tell me where to find the font that X is looking for?
 And then, how and where do I install the font?  /usr/local/lib/X11/fonts
 contains no files with names containing the string fixed, but I know so
 little about the internals of X that I don't know whether the reference
 to a default font called fixed has anything to do with the file name(s)
 that would contain the font in question.

Do you have anything in those /usr/local/lib/X11/fonts directories?
If not, installing some ports from x11-fonts/xorg-fonts* family would
certainly help.

I suppose that your upgrade process didn't go so smooth and you need to
check which X components got installed.

I would verify how far you are with

x11/xorg-libraries
x11-fonts/xorg-fonts
x11/xorg-protos

Checking x11/xorg-apps and x11/xorg-docs may save you some frustration, too.

--Marcin

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


Re: FreeBSD Port: denyhosts-2.6_1

2008-03-17 Thread Mohacsi Janos

Dear Daniel,
I have CC'ed the author of denyhosts he migth help.
Best Regards,

Janos Mohacsi
Network Engineer, Research Associate, Head of Network Planning and Projects
NIIF/HUNGARNET, HUNGARY
Key 70EF9882: DEC2 C685 1ED4 C95A 145F  4300 6F64 7B00 70EF 9882

On Mon, 17 Mar 2008, Daniel Dvořák wrote:


Hi Janos,

I have 2 servers with denyhosts and everytime I receive the security mail 
with many attempts to login to my systems and everytime I am surprised why 
that, if I have denyhosts.


I have found out from this link 
(https://bugs.launchpad.net/ubuntu/feisty/+source/denyhosts/+bug/133569) that 
I am not alone with these regex errors.


I use AllowUsers option in sshd.conf to speed up to deceide what is secured 
and what is ssh brute attack.


But as I see, denyhosts has a problem to determine what to do with it.

I suppose there is the same problem like in ubuntu/debian package and needs 
to be fixed.


I could add in-depth report about regex pattern ( User (?Puser.*) not 
allowed because not listed in AllowUsers ) is missing 'host' group, if it is 
needed of course.



Bye.

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

Re: vdelivermail.c - dot-qmail processing, FreeBSD Port: vpopmail-5.4.26

2008-03-17 Thread Peter Pentchev
On Sat, Mar 15, 2008 at 02:56:24PM +0100, Michal Sviba wrote:
 Hi Tom,
 
 there are some #ifdef quotas, but not exactly in part witch I mean.
 
 When I've done #diff between vdelivermail.c 5.4.25 and .26, there are no
 differences.
 
 But I've luckily found/repair the problem :)))
 Problem was in variable DeleteEmail witch is set just one time (DelteEmail 
 = 1) and default is 0.
 
 So, I've tried this: vdelivermail.c:660
  655
  656 /* rewind the message */
  657 lseek(0,0L,SEEK_SET);
  658
  659 /* same env. for each line .qmail */
  660 DeleteMail = 0; // set default

Great catch!  I've just committed this patch to the FreeBSD port of
vpopmail - probably as a band-aid that will go away with 5.4.27, but
still quite important for the 5.4.26 users :)

Thanks for tracking this down!

G'luck,
Peter

-- 
Peter Pentchev  [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence is false.


pgpxQw6TJnD0P.pgp
Description: PGP signature


Re: QT4 upgrade fails

2008-03-17 Thread Kostik Belousov
On Sun, Mar 16, 2008 at 10:33:47PM +0100, Alex Dupre wrote:
 David Marec wrote:
  any idea to solve this issue ?
 
 Try disabling CUPS support in qt4-gui.

I seems to work around them by moving the old (installed) headers of
qt4-gui.


pgpaOneoBdbyd.pgp
Description: PGP signature


Current unassigned ports problem reports

2008-03-17 Thread FreeBSD bugmaster
Current FreeBSD problem reports
The following is a listing of current problems submitted by FreeBSD users. 
These represent problem reports covering all versions including experimental 
development code and obsolete releases. 
Bugs can be in one of several states:

o - open
A problem report has been submitted, no sanity checking performed.

a - analyzed
The problem is understood and a solution is being sought.

f - feedback
Further work requires additional information from the
 originator or the community - possibly confirmation of
 the effectiveness of a proposed solution.

p - patched
A patch has been committed, but some issues (MFC and / or
 confirmation from originator) are still open.

r - repocopy
The resolution of the problem report is dependent on
 a repocopy operation within the CVS repository which
 is awaiting completion.

s - suspended
The problem is not being worked on, due to lack of information
 or resources.  This is a prime candidate
 for somebody who is looking for a project to do.
 If the problem cannot be solved at all,
 it will be closed, rather than suspended.

c - closed
A problem report is closed when any changes have been integrated,
 documented, and tested -- or when fixing the problem is abandoned.
Critical problems
Serious problems

S Tracker  Resp.  Description

o ports/106369vpnd caused kernel panic with ppp mode
o ports/106372vpnd can't run with slip mode
f ports/108077www/linux-flashplugin9 crashes linux-firefox
o ports/108413[patch] net/vnc does not works.
o ports/111430[ PATCH ] security/isakmpd with OpenSSL 0.9.8b and new
f ports/112921x11-wm/Beryl not loading focus and keybinding settings
s ports/113144print/ghostscript-gnu dumps core with several output d
f ports/115818Executable clash between databases/grass and ruby gems
o ports/116378xorg 7.3 on -stable breaks math/scilab
f ports/116385net/vnc using vnc.so crashes Xorg 7.3 when remote comp
f ports/116586net/isc-dhcp3-server does not work when compiled with 
f ports/116777The math/scilab port fails in demos-signal-bode.
f ports/116778security/nmap ping-scan misses some hosts
o ports/117025multimedia/pwcbsd: Pwcbsd-1.4.0 + New USBStack not wor
o ports/117128security/ipsec-tools racoon.sh fails with /var on mfs
o ports/118877audio/streamripper does not detect song title from str
f ports/119546net/nss_ldap makes /usr/bin/ssh dump core in getpwuid(
o ports/120372java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn'
f ports/120996x11-toolkits/swt-devel: gnomevfs depenency problem
f ports/121095change download location for sysutils/mountsmb2
f ports/121346building net/ekiga fails
o ports/121473graphics/gsnapshot crashes upon startup on FreeBSD-6.3
f ports/121529portupgrade to mail/dkim-milter 2.5.0 failed
o ports/121697net-mgmt/netams doesn't build with C++ compiler shippe
o ports/121738audio/cmt fails build with USE_GMAKE=yes
o ports/121739audio/cmt  linking fails

26 problems total.

Non-critical problems

S Tracker  Resp.  Description

o ports/102544ltmdm driver (comms/ltmdm) crashes system whene line r
o ports/107354net/icmpinfo: icmpinfo -vvv does not recocnize any ICM
f ports/107937jailed net/isc-dhcp3-server wouldn't run with an immut
o ports/110144New port: math/Matlab7
o ports/110697New port: ports-mgmt/pkg_deps
o ports/111456[UPDATE] finance/pfpro updated distinfo
s ports/112887net/nxserver 1.4.0_1 fails to compile after upgrading 
o ports/113423Update for ports net/freenx to version 0.6.0
f ports/114127net/vnc - vnc.so installed to bad location
o ports/114825pam module security/pam_abl not working
s ports/115216ADA devel/florist exit_process program doesn't compile
s ports/115217Ada devel/florist socket program doesn't compile due t
f ports/115304multimedia/gpac-mp4box cannot import files larger than
o ports/115308multimedia/jahshaka fails to open GUI - ends with pre
f ports/115336port multimedia/avifile on FreeBSD 7.0 not BROKEN with
f ports/115627www/Lynx (-ssl) does not correctly test for OpenSSL
f ports/115722New port:x11/tastymenu A K-Menu replacement for KDE 3.
o ports/116037multimedia/dvd-slideshow has been updated from 0.7.5 t
f ports/116058Update: x11-themes/gtk-qt-engine to version 0.8
f ports/116120[patch] x11-toolkits/gtkdatabox2: update to 

Re: patch for net-mgmt/zabbix

2008-03-17 Thread Dmitriy Kirhlarov

Дмитрий Лоханский wrote:


There is  a path patch-src__libs__zbxcomms__comms.c

--- src/libs/zbxcomms/comms.c.orig  2008-03-15 07:23:00.0 +0300
+++ src/libs/zbxcomms/comms.c   2008-03-15 07:24:09.0 +0300
@@ -698,7 +698,7 @@

for(i = 0; i  s-num_socks; i++) {
 #if !defined(_WINDOWS)
-   if(s-sockets[i]  n)
+   if(s-sockets[i] + 1  n)
n = s-sockets[i] + 1;
 #endif
if(FD_ISSET(s-sockets[i], sock_set))


As I know, in select(ndfs, ...), ndfs must be max descriptor + 1.
So, zabbix have a little bug, some connections in zbx_tcp_accept() will 
be not accepted,

because their socket descriptors are not in the ndfs.

This patch resolve troubles with ZBX_TCP_READ() failed [Interrupted 
system call] issue
from http://www.zabbix.com/forum/showthread.php?t=8870mode=linear and 
other related.


svn diff svn://svn.zabbix.com/tags/1.4.4/src/libs/zbxcomms/comms.c 
svn://svn.zabbix.com/branches/1.4/src/libs/zbxcomms/comms.c


1.4.4 already have your patch, but 1.4 brunch haven't.
Please, contact with developers over http://www.zabbix.com/forum

WBR.
Dmitriy

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


www/py-nevow doesn't build

2008-03-17 Thread Ben Laurie

[EMAIL PROTECTED] py-nevow# make install
===   py25-nevow-0.9.18_1 depends on file: 
/usr/local/lib/python2.5/site-packages/twisted/web/__init__.py - found
===   py25-nevow-0.9.18_1 depends on file: 
/usr/local/lib/python2.5/site-packages/docutils/__init__.py - found

===   py25-nevow-0.9.18_1 depends on file: /usr/local/bin/python2.5 - found
===   py25-nevow-0.9.18_1 depends on file: 
/usr/local/lib/python2.5/site-packages/twisted/__init__.py - found

===   py25-nevow-0.9.18_1 depends on shared library: intl - found
===  Configuring for py25-nevow-0.9.18_1
Traceback (most recent call last):
  File setup.py, line 8, in module
import setupcommon
  File 
/disk1.1/usr/ports/www/py-nevow/work/Nevow-0.9.18/setupcommon.py, line 
2, in module

from nevow import __version__ as version
  File 
/disk1.1/usr/ports/www/py-nevow/work/Nevow-0.9.18/nevow/__init__.py, 
line 5, in module

from nevow._version import version
  File 
/disk1.1/usr/ports/www/py-nevow/work/Nevow-0.9.18/nevow/_version.py, 
line 2, in module

from twisted.python import versions
ImportError: cannot import name versions
*** Error code 1

Seems this is a deficiency in twisted rather than in py-nevow.

Ports were last updated March 14th (in order to try to fix this problem, 
which it didn't).


--
http://www.apache-ssl.org/ben.html   http://www.links.org/

There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit. - Robert Woodruff
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: QT4 upgrade fails

2008-03-17 Thread David Marec
Le Sunday 16 March 2008 22:33:47 Alex Dupre, vous avez écrit :
 David Marec wrote:
  any idea to solve this issue ?

 Try disabling CUPS support in qt4-gui.


Thanks, this port is up to date, now.

-- 
http://www.diablotins.org/
http://www.arcadehits.net/


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


Heads Up! linux_dri on amd64

2008-03-17 Thread Beech Rintoul
Install of graphics/linux_dri is about to be implemented for amd64. 
It's been tested with at least a couple of ports (skype for one) and 
they work correctly with it installed. I've posted a list of the 
ports which could be affected by this here:

http://freebsd.alaskaparadise.com/wiki/tiki-index.php?page=LinuxDriAmd64

These ports are already marked ONLY_FOR_ARCHS= i386, so this change 
shouldn't have any affect on them.

However, please bear in mind that linux_dri is not yet fully 
functional on the amd64 platform and applications using it will fall 
back to software rendering. While this is acceptable for ports like 
skype, it could cause serious performance issues with games and apps 
like google-earth (which is known to be completely broken with this). 
If you maintain one of these ports, or plan to port one to the tree, 
please thoroughly test for acceptable performance on amd64 before 
blindly enabling it.

I will be tracking and dealing with any fallout this causes, and 
contacting maintainers directly. If you have any issues, please 
contact me.

Beech

-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---



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


Re: Upgrade fails with enlightenment

2008-03-17 Thread David Marec
Le Monday 17 March 2008 00:07:35 Stanislav Sedov, vous avez écrit :

following the 20080312 notice of /usr/ports/UPDATNG
 
 i removed the enlightenment core and others e-stuff from my FB7 box.
 
 But, re-building e17 fails on the following step:
[...]
 Which e17 port report this? You're not required to install openssl port,
 e17 uses the base one.



E17 itself:

[quote]
===  Configuring for enlightenment-0.16.999.042,2
checking build system type... i386-portbld-freebsd7.0
checking host system type... i386-portbld-freebsd7.0
checking for gcc... cc
checking for C compiler default output file name... a.out
[Snip]
checking pkg-config is at least version 0.9.0... yes
checking for E... gnome-config: not found
configure: error: Package requirements (
  evas
  ecore
  ecore-evas
  ecore-file
  ecore-ipc
  ecore-con
  ecore-job
  ecore-imf
  ecore-imf-evas
  edje
  eet
  embryo
  efreet
  efreet-mime
) were not met:

Package openssl was not found in the pkg-config search path.
-[quote]---


May be one of the dependencies above requires the port-based OpenSSL, switched 
on by a configure  option ?

I will check out the dependencies about this.

-- 
http://www.diablotins.org/
http://www.arcadehits.net/

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


Re: Upgrade fails with enlightenment

2008-03-17 Thread David Marec
Le Monday 17 March 2008 22:08:52 David Marec, vous avez écrit :
 configure: error: Package requirements (
   evas
   ecore
   ecore-evas
   ecore-file
   ecore-ipc
   ecore-con
   ecore-job
   ecore-imf
   ecore-imf-evas
   edje
   eet
   embryo
   efreet
   efreet-mime
 ) were not met:

 Package openssl was not found in the pkg-config search path.
 -[quote]---


 May be one of the dependencies above requires the port-based OpenSSL,
 switched on by a configure  option ?

 I will check out the dependencies about this.


-[quote]---
===   Registering installation for enlightenment-0.16.999.042,2
===  Cleaning for ecore-ipc-0.9.9.042_1
===  Cleaning for ecore-con-0.9.9.042_1
===  Cleaning for enlightenment-0.16.999.042,2
-[quote]---

I had to disable OpenSSL for the two e-core ports above to build E17.



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


Re: 6.2 release ports packages gone missing?

2008-03-17 Thread Kris Kennaway

Sean Bruno wrote:
I guess due to the 6.3 release all the 6.2 release packages got 
deleted?  Why delete them?  Are they placed somewhere else?


$ pkg_add -nr net-snmp
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/net-snmp.tbz: 
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/net-snmp.tbz' 
by URL



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




They had to be removed because the master FTP site was out of space. 
They were moved to ftp-archive.freebsd.org.


Kris

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


Two questions about upgrade problems with portmaster

2008-03-17 Thread Peter Olsson
I just did my first big upgrade with portmaster (version 2.1).
Most of the upgrades went well, but I have two problems.

1. Is it possible to get portmaster to accept a conflicting port
   instead of the dependency port?
   Example:

=== Starting check for runtime dependencies
=== Gathering dependency list for net/openldap23-client from ports
=== Starting dependency check
=== Dependency check complete for net/openldap23-client
openh323-1.18.0_6  pwlib-1.10.3_4,1  net/openldap23-client

===  Installing for openldap-client-2.3.41

===  openldap-client-2.3.41 conflicts with installed package(s):
  openldap-sasl-client-2.3.41

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/net/openldap23-client.


2. For some ports, portmaster seems to get stuck in a loop on
   Waiting on fetch  checksum. Google pointed me to a
   portmaster loop back in 2006, but I found nothing recent.
   Here is one example, which I let run for more than ten minutes
   before hitting ctrl-c. The installed version of tk is tk-8.4.17,2.

=== Waiting on fetch  checksum for x11-toolkits/tk84 ===
===  Found saved configuration for tk-8.4.14_4,2
= MD5 Checksum OK for tk8.4.18-src.tar.gz.
= SHA256 Checksum OK for tk8.4.18-src.tar.gz.


=== Waiting on fetch  checksum for x11-toolkits/tk84 ===
===  Found saved configuration for tk-8.4.14_4,2
= MD5 Checksum OK for tk8.4.18-src.tar.gz.
= SHA256 Checksum OK for tk8.4.18-src.tar.gz.


=== Waiting on fetch  checksum for x11-toolkits/tk84 ===
===  Found saved configuration for tk-8.4.14_4,2
= MD5 Checksum OK for tk8.4.18-src.tar.gz.
= SHA256 Checksum OK for tk8.4.18-src.tar.gz.


=== Waiting on fetch  checksum for x11-toolkits/tk84 ===
===  Found saved configuration for tk-8.4.14_4,2
= MD5 Checksum OK for tk8.4.18-src.tar.gz.
= SHA256 Checksum OK for tk8.4.18-src.tar.gz.


Thanks!

-- 
Peter Olsson[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: Two questions about upgrade problems with portmaster

2008-03-17 Thread Boris Samorodov
On Mon, 17 Mar 2008 23:18:43 +0100 Peter Olsson wrote:

 I just did my first big upgrade with portmaster (version 2.1).
 Most of the upgrades went well, but I have two problems.

 1. Is it possible to get portmaster to accept a conflicting port
instead of the dependency port?
Example:

 === Starting check for runtime dependencies
 === Gathering dependency list for net/openldap23-client from ports
 === Starting dependency check
 === Dependency check complete for net/openldap23-client
 openh323-1.18.0_6  pwlib-1.10.3_4,1  net/openldap23-client

 ===  Installing for openldap-client-2.3.41

 ===  openldap-client-2.3.41 conflicts with installed package(s):
   openldap-sasl-client-2.3.41

   They install files into the same place.
   Please remove them first with pkg_delete(1).
 *** Error code 1

 Stop in /usr/ports/net/openldap23-client.

I use WANT_OPENLDAP_SASL=yes at /etc/make.conf for that.


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


Re: Two questions about upgrade problems with portmaster

2008-03-17 Thread Doug Barton

Peter Olsson wrote:

I just did my first big upgrade with portmaster (version 2.1).
Most of the upgrades went well, but I have two problems.

1. Is it possible to get portmaster to accept a conflicting port
   instead of the dependency port?


Yes, if both ports have proper CONFLICTS lines. Fortunately someone who 
is familiar with your specific port(s) gave you a suggestion to try to 
handle your specific issue.



2. For some ports, portmaster seems to get stuck in a loop on
   Waiting on fetch  checksum. Google pointed me to a
   portmaster loop back in 2006, but I found nothing recent.
   Here is one example, which I let run for more than ten minutes
   before hitting ctrl-c. The installed version of tk is tk-8.4.17,2.

=== Waiting on fetch  checksum for x11-toolkits/tk84 ===
===  Found saved configuration for tk-8.4.14_4,2
= MD5 Checksum OK for tk8.4.18-src.tar.gz.
= SHA256 Checksum OK for tk8.4.18-src.tar.gz.


The only way this could happen is if the flag file that portmaster is 
looking for never got deleted by the child process for some reason 
(which shouldn't be possible). I've never seen this happen myself, so 
I'm not even sure what to suggest here. Do you have the TMPDIR 
environment variable set to something unusual?


Doug

--

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


patch to get apcupsd-3.14.3.tar.gz compiling under freebsd

2008-03-17 Thread Stefan Lambrev

Greetings,

Could you consider the attached patch (if you plan to upgrade the port 
to the latest version)?

v3.14.3 does not compile under FreeBSD 6.3 without it.

Thanks.
--- src/drivers/usb/bsd/bsd-usb.c.orig  2007-10-27 20:15:14.0 +0300
+++ src/drivers/usb/bsd/bsd-usb.c   2008-03-18 01:10:26.0 +0200
@@ -351,9 +351,9 @@
 
 int pusb_ups_get_capabilities(UPSINFO *ups, const struct s_known_info 
*known_info)
 {
-   int i, rc, ci, phys;
+   int i, ci, phys, input, feature;
USB_DATA *my_data = (USB_DATA *)ups-driver_internal_data;
-   hid_item_t item;
+   hid_item_t item, witem;
USB_INFO *info;
 
write_lock(ups);
@@ -506,7 +506,7 @@
 
   // Store a (possibly truncated) copy of the floating point value in the
   // integer field as well.
-  val.iValue = val.dValue;
+  val.iValue = (int) val.dValue;
 
   Dmsg4(200, Def val=%d exp=%d dVal=%f ci=%d\n, info-value,
  exponent, val.dValue, info-ci);
@@ -775,7 +775,7 @@
return true;
 }
 
-int pusb_write_int_to_ups(UPSINFO *ups, int ci, int value, char *name)
+int pusb_write_int_to_ups(UPSINFO *ups, int ci, int value, const char *name)
 {
USB_DATA *my_data = (USB_DATA *)ups-driver_internal_data;
USB_INFO *info;
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

strange error message from portupgrade

2008-03-17 Thread Aryeh M. Friedman

flosoft# portupgrade -a
/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:119:in `fill': MOVED file 
format error (PortsDB::MOVEDError)

   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `each'
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `fill'
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `open'
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `fill'
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:107:in `initialize'
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `new'
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `setup'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:256:in 
`init_pkgtools_global'

   from /usr/local/sbin/portupgrade:529:in `main'
   from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
   from /usr/local/sbin/portupgrade:229:in `new'
   from /usr/local/sbin/portupgrade:229:in `main'
   from /usr/local/sbin/portupgrade:2173

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


Re: strange error message from portupgrade

2008-03-17 Thread Philip Kizer

On 2008, Mar 17, at 20:20, Aryeh M. Friedman wrote:

flosoft# portupgrade -a
/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:119:in `fill': MOVED  
file format error (PortsDB::MOVEDError)

  from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `each'
  from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `fill'
  from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `open'
  from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `fill'
  from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:107:in  
`initialize'

  from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `new'
  from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `setup'
  from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:256:in  
`init_pkgtools_global'

  from /usr/local/sbin/portupgrade:529:in `main'
  from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
  from /usr/local/sbin/portupgrade:229:in `new'
  from /usr/local/sbin/portupgrade:229:in `main'
  from /usr/local/sbin/portupgrade:2173


I was just about to file a pr on it, the last line (in mine) is  
missing a field:


% tail -1 /usr/ports/MOVED
textproc/p5-Text-ParseWords|2008-03-16|Module included in core perl

should be:

textproc/p5-Text-ParseWords||2008-03-16|Module included in core perl

which you can fix temporarily with your favorite text editor.


-philip

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


Re: strange error message from portupgrade

2008-03-17 Thread Xin LI
Aryeh M. Friedman wrote:
 flosoft# portupgrade -a
 /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:119:in `fill': MOVED file 

Should have been fixed now.

-- 
Xin LI [EMAIL PROTECTED]  http://www.delphij.net/
FreeBSD - The Power to Serve!
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Typo in MOVED file

2008-03-17 Thread David Booth
There appears to be a typo in the last line of the current MOVED file 
that keeps portupgrade from working. There is a missing |.


3437c3437
 textproc/p5-Text-ParseWords|2008-03-16|Module included in core perl
---
 textproc/p5-Text-ParseWords||2008-03-16|Module included in core perl

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


Re: strange error message from portupgrade

2008-03-17 Thread Manfred Antar
At 06:20 PM 3/17/2008, Aryeh M. Friedman wrote:
flosoft# portupgrade -a
/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:119:in `fill': MOVED file format 
error (PortsDB::MOVEDError)
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `each'
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `fill'
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `open'
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `fill'
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:107:in `initialize'
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `new'
   from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `setup'
   from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:256:in 
 `init_pkgtools_global'
   from /usr/local/sbin/portupgrade:529:in `main'
   from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
   from /usr/local/sbin/portupgrade:229:in `new'
   from /usr/local/sbin/portupgrade:229:in `main'
   from /usr/local/sbin/portupgrade:2173

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

The last line in /usr/ports/MOVED has an error,
The first | should be ||
Change from this:
textproc/p5-Text-ParseWords|2008-03-16|Module included in core perl

to this :

textproc/p5-Text-ParseWords||2008-03-16|Module included in core perl


==
||  [EMAIL PROTECTED]   ||
||  Ph. (415) 681-6235  ||
== 

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


Re: Cron [EMAIL PROTECTED] /root/bin/ports.sh

2008-03-17 Thread Philip M. Gollucci

Yeah, you'll be needing some more '|' in that line...


Cron Daemon wrote:

 Notes
Index: ports/MOVED
diff -u ports/MOVED:1.1558 ports/MOVED:1.1559
--- ports/MOVED:1.1558  Fri Mar 14 22:40:20 2008
+++ ports/MOVED Mon Mar 17 21:56:39 2008
@@ -1,7 +1,7 @@
 #
 # MOVED - a list of (recently) moved or removed ports
 #
-# $FreeBSD: ports/MOVED,v 1.1558 2008/03/14 22:40:20 miwi Exp $
+# $FreeBSD: ports/MOVED,v 1.1559 2008/03/17 21:56:39 lippe Exp $
 #
 # Each entry consists of a single line containing the following four
 # fields in the order named, separated with the pipe (`|') character:
@@ -3434,3 +3434,4 @@
 security/nmapfe|security/zenmap|2008-03-14|Project renamed
 x11/hs-x11-extras-ghc||2008-03-14|Has expired: Use x11/hs-x11-ghc instead
 www/mod_dosevasise20||2008-03-14|Has expired: Use www/mod_evasive20 instead
+textproc/p5-Text-ParseWords|2008-03-16|Module included in core perl



/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:119:in `fill': MOVED file format 
error (PortsDB::MOVEDError)
from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `each'
from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `fill'
from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `open'
from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `fill'
from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:107:in `initialize'
from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `new'
from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `setup'
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:256:in 
`init_pkgtools_global'
from /usr/local/sbin/portversion:175:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
from /usr/local/sbin/portversion:80:in `new'
from /usr/local/sbin/portversion:80:in `main'
from /usr/local/sbin/portversion:364
MOVED file format error


--

Philip M. Gollucci ([EMAIL PROTECTED])
c:703.336.9354
Consultant / http://p6m7g8.net/Resume/resume.txt
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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