Re: [Fink-devel] net-snmp on Tiger

2005-06-22 Thread Juan Courcoul
If I remember correctly, the Nessus security scanner uses net-snmp libs 
to check and scan for snmp vulnerabilities. While it should be able to 
work with the version that comes preinstalled on Tiger (even Panther,  
but at v5.0.8), still having the SSL-enabled option would be welcome.


Of course, I should also mention that the nessus Fink package is a bit 
outdated from the current official version (2.2.0 vs. 2.2.4).


John Courcoul

On Jun 21, 2005, at 2:07 AM, Jeremy Higgs wrote:



On 20/06/2005, at 3:04, Martin Costabel wrote:


Jeremy Higgs wrote:


Hi everyone,
I've been trying to get a lot of my packages working on Tiger, and 
have finally gotten around to net-snmp.

...
Would anyone have any objections to this? I would tend to agree with 
Martin, since it's included with the system now, and isn't a terribly 
important package.


If there are no dependencies and no objections, I'll remove it from 
the 10.4-transitional and 10.3 trees in the near future...




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Tiger ssl/crypto library problems

2005-06-22 Thread Peter O'Gorman

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter O'Gorman wrote:
| Filed radar 4139432, seems that dyld is looking at
| DYLD_FALLBACK_LIBRARY_PATH (and it's default value) before it looks for the
| actual file...

It was suggested on #fink that our basefiles package have something like

export DYLD_FALLBACK_LIBRARY_PATH=:

to workaround this issue. Any objections?

Peter
- --
Peter O'Gorman - http://www.pogma.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Darwin)

iQCVAwUBQroaM7iDAg3OZTLPAQJkNgP/bciDhvj3CtwwS63QaSCMibzxD5kQnKgK
b0BvE7Qq70rYU9/kuZlH+0A4SbpsMLC0OpxiHBZzohS6c/YzeQQtOMVntuMOg9hQ
uDnhBPCr48RpE0GnyFJVLmjNVAyyC/uhSuFDYXO+x+cmJCWhBfdkI+nAsEsMwSOQ
DgFYxfG38q4=
=8Biu
-END PGP SIGNATURE-


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] net-snmp on Tiger

2005-06-22 Thread Jeremy Higgs

OK, I guess we keep the package, then!

Would anyone be prepared to take over the maintainership (?) for net- 
snmp, in that case? As evidenced by my lack of activity in Fink, I  
haven't (and still don't have) a great deal of spare time. If there's  
someone who could maintain net-snmp a better better than I have, then  
I'm sure Fink and the users of the package will benefit.


Otherwise, I'll have a go at getting 5.2.1 to work in the near future.

Thanks,

Jeremy.

On 22/06/2005, at 22:46, TheSin wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I gotta be honest I don't like the idea of depending on apple for  
this either.

- ---
TS
http://southofheaven.org/
Chaos is the beginning and end, try dealing with the rest.

On 22-Jun-05, at 4:21 AM, Cian Hughes wrote:


Just thought I'd point out that the system version is broken, it  
crashes on some queries, apple have acknowledged this and it will  
apparently be fixed with 10.4.2, there is potential here that we  
may end up moving people from a working net-snmp (but old) to a  
half broken new version.

Regards,
   Cian Hughes


On 21 Jun 2005, at 16:20, TheSin wrote:



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

php4 and php5 both depend on it, let me rework to link against  
the system version and provide a good upgrade path.

- ---
TS
http://southofheaven.org/
Chaos is the beginning and end, try dealing with the rest.

On 21-Jun-05, at 1:07 AM, Jeremy Higgs wrote:





On 20/06/2005, at 3:04, Martin Costabel wrote:




Jeremy Higgs wrote:




Hi everyone,
I've been trying to get a lot of my packages working on Tiger,  
and  have finally gotten around to net-snmp. I noticed (from  
discussions  on the list, and a bit of playing around) that  
net-snmp 5.2 is  actually included in the base system. Given  
this, is there really a  need for a net-snmp package? Perhaps  
if someone wants an OpenSSL- enabled version...
On that note, there are some patches in the Darwin source.  
(http:// darwinsource.opendarwin.org/10.4.1/net_snmp-16/ 
patches/) Does anyone  know what the license is for these? I  
was hoping to use these for the  Fink package...






According to the license file on the server http:// 
www.opensource.apple.com/darwinsource/10.4.1/net_snmp-16/ 
net_snmp.txt, the package has a BSD license. I would assume  
that this covers the patches, too.


OTOH, it is perhaps a good idea to get rid of the package  
altogether. On Panther already fink's version was older than  
the system one.





Would anyone have any objections to this? I would tend to agree  
with Martin, since it's included with the system now, and isn't  
a terribly important package.


If there are no dependencies and no objections, I'll remove it  
from the 10.4-transitional and 10.3 trees in the near future...


Thanks,

Jeremy.




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Darwin)

iD8DBQFCuDBI6wPs8J05MxMRApENAJ4g4dxjFJoo6GArVafbE/lJLJu8PgCdH+3o
icA1ERYOre7SiUY/ZXwyQuc=
=lCHz
-END PGP SIGNATURE-


---
SF.Net email is sponsored by: Discover Easy Linux Migration  
Strategies

from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel







-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Darwin)

iD8DBQFCuV2a6wPs8J05MxMRAqpVAJ9064NEmeSAJn8ev47BuNGUAFnpLgCdFw7P
7rco/kFCd5N7iGvb4KDHJVg=
=4RJz
-END PGP SIGNATURE-


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel





---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] socklen_t (was: pwlib-1.5.2-12 conflicting Types)

2005-06-22 Thread Matthew Sachs

On Jun 22, 2005, at 05:05, Andreas Dittrich wrote:

I have a problem compiling pwlib. There is a duplicate typedef  
which is different in

/usr/include/sys/socket.h
than in
./pwlib/include/ptlib/unix/ptlib/pmachdep.h
of the package. The one in the package defines int as the type of  
the socketlen


Prior to Tiger, our system headers did not define socklen_t.   
Packages that needed socklen_t defined it themselves as int.  Now on  
Tiger, we have socklen_t.  However, some packages which had socklen_t  
definitions inserted are still using those definitions on Tiger,  
either because they're coming in from a patchscript/SetCFLAGS or  
because the upstream developers assumed "if it's Darwin, we need to  
define socklen_t".


The solution is to remove the socklen_t definitions from the package  
or conditionalize them on the MacOS version.  In the case of pwlib,  
there's no mention of socklen_t in the info or patch file.  Grepping  
the source for socklen_t, the most likely candidate for where the  
define is coming from is include/ptlib/unix/ptlib/pmachdep.h.  There  
are several defines of socklen_t in that file, conditionalized on  
various macros.  To fix the package, figure out which one is applying  
on Darwin, and wrap it with the following:


#ifdef __APPLE__
#include 
#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_3
typedef int socklen_t;
#endif
#endif




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] net-snmp on Tiger

2005-06-22 Thread TheSin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I gotta be honest I don't like the idea of depending on apple for  
this either.

- ---
TS
http://southofheaven.org/
Chaos is the beginning and end, try dealing with the rest.

On 22-Jun-05, at 4:21 AM, Cian Hughes wrote:

Just thought I'd point out that the system version is broken, it  
crashes on some queries, apple have acknowledged this and it will  
apparently be fixed with 10.4.2, there is potential here that we  
may end up moving people from a working net-snmp (but old) to a  
half broken new version.

Regards,
   Cian Hughes


On 21 Jun 2005, at 16:20, TheSin wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

php4 and php5 both depend on it, let me rework to link against the  
system version and provide a good upgrade path.

- ---
TS
http://southofheaven.org/
Chaos is the beginning and end, try dealing with the rest.

On 21-Jun-05, at 1:07 AM, Jeremy Higgs wrote:




On 20/06/2005, at 3:04, Martin Costabel wrote:



Jeremy Higgs wrote:



Hi everyone,
I've been trying to get a lot of my packages working on Tiger,  
and  have finally gotten around to net-snmp. I noticed (from  
discussions  on the list, and a bit of playing around) that net- 
snmp 5.2 is  actually included in the base system. Given this,  
is there really a  need for a net-snmp package? Perhaps if  
someone wants an OpenSSL- enabled version...
On that note, there are some patches in the Darwin source.  
(http:// darwinsource.opendarwin.org/10.4.1/net_snmp-16/ 
patches/) Does anyone  know what the license is for these? I  
was hoping to use these for the  Fink package...





According to the license file on the server http:// 
www.opensource.apple.com/darwinsource/10.4.1/net_snmp-16/ 
net_snmp.txt, the package has a BSD license. I would assume that  
this covers the patches, too.


OTOH, it is perhaps a good idea to get rid of the package  
altogether. On Panther already fink's version was older than the  
system one.




Would anyone have any objections to this? I would tend to agree  
with Martin, since it's included with the system now, and isn't a  
terribly important package.


If there are no dependencies and no objections, I'll remove it  
from the 10.4-transitional and 10.3 trees in the near future...


Thanks,

Jeremy.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Darwin)

iD8DBQFCuDBI6wPs8J05MxMRApENAJ4g4dxjFJoo6GArVafbE/lJLJu8PgCdH+3o
icA1ERYOre7SiUY/ZXwyQuc=
=lCHz
-END PGP SIGNATURE-


---
SF.Net email is sponsored by: Discover Easy Linux Migration  
Strategies

from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel





-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Darwin)

iD8DBQFCuV2a6wPs8J05MxMRAqpVAJ9064NEmeSAJn8ev47BuNGUAFnpLgCdFw7P
7rco/kFCd5N7iGvb4KDHJVg=
=4RJz
-END PGP SIGNATURE-


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] pwlib-1.5.2-12 conflicting Types

2005-06-22 Thread Andreas Dittrich

Hi everybody,

I have a problem compiling pwlib. There is a duplicate typedef which  
is different in

/usr/include/sys/socket.h
than in
./pwlib/include/ptlib/unix/ptlib/pmachdep.h
of the package. The one in the package defines int as the type of the  
socketlen whereas this actually refers to an unsigned 32 Bit Integer.  
I guess this could make Problems on 64Bit Architectures thats why the  
definition was switched by apple to __uint32_t
Unfortunately I have no idea how to fix that in the package itself  
and the maintainer seems out snowboarding. Are my assumptions correct  
and is anybody able to fix that?


Greetings, Andreas


Anfang der weitergeleiteten E-Mail:


Von: Andreas Dittrich <[EMAIL PROTECTED]>
Datum: 6. Mai 2005 18:28:38 MESZ
An: [EMAIL PROTECTED]
Betreff: pwlib-1.5.2-12


Hello,

I have trouble compiling the above package. I did a fresh install  
of tiger and fink last week if this is of help for you. Please let  
me know if you need some more information about my setup.

Thanks for your help and the time you devote to fink,

Andreas Dittrich


% sudo fink install pwlib
Information about 4558 packages read in 2 seconds.
The following package will be installed or updated:
pwlib
dpkg-deb -b /sw/src/root-fink-buildlock-pwlib-1.5.2-12 /sw/src
dpkg-deb: building package `fink-buildlock-pwlib-1.5.2-12' in `/sw/ 
src/fink-buildlock-pwlib-1.5.2-12_2005.05.06-18.25.51_darwin- 
powerpc.deb'.

Setting build lock...
dpkg -i /sw/src/fink-buildlock- 
pwlib-1.5.2-12_2005.05.06-18.25.51_darwin-powerpc.deb

Selecting previously deselected package fink-buildlock-pwlib-1.5.2-12.
(Reading database ... 82079 files and directories currently  
installed.)
Unpacking fink-buildlock-pwlib-1.5.2-12 (from .../fink-buildlock- 
pwlib-1.5.2-12_2005.05.06-18.25.51_darwin-powerpc.deb) ...

Setting up fink-buildlock-pwlib-1.5.2-12 (2005.05.06-18.25.51) ...
gzip -dc /sw/src/pwlib_1.5.2.tar.gz | /sw/bin/tar -xf -  --no-same- 
owner --no-same-permissions

patch -p1 make CPLUS=g++3 LDFLAGS="-L/sw/lib -lresolv -L../../lib" PWLIBDIR=/ 
sw/src/pwlib-1.5.2-12/pwlib opt LDSOOPTS="-dynamiclib - 
compatibility_version 1.5 -current_version 1.5.2 -install_name /sw/ 
lib/pwlib/lib/libpt_Darwin_ppc_r.1.5.dylib" libso_target="lib/ 
libpt_Darwin_ppc_r.1.5.2.dylib"

set -e; make -C src/ptlib/unix opt; make -C tools/asnparser opt;
g++3 -DP_MACOSX=800 -DNO_LONG_DOUBLE -D_REENTRANT -Wall  - 
DPHAS_TEMPLATES -I/sw/src/pwlib-1.5.2-12/pwlib/include/ptlib/unix - 
I/usr/include/pwlib -I/sw/src/pwlib-1.5.2-12/pwlib/include -O2 - 
DNDEBUG -I/sw/include -fno-common -dynamic -fno-common -dynamic - 
DPTRACING=1 -x c++ -c ../../ptclib/asner.cxx -o /sw/src/ 
pwlib-1.5.2-12/pwlib/lib/obj_Darwin_ppc_r/asner.o
In file included from /sw/src/pwlib-1.5.2-12/pwlib/include/ptlib/ 
unix/ptlib/contain.h:57,
 from /sw/src/pwlib-1.5.2-12/pwlib/include/ptlib.h: 
139,

 from ../../ptclib/asner.cxx:290:
/sw/src/pwlib-1.5.2-12/pwlib/include/ptlib/unix/ptlib/pmachdep.h: 
448: conflicting

   types for `typedef int socklen_t'
/usr/include/sys/socket.h:99: previous declaration as `typedef
   __darwin_socklen_t socklen_t'
make[1]: *** [/sw/src/pwlib-1.5.2-12/pwlib/lib/obj_Darwin_ppc_r/ 
asner.o] Error 1

make: *** [opt] Error 2
### execution of make failed, exit code 2
Removing build lock...
dpkg -r fink-buildlock-pwlib-1.5.2-12
(Reading database ... 82080 files and directories currently  
installed.)

Removing fink-buildlock-pwlib-1.5.2-12 ...
Failed: phase compiling: pwlib-1.5.2-12 failed

--
Package manager version: 0.24.5
Distribution version: 0.7.1.rsync
Mac OS X version: 10.4
December 2001 Developer Tools (not quite... it's 10.4s Xcode)
gcc version: 8
make version: 3.80
Feedback Courtesy of FinkCommander






PGP.sig
Description: Signierter Teil der Nachricht


Re: [Fink-devel] net-snmp on Tiger

2005-06-22 Thread Cian Hughes
Just thought I'd point out that the system version is broken, it crashes on some queries, apple have acknowledged this and it will apparently be fixed with 10.4.2, there is potential here that we may end up moving people from a working net-snmp (but old) to a half broken new version. Regards,                        Cian Hughes   On 21 Jun 2005, at 16:20, TheSin wrote:-BEGIN PGP SIGNED MESSAGE-Hash: SHA1php4 and php5 both depend on it, let me rework to link against the system version and provide a good upgrade path.- ---TShttp://southofheaven.org/Chaos is the beginning and end, try dealing with the rest.On 21-Jun-05, at 1:07 AM, Jeremy Higgs wrote: On 20/06/2005, at 3:04, Martin Costabel wrote: Jeremy Higgs wrote: Hi everyone,I've been trying to get a lot of my packages working on Tiger, and  have finally gotten around to net-snmp. I noticed (from discussions  on the list, and a bit of playing around) that net-snmp 5.2 is  actually included in the base system. Given this, is there really a  need for a net-snmp package? Perhaps if someone wants an OpenSSL- enabled version...On that note, there are some patches in the Darwin source. (http:// darwinsource.opendarwin.org/10.4.1/net_snmp-16/patches/) Does anyone  know what the license is for these? I was hoping to use these for the  Fink package... According to the license file on the server http://www.opensource.apple.com/darwinsource/10.4.1/net_snmp-16/net_snmp.txt, the package has a BSD license. I would assume that this covers the patches, too.OTOH, it is perhaps a good idea to get rid of the package altogether. On Panther already fink's version was older than the system one. Would anyone have any objections to this? I would tend to agree with Martin, since it's included with the system now, and isn't a terribly important package.If there are no dependencies and no objections, I'll remove it from the 10.4-transitional and 10.3 trees in the near future...Thanks,Jeremy. -BEGIN PGP SIGNATURE-Version: GnuPG v1.4.0 (Darwin)iD8DBQFCuDBI6wPs8J05MxMRApENAJ4g4dxjFJoo6GArVafbE/lJLJu8PgCdH+3oicA1ERYOre7SiUY/ZXwyQuc==lCHz-END PGP SIGNATURESF.Net email is sponsored by: Discover Easy Linux Migration Strategiesfrom IBM. Find simple to follow Roadmaps, straightforward articles,informative Webcasts and more! Get everything you need to get up tospeed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click___Fink-devel mailing listFink-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/fink-devel 

smime.p7s
Description: S/MIME cryptographic signature


Re: [Fink-devel] clisp, maxima and the UNIX error 45

2005-06-22 Thread Martin Costabel

Martin Costabel wrote:
[]
The clisp package would need the corresponding patch to src/stream.d 
too, but I didn't touch this. 


The clisp plugin for texmacs has the same problem with the current 
version of clisp. So this fix for the clisp package is indeed needed too.


--
Martin



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] clisp, maxima and the UNIX error 45

2005-06-22 Thread Martin Costabel

After years of digging :-) , I have finally unearthed the infamous
"UNIX error 45 (EOPNOTSUPP): Operation not supported on socket"
bug. This bug has shown up for years when the maxima package was built 
with buffered output, for example inside FinkCommander. Our usual advice 
was "don't do this". According to google, the bug was mentioned on 
various fink / darwinports / debian / maxima / clisp mailing lists, but 
never taken very seriously and AFIACT never subject to fixing efforts.


The situation has changed with Tiger. If you want to see why, just run 
"clisp | cat" or "clisp-maxima | tee /dev/null" in Tiger. The bug now 
shows up much easier, and it was brought to my attention by texmacs 
users who wanted to run the maxima plugin. Whereas this plugin works 
nicely on Panther, it crashes on Tiger with a stream of


 *** - UNIX error 45 (EOPNOTSUPP) : Operation not supported on socket
 The following restarts are available:
 R1 = Macsyma top-level

error messages instead of the maxima prompt.

As usual, Apple is to blame. Their fsync(2) system call returns the 
EOPNOTSUPP error in certain situations, contrary to its documentation, 
and clisp doesn't know about this. I have made a patch that tells clisp 
about this possibility.


The patch acts identically in 2 places, the second one takes care of the 
new breakage in Tiger, and the first one of the old breakage. With this 
patch, now maxima can be compiled with buffered output and inside 
FinkCommander. But I think this latter benefit for older systems does 
perhaps not justify backporting the patch to 10.2 and 10.3.


Lars, I took the liberty (because of urgency for the texmacs users) to 
patch the clisp-maxima.patch file in 10.4-transitional stable and 
unstable accordingly, and to bump the revision of clisp-maxima from -2 
to -12. The clisp-maxima.info file is not changed otherwise, this is 
just for forcing a recompilation.


The clisp package would need the corresponding patch to src/stream.d 
too, but I didn't touch this. I also think a notice to the upstream 
clisp developers would be useful.


Finally, the 10.4 bindist clisp-maxima package needs an update to 
version 2.29-12, too. With the present version, texmacs with the maxima 
plugin (which is one of the important uses of texmacs) does not work.


--
Martin



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel