Date: Sat, 21 Jun 2008 18:19:52 -0400 From: Chuck Robey <chuckr@telenix.org> To: Ion-Mihai Tetcu <itetcu@FreeBSD.org> Cc: ports@freebsd.org, tektonaut@fuckner.net, Remko Lodder <remko@FreeBSD.org>, perl@FreeBSD.org, ports@christianserving.org Subject: Re: FreeBSD imapsync port Message-ID: <485D7E88.2000005@telenix.org> In-Reply-To: <20080621230722.2356a86a@it.buh.tecnik93.com> References: <485D26E5.2070007@fuckner.net> <485D3183.1010602@FreeBSD.org> <20080621220956.243ebcc7@it.buh.tecnik93.com> <1575d605ce98cc7dc9aa90768c8cf69c.squirrel@galain.elvandar.org> <20080621230722.2356a86a@it.buh.tecnik93.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ion-Mihai Tetcu wrote: > On Sat, 21 Jun 2008 21:55:18 +0200 (CEST) > "Remko Lodder" <remko@FreeBSD.org> wrote: > >> On Sat, June 21, 2008 9:09 pm, Ion-Mihai Tetcu wrote: >>> On Sat, 21 Jun 2008 18:51:15 +0200 >>> Remko Lodder <remko@FreeBSD.org> wrote: >>> >>>> tektonaut@fuckner.net 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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?485D7E88.2000005>