[Fink-devel] Re: [EMAIL PROTECTED] (Randal L. Schwartz)] Re: ettercap? [and -ssl variants]

2004-09-18 Thread Jeremy Higgs
Hi,
Sorry for the delayed reply... I've been pretty busy with Uni.
I've run into that problem before. It has to do with the 
/sw/share/ettercap directory existing before ettercap is installed, 
which results in the symlink (contained in the package) not working. 
I've made a change to the packages to add a PreInst script, which will 
check if the /sw/share/ettercap directory exists, and if it does, 
remove it, which should clear the way for the package... I haven't 
committed it yet, because I'm working on adding in variants support so 
I can combine the ettercap and ettercap-gtk packages.

On a side note, is there any problem with having one ettercap info file 
that supports the -ssl and -gtk variants? I was under the impression 
that SSL stuff had to be kept under the crypto section, but haven't 
been following development for quite a while, so I don't know if the 
situation has changed. Can anyone shed some light on that? It would be 
nice to just have one package description file for all four variants...

Thanks!
On 17 Sep 2004, at 2:27, Randal L. Schwartz wrote:
 Start of forwarded message 
To: [EMAIL PROTECTED]
Subject: Re: ettercap?
References: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Randal L. Schwartz)
Date: 07 Sep 2004 12:49:06 -0700
In-Reply-To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
Lines: 40
Xref: blue.stonehenge.com outbox:35562
I didn't see any reply on this... no comment?
Randal == Randal L Schwartz [EMAIL PROTECTED] writes:
Randal The most recent ettercap seems to be broken.  Is it just me?
Randal Trying even the first example of the manpage:
Randal localhost:~ % sudo ettercap -Tp
Randal ettercap NG-0.7.0 copyright 2001-2004 ALoR  NaGA
Randal Dissector ssh not supported (etter.conf line 66)
Randal Listening on en1... (Ethernet)
Randalen1 -   00:0D:93:8A:18:C8 172.16.70.100 
255.255.255.0

Randal Privileges dropped to UID 65534 GID 65534...
Randal Cannot open etter.dnsplugin ec_dns_spoof.so cannot be 
loaded...
Randal   25 plugins
Randal   39 protocol dissectors
Randal   53 ports monitored

Randal ERROR : 2, No such file or directory
Randal [ec_manuf.c:manuf_init:126]
Randal  Cannot open etter.finger.mac
Randal That looks like some major missing install stuff.  But is it 
just me?
Randal Should I retry building other stuff?

I just did another rebuild, and it still does the same thing.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 
0095
[EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl 
training!

 End of forwarded message 
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 
0095
[EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl 
training!


PGP.sig
Description: This is a digitally signed message part


[Fink-devel] Re: [EMAIL PROTECTED] (Randal L. Schwartz)] Re: ettercap? [and -ssl variants]

2004-09-18 Thread Darian Lanx
Jeremy Higgs wrote:
snip
On a side note, is there any problem with having one ettercap info file 
that supports the -ssl and -gtk variants? I was under the impression 
that SSL stuff had to be kept under the crypto section, but haven't been 
following development for quite a while, so I don't know if the 
situation has changed. Can anyone shed some light on that? It would be 
nice to just have one package description file for all four variants...

snip
Yes. The -ssl variant _cannot_ be packaged in a single file unless 
your file will always live in the crypto tree. A good example would be 
my msmtp package. Which builds either with openssl as msmtp-ssl or with 
gnutls. Both Variants require the file to be in the crypto tree thus 
it is ok.

IN you case you have a blah-ssl file which lives in the crypto tree and 
a blah.info whith all the variants you need/want that lives in the 
normal tree.

-d

---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] GhostScript 8.00, teTeX compiles fail

2004-09-18 Thread Shrisha Rao
On Thu, 16 Sep 2004, Martin Costabel wrote:

 Could you send the output starting from the last complete linker command
 line? The symbol _XpmReadFileToPixmap is defined in
 /usr/X11R6/lib/libXpm.dylib, so we would need to see whether this
 library is linked in.

The same problem I previously reported with GS 8.00 also occurs with xdvi,
and here is the complete trace:

[anandatirtha:~] shrao% fink install xdvi
/usr/bin/sudo /sw/bin/fink  install xdvi
Information about 1852 packages read in 3 seconds.
The following package will be installed or updated:
 xdvi
curl -f -L -O http://distfiles.master.finkmirrors.net/xdvi-22.84.tar.gz
curl: (7) Failed to connect to distfiles.master.finkmirrors.net IP number 2: 22
### execution of curl failed, exit code 7
Downloading the file xdvi-22.84.tar.gz failed.

(1)  Give up
(2)  Retry the same mirror
(3)  Retry another mirror from your country
(4)  Retry another mirror
(5)  Retry using original source URL

How do you want to proceed? [3]
curl -f -L -O http://distfiles.sbn.in.us.finkmirrors.net/xdvi-22.84.tar.gz
  % Total% Received % Xferd  Average Speed  Time Curr.
 Dload  Upload TotalCurrent  LeftSpeed
100  277k  100  277k0 0   181k  0  0:00:01  0:00:01  0:00:00  275k
gzip -dc /sw/src/xdvi-22.84.tar.gz | /sw/bin/tar -xf -  --no-same-owner 
--no-same-permissions
./configure --prefix=/sw --with-tetex --mandir='${prefix}/share/man'
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  -L/sw/lib) works... yes
checking whether the C compiler (gcc  -L/sw/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /sw/bin/install -c
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for ANSI C header files... yes
checking for X11/Xosdefs.h... yes
checking for unistd.h... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether byte ordering is bigendian... yes
checking for integer type to use in bitmaps... unsigned int, size = 4
checking for whether the C compiler supports string concatenation... yes
checking for stropts.h and isastream()... no
checking for SunOS 4... no
checking for certain old versions of Linux... no
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for poll.h and poll()... yes
checking for vfork.h... no
checking for working vfork... yes
checking for whether setsid() is allowed within vfork()... no
checking for waitpid... yes
checking for putenv... yes
checking for mkstemp... yes
checking for sigaction... yes
checking for strerror... yes
checking for vsnprintf... yes
checking for the function ulltostr() and the long long type... no
checking for a c99-compatible implementation of (v)snprintf()... yes
checking for sin... yes
checking whether linker supports the --allow-multiple-definition flag... no
checking for whether -lXpm needs to be explicitly given... unknown
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
make
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include xdvi.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include events.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include dvi-init.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include dvi-draw.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include special.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include font-open.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include filefind.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include pk.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include vf.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include util.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include popups.c
gcc -g -O2 -I/sw/include -I. -I. -o squeeze ./squeeze.c ./squeeze ./psheader.txt 
psheader.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include psheader.c
gcc -c -g -O2 -I/sw/include -I. -I. -I/usr/X11R6/include psgs.c
gcc -L/sw/lib   -L/usr/X11R6/lib -o xdvi xdvi.o events.o dvi-init.o
dvi-draw.o special.o font-open.o filefind.o pk.o vf.o util.o popups.o psheader.o 
psgs.o -lXaw -lXmu -lXt -lSM -lICE  -lXext -lX11
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_XpmReadFileToPixmap
make: *** [xdvi] Error 1
### 

Re: [Fink-devel] Re: [EMAIL PROTECTED] (Randal L. Schwartz)] Re: ettercap? [and -ssl variants]

2004-09-18 Thread Daniel Macks
On Sat, Sep 18, 2004 at 07:22:32PM +1000, Jeremy Higgs wrote:
 
 On a side note, is there any problem with having one ettercap info file 
 that supports the -ssl and -gtk variants? I was under the impression 
 that SSL stuff had to be kept under the crypto section, but haven't 
 been following development for quite a while, so I don't know if the 
 situation has changed.

That is still the situation.

 Can anyone shed some light on that? It would be 
 nice to just have one package description file for all four variants...

You could use the same .info template with variants/etc., but instead
of a single file with both -ssl options:
  Type: -ssl (boolean)
clone the file and have each hard-code the desired -ssl value. So the
crypto tree would have a .info with:
  Type: -ssl (-ssl)
(or even just Type: -ssl) and the non-crypto tree would have:
  Type: -ssl (.)

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] GhostScript 8.00, teTeX compiles fail

2004-09-18 Thread Martin Costabel
Shrisha Rao wrote:
[]
This:
checking for whether -lXpm needs to be explicitly given... unknown
[]
and this:
gcc -L/sw/lib   -L/usr/X11R6/lib -o xdvi xdvi.o events.o dvi-init.o
dvi-draw.o special.o font-open.o filefind.o pk.o vf.o util.o popups.o psheader.o 
psgs.o -lXaw -lXmu -lXt -lSM -lICE  -lXext -lX11
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_XpmReadFileToPixmap
[]
show that something is wrong with your libXaw and libXpm libraries.
What do you get if you do
  cd /usr/X11R6
  ls -l libXaw* libXpm*
You should see something like
%ls -l libXaw* libXpm*
-rw-r--r--  1 root  wheel  276124 15 Sep  2003 libXaw.6.1.dylib
lrwxrwxrwx  1 root  wheel  16  4 Aug 08:01 libXaw.6.dylib - 
libXaw.6.1.dylib
-rw-r--r--  1 root  wheel  387092 15 Sep  2003 libXaw.7.0.dylib
lrwxrwxrwx  1 root  wheel  16  4 Aug 08:01 libXaw.7.dylib - 
libXaw.7.0.dylib
-rw-r--r--  1 root  wheel  616944 15 Sep  2003 libXaw.a
lrwxr-xr-x  1 root  wheel  16 18 Sep 21:04 libXaw.dylib - 
libXaw.7.0.dylib
-rw-r--r--  1 root  wheel   60376 27 May 00:38 libXpm.4.11.dylib
lrwxrwxrwx  1 root  wheel  17  4 Aug 08:01 libXpm.4.dylib - 
libXpm.4.11.dylib
-rw-r--r--  1 root  wheel  100304 15 Sep  2003 libXpm.a
lrwxr-xr-x  1 root  wheel  17 28 Oct  2003 libXpm.dylib - 
libXpm.4.11.dylib

The errors you are getting seem to indicate that in your case 
libXaw.dylib is missing, libXaw.a is present, but both libXpm.a and 
libXpm.dylib are missing or are otherwise broken.

You will probably have to reinstall X11SDK.pkg from the XCode tools disk.

And finally, what does this have to do with gs-8.00?
 
?
You haven't shown any error with gs-8.00. I suppose it's the same?
--
Martin

---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] GhostScript 8.00, teTeX compiles fail

2004-09-18 Thread Shrisha Rao
On Sat, 18 Sep 2004, Martin Costabel wrote:

 The errors you are getting seem to indicate that in your case
 libXaw.dylib is missing, libXaw.a is present, but both libXpm.a and
 libXpm.dylib are missing or are otherwise broken.

 You will probably have to reinstall X11SDK.pkg from the XCode tools disk.

I reinstalled everything afresh, and that seems to work.  Thanks much.

Regards,

Shrisha Rao



---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Re: [EMAIL PROTECTED] (Randal L. Schwartz)] Re: ettercap? [and -ssl variants]

2004-09-18 Thread Jeremy Higgs
On 18 Sep 2004, at 22:42, Darian Lanx wrote:
Jeremy Higgs wrote:
snip
On a side note, is there any problem with having one ettercap info 
file that supports the -ssl and -gtk variants? I was under the 
impression that SSL stuff had to be kept under the crypto section, 
but haven't been following development for quite a while, so I don't 
know if the situation has changed. Can anyone shed some light on 
that? It would be nice to just have one package description file for 
all four variants...
snip
Yes. The -ssl variant _cannot_ be packaged in a single file unless 
your file will always live in the crypto tree. A good example would be 
my msmtp package. Which builds either with openssl as msmtp-ssl or 
with gnutls. Both Variants require the file to be in the crypto 
tree thus it is ok.

IN you case you have a blah-ssl file which lives in the crypto tree 
and a blah.info whith all the variants you need/want that lives in the 
normal tree.

-d

Rightio. I figured as much!
Thanks for the clarification!


PGP.sig
Description: This is a digitally signed message part


[Fink-devel] Re: dists/10.3/unstable/main/finkinfo/text texshop.info,NONE,1.1

2004-09-18 Thread Lars Rosengreen
Maybe I'm missing the obvious, but shouldn't this depend on tetex-base 
or something similar?

-Lars
On Sep 17, 2004, at 1:58 AM, Martin Costabel wrote:
Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/text
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6450
Added Files:
texshop.info
Log Message:
I guess we can try this in unstable now. Version 1.35e.
--- NEW FILE: texshop.info ---
Package: texshop
Version: 1.35
Revision: 1.e
Source: http://www.uoregon.edu/~koch/texshop/texshopsource.tar.gz
Source-MD5: 14bc6c9d92c1b4d90fd1dd399a480b88
SourceRename: texshopsource-%v-%r.tar.gz
SourceDirectory: texshopsource
Source2: mirror:sourceforge:itexmac/pdfsync.tgz
Source2-MD5: af4b703df1a59a695dcf2a684f5b8261
Source2ExtractDir: texshopsource
License: GPL
CompileScript: 
 xcodebuild -buildstyle Deployment FRAMEWORK_SEARCH_PATHS=%b

InstallScript: 
 xcodebuild install DSTROOT=%d INSTALL_PATH=%p/Applications 
FRAMEWORK_SEARCH_PATHS=%b
 mkdir -p %i/Applications %d/Applications/Fink
 ln -s %p/Applications/TeXShop.app %d/Applications/Fink/

DocFiles: GNU Free Documentation.txt GNU General Public 
License.txt How to debug pdfsync.rtf pdfsync.sty
Description: TeX previewer for Mac OS X, written in Cocoa
DescDetail: This is Richard Koch's TeXShop
DescUsage:
 To start this version of TeXShop, double-click on the TeXShop
 icon in the directory /Applications/Fink.

 If you have Fink's tetex packages installed, you want to set the two 
paths in
 Preferences - Engine to /sw/bin

 The pdfsync.sty from the share/doc/texmacs directory should be copied 
to
 ~/Library/texmf/tex

DescPackaging: 
  The TeXShop.app application bundle is in installed in
 finkprefix/Applications, and there is a symlink in
 /Applications/Fink.

Maintainer: Martin Costabel [EMAIL PROTECTED]
Homepage: http://www.uoregon.edu/~koch/texshop/


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

--
Lars Rosengreen
gro tod yagram ta sral
http://www.margay.org

---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel