| From | Sent On | Attachments |
|---|---|---|
| Anton Berezin | Jan 29, 2005 12:32 pm | |
| Kirill Ponomarew | Jan 29, 2005 1:02 pm | |
| Kris Kennaway | Jan 29, 2005 1:08 pm | |
| Oliver Lehmann | Jan 29, 2005 1:21 pm | |
| Steven Hartland | Jan 29, 2005 1:21 pm | |
| Anton Berezin | Jan 29, 2005 1:22 pm | |
| Chuck Swiger | Jan 29, 2005 1:22 pm | |
| Erik Trulsson | Jan 29, 2005 1:26 pm | |
| Robert Watson | Jan 29, 2005 2:17 pm | |
| Mark Kirkwood | Jan 29, 2005 2:27 pm | |
| Dimitry Andric | Jan 29, 2005 2:50 pm | |
| Phil Kernick | Jan 29, 2005 3:28 pm | |
| Edwin Groothuis | Jan 29, 2005 4:02 pm | |
| Fred Condo | Jan 29, 2005 4:41 pm | |
| Peter Jeremy | Jan 29, 2005 5:00 pm | |
| Douglas G. Allen | Jan 29, 2005 6:37 pm | |
| Max Laier | Jan 29, 2005 6:37 pm | |
| Matthias Andree | Jan 29, 2005 6:39 pm | |
| Erik Trulsson | Jan 29, 2005 7:08 pm | |
| Andrew McNaughton | Jan 29, 2005 7:18 pm | |
| Andrew McNaughton | Jan 29, 2005 7:35 pm | |
| Lars Erik Gullerud | Jan 29, 2005 8:26 pm | |
| Chuck Swiger | Jan 29, 2005 8:54 pm | |
| Edwin Groothuis | Jan 29, 2005 9:00 pm | |
| Scott Long | Jan 29, 2005 9:51 pm | |
| Chris | Jan 29, 2005 10:18 pm | |
| sth...@nethelp.no | Jan 29, 2005 11:59 pm | |
| sth...@nethelp.no | Jan 30, 2005 12:16 am | |
| Oliver Brandmueller | Jan 30, 2005 1:50 am | |
| Lupe Christoph | Jan 30, 2005 2:03 am | |
| Xander Damen | Jan 30, 2005 2:13 am | |
| Chuck Swiger | Jan 30, 2005 2:31 am | |
| Lev Serebryakov | Jan 30, 2005 2:45 am | |
| Holger Kipp | Jan 30, 2005 2:47 am | |
| Kirill Ponomarew | Jan 30, 2005 2:55 am | |
| Kris Kennaway | Jan 30, 2005 2:56 am | |
| Edwin Groothuis | Jan 30, 2005 3:07 am | |
| Frerich Raabe | Jan 30, 2005 3:08 am | |
| Holger Kipp | Jan 30, 2005 3:10 am | |
| Mark Sergeant | Jan 30, 2005 3:11 am | |
| Kirill Ponomarew | Jan 30, 2005 3:18 am | |
| Mathieu Arnold | Jan 30, 2005 3:23 am | |
| Phil Bowens | Jan 30, 2005 3:24 am | |
| Kirill Ponomarew | Jan 30, 2005 3:25 am | |
| Dave Horsfall | Jan 30, 2005 3:44 am | |
| Chuck Swiger | Jan 30, 2005 3:55 am | |
| Chuck Swiger | Jan 30, 2005 4:26 am | |
| Robert Watson | Jan 30, 2005 4:49 am | |
| Robert Watson | Jan 30, 2005 4:51 am | |
| Erik Trulsson | Jan 30, 2005 5:06 am | |
| Matthias Andree | Jan 30, 2005 5:59 am | |
| Matthias Andree | Jan 30, 2005 6:00 am | |
| Matthias Andree | Jan 30, 2005 6:00 am | |
| Matthias Andree | Jan 30, 2005 6:00 am | |
| Anton Berezin | Jan 30, 2005 6:16 am | |
| Erik Trulsson | Jan 30, 2005 7:34 am | |
| Erik Trulsson | Jan 30, 2005 7:56 am | |
| Sven Willenberger | Jan 30, 2005 8:13 am | |
| Chris Doherty | Jan 30, 2005 8:56 am | |
| Kris Kennaway | Jan 30, 2005 12:17 pm | |
| Doug Hardie | Jan 30, 2005 12:41 pm | |
| Parv | Jan 30, 2005 3:45 pm | |
| Kevin Oberman | Jan 30, 2005 5:19 pm | |
| Jack L. Stone | Jan 31, 2005 6:52 am | |
| Jared Earle | Jan 31, 2005 8:10 am | |
| Parv | Jan 31, 2005 6:17 pm | |
| Christian Weisgerber | Feb 3, 2005 11:07 am | |
| Dan Nelson | Feb 3, 2005 11:36 am | |
| Charles Swiger | Feb 3, 2005 12:33 pm | |
| Christian Weisgerber | Feb 3, 2005 12:55 pm | |
| Charles Swiger | Feb 3, 2005 1:47 pm |
| Subject: | [HEADS UP] perl symlinks in /usr/bin will be gone | |
|---|---|---|
| From: | Holger Kipp (hk...@alogis.com) | |
| Date: | Jan 30, 2005 3:10:33 am | |
| List: | org.freebsd.freebsd-stable | |
On Sun, Jan 30, 2005 at 05:31:21AM -0500, Chuck Swiger wrote:
Edwin Groothuis wrote:
On Sat, Jan 29, 2005 at 11:51:36PM -0500, Chuck Swiger wrote:
Andrew McNaughton wrote: #!/usr/bin/env PERL5OPT='-w' perl
"#!/usr/bin/perl -w" sounds much easier.
Sure, assuming there actually was a perl in /usr/bin. I would not choose to hardcode the path to perl when env is available to properly locate the interpreter for #!-based scripts via the $PATH.
a) we had perl at /usr/bin/perl => many scripts are using "#!/usr/bin/perl" b) we have a symlink now => many new scripts are using "#!/usr/bin/perl" c) many ISPs have even more users who assume "#!/usr/bin/perl" works. => removing a symlink to create lots_of_trouble(tm) is not the freebsd-ish way of live. this single symlink is needed. d) calling env and then perl increases load unneccessarily => don't do that. => if you like _YOUR_ scripts to work like that, it is fine with me ;-) e) comparing #!/usr/bin/env PERL5OPT='-w' perl with #!/usr/bin/perl -w => I'd vote for the simpler second one.
I don't want to revisit a discussion of whether Perl should be part of base.
ok
I don't want the Perl port to change in a way that breaks existing scripts.
fine, so we must keep the symlink in /usr/bin/
I don't want perl scripts to assume that Perl is in /usr/bin, or /usr/local/bin, or any other specific place.
Your problem. Write your scripts accordingly and be happy. Talk with several thousand programmers who use perl and assume it is located at /usr/bin/perl and convince them to write their programs differently. Otherwise, this breaks POLA. See c)
I don't want to have perl symlinked between /usr/bin and /usr/local/bin.
Fine, then _you_ can remove the symlink by hand on your systems every time.
I do want scripts to use a portable mechanism to invoke Perl regardless of where the binary happens to be found, but if people are determined to do otherwise, well, that's up to them. One solution for those people might be to install the Perl port with a $PREFIX of /usr rather than /usr/local.
Huh? It was removed from the base system, so it belongs to /usr/local.
Get real. Removing the symlinks permanently is causing lots of trouble. Not removing them is fine with me and at least most other users.
Regards, Holger Kipp





