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 am attempting to compile subversion natively to the DNS kernel (i.e. without chrooting to debian). I have downloaded fun_plug 0.3 from http://www.inreto.de/dns323/fun-plug/ , and build it under my kubuntu. (I had to use bash though instead of plain sh to get the scripts to run :-) ).
Now, I will attempt to compile subversion using the same environment. If anybody has any hints/suggestions, please do post them :-)
Thanks,
George
Last edited by petasis (2007-11-18 20:54:49)
Offline
I have compiled subversion 1.4.5 natively on the DNS (not chroot). I have used subversion 1.4.5 from the official site (http://subversion.tigris.org/),
with the following subversion.sh:
#!/bin/sh set -xe . ./functions.sh rm -rf ${P} unpack ${P} unpack ${PN}-deps-${PV} cd ${P} for f in ${DISTDIR}/${P}-*.patch; do patch -Np1 -i $f done ./configure \ --cache-file=config.cache \ --host=${CTARGET} \ --prefix=${CPREFIX} \ --mandir=${MANDIR} \ --libdir=${LIBDIR} \ --with-config-file-path=${CPREFIX}/etc \ --enable-rpath \ CFLAGS="${BUILD} -lpthread" \ apr_cv_process_shared_works=no \ ac_cv_func_setpgrp_void=yes \ ac_cv_sizeof_size_t=4 \ ac_cv_sizeof_ssize_t=4 ## Generate the file "apr-util/uri/uri_delims.h" cd apr-util/uri/ cc gen_uri_delims.c ./a.out > uri_delims.h rm a.out cd ../.. make -j4 make DESTDIR=${D} external-install local-install makepkg
I was able to start svnserve from a fonz fun_plug telnet. So, my question is now what? Should we add this to the original fun_plug as additional packages? If so, what should I do? How do I have to contact?
If this is not to be integrated to the fun_plug, where should be put?
Thanks,
George
Offline
I have successfully tested svnserve with:
svnserve -d -r /mnt/HD_a2/svn/
and I was able to see the repository with tortoisesvn from my vista machine using the uri:
svn://192.168.1.4/Editor/trunk
(192.168.1.4 is the IP of my DNS)
So, my binaries seem to run fine!
George
Offline
And a small script to start the server:
#!/bin/sh REPOSITORY="/mnt/HD_a2/svn/" svnserve_start() { if [ -x "${BINDIR}/svnserve" ]; then echo "Starting svnserve deamon... " ${BINDIR}/svnserve -d -r ${REPOSITORY} else echo "ERROR: svnserve not found or not executable" fi } svnserve_stop() { killall svnserve } svnserve_status() { if [ -n "$(pidof svnserve)" ]; then echo "running" else echo "stopped" fi } case "$1" in stop) svnserve_stop ;; restart) svnserve_stop sleep 1 svnserve_start ;; status) svnserve_status ;; start|'') svnserve_start ;; *) echo "Usage: $0 start|stop|restart|status" ;; esac
Offline
Wow, thanks for sharing the script. I've been trying to setup a svnserver on my DNS for months.
just one question: how fast it is? It seems svn stores the data in a compressed format, so I am wondering how fast the ARM cpu when compressing data.
Offline
I really think that performance is adequate. I was using subversion through chroot to debian since last May, without a single problem.
Now that I compiled subversion natively, the performance is almost the same. However, I am using only the svn native protocol, and I don't access it through a web browser...
BTW, you can get my binaries from http://www.ellogon.org/~petasis/DNS323/ … ersion.rar .
George
Last edited by petasis (2007-11-19 18:41:05)
Offline
Can this be used with the OS X svnX ?
Offline
I really don't know. I suppose it will if it supports the svn:// protocol.
Offline
I think there may be a small problem with the binary files. I get errors while commiting changes. I will look into this...
So, for the time being, please wait for the next release of the binary files...
George
Offline
Great work petasis. I started getting this installed when I saw your last post. Anxiously waiting...
Offline
petasis wrote:
BTW, you can get my binaries from http://www.ellogon.org/~petasis/DNS323/ … ersion.rar .
The makepkg call in the build script should produce a packages/subversion-1.4.5.tgz archive that can be installed with funpkg.sh.For the package to be complete, you should add install commands for the start script and any sample config files (install to $D/...). I think funpkg format is a little more convenient.
Anyway, nice work!
Offline
George let me know when you have a stable release as I would love to use it.
Many thanks,
Gareth.
Offline
fonz wrote:
petasis wrote:
BTW, you can get my binaries from http://www.ellogon.org/~petasis/DNS323/ … ersion.rar .
The makepkg call in the build script should produce a packages/subversion-1.4.5.tgz archive that can be installed with funpkg.sh.For the package to be complete, you should add install commands for the start script and any sample config files (install to $D/...). I think funpkg format is a little more convenient.
Anyway, nice work!
Dear fonz,
If I understood correctly:
I just place the packages/subversion-1.4.5.tgz archive (created automatically) in a server. The user just downloads this archive, saves it in Volume_1 (/mnt/HD_a2) and just runs funpkg.sh which installs it? (That will be cool :-) ).
Or do I need to write a script for that? In this case, are there any "sample" scripts I can use as a starting point?
Regards,
George
Offline
I have posted new subversion binaries and started a new thread: http://dns323.kood.org/forum/viewtopic. … 7871#p7871
George
Offline
petasis wrote:
I just place the packages/subversion-1.4.5.tgz archive (created automatically) in a server. The user just downloads this archive, saves it in Volume_1 (/mnt/HD_a2) and just runs funpkg.sh which installs it?
Exactly.
Offline