Installed subversion on my Synology CS 407

Today I installed subversion on my Cubestation CS 407, with help of this webpage.

I already have some subversion dirs for my personal webpages on Dreamhost, but its handy to have one repository close by too. Compared to an Enterprise Configuration Management System like ClearCase its such a cute little utility and its free. Note to myself: write one day a comparison for technical people between the two because there really seem to be persons who think Subversion could actually be a replacement of such a thing as ClearCase (which is like comparing notepad with MS Office). I could describe the databases and repositories used, the trigger system, the locking system, the branching, the different clients, the utilities, the scripting languages, the merge utilities, etc… whenever I have some months off I might do so. That said, it’s a pretty cool tool for home usage.

CubeStation> ipkg install svn
Installing svn (1.4.6-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/svn_1.4.6-1_arm.ipk
Installing apr (1.2.11-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/apr_1.2.11-1_arm.ipk
Installing apr-util (1.2.10-4) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/apr-util_1.2.10-4_arm.ipk
Installing expat (2.0.1-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/expat_2.0.1-1_arm.ipk
Installing gdbm (1.8.3-2) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/gdbm_1.8.3-2_arm.ipk
Installing libdb (4.2.52-3) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/libdb_4.2.52-3_arm.ipk
Installing openldap-libs (2.3.38-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/openldap-libs_2.3.38-1_arm.ipk
Installing openssl (0.9.7m-4) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/openssl_0.9.7m-4_arm.ipk
Installing cyrus-sasl-libs (2.1.22-2) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/cyrus-sasl-libs_2.1.22-2_arm.ipk
Installing libxml2 (2.6.31-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/libxml2_2.6.31-1_arm.ipk
Configuring apr
Configuring apr-util
Configuring cyrus-sasl-libs
Configuring expat
Configuring gdbm
Configuring libdb
Configuring libxml2
Configuring openldap-libs
Configuring openssl
Configuring svn
Successfully terminated.

Create a repository:

CubeStation> svnadmin create /volume2/svn/repository

CubeStation> cd /volume2/svn/repository/conf
CubeStation> vi svnserve.conf

I then just enabled anon write since I will be the only user. Now start the daemon to test:

CubeStation> svnserve -d -r /volume2/svn/repository

Actually I can now checkout stuff via Tortoise in windows by just pointing to \\cubestation\svn, pretty cool.

I then discovered I had made a mistake: I created the repository with the root user… so I quickly did a chown -R myself on the the repository dir and presto.

image