DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-11-22 23:38:06

petasis
Member
Registered: 2007-06-23
Posts: 39

Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

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

 

#2 2007-11-24 23:58:33

aleck
Member
Registered: 2007-02-04
Posts: 15

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

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

 

#3 2007-11-26 02:18:35

bgoedel
Member
From: Vienna, Austria
Registered: 2007-11-24
Posts: 62

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

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

 

#4 2007-11-26 03:06:03

petasis
Member
Registered: 2007-06-23
Posts: 39

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

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

 

#5 2007-11-26 11:26:39

JackShepard
Member
Registered: 2007-10-03
Posts: 37

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

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

 

#6 2007-11-26 19:23:22

petasis
Member
Registered: 2007-06-23
Posts: 39

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

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

 

#7 2007-11-27 00:11:25

JackShepard
Member
Registered: 2007-10-03
Posts: 37

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

Thank you very much. As you guessed i had installed the version from the other thread. Now it's working wonderful. smile

JackShepard

Last edited by JackShepard (2007-11-27 10:19:12)

Offline

 

#8 2007-11-27 00:45:33

bgoedel
Member
From: Vienna, Austria
Registered: 2007-11-24
Posts: 62

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

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

 

#9 2007-12-28 02:15:24

gareth
Member
Registered: 2007-06-28
Posts: 50

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

George, any plans to build subversion 1.4.6 ?

Regards,
Gareth.

Offline

 

#10 2007-12-29 03:30:39

petasis
Member
Registered: 2007-06-23
Posts: 39

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

I didn't know that a new version was out :-) I will try to compile it and see how it goes :-)

Offline

 

#11 2007-12-29 22:14:44

petasis
Member
Registered: 2007-06-23
Posts: 39

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

Dear Gareth,

Done :-) Please see http://dns323.kood.org/howto:subversion:fun_plug_native

Regards,

George

Offline

 

#12 2007-12-29 22:53:48

gareth
Member
Registered: 2007-06-28
Posts: 50

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

George, fantastic, thank you very much!!
Regards,
Gareth.

Offline

 

#13 2007-12-29 23:50:22

petasis
Member
Registered: 2007-06-23
Posts: 39

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

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

 

#14 2007-12-29 23:54:24

gareth
Member
Registered: 2007-06-28
Posts: 50

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

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

 

#15 2008-03-02 08:21:58

5h4rk
Member
Registered: 2008-01-26
Posts: 27

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

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)


FFP 0.5 | FW 1.0.5

Offline

 

#16 2008-03-09 23:01:29

petasis
Member
Registered: 2007-06-23
Posts: 39

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

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

 

#17 2008-04-21 15:03:25

5h4rk
Member
Registered: 2008-01-26
Posts: 27

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

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!


FFP 0.5 | FW 1.0.5

Offline

 

#18 2009-01-28 14:56:04

Gozmoth
New member
Registered: 2009-01-28
Posts: 4

Re: Subversion 1.4.5 for fonz fun_plug 0.3 NOW AVAILABLE...

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

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB