Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi all,
I have compiled subversion 1.4.5 for fonz fun_plug 0.3. This means that you can ran subversion without chroot-ing to debian.
You can find the binaries at: http://www.ellogon.org/~petasis/DNS323/ … ug-0.3.zip
Installation:
------------------
1) Install fonz fun_plug 0.3 from http://www.inreto.de/dns323/fun-plug/0. … 0.3.tar.gz , install the fun_plug and reboot the DNS to activate it.
2) Download the subversion binaries from http://www.ellogon.org/~petasis/DNS323/ … ug-0.3.zip
3) Unzip subversion-1.4.5-fun_plug-0.3.zip. You will find 2 files (subversion-1.4.5-fun_plug.d.tar & README.txt).
4) Copy subversion-1.4.5-fun_plug.d.tar to "Volume_1" of your DNS.
5) Telnet to your DNS.
6) cd /mnt/HD_a2
7) tar xvf subversion-1.4.5-fun_plug.d.tar
8) cd fun_plug.d/start
9) chmod a+x svnserve.sh
10) chmod a+x dropbear.sh
11) Reboot your DNS.
And subversion should run as expected. The default location for repositories is /mnt/HD_a2/svn (or Volume_1/svn).
You can access the subversion server through the svn:// protocol.
The needed scripts to compile subversion (in case it is desired) can be found at http://www.ellogon.org/~petasis/DNS323/ … ug-src.zip
Have fun,
George
Offline
George, many thanks for this.
I have just installed it and it works ok. For anyone inexperienced in running their own SVN server, these are the steps that you need to do after petasis's steps above:
0. Telnet to DNS-323
1. svnadmin create /mnt/HD_a2/svn
# that creates the repository
2. cd /mnt/HD_a2/svn
3. cd conf
4. joe svnserve.conf
# this will open the config file, where everything is commented out (with #)
you need to uncomment the lines and setup whatever you need. this is what I did
-----
[general]
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, hen W. Exit joe with Ctrl+K, then Q
5. joe passwd
# here add lines user = pass, whatever you want to use to access svn server. Save & exit
6. joe authz
# here just add this:
----
[/]
* = rw
----
Save & exit
7. /mnt/HD_a2/fun_plug.d/start/svnserve.sh restart
# this will restart svn server, and it will load your config changes
8. Now start you SVN client, on your machine and access svn server using
svn://nas/
or whatever is the URL/IP for your DNS-323.
Now off to add all the projects into it and then kill etch, as I don't need it anymore. petasis, you rule!
Offline
Thanks for the subversion server!
I tried to restrict the access to the repository using the authz file. I did the following
[groups]
admin = bernhard
[/]
@admin = rw
Using this configuration for the "checkout" operation led to the error message:
Not authorized to open root of edit operation
but anyway I got a .svn folder in the checked out folder. Even though I had problems checking the repository content out, I am able to "commit" changes!
The "update" operation fails completely with the error message above (files added to the repository from another location are not downloaded).
If I change the authz content to
[groups]
admin = bernhard
[/]
* = r
@admin = rw
the "checkout" and "update" operations are done successfully without any authorization needed. For "commit" I have to enter username and password.
Any ideas how to restrict also the read privileges?
Cheers, Bernhard
Offline
You can try editing svnserve.conf, and change anon-access = read to anon-access = none . This way you will need a password for every action.
George
Offline
Hi everybody!
I have a little problem with this svn package. I followed the installing instructions and created a svn-dir on my DNS-323. If i want to commit anything i get this error message:
Error: Malformed text rep offset line in node-rev
Any ideas how to fix this problem?
BR,
JackShepard
Last edited by JackShepard (2007-11-26 11:26:56)
Offline
Are you sure you have used the pachage from http://www.ellogon.org/~petasis/DNS323/ … g-0.3.zip? Please if you have installed an earlier release of the package, uninstall it and use the latest release. The binaries in the first posts of the thread http://dns323.kood.org/forum/t1225-Comp … rsion.html indeed had this problem.
In order to be sure, please re-install subversion from the instructions found at the wiki http://dns323.kood.org/howto:subversion:fun_plug_native and ensure that you are using firmware 1.03 and fonz fun_plug 0.3.
George
Offline
Thank you very much. As you guessed i had installed the version from the other thread. Now it's working wonderful.
JackShepard
Last edited by JackShepard (2007-11-27 10:19:12)
Offline
Hi George,
thanks for your hint. I have now the following entries in subversion.conf:
anon-access = none
auth-access = write
auth-access = read
and now the authentication is required (and works!) for both, committing and updating.
Bernhard
Offline
George, any plans to build subversion 1.4.6 ?
Regards,
Gareth.
Offline
I didn't know that a new version was out :-) I will try to compile it and see how it goes :-)
Offline
Dear Gareth,
Done :-) Please see http://dns323.kood.org/howto:subversion:fun_plug_native
Regards,
George
Offline
George, fantastic, thank you very much!!
Regards,
Gareth.
Offline
Dear Gareth,
From your signature, you seem to use firmware 1.04 (beta). Is this true?
If it is, then the subversion binaries work also in 1.04, which is good. I expect them to also run with the fonz fun_plug 0.4, but I haven't done any testing my self :-)
Regards,
George
Offline
Hi George, yes I'm running subversion on my DNS-323 with firmware 1.04b63 and all is fine. I haven't tried fun_plug 0.4 yet (not sure what the difference is) but I probably will shortly.
Kind regards,
Gareth.
Offline
How can I put the repository somewhere else than /mnt/HD_a2? What do I have to change?
Thanks
Last edited by 5h4rk (2008-03-02 12:03:14)
Offline
You have to modify the svnserve.sh script (from the start directory). Modify the value of the REPOSITORY variable from its default value ("/mnt/HD_a2/svn/") to anything you want.
Offline
petasis wrote:
You have to modify the svnserve.sh script (from the start directory). Modify the value of the REPOSITORY variable from its default value ("/mnt/HD_a2/svn/") to anything you want.
Thanks! That means that I can have only one svn folder?
Thanks!
Offline
Hello there,
i have tried to modify it to run on firmware 1.06 w/ fun_plug 0.5.
I have modify the structure and the prefix in the configuration files :
prefix="/mnt/HD_a2/fun_plug.d"
-->
prefix="/mnt/HD_a2/ffp"
but i have an error :
ERROR: svnserve not found or not executable
An idea ?
Offline