2016年1月5日 星期二

Unfortunately svnserve is not likely to be availabe in the chaos calmer (15.05) version of of openwrt.
This article describes how to cross compile svnserve (with very basic funtionality) from scratch with the toolchain.
It assumed the "mvebu" toolchain for the router Linksys WRT1200AC / WRT1900AC, but the procedures are similar for other routers.

Copy and paste the following, and then press Ctrl+D@@ -355,10 +355,10 @@
* to find the logic for this definition search for "ssize_t_fmt" in
* configure.in.
*/
-#error Can not determine the proper size for ssize_t
+#define APR_SSIZE_T_FMT "d"

/* And APR_SIZE_T_FMT */
-#error Can not determine the proper size for size_t
+#define APR_SIZE_T_FMT "d"

hen, once you run scripts/feeds update old_packages; scripts/feeds install -a -p old_packages to update your OpenWRT, execute make menuconfig and enable the subversion package under Network --> Version Control Systems and then recompile your OpenWRT.
If you don't like to add the old_packages, then either port the subversion package from the old_repository to OpenWRT GitHUB or wait for someone else to do this for you.