Re: ports/127690: Upgrade pexpect from 2.1 to 2.3

2008-09-28 Thread Garrett Cooper
On Sat, Sep 27, 2008 at 8:15 PM, Garrett Cooper [EMAIL PROTECTED] wrote:
 On Sat, Sep 27, 2008 at 7:53 PM,  [EMAIL PROTECTED] wrote:
 Synopsis: Upgrade pexpect from 2.1 to 2.3

 State-Changed-From-To: open-feedback
 State-Changed-By: linimon
 State-Changed-When: Sun Sep 28 02:52:48 UTC 2008
 State-Changed-Why:
 Patch is garbled, please try again.

 Also, to which port does this apply?

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

 misc/py-pexpect.

 I'll resubmit the patch once I get the SVN tree synced; the file I
 provided was a tgz file (should have done straight .tar).

 -Garrett

   Please nuke this request. Turns out that portsnap wasn't updating
properly due to pilot error on my part (was using bsd globs instead of
regex globs for my refuse directives in portsnap.conf).
-Garrett
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Call for Testers: misc/amanda-{server,client} 2.6.0p2

2008-09-28 Thread Goran Lowkrantz

One more script error:

# diff -u server-src/amcleanup.sh.orig server-src/amcleanup.sh
--- server-src/amcleanup.sh.orig2008-09-28 08:21:09.0 +0200
+++ server-src/amcleanup.sh 2008-09-28 08:21:22.0 +0200
@@ -75,7 +75,7 @@
#   after receiving SIGTERM,  if yes send SIGKILL
#

-function killpid() {
+killpid() {

killPID=$1
SIGTERM=15

Cheers,
Göran

---
There is hopeful symbolism in the fact that flags do not wave in a vacuum.
   -- Arthur C. Clarke
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Usefulness of pkg_depend command?

2008-09-28 Thread Garrett Cooper
Hi porters,
 Just thinking -- one of the problems with many utilities is
mapping dependencies with installing either packages or ports. Would
there be any interest in a C app (based off the same code in
pkg_install already) in the base system being able to provide
dependency info for a list of ports / pkgs provided, s.t. we could
have a shell script to simply install items in order via the
BUILD_DEPS and RUN_DEPS fields in INDEX files?
 The driving force behind this is that I should be able to do the
following to upgrade my ports / pkgs instead of depending on
complicated infrastructures to do this for me:

#!/bin/sh

for pkg in `pkg_depend -o $@ | grep '' | cut -d ' ' -f 1`; do
cd /usr/ports/$pkg || continue
make clean all || continue
make deinstall install
done
# END

  I realize that pkg_cutleaves brute forces this logic and
pkg_tree does similar. My point was to implement it in C with existing
logic in pkg_install for both performance reasons and to prevent code
duplication as much as possible.
Thanks,
-Garrett
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Port: asterisk-1.4.21.2_3

2008-09-28 Thread Axel Kellermann
Hi

I have trouble with this port.
When I use the volgain function in voicemail.conf the attached
voicemailfile  (gsm or wav file) for the message is empty, but if i
don't use volgain the voice is very weak.
I can see that the problem was solved with a patch in asterisk 1.2
http://lists.digium.com/pipermail/asterisk-users/2006-July/160193.html

My FreeBSD:
FreeBSD drift-02.helsemail.dk 7.0-STABLE FreeBSD 7.0-STABLE #5: Sat Aug
9 23:18:15 CEST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

asterisk-addon and sox is installed.

I tried to install asterisk by hand, but the Makefile had to many
missing values which I couldn't determine.

Yours Sincerely

Axel Kellermann

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


Possibly unbuildable ports reminder

2008-09-28 Thread Bill Fenner
Dear porters,

  This is just a reminder to please periodically check the list of
unbuildable ports at http://pointyhat.freebsd.org/errorlogs/ .
A list by MAINTAINER is

http://people.freebsd.org/~fenner/errorlogs/

so you can easily check the status of ports that you maintain.  In
addition, the list of ports with no MAINTAINER with build problems is

http://people.freebsd.org/~fenner/errorlogs/[EMAIL PROTECTED]

Since no one is responsible for these ports, the problem won't get
fixed unless someone on this list takes the initiative.

Thanks for your help!

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


Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-09-28 Thread Eygene Ryabinkin
Roman, good day.

Sat, Sep 27, 2008 at 08:18:08PM +0400, Roman Kurakin wrote:
 Have you also posted this to [EMAIL PROTECTED]

No, forgot to do it.  CC'ing ports@

Thanks!

The original posting to hackers@ goes below.  It will be double-posted
to the bug-followup@ -- sorry for this.

 Eygene Ryabinkin wrote:
  Good day.
 
  A while ago I had created the new utility that serves as VuXML
  filter for the installed packages:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126853
 
  My primary intention was to speed up the process of auditing the
  vulnerable ports: I needed to run portaudit checks with Nagios and to
  avoid large timeouts.
 
  The new utility is called pkg_audit and it serves as a simple text
  filter: on input it takes the full VuXML feed and on output it puts
  VuXML entries that matches ports that are installed in the system with
  port version specification substituted with the actual port versions.
 
  No harm is done to the actual poartudit -- if pkg_audit is missing, old
  code path is activated.
 
  If someone is interested and will be able to test -- I am all ears.

Additional clarifications inspired by the off-line talk with rik@:
I could take another route and add this functionality to the pkg_info.
I took another approach for the following reasons.

1. pkg_info's option list is already quite big -- around 32 options
   and switches.

2. It is easier to test for the presence of the new tool (pkg_audit)
   and use it, instead of checking the support for the new option in
   pkg_info.

3. I see no options in pkg_info that can be naturally extended to
   absorbe the new functionality.  The closest is '-E', but pkg_audit
   needs to read VuXML entries, choose ones that are present in the system
   and output the found VuXML entries with version templates substituted
   with the real entries, so pkg_audit is filter-like utility.  In my
   opinion, such extension of pkg_info's -E will be very unnatural.

4. I feel that it is Unix-way to do the things: create small utilities
   that do their (small) job in a proper fashion.  Moreover, since the
   majority of a code sits in the pkg_install's library, there is a very
   slight code duplication, if any.

Thanks for you time.
-- 
Eygene
 ____   _.--.   #
 \`.|\.....-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' ` ,   __.--'  #  to read the on-line manual   
 )/' _/ \   `-_,   /#  while single-stepping the kernel.
 `-' `\_  ,_.-;_.-\_ ',  fsc/as   #
 _.-'_./   {_.'   ; /   #-- FreeBSD Developers handbook 
{_.-``-' {_/#


pgpxR54ZXBf54.pgp
Description: PGP signature


Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-09-28 Thread Miroslav Lachman

Eygene Ryabinkin wrote:

Roman, good day.

Sat, Sep 27, 2008 at 08:18:08PM +0400, Roman Kurakin wrote:


Have you also posted this to [EMAIL PROTECTED]



No, forgot to do it.  CC'ing ports@

Thanks!

The original posting to hackers@ goes below.  It will be double-posted
to the bug-followup@ -- sorry for this.



Eygene Ryabinkin wrote:


Good day.

A while ago I had created the new utility that serves as VuXML
filter for the installed packages:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126853

My primary intention was to speed up the process of auditing the
vulnerable ports: I needed to run portaudit checks with Nagios and to
avoid large timeouts.

The new utility is called pkg_audit and it serves as a simple text
filter: on input it takes the full VuXML feed and on output it puts
VuXML entries that matches ports that are installed in the system with
port version specification substituted with the actual port versions.

No harm is done to the actual poartudit -- if pkg_audit is missing, old
code path is activated.

If someone is interested and will be able to test -- I am all ears.



Additional clarifications inspired by the off-line talk with rik@:
I could take another route and add this functionality to the pkg_info.
I took another approach for the following reasons.

1. pkg_info's option list is already quite big -- around 32 options
   and switches.

2. It is easier to test for the presence of the new tool (pkg_audit)
   and use it, instead of checking the support for the new option in
   pkg_info.

3. I see no options in pkg_info that can be naturally extended to
   absorbe the new functionality.  The closest is '-E', but pkg_audit
   needs to read VuXML entries, choose ones that are present in the system
   and output the found VuXML entries with version templates substituted
   with the real entries, so pkg_audit is filter-like utility.  In my
   opinion, such extension of pkg_info's -E will be very unnatural.

4. I feel that it is Unix-way to do the things: create small utilities
   that do their (small) job in a proper fashion.  Moreover, since the
   majority of a code sits in the pkg_install's library, there is a very
   slight code duplication, if any.


Is there any possibility to cooperate portaudit / pkg_audit with 
pkg_version to show vulnerable package with information if newer (not 
vulnerable) package (or port) version is available for upgrade to?


If I read nightly security e-mail with for example 4 vulnerable 
packages, then I need to log in to server and manualy try, if newer 
(fixed) packages are available. It seems not so hard to check output of 
`pkg_version -vIL =` and compare both versions (installed and available) 
with portaudit in some shellscript, I didn't start to write it yet ;).


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


Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-09-28 Thread Eygene Ryabinkin
Miroslav, good day.

Sun, Sep 28, 2008 at 01:15:01PM +0200, Miroslav Lachman wrote:
 Is there any possibility to cooperate portaudit / pkg_audit with 
 pkg_version to show vulnerable package with information if newer (not 
 vulnerable) package (or port) version is available for upgrade to?
 
 If I read nightly security e-mail with for example 4 vulnerable 
 packages, then I need to log in to server and manualy try, if newer 
 (fixed) packages are available. It seems not so hard to check output of 
 `pkg_version -vIL =` and compare both versions (installed and available) 
 with portaudit in some shellscript, I didn't start to write it yet ;).

I think it won't be very hard: I'll try to see how to extend portaudit
with such functionality -- it would be very handy, in my opinion.

Hadn't you have a chance to test my patch?

Thanks!
-- 
Eygene
 ____   _.--.   #
 \`.|\.....-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' ` ,   __.--'  #  to read the on-line manual   
 )/' _/ \   `-_,   /#  while single-stepping the kernel.
 `-' `\_  ,_.-;_.-\_ ',  fsc/as   #
 _.-'_./   {_.'   ; /   #-- FreeBSD Developers handbook 
{_.-``-' {_/#


pgpy7qxsMg204.pgp
Description: PGP signature


FreeBSD Port: pioneers-0.12.2_1

2008-09-28 Thread Klaus Koch
Hello,

the pioneers server is only listening on IPv6, no matter which way I start it 
(pioneers-server-gtk, pioneers-server-console or from the cient with create 
game).

I haven't found an option to tell it to listen on IPv4 and the Makefile 
doesn't provide anything for WITHOUT_IPV6.

Is there no possibility to turn IPv4 on? I can't imagine that this is 
intended...


Thanks for your help,

Klaus


pgppVxzTmM1LH.pgp
Description: PGP signature


exim 4.69 won't build

2008-09-28 Thread Mark Foster
I'm getting this error when trying to compile (via make) the mail/exim 
port (v4.69).

...
cc -o exim
lookups/lookups.a(nis.o)(.text+0x33): In function `nis0_find':
: undefined reference to `yp_match'
lookups/lookups.a(nis.o)(.text+0xa0): In function `nis_find':
: undefined reference to `yp_match'
lookups/lookups.a(nis.o)(.text+0xed): In function `nis_open':
: undefined reference to `yp_get_default_domain'
*** Error code 1

I'd use send-pr to report this, but exim is broken, so a catch-22.

--
The more stuff you have, the less it all means.
Mark D. Foster [EMAIL PROTECTED]  
http://mark.foster.cc/ | http://conshell.net/



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


Re: exim 4.69 won't build

2008-09-28 Thread Garrett Cooper
On Sun, Sep 28, 2008 at 10:05 AM, Mark Foster [EMAIL PROTECTED] wrote:
 I'm getting this error when trying to compile (via make) the mail/exim port
 (v4.69).
 ...
 cc -o exim
 lookups/lookups.a(nis.o)(.text+0x33): In function `nis0_find':
 : undefined reference to `yp_match'
 lookups/lookups.a(nis.o)(.text+0xa0): In function `nis_find':
 : undefined reference to `yp_match'
 lookups/lookups.a(nis.o)(.text+0xed): In function `nis_open':
 : undefined reference to `yp_get_default_domain'
 *** Error code 1

 I'd use send-pr to report this, but exim is broken, so a catch-22.

Did you recently rebuild NIS support on your system?
-Garrett
___
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: pioneers-0.12.2_1

2008-09-28 Thread Klaus Koch
On Sunday 28 September 2008 19:09:07 Stefan Walter wrote:
 What's in your /etc/rc.conf? With the following settings, the server opens
 a socket for both IPv4 and IPv6 with me:

 ipv6_enable=YES
 ipv6_ipv4mapping=YES

Thank you very much. That did the trick. Perhaps this should be noted by the 
port at the end of install? I'm sure I'm not the only one with this problem.

Greetings,

Klaus


pgpIP8kOBl1PO.pgp
Description: PGP signature


Re: FreeBSD Port: pioneers-0.12.2_1

2008-09-28 Thread Stefan Walter
Hi Klaus,

Klaus Koch, 28.09.08, 16:12h CEST:

 Hello,
 
 the pioneers server is only listening on IPv6, no matter which way I start it 
 (pioneers-server-gtk, pioneers-server-console or from the cient with create 
 game).
 
 I haven't found an option to tell it to listen on IPv4 and the Makefile 
 doesn't provide anything for WITHOUT_IPV6.
 
 Is there no possibility to turn IPv4 on? I can't imagine that this is 
 intended...

What's in your /etc/rc.conf? With the following settings, the server opens
a socket for both IPv4 and IPv6 with me:

ipv6_enable=YES
ipv6_ipv4mapping=YES

Best regards,
Stefan


pgpBtEdvVUFrN.pgp
Description: PGP signature


Re: net/samba3 not installing VFS modules

2008-09-28 Thread Erik Van Benschoten


On Sep 26, 2008, at 3:58 PM, Scot Hetzel wrote:


On Fri, Sep 26, 2008 at 11:36 AM, Erik Van Benschoten
[EMAIL PROTECTED] wrote:


On Sep 26, 2008, at 10:27 AM, Scot Hetzel wrote:

Then when a
make install was performed, the recycle.so module was located in the
PREFIX/lib/samba/vfs directory.

Did you check this directory?

Scot


Scot,

The problem was not getting the VFS modules compiled, but rather  
getting

them installed.


The VFS modules are installed on my system, and when i grepped the
+CONTENTS file for recycle.so, it was listed in the package.


I found a brute force workaround was to manually add
'lib/samba/vfs/recycle.so' to the '/net/samba3/pkg-plist' file.
I know this is not the proper thing to do, but it works for getting a
package built.  I would have preferred a tweak to the Makefile that  
would
work for everyone, but I'm afraid my Makefile reading skills are  
not up to snuff.


There is no need to add 'lib/samba/vfs/recycle.so' to the
samba3/pkg-plist, as the samba3/Makefile has automatic pkg-plist
generation to  detect the files in PREFIX/lib/samba.  They get added
to the ${TMPPLIST} file, which is used to create the package.

Scot


Interesting. I did a 'make rmconfig' to clean out any old cruft  
followed my a 'make package-recursive' (selecting ACL_SUPPORT and  
EXP_MODULES along with the defaults). The vfs modules are being  
installed on the build machine and are also in the package now  
according to a 'pkg_info -L'. I have been using make.conf to customize  
my package builds up to this point instead of the 'make config'  
mechanism. I guess I'll have to take a closer look into why the builds  
didn't work properly the other way. Thanks for the response.


Erik

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


Re: My interactive version of pkg_add

2008-09-28 Thread Marcin Wisnicki
On Sat, 27 Sep 2008 21:11:27 -0700, Garrett Cooper wrote:

 On Sat, Sep 27, 2008 at 7:02 AM, Michel Talon [EMAIL PROTECTED]
 wrote:
 Marin Atanasov wrote:

 So what do you think - is it worth improving upon it or it's a waste
 of time?
 Thanks for any suggestions.
 
 INDEX is made available via to pkg_install within sysinstall and exists
 on mirrors in the following location:
 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/${ARCH}/packages-${VERSION}/
INDEX

Would be nice if there was also INDEX.bz2.

Also to be able to write an effective pkg upgrade tool one would need 
something like /usr/ports/MOVED.

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


Re: exim 4.69 won't build

2008-09-28 Thread Alex Kozlov
On Sun, Sep 28, 2008 at 10:05:49AM -0700, Mark Foster wrote:
 I'm getting this error when trying to compile (via make) the mail/exim 
 port (v4.69).
 ...
 cc -o exim
 lookups/lookups.a(nis.o)(.text+0x33): In function `nis0_find':
 : undefined reference to `yp_match'
 lookups/lookups.a(nis.o)(.text+0xa0): In function `nis_find':
 : undefined reference to `yp_match'
 lookups/lookups.a(nis.o)(.text+0xed): In function `nis_open':
 : undefined reference to `yp_get_default_domain'
 *** Error code 1
 
 I'd use send-pr to report this, but exim is broken, so a catch-22.
Remove NO_NIS/WITHOUT_NIS from make.conf/src.conf

or add this to make.conf:
.if ${.CURDIR:N*/ports/mail/exim} == 
WITHOUT_PERL=yes
WITHOUT_NIS=yes
.endif


--
Adios
___
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: pioneers-0.12.2_1

2008-09-28 Thread Lowell Gilbert
Klaus Koch [EMAIL PROTECTED] writes:

 On Sunday 28 September 2008 19:09:07 Stefan Walter wrote:
 What's in your /etc/rc.conf? With the following settings, the server opens
 a socket for both IPv4 and IPv6 with me:

 ipv6_enable=YES
 ipv6_ipv4mapping=YES

 Thank you very much. That did the trick. Perhaps this should be noted by the 
 port at the end of install? I'm sure I'm not the only one with this problem.

I don't know; I haven't been able to reproduce the problem...
___
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: pioneers-0.12.2_1

2008-09-28 Thread Lowell Gilbert
Klaus Koch [EMAIL PROTECTED] writes:

 On Sunday 28 September 2008 19:09:07 Stefan Walter wrote:
 What's in your /etc/rc.conf? With the following settings, the server opens
 a socket for both IPv4 and IPv6 with me:

 ipv6_enable=YES
 ipv6_ipv4mapping=YES

 Thank you very much. That did the trick. Perhaps this should be noted by the 
 port at the end of install? I'm sure I'm not the only one with this problem.

I don't know; I don't have either of those settings, and I still get
the IPv4 listener opened without problem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


multimedia/vlc installs two .desktop files

2008-09-28 Thread Carlos A. M. dos Santos
Hello,

After installng vlc-0.8.6.i,2 (built from ports), I noticed that there
are two .dekstop files at /usr/local/share/applications/

 vlc.desktop
 wxvlc.desktop

I think the second one should not be there. Is it necessary to submit
a PR on this?

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


Re: My interactive version of pkg_add

2008-09-28 Thread Garrett Cooper
On Sun, Sep 28, 2008 at 2:28 PM, Marcin Wisnicki
[EMAIL PROTECTED] wrote:
 On Sat, 27 Sep 2008 21:11:27 -0700, Garrett Cooper wrote:

 On Sat, Sep 27, 2008 at 7:02 AM, Michel Talon [EMAIL PROTECTED]
 wrote:
 Marin Atanasov wrote:

 So what do you think - is it worth improving upon it or it's a waste
 of time?
 Thanks for any suggestions.

 INDEX is made available via to pkg_install within sysinstall and exists
 on mirrors in the following location:

 ftp://ftp.freebsd.org/pub/FreeBSD/ports/${ARCH}/packages-${VERSION}/
 INDEX

 Would be nice if there was also INDEX.bz2.

You'd need to talk to the release team about that if you don't agree
with that fact; INDEX.bz2 item is a portupgrade-ism, and has its own
collection of drawbacks in addition to it's pro's.

 Also to be able to write an effective pkg upgrade tool one would need
 something like /usr/ports/MOVED.

INDEX already addresses this.

FWIW, I'd get rid of the All/ indexing as it's just a mass
conglomeration of all of the other categories.

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