savannah-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-cvs] [270] BackEndSetup: mention perl sitelib hack


From: assafgordon
Subject: [Savannah-cvs] [270] BackEndSetup: mention perl sitelib hack
Date: Tue, 25 Oct 2016 01:25:52 +0000 (UTC)

Revision: 270
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=administration&revision=270
Author:   agn
Date:     2016-10-25 01:25:49 +0000 (Tue, 25 Oct 2016)
Log Message:
-----------
BackEndSetup: mention perl sitelib hack

Modified Paths:
--------------
    trunk/sviki/BackEndSetup.mdwn

Modified: trunk/sviki/BackEndSetup.mdwn
===================================================================
--- trunk/sviki/BackEndSetup.mdwn       2016-10-22 20:35:35 UTC (rev 269)
+++ trunk/sviki/BackEndSetup.mdwn       2016-10-25 01:25:49 UTC (rev 270)
@@ -106,24 +106,14 @@
     share/perl/5.18.2/Savane/Git.pm
     [...]
 
+UGLY HACK: Symlink the `Savane` perl module to the server's sitelib.
+This alleviate the need to set custom PERL5LIB, while keep all of savannah's
+custom code under `/opt/savannah`. Improving this is a desired TODO item
+(by either doing away with `Savane.pm` or changing the perl script
+to self-locate the required modules. See [[SavannahHackingIdeas]]).
 
-> FIXME: The following only applies to vcs0:
->
-> Unfortunately the Savane Perl modules are
-> still installed in '/usr/local' (the 'prefix' is likely not passed
-> to the perl part during configure/make).
-> That's not too bad, as it saves the need for custom PERL5LIB setting.
->
->    /usr/local/lib/perl/5.18.2/auto/Savane/.packlist
->    /usr/local/share/perl/5.18.2/Savane.pm
->    /usr/local/share/perl/5.18.2/Savane/Groups.pm
->    /usr/local/share/perl/5.18.2/Savane/Cvs.pm
->    /usr/local/share/perl/5.18.2/Savane/DB.pm
->    /usr/local/share/perl/5.18.2/Savane/Hg.pm
->    /usr/local/share/perl/5.18.2/Savane/User.pm
->    /usr/local/share/perl/5.18.2/Savane/Mail.pm
->    /usr/local/share/perl/5.18.2/Savane/Git.pm
->    [...]
+    ln -sf /opt/savannah/share/perl/5.18.2/Savane /usr/local/share/perl/5.18.2
+    ln -sf /opt/savannah/share/perl/5.18.2/Savane.pm 
/usr/local/share/perl/5.18.2
 
 
 Manually prepare configuration files (passwords copied from frontend0).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]