Differences

This shows you the differences between the selected revision and the current version of the page.

howto:subversion:fun_plug_native 2007/11/25 11:15 howto:subversion:fun_plug_native 2017/09/06 18:38 current
Line 1: Line 1:
====== How to install and use subversion by George Petasis ====== ====== How to install and use subversion by George Petasis ======
There are two ways to install subversion by either a) installing debian and chroot-ing into it ([[howto:subversion|howto]]) or b) installing natively by cross-compiling subversion to run natively on the DNS 322. This page describes the latter (b). There are two ways to install subversion by either a) installing debian and chroot-ing into it ([[howto:subversion|howto]]) or b) installing natively by cross-compiling subversion to run natively on the DNS 322. This page describes the latter (b).
 +
 +**
 +The easiest way to install subversion is to first download all the packages from the fonz packages directory. Then go and have a look at the packages.html. Click on subversion and it will tell you which files are required. So install them by running
 +
 +funpkg -i FILENAME.tgz in the ffp/pkg/packages folder
 +
 +That way you can install the latest version of subversion (1.5) which is there in Fonz packages. Then follow the instructions provided by user aleck (below) to configure your svn.
 +
 +**
 +
==== The easy way: Installing pre-compiled binaries ==== ==== The easy way: Installing pre-compiled binaries ====
-There are pre-compiled binaries for the DNS 323 available from http://www.ellogon.org/~petasis/DNS323/subversion-1.4.5-fun_plug-0.3.zip . These binaries were created for firmware version 1.03 and fonz fun_plug 0.3, from subversion 1.4.5 sources, available from http://subversion.tigris.org/ . The installation procedure for these pre-compiled binaries is as follows:+<note warning> 
 +__**Updating from previous subversion releases**__: 
 +Please if you have installed any previous subversion release on the DNS 323, stop the daemon **//before//** attempting to upgrade to the new release: 
 +  - Telnet to your DNS. 
 +  - sh /mnt/HD_a2/fun_plug.d/start/svnserve.sh stop 
 +Then you can follow the installation instructions to update to the new version.</note> 
 + 
 +There are pre-compiled binaries for the DNS 323 available from http://www.ellogon.org/~petasis/DNS323/subversion-1.4.6.tgz . These binaries were created for firmware version 1.03((These binaries seem to also work in betas of the 1.04 firmware.)) and fonz fun_plug 0.3, from subversion 1.4.6 sources, available from http://subversion.tigris.org/ . 
 +Today, last firmware is 1.05, subversion work in 1.4.6 revision((use funz plug 0.5 on http://www.inreto.de/dns323/fun-plug/0.5/ with packages: subversion-1.4.6-2, apr-1.2.12-2, apr-util-1.2.12-1, dns323-utils-0.7.176-2, e2fsprogs-1.41.0-1, expat-2.0.1-3, neon-0.25.5-1 avalaible on http://www.inreto.de/dns323/fun-plug/0.5/packages )) 
 + The installation procedure for these pre-compiled binaries is as follows:
  - Install fonz fun_plug 0.3 from http://www.inreto.de/dns323/fun-plug/0.3/funplug-0.3.tar.gz , install the fun_plug and reboot the DNS to activate it ([[howto:fun_plug|fun_plug howto]]).   - Install fonz fun_plug 0.3 from http://www.inreto.de/dns323/fun-plug/0.3/funplug-0.3.tar.gz , install the fun_plug and reboot the DNS to activate it ([[howto:fun_plug|fun_plug howto]]).
-  - Download the subversion binaries from http://www.ellogon.org/~petasis/DNS323/subversion-1.4.5-fun_plug-0.3.zip +  - Download the subversion binaries from http://www.ellogon.org/~petasis/DNS323/subversion-1.4.6.tgz .  
-  - Unzip subversion-1.4.5-fun_plug-0.3.zip. You will find 2 files (subversion-1.4.5-fun_plug.d.tar &amp; README.txt). +  - Download the subversion start script from http://www.ellogon.org/~petasis/DNS323/svnserve.sh . 
-  - Copy subversion-1.4.5-fun_plug.d.tar to "Volume_1" (/mnt/HD_a2) of your DNS.+  - Copy "subversion-1.4.6.tgz&quot; to "Volume_1" (/mnt/HD_a2) of your DNS
 +  - Copy "svnserve.sh" to "Volume_1/fun_plug.d/start" (/mnt/HD_a2/fun_plug.d/start). Ensure that the svnserve.sh file uses unix newline characters.
  - Telnet to your DNS.   - Telnet to your DNS.
 +  - __If you have already installed subversion__ and you want to update it, please stop the deamon (if running) with "sh /mnt/HD_a2/fun_plug.d/start/svnserve.sh stop"
  - cd /mnt/HD_a2   - cd /mnt/HD_a2
-  - tar xvf subversion-1.4.5-fun_plug.d.tar+  - funpkg.sh subversion-1.4.6.tgz
  - cd fun_plug.d/start   - cd fun_plug.d/start
  - chmod a+x svnserve.sh   - chmod a+x svnserve.sh
  - chmod a+x dropbear.sh   - chmod a+x dropbear.sh
  - Reboot your DNS.   - Reboot your DNS.
 +
==== Using the pre-compiled binaries (instructions provided by user aleck) ==== ==== Using the pre-compiled binaries (instructions provided by user aleck) ====
-Forum user aleck provided some information about how to use the subversion binaries at the [[http://forum.dsmg600.info/t1242-Subversion-145-fonz-fun-plug-AVAILABLE.html|forum]]:+Forum user aleck provided some information about how to use the subversion binaries at the [[http://dns323.kood.org/forum/t1242-Subversion-145-fonz-fun-plug-AVAILABLE.html|forum]]:
  - Telnet to DNS-323   - Telnet to DNS-323
  - Create the repository:\\ svnadmin create /mnt/HD_a2/svn   - Create the repository:\\ svnadmin create /mnt/HD_a2/svn

Navigation

Personal Tools