FreeBSD imapsync port

2008-06-21 Thread tektonaut

Hello,

There are some trouble getting imapsync port running:

First, it would be nice adding a patch to change the shebang to
/usr/local/bin/perl. I don't expect anybody having perl on FreeBSD
at /usr/bin/perl.

Secondly imapsync will not run with Mail::IMAPClient from ports,
as said by imapsync itself:

Subroutine Authuser redefined at /usr/local/bin/imapsync line 2557.
imapsync needs perl lib Mail::IMAPClient release 2.2.9 exactly, future imapsync 
release may suppoort 3.0.x, but sorry not now. See file BUG_IMAPClient_3.xx
# Looks like your test died before it could output anything.

Mail::IMAPClient provided with imapsync src should be used instead.

Regards,
Adam

--



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


Re: FreeBSD imapsync port

2008-06-21 Thread Remko Lodder

[EMAIL PROTECTED] wrote:

Hello,

There are some trouble getting imapsync port running:

First, it would be nice adding a patch to change the shebang to
/usr/local/bin/perl. I don't expect anybody having perl on FreeBSD
at /usr/bin/perl.

Secondly imapsync will not run with Mail::IMAPClient from ports,
as said by imapsync itself:

Subroutine Authuser redefined at /usr/local/bin/imapsync line 2557.
imapsync needs perl lib Mail::IMAPClient release 2.2.9 exactly, future 
imapsync release may suppoort 3.0.x, but sorry not now. See file 
BUG_IMAPClient_3.xx

# Looks like your test died before it could output anything.

Mail::IMAPClient provided with imapsync src should be used instead.

Regards,
Adam



#!/usr/bin/perl is installed as symlink for consistency. The line does 
not have to be changed in my eyes. I also do not see us removing the

symlink anytime soon so lets just leave it like that :-).

About the rest of the stuff: I cannot judge about that.

Cheers
Remko

--

/\   Best regards,  | [EMAIL PROTECTED]
\ /   Remko Lodder   | [EMAIL PROTECTED]
 Xhttp://www.evilcoder.org/  |
/ \   ASCII Ribbon Campaign  | Against HTML Mail and News
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD imapsync port

2008-06-21 Thread Ion-Mihai Tetcu
On Sat, 21 Jun 2008 18:51:15 +0200
Remko Lodder [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] wrote:
  Hello,
  
  There are some trouble getting imapsync port running:
  
  First, it would be nice adding a patch to change the shebang to
  /usr/local/bin/perl. I don't expect anybody having perl on FreeBSD
  at /usr/bin/perl.
  
  Secondly imapsync will not run with Mail::IMAPClient from ports,
  as said by imapsync itself:
  
  Subroutine Authuser redefined at /usr/local/bin/imapsync line 2557.
  imapsync needs perl lib Mail::IMAPClient release 2.2.9 exactly, future 
  imapsync release may suppoort 3.0.x, but sorry not now. See file 
  BUG_IMAPClient_3.xx
  # Looks like your test died before it could output anything.
  
  Mail::IMAPClient provided with imapsync src should be used instead.
  
  Regards,
  Adam
  
 
 #!/usr/bin/perl is installed as symlink for consistency. The line does 
 not have to be changed in my eyes. I also do not see us removing the
 symlink anytime soon so lets just leave it like that :-).

Actually it should.
# PERL  - Set to full path of perl5, either in the system or
# installed from a port, but without the 
version number.
# Use this if you need to replace #! lines in 
scripts.



-- 
IOnut - Un^d^dregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as Intellect
FreeBSD committer - [EMAIL PROTECTED], PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature


Re: FreeBSD imapsync port

2008-06-21 Thread Ion-Mihai Tetcu
On Sat, 21 Jun 2008 21:55:18 +0200 (CEST)
Remko Lodder [EMAIL PROTECTED] wrote:

 
 On Sat, June 21, 2008 9:09 pm, Ion-Mihai Tetcu wrote:
  On Sat, 21 Jun 2008 18:51:15 +0200
  Remko Lodder [EMAIL PROTECTED] wrote:
 
  [EMAIL PROTECTED] wrote:
   Hello,
  
   There are some trouble getting imapsync port running:
  
   First, it would be nice adding a patch to change the shebang to
   /usr/local/bin/perl. I don't expect anybody having perl on FreeBSD
   at /usr/bin/perl.
  
   Secondly imapsync will not run with Mail::IMAPClient from ports,
   as said by imapsync itself:
  
   Subroutine Authuser redefined at /usr/local/bin/imapsync line 2557.
   imapsync needs perl lib Mail::IMAPClient release 2.2.9 exactly, future
   imapsync release may suppoort 3.0.x, but sorry not now. See file
   BUG_IMAPClient_3.xx
   # Looks like your test died before it could output anything.
  
   Mail::IMAPClient provided with imapsync src should be used instead.
  
   Regards,
   Adam
  
 
  #!/usr/bin/perl is installed as symlink for consistency. The line does
  not have to be changed in my eyes. I also do not see us removing the
  symlink anytime soon so lets just leave it like that :-).
 
  Actually it should.
  # PERL  - Set to full path of perl5, either in the system
  or
  # installed from a port, but without the
  version number.
  # Use this if you need to replace #!
  lines in scripts.
 
 
 That does not say it SHOULD be set to /usr/local/bin/perl, all perl
 scripts I have seen so far are /usr/bin/perl, why break that without
 general concensus? :)

I live with the impression that is the general consensus. I never seen
a port that doesn't do that patch. Since I'm not a perl guy I'm CC'ing
perl@ on this.


-- 
IOnut - Un^d^dregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as Intellect
FreeBSD committer - [EMAIL PROTECTED], PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature


Re: FreeBSD imapsync port

2008-06-21 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ion-Mihai Tetcu wrote:
 On Sat, 21 Jun 2008 21:55:18 +0200 (CEST)
 Remko Lodder [EMAIL PROTECTED] wrote:
 
 On Sat, June 21, 2008 9:09 pm, Ion-Mihai Tetcu wrote:
 On Sat, 21 Jun 2008 18:51:15 +0200
 Remko Lodder [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] wrote:
 Hello,

 There are some trouble getting imapsync port running:

 First, it would be nice adding a patch to change the shebang to
 /usr/local/bin/perl. I don't expect anybody having perl on FreeBSD
 at /usr/bin/perl.

 Secondly imapsync will not run with Mail::IMAPClient from ports,
 as said by imapsync itself:

 Subroutine Authuser redefined at /usr/local/bin/imapsync line 2557.
 imapsync needs perl lib Mail::IMAPClient release 2.2.9 exactly, future
 imapsync release may suppoort 3.0.x, but sorry not now. See file
 BUG_IMAPClient_3.xx
 # Looks like your test died before it could output anything.

 Mail::IMAPClient provided with imapsync src should be used instead.

 Regards,
 Adam

 #!/usr/bin/perl is installed as symlink for consistency. The line does
 not have to be changed in my eyes. I also do not see us removing the
 symlink anytime soon so lets just leave it like that :-).
 Actually it should.
 # PERL  - Set to full path of perl5, either in the system
 or
 # installed from a port, but without the
 version number.
 # Use this if you need to replace #!
 lines in scripts.

 That does not say it SHOULD be set to /usr/local/bin/perl, all perl
 scripts I have seen so far are /usr/bin/perl, why break that without
 general concensus? :)
 
 I live with the impression that is the general consensus. I never seen
 a port that doesn't do that patch. Since I'm not a perl guy I'm CC'ing
 perl@ on this.

I use python, where I picked up this little trick, which lets python find it's
actual location and execute itself, based upon the reliable location of env:

#!/usr/bin/env python

You could replace python with perl, for your needs.
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIXX6Iz62J6PPcoOkRAulRAJ4pHng7y3KkKDwTXFr89qjYPCU3FACeNuZI
NavNInhZO4viAHiVUa5gO1c=
=28zV
-END PGP SIGNATURE-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD imapsync port

2008-06-21 Thread Tektonaut




I use python, where I picked up this little trick, which lets python find it's
actual location and execute itself, based upon the reliable location of env:

#!/usr/bin/env python

You could replace python with perl, for your needs.


Yes, env(1) is quite 'stable' over systems but leads to the same problem:
The #shebang line has to be patched if the delevoper didn't already used env.

...but I posted maily because of the second problem with Mail::IMAPClient... ;)

Adam

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


Re: FreeBSD imapsync port

2008-06-21 Thread Tektonaut

Remko Lodder wrote:

[EMAIL PROTECTED] wrote:

Hello,

There are some trouble getting imapsync port running:

First, it would be nice adding a patch to change the shebang to
/usr/local/bin/perl. I don't expect anybody having perl on FreeBSD
at /usr/bin/perl.

[...]


#!/usr/bin/perl is installed as symlink for consistency. 


No it isn't. :)

The line does 
not have to be changed in my eyes. I also do not see us removing the

symlink anytime soon so lets just leave it like that :-).



A

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


Re: FreeBSD imapsync port

2008-06-21 Thread Paul Schmehl
--On June 22, 2008 1:34:53 AM +0200 Tektonaut [EMAIL PROTECTED] 
wrote:



Remko Lodder wrote:

[EMAIL PROTECTED] wrote:

Hello,

There are some trouble getting imapsync port running:

First, it would be nice adding a patch to change the shebang to
/usr/local/bin/perl. I don't expect anybody having perl on FreeBSD
at /usr/bin/perl.

[...]



# !/usr/bin/perl is installed as symlink for consistency.


No it isn't. :)



It is on an unaltered install:

[EMAIL PROTECTED] ls -lsa /usr/bin/perl
0 lrwxr-xr-x  1 root  wheel  24 Feb 20 12:23 /usr/bin/perl - 
/usr/local/bin/perl5.8.8


[EMAIL PROTECTED] ls -lsa /usr/local/bin/perl
10 -rwxr-xr-x  2 root  wheel  10212 Dec  7  2007 /usr/local/bin/perl

[EMAIL PROTECTED] file /usr/local/bin/perl5.8.8
/usr/local/bin/perl5.8.8: ELF 32-bit LSB executable, Intel 80386, version 
1 (FreeBSD), for FreeBSD 7.0 (700055), dynamically linked (uses shared 
libs), FreeBSD-style, stripped


Paul Schmehl
If it isn't already obvious,
my opinions are my own and not
those of my employer.

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