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) 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

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:

  1. Telnet to your DNS.
  2. sh /mnt/HD_a2/fun_plug.d/start/ stop

Then you can follow the installation instructions to update to the new version.

There are pre-compiled binaries for the DNS 323 available from . These binaries were created for firmware version 1.031) and fonz fun_plug 0.3, from subversion 1.4.6 sources, available from . Today, last firmware is 1.05, subversion work in 1.4.6 revision2) The installation procedure for these pre-compiled binaries is as follows:

  1. Install fonz fun_plug 0.3 from , install the fun_plug and reboot the DNS to activate it (fun_plug howto).
  2. Download the subversion binaries from .
  3. Download the subversion start script from .
  4. Copy “subversion-1.4.6.tgz” to “Volume_1” (/mnt/HD_a2) of your DNS.
  5. Copy “” to “Volume_1/fun_plug.d/start” (/mnt/HD_a2/fun_plug.d/start). Ensure that the file uses unix newline characters.
  6. Telnet to your DNS.
  7. 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/ stop”
  8. cd /mnt/HD_a2
  9. subversion-1.4.6.tgz
  10. cd fun_plug.d/start
  11. chmod a+x
  12. chmod a+x
  13. Reboot your DNS.

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 forum:

  1. Telnet to DNS-323
  2. Create the repository:
    svnadmin create /mnt/HD_a2/svn
  3. cd /mnt/HD_a2/svn
  4. cd conf
  5. joe svnserve.conf
    • This will open the repository config file, where everything is commented out (with #). You need to uncomment the lines and setup whatever you need. This is what I (user aleck) did:
      anon-access = read
      auth-access = write
      password-db = passwd
      authz-db = authz
      realm = nas

      “realm” can be anything you want. Just about anything. Save this file with Ctrl+K, then W. Exit joe with Ctrl+K, then Q.

  6. Edit the password file, using joe or any other editor. In this file add lines in the form user = pass, whatever you want to use to access svn server. Save the file and exit from the editor:
    1. joe passwd
    2. Edit the password file.
    3. Save the file and exit from the editor.
  7. Edit the authorisation file:
    1. joe authz
    2. Edit the file to be similar to the following:
      * = rw
    3. Save the file and exit from the editor.
  8. Restart the subversion server, in order to load the changes in the configuration files:
    /mnt/HD_a2/fun_plug.d/start/ restart
  9. Now start you SVN client, on your machine and access svn server using:
    or whatever is the URL/IP for your DNS-323.

The hard way: cross-compiling from sources


1) These binaries seem to also work in betas of the 1.04 firmware.
2) use funz plug 0.5 on 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


Personal Tools